diff --git a/CHANGELOG b/CHANGELOG index 38538317a..9537db88d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-12-17 Version: patch +- Update DeleteDcdnDomain. + 2020-12-17 Version: patch - Update DeleteCdnDomain. diff --git a/dcdn/CMakeLists.txt b/dcdn/CMakeLists.txt index f6b0d89c6..ebd340a58 100644 --- a/dcdn/CMakeLists.txt +++ b/dcdn/CMakeLists.txt @@ -41,6 +41,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/BatchStopDcdnDomainResult.h include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.h + include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h + include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h include/alibabacloud/dcdn/model/DeleteDcdnDomainResult.h include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.h @@ -147,6 +149,14 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnIpaServiceResult.h include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h + include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h + include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksRequest.h @@ -165,6 +175,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h @@ -179,6 +191,12 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusResult.h include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h include/alibabacloud/dcdn/model/DescribeUserDcdnStatusResult.h + include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h + include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h + include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h + include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h + include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h + include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyResult.h include/alibabacloud/dcdn/model/ModifyDcdnServiceRequest.h @@ -242,6 +260,8 @@ set(dcdn_src src/model/BatchStopDcdnDomainResult.cc src/model/CreateDcdnCertificateSigningRequestRequest.cc src/model/CreateDcdnCertificateSigningRequestResult.cc + src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc + src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc src/model/DeleteDcdnDomainRequest.cc src/model/DeleteDcdnDomainResult.cc src/model/DeleteDcdnIpaDomainRequest.cc @@ -348,6 +368,14 @@ set(dcdn_src src/model/DescribeDcdnIpaServiceResult.cc src/model/DescribeDcdnIpaUserDomainsRequest.cc src/model/DescribeDcdnIpaUserDomainsResult.cc + src/model/DescribeDcdnOfflineLogDeliveryRequest.cc + src/model/DescribeDcdnOfflineLogDeliveryResult.cc + src/model/DescribeDcdnOfflineLogDeliveryFieldRequest.cc + src/model/DescribeDcdnOfflineLogDeliveryFieldResult.cc + src/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.cc + src/model/DescribeDcdnOfflineLogDeliveryRegionsResult.cc + src/model/DescribeDcdnOfflineLogDeliveryStatusRequest.cc + src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc src/model/DescribeDcdnRefreshQuotaRequest.cc src/model/DescribeDcdnRefreshQuotaResult.cc src/model/DescribeDcdnRefreshTasksRequest.cc @@ -366,6 +394,8 @@ set(dcdn_src src/model/DescribeDcdnUserBillTypeResult.cc src/model/DescribeDcdnUserDomainsRequest.cc src/model/DescribeDcdnUserDomainsResult.cc + src/model/DescribeDcdnUserDomainsByFuncRequest.cc + src/model/DescribeDcdnUserDomainsByFuncResult.cc src/model/DescribeDcdnUserQuotaRequest.cc src/model/DescribeDcdnUserQuotaResult.cc src/model/DescribeDcdnUserResourcePackageRequest.cc @@ -380,6 +410,12 @@ set(dcdn_src src/model/DescribeUserDcdnIpaStatusResult.cc src/model/DescribeUserDcdnStatusRequest.cc src/model/DescribeUserDcdnStatusResult.cc + src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc + src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc + src/model/DisableDcdnOfflineLogDeliveryRequest.cc + src/model/DisableDcdnOfflineLogDeliveryResult.cc + src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc + src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc src/model/ModifyDCdnDomainSchdmByPropertyResult.cc src/model/ModifyDcdnServiceRequest.cc diff --git a/dcdn/include/alibabacloud/dcdn/DcdnClient.h b/dcdn/include/alibabacloud/dcdn/DcdnClient.h index 570bde8a3..062694a33 100644 --- a/dcdn/include/alibabacloud/dcdn/DcdnClient.h +++ b/dcdn/include/alibabacloud/dcdn/DcdnClient.h @@ -42,6 +42,8 @@ #include "model/BatchStopDcdnDomainResult.h" #include "model/CreateDcdnCertificateSigningRequestRequest.h" #include "model/CreateDcdnCertificateSigningRequestResult.h" +#include "model/CreateDcdnDomainOfflineLogDeliveryRequest.h" +#include "model/CreateDcdnDomainOfflineLogDeliveryResult.h" #include "model/DeleteDcdnDomainRequest.h" #include "model/DeleteDcdnDomainResult.h" #include "model/DeleteDcdnIpaDomainRequest.h" @@ -148,6 +150,14 @@ #include "model/DescribeDcdnIpaServiceResult.h" #include "model/DescribeDcdnIpaUserDomainsRequest.h" #include "model/DescribeDcdnIpaUserDomainsResult.h" +#include "model/DescribeDcdnOfflineLogDeliveryRequest.h" +#include "model/DescribeDcdnOfflineLogDeliveryResult.h" +#include "model/DescribeDcdnOfflineLogDeliveryFieldRequest.h" +#include "model/DescribeDcdnOfflineLogDeliveryFieldResult.h" +#include "model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h" +#include "model/DescribeDcdnOfflineLogDeliveryRegionsResult.h" +#include "model/DescribeDcdnOfflineLogDeliveryStatusRequest.h" +#include "model/DescribeDcdnOfflineLogDeliveryStatusResult.h" #include "model/DescribeDcdnRefreshQuotaRequest.h" #include "model/DescribeDcdnRefreshQuotaResult.h" #include "model/DescribeDcdnRefreshTasksRequest.h" @@ -166,6 +176,8 @@ #include "model/DescribeDcdnUserBillTypeResult.h" #include "model/DescribeDcdnUserDomainsRequest.h" #include "model/DescribeDcdnUserDomainsResult.h" +#include "model/DescribeDcdnUserDomainsByFuncRequest.h" +#include "model/DescribeDcdnUserDomainsByFuncResult.h" #include "model/DescribeDcdnUserQuotaRequest.h" #include "model/DescribeDcdnUserQuotaResult.h" #include "model/DescribeDcdnUserResourcePackageRequest.h" @@ -180,6 +192,12 @@ #include "model/DescribeUserDcdnIpaStatusResult.h" #include "model/DescribeUserDcdnStatusRequest.h" #include "model/DescribeUserDcdnStatusResult.h" +#include "model/DisableDcdnDomainOfflineLogDeliveryRequest.h" +#include "model/DisableDcdnDomainOfflineLogDeliveryResult.h" +#include "model/DisableDcdnOfflineLogDeliveryRequest.h" +#include "model/DisableDcdnOfflineLogDeliveryResult.h" +#include "model/EnableDcdnDomainOfflineLogDeliveryRequest.h" +#include "model/EnableDcdnDomainOfflineLogDeliveryResult.h" #include "model/ModifyDCdnDomainSchdmByPropertyRequest.h" #include "model/ModifyDCdnDomainSchdmByPropertyResult.h" #include "model/ModifyDcdnServiceRequest.h" @@ -259,6 +277,9 @@ namespace AlibabaCloud typedef Outcome CreateDcdnCertificateSigningRequestOutcome; typedef std::future CreateDcdnCertificateSigningRequestOutcomeCallable; typedef std::function&)> CreateDcdnCertificateSigningRequestAsyncHandler; + typedef Outcome CreateDcdnDomainOfflineLogDeliveryOutcome; + typedef std::future CreateDcdnDomainOfflineLogDeliveryOutcomeCallable; + typedef std::function&)> CreateDcdnDomainOfflineLogDeliveryAsyncHandler; typedef Outcome DeleteDcdnDomainOutcome; typedef std::future DeleteDcdnDomainOutcomeCallable; typedef std::function&)> DeleteDcdnDomainAsyncHandler; @@ -418,6 +439,18 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnIpaUserDomainsOutcome; typedef std::future DescribeDcdnIpaUserDomainsOutcomeCallable; typedef std::function&)> DescribeDcdnIpaUserDomainsAsyncHandler; + typedef Outcome DescribeDcdnOfflineLogDeliveryOutcome; + typedef std::future DescribeDcdnOfflineLogDeliveryOutcomeCallable; + typedef std::function&)> DescribeDcdnOfflineLogDeliveryAsyncHandler; + typedef Outcome DescribeDcdnOfflineLogDeliveryFieldOutcome; + typedef std::future DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable; + typedef std::function&)> DescribeDcdnOfflineLogDeliveryFieldAsyncHandler; + typedef Outcome DescribeDcdnOfflineLogDeliveryRegionsOutcome; + typedef std::future DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable; + typedef std::function&)> DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler; + typedef Outcome DescribeDcdnOfflineLogDeliveryStatusOutcome; + typedef std::future DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable; + typedef std::function&)> DescribeDcdnOfflineLogDeliveryStatusAsyncHandler; typedef Outcome DescribeDcdnRefreshQuotaOutcome; typedef std::future DescribeDcdnRefreshQuotaOutcomeCallable; typedef std::function&)> DescribeDcdnRefreshQuotaAsyncHandler; @@ -445,6 +478,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnUserDomainsOutcome; typedef std::future DescribeDcdnUserDomainsOutcomeCallable; typedef std::function&)> DescribeDcdnUserDomainsAsyncHandler; + typedef Outcome DescribeDcdnUserDomainsByFuncOutcome; + typedef std::future DescribeDcdnUserDomainsByFuncOutcomeCallable; + typedef std::function&)> DescribeDcdnUserDomainsByFuncAsyncHandler; typedef Outcome DescribeDcdnUserQuotaOutcome; typedef std::future DescribeDcdnUserQuotaOutcomeCallable; typedef std::function&)> DescribeDcdnUserQuotaAsyncHandler; @@ -466,6 +502,15 @@ namespace AlibabaCloud typedef Outcome DescribeUserDcdnStatusOutcome; typedef std::future DescribeUserDcdnStatusOutcomeCallable; typedef std::function&)> DescribeUserDcdnStatusAsyncHandler; + typedef Outcome DisableDcdnDomainOfflineLogDeliveryOutcome; + typedef std::future DisableDcdnDomainOfflineLogDeliveryOutcomeCallable; + typedef std::function&)> DisableDcdnDomainOfflineLogDeliveryAsyncHandler; + typedef Outcome DisableDcdnOfflineLogDeliveryOutcome; + typedef std::future DisableDcdnOfflineLogDeliveryOutcomeCallable; + typedef std::function&)> DisableDcdnOfflineLogDeliveryAsyncHandler; + typedef Outcome EnableDcdnDomainOfflineLogDeliveryOutcome; + typedef std::future EnableDcdnDomainOfflineLogDeliveryOutcomeCallable; + typedef std::function&)> EnableDcdnDomainOfflineLogDeliveryAsyncHandler; typedef Outcome ModifyDCdnDomainSchdmByPropertyOutcome; typedef std::future ModifyDCdnDomainSchdmByPropertyOutcomeCallable; typedef std::function&)> ModifyDCdnDomainSchdmByPropertyAsyncHandler; @@ -561,6 +606,9 @@ namespace AlibabaCloud CreateDcdnCertificateSigningRequestOutcome createDcdnCertificateSigningRequest(const Model::CreateDcdnCertificateSigningRequestRequest &request)const; void createDcdnCertificateSigningRequestAsync(const Model::CreateDcdnCertificateSigningRequestRequest& request, const CreateDcdnCertificateSigningRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDcdnCertificateSigningRequestOutcomeCallable createDcdnCertificateSigningRequestCallable(const Model::CreateDcdnCertificateSigningRequestRequest& request) const; + CreateDcdnDomainOfflineLogDeliveryOutcome createDcdnDomainOfflineLogDelivery(const Model::CreateDcdnDomainOfflineLogDeliveryRequest &request)const; + void createDcdnDomainOfflineLogDeliveryAsync(const Model::CreateDcdnDomainOfflineLogDeliveryRequest& request, const CreateDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDcdnDomainOfflineLogDeliveryOutcomeCallable createDcdnDomainOfflineLogDeliveryCallable(const Model::CreateDcdnDomainOfflineLogDeliveryRequest& request) const; DeleteDcdnDomainOutcome deleteDcdnDomain(const Model::DeleteDcdnDomainRequest &request)const; void deleteDcdnDomainAsync(const Model::DeleteDcdnDomainRequest& request, const DeleteDcdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDcdnDomainOutcomeCallable deleteDcdnDomainCallable(const Model::DeleteDcdnDomainRequest& request) const; @@ -720,6 +768,18 @@ namespace AlibabaCloud DescribeDcdnIpaUserDomainsOutcome describeDcdnIpaUserDomains(const Model::DescribeDcdnIpaUserDomainsRequest &request)const; void describeDcdnIpaUserDomainsAsync(const Model::DescribeDcdnIpaUserDomainsRequest& request, const DescribeDcdnIpaUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnIpaUserDomainsOutcomeCallable describeDcdnIpaUserDomainsCallable(const Model::DescribeDcdnIpaUserDomainsRequest& request) const; + DescribeDcdnOfflineLogDeliveryOutcome describeDcdnOfflineLogDelivery(const Model::DescribeDcdnOfflineLogDeliveryRequest &request)const; + void describeDcdnOfflineLogDeliveryAsync(const Model::DescribeDcdnOfflineLogDeliveryRequest& request, const DescribeDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnOfflineLogDeliveryOutcomeCallable describeDcdnOfflineLogDeliveryCallable(const Model::DescribeDcdnOfflineLogDeliveryRequest& request) const; + DescribeDcdnOfflineLogDeliveryFieldOutcome describeDcdnOfflineLogDeliveryField(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest &request)const; + void describeDcdnOfflineLogDeliveryFieldAsync(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest& request, const DescribeDcdnOfflineLogDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable describeDcdnOfflineLogDeliveryFieldCallable(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest& request) const; + DescribeDcdnOfflineLogDeliveryRegionsOutcome describeDcdnOfflineLogDeliveryRegions(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest &request)const; + void describeDcdnOfflineLogDeliveryRegionsAsync(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest& request, const DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable describeDcdnOfflineLogDeliveryRegionsCallable(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest& request) const; + DescribeDcdnOfflineLogDeliveryStatusOutcome describeDcdnOfflineLogDeliveryStatus(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest &request)const; + void describeDcdnOfflineLogDeliveryStatusAsync(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest& request, const DescribeDcdnOfflineLogDeliveryStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable describeDcdnOfflineLogDeliveryStatusCallable(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest& request) const; DescribeDcdnRefreshQuotaOutcome describeDcdnRefreshQuota(const Model::DescribeDcdnRefreshQuotaRequest &request)const; void describeDcdnRefreshQuotaAsync(const Model::DescribeDcdnRefreshQuotaRequest& request, const DescribeDcdnRefreshQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnRefreshQuotaOutcomeCallable describeDcdnRefreshQuotaCallable(const Model::DescribeDcdnRefreshQuotaRequest& request) const; @@ -747,6 +807,9 @@ namespace AlibabaCloud DescribeDcdnUserDomainsOutcome describeDcdnUserDomains(const Model::DescribeDcdnUserDomainsRequest &request)const; void describeDcdnUserDomainsAsync(const Model::DescribeDcdnUserDomainsRequest& request, const DescribeDcdnUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserDomainsOutcomeCallable describeDcdnUserDomainsCallable(const Model::DescribeDcdnUserDomainsRequest& request) const; + DescribeDcdnUserDomainsByFuncOutcome describeDcdnUserDomainsByFunc(const Model::DescribeDcdnUserDomainsByFuncRequest &request)const; + void describeDcdnUserDomainsByFuncAsync(const Model::DescribeDcdnUserDomainsByFuncRequest& request, const DescribeDcdnUserDomainsByFuncAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnUserDomainsByFuncOutcomeCallable describeDcdnUserDomainsByFuncCallable(const Model::DescribeDcdnUserDomainsByFuncRequest& request) const; DescribeDcdnUserQuotaOutcome describeDcdnUserQuota(const Model::DescribeDcdnUserQuotaRequest &request)const; void describeDcdnUserQuotaAsync(const Model::DescribeDcdnUserQuotaRequest& request, const DescribeDcdnUserQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserQuotaOutcomeCallable describeDcdnUserQuotaCallable(const Model::DescribeDcdnUserQuotaRequest& request) const; @@ -768,6 +831,15 @@ namespace AlibabaCloud DescribeUserDcdnStatusOutcome describeUserDcdnStatus(const Model::DescribeUserDcdnStatusRequest &request)const; void describeUserDcdnStatusAsync(const Model::DescribeUserDcdnStatusRequest& request, const DescribeUserDcdnStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserDcdnStatusOutcomeCallable describeUserDcdnStatusCallable(const Model::DescribeUserDcdnStatusRequest& request) const; + DisableDcdnDomainOfflineLogDeliveryOutcome disableDcdnDomainOfflineLogDelivery(const Model::DisableDcdnDomainOfflineLogDeliveryRequest &request)const; + void disableDcdnDomainOfflineLogDeliveryAsync(const Model::DisableDcdnDomainOfflineLogDeliveryRequest& request, const DisableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DisableDcdnDomainOfflineLogDeliveryOutcomeCallable disableDcdnDomainOfflineLogDeliveryCallable(const Model::DisableDcdnDomainOfflineLogDeliveryRequest& request) const; + DisableDcdnOfflineLogDeliveryOutcome disableDcdnOfflineLogDelivery(const Model::DisableDcdnOfflineLogDeliveryRequest &request)const; + void disableDcdnOfflineLogDeliveryAsync(const Model::DisableDcdnOfflineLogDeliveryRequest& request, const DisableDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DisableDcdnOfflineLogDeliveryOutcomeCallable disableDcdnOfflineLogDeliveryCallable(const Model::DisableDcdnOfflineLogDeliveryRequest& request) const; + EnableDcdnDomainOfflineLogDeliveryOutcome enableDcdnDomainOfflineLogDelivery(const Model::EnableDcdnDomainOfflineLogDeliveryRequest &request)const; + void enableDcdnDomainOfflineLogDeliveryAsync(const Model::EnableDcdnDomainOfflineLogDeliveryRequest& request, const EnableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EnableDcdnDomainOfflineLogDeliveryOutcomeCallable enableDcdnDomainOfflineLogDeliveryCallable(const Model::EnableDcdnDomainOfflineLogDeliveryRequest& request) const; ModifyDCdnDomainSchdmByPropertyOutcome modifyDCdnDomainSchdmByProperty(const Model::ModifyDCdnDomainSchdmByPropertyRequest &request)const; void modifyDCdnDomainSchdmByPropertyAsync(const Model::ModifyDCdnDomainSchdmByPropertyRequest& request, const ModifyDCdnDomainSchdmByPropertyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDCdnDomainSchdmByPropertyOutcomeCallable modifyDCdnDomainSchdmByPropertyCallable(const Model::ModifyDCdnDomainSchdmByPropertyRequest& request) const; diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h new file mode 100644 index 000000000..a9b2487a4 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest + { + + public: + CreateDcdnDomainOfflineLogDeliveryRequest(); + ~CreateDcdnDomainOfflineLogDeliveryRequest(); + + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getFieldId()const; + void setFieldId(const std::string& fieldId); + + private: + std::string regionId_; + std::string domainName_; + long ownerId_; + std::string fieldId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h new file mode 100644 index 000000000..412659b37 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateDcdnDomainOfflineLogDeliveryResult : public ServiceResult + { + public: + + + CreateDcdnDomainOfflineLogDeliveryResult(); + explicit CreateDcdnDomainOfflineLogDeliveryResult(const std::string &payload); + ~CreateDcdnDomainOfflineLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h index 97d274874..33db8050c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h @@ -41,8 +41,6 @@ namespace AlibabaCloud void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); @@ -50,7 +48,6 @@ namespace AlibabaCloud std::string ownerAccount_; std::string domainName_; long ownerId_; - std::string resourceGroupId_; std::string securityToken_; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.h index 083182fe4..273740462 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.h @@ -35,23 +35,20 @@ namespace AlibabaCloud DeleteDcdnIpaDomainRequest(); ~DeleteDcdnIpaDomainRequest(); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); private: - std::string resourceGroupId_; - std::string securityToken_; std::string ownerAccount_; std::string domainName_; long ownerId_; + std::string securityToken_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h index 09166ca72..dc2b4b0a8 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h @@ -35,22 +35,19 @@ namespace AlibabaCloud DescribeDcdnDomainTopReferVisitRequest(); ~DescribeDcdnDomainTopReferVisitRequest(); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); std::string getStartTime()const; void setStartTime(const std::string& startTime); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); std::string getSortBy()const; void setSortBy(const std::string& sortBy); private: - std::string domainName_; std::string startTime_; + std::string domainName_; long ownerId_; - std::string securityToken_; std::string sortBy_; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h new file mode 100644 index 000000000..60ba0ecad --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryFieldRequest : public RpcServiceRequest + { + + public: + DescribeDcdnOfflineLogDeliveryFieldRequest(); + ~DescribeDcdnOfflineLogDeliveryFieldRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h new file mode 100644 index 000000000..a43e96bda --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryFieldResult : public ServiceResult + { + public: + struct Field + { + std::string description; + std::string fieldId; + std::string fieldName; + }; + + + DescribeDcdnOfflineLogDeliveryFieldResult(); + explicit DescribeDcdnOfflineLogDeliveryFieldResult(const std::string &payload); + ~DescribeDcdnOfflineLogDeliveryFieldResult(); + std::vector getFields()const; + + protected: + void parse(const std::string &payload); + private: + std::vector fields_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h new file mode 100644 index 000000000..08718343f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryRegionsRequest : public RpcServiceRequest + { + + public: + DescribeDcdnOfflineLogDeliveryRegionsRequest(); + ~DescribeDcdnOfflineLogDeliveryRegionsRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h new file mode 100644 index 000000000..c49b1951e --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryRegionsResult : public ServiceResult + { + public: + struct Area + { + struct RegionInfo + { + std::string isOverseas; + std::string ossEndpoint; + std::string regionName; + std::string regionId; + }; + std::string areaName; + std::string areaId; + std::vector regionInfos; + }; + + + DescribeDcdnOfflineLogDeliveryRegionsResult(); + explicit DescribeDcdnOfflineLogDeliveryRegionsResult(const std::string &payload); + ~DescribeDcdnOfflineLogDeliveryRegionsResult(); + std::vector getAreas()const; + + protected: + void parse(const std::string &payload); + private: + std::vector areas_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h new file mode 100644 index 000000000..8e6c19285 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryRequest : public RpcServiceRequest + { + + public: + DescribeDcdnOfflineLogDeliveryRequest(); + ~DescribeDcdnOfflineLogDeliveryRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h new file mode 100644 index 000000000..d4e506b72 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryResult : public ServiceResult + { + public: + struct Domain + { + std::string domainName; + }; + struct Region + { + std::string dlaVcName; + std::string areaName; + std::string ossPathPrefix; + std::string isOverseas; + std::string ossEndpoint; + int ossId; + std::string regionName; + std::string dlaTableName; + std::string areaId; + std::string ossBucketName; + std::string regionId; + std::string dlaDbName; + }; + + + DescribeDcdnOfflineLogDeliveryResult(); + explicit DescribeDcdnOfflineLogDeliveryResult(const std::string &payload); + ~DescribeDcdnOfflineLogDeliveryResult(); + std::vector getDomains()const; + std::vector getFields()const; + std::vector getRegions()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + std::vector fields_; + std::vector regions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h new file mode 100644 index 000000000..a984d5c79 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryStatusRequest : public RpcServiceRequest + { + + public: + DescribeDcdnOfflineLogDeliveryStatusRequest(); + ~DescribeDcdnOfflineLogDeliveryStatusRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h new file mode 100644 index 000000000..ed588b42d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryStatusResult : public ServiceResult + { + public: + + + DescribeDcdnOfflineLogDeliveryStatusResult(); + explicit DescribeDcdnOfflineLogDeliveryStatusResult(const std::string &payload); + ~DescribeDcdnOfflineLogDeliveryStatusResult(); + std::string getOpenStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::string openStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h new file mode 100644 index 000000000..ccbf4e5fd --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsByFuncRequest : public RpcServiceRequest + { + + public: + DescribeDcdnUserDomainsByFuncRequest(); + ~DescribeDcdnUserDomainsByFuncRequest(); + + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); + int getPageSize()const; + void setPageSize(int pageSize); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getFuncId()const; + void setFuncId(int funcId); + + private: + int pageNumber_; + std::string resourceGroupId_; + int pageSize_; + long ownerId_; + int funcId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h new file mode 100644 index 000000000..3700238d9 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsByFuncResult : public ServiceResult + { + public: + struct PageData + { + struct Source + { + std::string type; + std::string content; + std::string priority; + int port; + std::string weight; + }; + std::string description; + std::string sslProtocol; + std::string resourceGroupId; + std::string domainName; + std::string gmtModified; + std::string cdnType; + std::string gmtCreated; + std::vector sources; + std::string cname; + std::string domainStatus; + std::string sandbox; + }; + + + DescribeDcdnUserDomainsByFuncResult(); + explicit DescribeDcdnUserDomainsByFuncResult(const std::string &payload); + ~DescribeDcdnUserDomainsByFuncResult(); + std::vector getDomains()const; + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + long totalCount_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h new file mode 100644 index 000000000..7e619a0ac --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DisableDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest + { + + public: + DisableDcdnDomainOfflineLogDeliveryRequest(); + ~DisableDcdnDomainOfflineLogDeliveryRequest(); + + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h new file mode 100644 index 000000000..24e5141b7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DisableDcdnDomainOfflineLogDeliveryResult : public ServiceResult + { + public: + + + DisableDcdnDomainOfflineLogDeliveryResult(); + explicit DisableDcdnDomainOfflineLogDeliveryResult(const std::string &payload); + ~DisableDcdnDomainOfflineLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h new file mode 100644 index 000000000..545249b99 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DisableDcdnOfflineLogDeliveryRequest : public RpcServiceRequest + { + + public: + DisableDcdnOfflineLogDeliveryRequest(); + ~DisableDcdnOfflineLogDeliveryRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h new file mode 100644 index 000000000..2d84ffbdd --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DisableDcdnOfflineLogDeliveryResult : public ServiceResult + { + public: + + + DisableDcdnOfflineLogDeliveryResult(); + explicit DisableDcdnOfflineLogDeliveryResult(const std::string &payload); + ~DisableDcdnOfflineLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h new file mode 100644 index 000000000..ee5c7b893 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT EnableDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest + { + + public: + EnableDcdnDomainOfflineLogDeliveryRequest(); + ~EnableDcdnDomainOfflineLogDeliveryRequest(); + + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h new file mode 100644 index 000000000..2aaa5acab --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT EnableDcdnDomainOfflineLogDeliveryResult : public ServiceResult + { + public: + + + EnableDcdnDomainOfflineLogDeliveryResult(); + explicit EnableDcdnDomainOfflineLogDeliveryResult(const std::string &payload); + ~EnableDcdnDomainOfflineLogDeliveryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/dcdn/src/DcdnClient.cc b/dcdn/src/DcdnClient.cc index 20fe93e92..596ae3b0b 100644 --- a/dcdn/src/DcdnClient.cc +++ b/dcdn/src/DcdnClient.cc @@ -411,6 +411,42 @@ DcdnClient::CreateDcdnCertificateSigningRequestOutcomeCallable DcdnClient::creat return task->get_future(); } +DcdnClient::CreateDcdnDomainOfflineLogDeliveryOutcome DcdnClient::createDcdnDomainOfflineLogDelivery(const CreateDcdnDomainOfflineLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDcdnDomainOfflineLogDeliveryOutcome(CreateDcdnDomainOfflineLogDeliveryResult(outcome.result())); + else + return CreateDcdnDomainOfflineLogDeliveryOutcome(outcome.error()); +} + +void DcdnClient::createDcdnDomainOfflineLogDeliveryAsync(const CreateDcdnDomainOfflineLogDeliveryRequest& request, const CreateDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDcdnDomainOfflineLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::CreateDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::createDcdnDomainOfflineLogDeliveryCallable(const CreateDcdnDomainOfflineLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDcdnDomainOfflineLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DeleteDcdnDomainOutcome DcdnClient::deleteDcdnDomain(const DeleteDcdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2319,6 +2355,150 @@ DcdnClient::DescribeDcdnIpaUserDomainsOutcomeCallable DcdnClient::describeDcdnIp return task->get_future(); } +DcdnClient::DescribeDcdnOfflineLogDeliveryOutcome DcdnClient::describeDcdnOfflineLogDelivery(const DescribeDcdnOfflineLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnOfflineLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnOfflineLogDeliveryOutcome(DescribeDcdnOfflineLogDeliveryResult(outcome.result())); + else + return DescribeDcdnOfflineLogDeliveryOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnOfflineLogDeliveryAsync(const DescribeDcdnOfflineLogDeliveryRequest& request, const DescribeDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnOfflineLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnOfflineLogDeliveryOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryCallable(const DescribeDcdnOfflineLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnOfflineLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnOfflineLogDeliveryFieldOutcome DcdnClient::describeDcdnOfflineLogDeliveryField(const DescribeDcdnOfflineLogDeliveryFieldRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnOfflineLogDeliveryFieldOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnOfflineLogDeliveryFieldOutcome(DescribeDcdnOfflineLogDeliveryFieldResult(outcome.result())); + else + return DescribeDcdnOfflineLogDeliveryFieldOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnOfflineLogDeliveryFieldAsync(const DescribeDcdnOfflineLogDeliveryFieldRequest& request, const DescribeDcdnOfflineLogDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnOfflineLogDeliveryField(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryFieldCallable(const DescribeDcdnOfflineLogDeliveryFieldRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnOfflineLogDeliveryField(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnOfflineLogDeliveryRegionsOutcome DcdnClient::describeDcdnOfflineLogDeliveryRegions(const DescribeDcdnOfflineLogDeliveryRegionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnOfflineLogDeliveryRegionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnOfflineLogDeliveryRegionsOutcome(DescribeDcdnOfflineLogDeliveryRegionsResult(outcome.result())); + else + return DescribeDcdnOfflineLogDeliveryRegionsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnOfflineLogDeliveryRegionsAsync(const DescribeDcdnOfflineLogDeliveryRegionsRequest& request, const DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnOfflineLogDeliveryRegions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryRegionsCallable(const DescribeDcdnOfflineLogDeliveryRegionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnOfflineLogDeliveryRegions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnOfflineLogDeliveryStatusOutcome DcdnClient::describeDcdnOfflineLogDeliveryStatus(const DescribeDcdnOfflineLogDeliveryStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnOfflineLogDeliveryStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnOfflineLogDeliveryStatusOutcome(DescribeDcdnOfflineLogDeliveryStatusResult(outcome.result())); + else + return DescribeDcdnOfflineLogDeliveryStatusOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnOfflineLogDeliveryStatusAsync(const DescribeDcdnOfflineLogDeliveryStatusRequest& request, const DescribeDcdnOfflineLogDeliveryStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnOfflineLogDeliveryStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryStatusCallable(const DescribeDcdnOfflineLogDeliveryStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnOfflineLogDeliveryStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnRefreshQuotaOutcome DcdnClient::describeDcdnRefreshQuota(const DescribeDcdnRefreshQuotaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2643,6 +2823,42 @@ DcdnClient::DescribeDcdnUserDomainsOutcomeCallable DcdnClient::describeDcdnUserD return task->get_future(); } +DcdnClient::DescribeDcdnUserDomainsByFuncOutcome DcdnClient::describeDcdnUserDomainsByFunc(const DescribeDcdnUserDomainsByFuncRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnUserDomainsByFuncOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnUserDomainsByFuncOutcome(DescribeDcdnUserDomainsByFuncResult(outcome.result())); + else + return DescribeDcdnUserDomainsByFuncOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnUserDomainsByFuncAsync(const DescribeDcdnUserDomainsByFuncRequest& request, const DescribeDcdnUserDomainsByFuncAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnUserDomainsByFunc(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnUserDomainsByFuncOutcomeCallable DcdnClient::describeDcdnUserDomainsByFuncCallable(const DescribeDcdnUserDomainsByFuncRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnUserDomainsByFunc(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnUserQuotaOutcome DcdnClient::describeDcdnUserQuota(const DescribeDcdnUserQuotaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2895,6 +3111,114 @@ DcdnClient::DescribeUserDcdnStatusOutcomeCallable DcdnClient::describeUserDcdnSt return task->get_future(); } +DcdnClient::DisableDcdnDomainOfflineLogDeliveryOutcome DcdnClient::disableDcdnDomainOfflineLogDelivery(const DisableDcdnDomainOfflineLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DisableDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DisableDcdnDomainOfflineLogDeliveryOutcome(DisableDcdnDomainOfflineLogDeliveryResult(outcome.result())); + else + return DisableDcdnDomainOfflineLogDeliveryOutcome(outcome.error()); +} + +void DcdnClient::disableDcdnDomainOfflineLogDeliveryAsync(const DisableDcdnDomainOfflineLogDeliveryRequest& request, const DisableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, disableDcdnDomainOfflineLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DisableDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::disableDcdnDomainOfflineLogDeliveryCallable(const DisableDcdnDomainOfflineLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->disableDcdnDomainOfflineLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DisableDcdnOfflineLogDeliveryOutcome DcdnClient::disableDcdnOfflineLogDelivery(const DisableDcdnOfflineLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DisableDcdnOfflineLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DisableDcdnOfflineLogDeliveryOutcome(DisableDcdnOfflineLogDeliveryResult(outcome.result())); + else + return DisableDcdnOfflineLogDeliveryOutcome(outcome.error()); +} + +void DcdnClient::disableDcdnOfflineLogDeliveryAsync(const DisableDcdnOfflineLogDeliveryRequest& request, const DisableDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, disableDcdnOfflineLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DisableDcdnOfflineLogDeliveryOutcomeCallable DcdnClient::disableDcdnOfflineLogDeliveryCallable(const DisableDcdnOfflineLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->disableDcdnOfflineLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::EnableDcdnDomainOfflineLogDeliveryOutcome DcdnClient::enableDcdnDomainOfflineLogDelivery(const EnableDcdnDomainOfflineLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EnableDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EnableDcdnDomainOfflineLogDeliveryOutcome(EnableDcdnDomainOfflineLogDeliveryResult(outcome.result())); + else + return EnableDcdnDomainOfflineLogDeliveryOutcome(outcome.error()); +} + +void DcdnClient::enableDcdnDomainOfflineLogDeliveryAsync(const EnableDcdnDomainOfflineLogDeliveryRequest& request, const EnableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, enableDcdnDomainOfflineLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::EnableDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::enableDcdnDomainOfflineLogDeliveryCallable(const EnableDcdnDomainOfflineLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->enableDcdnDomainOfflineLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::ModifyDCdnDomainSchdmByPropertyOutcome DcdnClient::modifyDCdnDomainSchdmByProperty(const ModifyDCdnDomainSchdmByPropertyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc b/dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc new file mode 100644 index 000000000..5d5665b33 --- /dev/null +++ b/dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateDcdnDomainOfflineLogDeliveryRequest; + +CreateDcdnDomainOfflineLogDeliveryRequest::CreateDcdnDomainOfflineLogDeliveryRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnDomainOfflineLogDelivery") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDcdnDomainOfflineLogDeliveryRequest::~CreateDcdnDomainOfflineLogDeliveryRequest() +{} + +std::string CreateDcdnDomainOfflineLogDeliveryRequest::getRegionId()const +{ + return regionId_; +} + +void CreateDcdnDomainOfflineLogDeliveryRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setBodyParameter("RegionId", regionId); +} + +std::string CreateDcdnDomainOfflineLogDeliveryRequest::getDomainName()const +{ + return domainName_; +} + +void CreateDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +long CreateDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateDcdnDomainOfflineLogDeliveryRequest::getFieldId()const +{ + return fieldId_; +} + +void CreateDcdnDomainOfflineLogDeliveryRequest::setFieldId(const std::string& fieldId) +{ + fieldId_ = fieldId; + setBodyParameter("FieldId", fieldId); +} + diff --git a/dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc b/dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc new file mode 100644 index 000000000..345b7aa81 --- /dev/null +++ b/dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +CreateDcdnDomainOfflineLogDeliveryResult::CreateDcdnDomainOfflineLogDeliveryResult() : + ServiceResult() +{} + +CreateDcdnDomainOfflineLogDeliveryResult::CreateDcdnDomainOfflineLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDcdnDomainOfflineLogDeliveryResult::~CreateDcdnDomainOfflineLogDeliveryResult() +{} + +void CreateDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/DeleteDcdnDomainRequest.cc b/dcdn/src/model/DeleteDcdnDomainRequest.cc index fd13af64e..112098abd 100644 --- a/dcdn/src/model/DeleteDcdnDomainRequest.cc +++ b/dcdn/src/model/DeleteDcdnDomainRequest.cc @@ -60,17 +60,6 @@ void DeleteDcdnDomainRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string DeleteDcdnDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DeleteDcdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - std::string DeleteDcdnDomainRequest::getSecurityToken()const { return securityToken_; diff --git a/dcdn/src/model/DeleteDcdnIpaDomainRequest.cc b/dcdn/src/model/DeleteDcdnIpaDomainRequest.cc index d6c257469..ea4044ea6 100644 --- a/dcdn/src/model/DeleteDcdnIpaDomainRequest.cc +++ b/dcdn/src/model/DeleteDcdnIpaDomainRequest.cc @@ -27,28 +27,6 @@ DeleteDcdnIpaDomainRequest::DeleteDcdnIpaDomainRequest() : DeleteDcdnIpaDomainRequest::~DeleteDcdnIpaDomainRequest() {} -std::string DeleteDcdnIpaDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DeleteDcdnIpaDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DeleteDcdnIpaDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - std::string DeleteDcdnIpaDomainRequest::getOwnerAccount()const { return ownerAccount_; @@ -82,3 +60,14 @@ void DeleteDcdnIpaDomainRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } +std::string DeleteDcdnIpaDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainTopReferVisitRequest.cc b/dcdn/src/model/DescribeDcdnDomainTopReferVisitRequest.cc index c8517f979..f25bd9cd4 100644 --- a/dcdn/src/model/DescribeDcdnDomainTopReferVisitRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainTopReferVisitRequest.cc @@ -27,17 +27,6 @@ DescribeDcdnDomainTopReferVisitRequest::DescribeDcdnDomainTopReferVisitRequest() DescribeDcdnDomainTopReferVisitRequest::~DescribeDcdnDomainTopReferVisitRequest() {} -std::string DescribeDcdnDomainTopReferVisitRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeDcdnDomainTopReferVisitRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - std::string DescribeDcdnDomainTopReferVisitRequest::getStartTime()const { return startTime_; @@ -49,6 +38,17 @@ void DescribeDcdnDomainTopReferVisitRequest::setStartTime(const std::string& sta setParameter("StartTime", startTime); } +std::string DescribeDcdnDomainTopReferVisitRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDcdnDomainTopReferVisitRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + long DescribeDcdnDomainTopReferVisitRequest::getOwnerId()const { return ownerId_; @@ -60,17 +60,6 @@ void DescribeDcdnDomainTopReferVisitRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string DescribeDcdnDomainTopReferVisitRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeDcdnDomainTopReferVisitRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - std::string DescribeDcdnDomainTopReferVisitRequest::getSortBy()const { return sortBy_; diff --git a/dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldRequest.cc b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldRequest.cc new file mode 100644 index 000000000..5a6092623 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryFieldRequest; + +DescribeDcdnOfflineLogDeliveryFieldRequest::DescribeDcdnOfflineLogDeliveryFieldRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryField") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnOfflineLogDeliveryFieldRequest::~DescribeDcdnOfflineLogDeliveryFieldRequest() +{} + +long DescribeDcdnOfflineLogDeliveryFieldRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnOfflineLogDeliveryFieldRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldResult.cc b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldResult.cc new file mode 100644 index 000000000..eb7c18f71 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnOfflineLogDeliveryFieldResult::DescribeDcdnOfflineLogDeliveryFieldResult() : + ServiceResult() +{} + +DescribeDcdnOfflineLogDeliveryFieldResult::DescribeDcdnOfflineLogDeliveryFieldResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnOfflineLogDeliveryFieldResult::~DescribeDcdnOfflineLogDeliveryFieldResult() +{} + +void DescribeDcdnOfflineLogDeliveryFieldResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFieldsNode = value["Fields"]["Field"]; + for (auto valueFieldsField : allFieldsNode) + { + Field fieldsObject; + if(!valueFieldsField["FieldId"].isNull()) + fieldsObject.fieldId = valueFieldsField["FieldId"].asString(); + if(!valueFieldsField["FieldName"].isNull()) + fieldsObject.fieldName = valueFieldsField["FieldName"].asString(); + if(!valueFieldsField["Description"].isNull()) + fieldsObject.description = valueFieldsField["Description"].asString(); + fields_.push_back(fieldsObject); + } + +} + +std::vector DescribeDcdnOfflineLogDeliveryFieldResult::getFields()const +{ + return fields_; +} + diff --git a/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.cc b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.cc new file mode 100644 index 000000000..61e98939f --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryRegionsRequest; + +DescribeDcdnOfflineLogDeliveryRegionsRequest::DescribeDcdnOfflineLogDeliveryRegionsRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryRegions") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnOfflineLogDeliveryRegionsRequest::~DescribeDcdnOfflineLogDeliveryRegionsRequest() +{} + +long DescribeDcdnOfflineLogDeliveryRegionsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnOfflineLogDeliveryRegionsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRegionsResult.cc b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRegionsResult.cc new file mode 100644 index 000000000..bb17056e3 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRegionsResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnOfflineLogDeliveryRegionsResult::DescribeDcdnOfflineLogDeliveryRegionsResult() : + ServiceResult() +{} + +DescribeDcdnOfflineLogDeliveryRegionsResult::DescribeDcdnOfflineLogDeliveryRegionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnOfflineLogDeliveryRegionsResult::~DescribeDcdnOfflineLogDeliveryRegionsResult() +{} + +void DescribeDcdnOfflineLogDeliveryRegionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAreasNode = value["Areas"]["Area"]; + for (auto valueAreasArea : allAreasNode) + { + Area areasObject; + if(!valueAreasArea["AreaId"].isNull()) + areasObject.areaId = valueAreasArea["AreaId"].asString(); + if(!valueAreasArea["AreaName"].isNull()) + areasObject.areaName = valueAreasArea["AreaName"].asString(); + auto allRegionInfosNode = valueAreasArea["RegionInfos"]["RegionInfo"]; + for (auto valueAreasAreaRegionInfosRegionInfo : allRegionInfosNode) + { + Area::RegionInfo regionInfosObject; + if(!valueAreasAreaRegionInfosRegionInfo["RegionId"].isNull()) + regionInfosObject.regionId = valueAreasAreaRegionInfosRegionInfo["RegionId"].asString(); + if(!valueAreasAreaRegionInfosRegionInfo["RegionName"].isNull()) + regionInfosObject.regionName = valueAreasAreaRegionInfosRegionInfo["RegionName"].asString(); + if(!valueAreasAreaRegionInfosRegionInfo["IsOverseas"].isNull()) + regionInfosObject.isOverseas = valueAreasAreaRegionInfosRegionInfo["IsOverseas"].asString(); + if(!valueAreasAreaRegionInfosRegionInfo["OssEndpoint"].isNull()) + regionInfosObject.ossEndpoint = valueAreasAreaRegionInfosRegionInfo["OssEndpoint"].asString(); + areasObject.regionInfos.push_back(regionInfosObject); + } + areas_.push_back(areasObject); + } + +} + +std::vector DescribeDcdnOfflineLogDeliveryRegionsResult::getAreas()const +{ + return areas_; +} + diff --git a/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRequest.cc b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRequest.cc new file mode 100644 index 000000000..3a5abcbf2 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryRequest; + +DescribeDcdnOfflineLogDeliveryRequest::DescribeDcdnOfflineLogDeliveryRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDelivery") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnOfflineLogDeliveryRequest::~DescribeDcdnOfflineLogDeliveryRequest() +{} + +long DescribeDcdnOfflineLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnOfflineLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnOfflineLogDeliveryResult.cc b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryResult.cc new file mode 100644 index 000000000..d3ee3c209 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnOfflineLogDeliveryResult::DescribeDcdnOfflineLogDeliveryResult() : + ServiceResult() +{} + +DescribeDcdnOfflineLogDeliveryResult::DescribeDcdnOfflineLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnOfflineLogDeliveryResult::~DescribeDcdnOfflineLogDeliveryResult() +{} + +void DescribeDcdnOfflineLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainsNode = value["Domains"]["Domain"]; + for (auto valueDomainsDomain : allDomainsNode) + { + Domain domainsObject; + if(!valueDomainsDomain["DomainName"].isNull()) + domainsObject.domainName = valueDomainsDomain["DomainName"].asString(); + domains_.push_back(domainsObject); + } + auto allRegionsNode = value["Regions"]["Region"]; + for (auto valueRegionsRegion : allRegionsNode) + { + Region regionsObject; + if(!valueRegionsRegion["OssId"].isNull()) + regionsObject.ossId = std::stoi(valueRegionsRegion["OssId"].asString()); + if(!valueRegionsRegion["OssBucketName"].isNull()) + regionsObject.ossBucketName = valueRegionsRegion["OssBucketName"].asString(); + if(!valueRegionsRegion["OssPathPrefix"].isNull()) + regionsObject.ossPathPrefix = valueRegionsRegion["OssPathPrefix"].asString(); + if(!valueRegionsRegion["DlaVcName"].isNull()) + regionsObject.dlaVcName = valueRegionsRegion["DlaVcName"].asString(); + if(!valueRegionsRegion["RegionId"].isNull()) + regionsObject.regionId = valueRegionsRegion["RegionId"].asString(); + if(!valueRegionsRegion["RegionName"].isNull()) + regionsObject.regionName = valueRegionsRegion["RegionName"].asString(); + if(!valueRegionsRegion["IsOverseas"].isNull()) + regionsObject.isOverseas = valueRegionsRegion["IsOverseas"].asString(); + if(!valueRegionsRegion["OssEndpoint"].isNull()) + regionsObject.ossEndpoint = valueRegionsRegion["OssEndpoint"].asString(); + if(!valueRegionsRegion["AreaId"].isNull()) + regionsObject.areaId = valueRegionsRegion["AreaId"].asString(); + if(!valueRegionsRegion["AreaName"].isNull()) + regionsObject.areaName = valueRegionsRegion["AreaName"].asString(); + if(!valueRegionsRegion["DlaDbName"].isNull()) + regionsObject.dlaDbName = valueRegionsRegion["DlaDbName"].asString(); + if(!valueRegionsRegion["DlaTableName"].isNull()) + regionsObject.dlaTableName = valueRegionsRegion["DlaTableName"].asString(); + regions_.push_back(regionsObject); + } + auto allFields = value["Fields"]["Field"]; + for (const auto &item : allFields) + fields_.push_back(item.asString()); + +} + +std::vector DescribeDcdnOfflineLogDeliveryResult::getDomains()const +{ + return domains_; +} + +std::vector DescribeDcdnOfflineLogDeliveryResult::getFields()const +{ + return fields_; +} + +std::vector DescribeDcdnOfflineLogDeliveryResult::getRegions()const +{ + return regions_; +} + diff --git a/dcdn/src/model/DescribeDcdnOfflineLogDeliveryStatusRequest.cc b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryStatusRequest.cc new file mode 100644 index 000000000..17d48cd9c --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryStatusRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryStatusRequest; + +DescribeDcdnOfflineLogDeliveryStatusRequest::DescribeDcdnOfflineLogDeliveryStatusRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnOfflineLogDeliveryStatusRequest::~DescribeDcdnOfflineLogDeliveryStatusRequest() +{} + +long DescribeDcdnOfflineLogDeliveryStatusRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnOfflineLogDeliveryStatusRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc new file mode 100644 index 000000000..fd92ac882 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnOfflineLogDeliveryStatusResult::DescribeDcdnOfflineLogDeliveryStatusResult() : + ServiceResult() +{} + +DescribeDcdnOfflineLogDeliveryStatusResult::DescribeDcdnOfflineLogDeliveryStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnOfflineLogDeliveryStatusResult::~DescribeDcdnOfflineLogDeliveryStatusResult() +{} + +void DescribeDcdnOfflineLogDeliveryStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["OpenStatus"].isNull()) + openStatus_ = value["OpenStatus"].asString(); + +} + +std::string DescribeDcdnOfflineLogDeliveryStatusResult::getOpenStatus()const +{ + return openStatus_; +} + diff --git a/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc b/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc new file mode 100644 index 000000000..00dd017e2 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserDomainsByFuncRequest; + +DescribeDcdnUserDomainsByFuncRequest::DescribeDcdnUserDomainsByFuncRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserDomainsByFunc") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnUserDomainsByFuncRequest::~DescribeDcdnUserDomainsByFuncRequest() +{} + +int DescribeDcdnUserDomainsByFuncRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDcdnUserDomainsByFuncRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeDcdnUserDomainsByFuncRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeDcdnUserDomainsByFuncRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +int DescribeDcdnUserDomainsByFuncRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDcdnUserDomainsByFuncRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeDcdnUserDomainsByFuncRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnUserDomainsByFuncRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeDcdnUserDomainsByFuncRequest::getFuncId()const +{ + return funcId_; +} + +void DescribeDcdnUserDomainsByFuncRequest::setFuncId(int funcId) +{ + funcId_ = funcId; + setParameter("FuncId", std::to_string(funcId)); +} + diff --git a/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc b/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc new file mode 100644 index 000000000..3257de889 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc @@ -0,0 +1,112 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnUserDomainsByFuncResult::DescribeDcdnUserDomainsByFuncResult() : + ServiceResult() +{} + +DescribeDcdnUserDomainsByFuncResult::DescribeDcdnUserDomainsByFuncResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnUserDomainsByFuncResult::~DescribeDcdnUserDomainsByFuncResult() +{} + +void DescribeDcdnUserDomainsByFuncResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainsNode = value["Domains"]["PageData"]; + for (auto valueDomainsPageData : allDomainsNode) + { + PageData domainsObject; + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); + if(!valueDomainsPageData["Cname"].isNull()) + domainsObject.cname = valueDomainsPageData["Cname"].asString(); + if(!valueDomainsPageData["CdnType"].isNull()) + domainsObject.cdnType = valueDomainsPageData["CdnType"].asString(); + if(!valueDomainsPageData["DomainStatus"].isNull()) + domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); + if(!valueDomainsPageData["GmtCreated"].isNull()) + domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString(); + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["Description"].isNull()) + domainsObject.description = valueDomainsPageData["Description"].asString(); + if(!valueDomainsPageData["SslProtocol"].isNull()) + domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString(); + if(!valueDomainsPageData["ResourceGroupId"].isNull()) + domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString(); + if(!valueDomainsPageData["Sandbox"].isNull()) + domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString(); + auto allSourcesNode = valueDomainsPageData["Sources"]["Source"]; + for (auto valueDomainsPageDataSourcesSource : allSourcesNode) + { + PageData::Source sourcesObject; + if(!valueDomainsPageDataSourcesSource["Type"].isNull()) + sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString(); + if(!valueDomainsPageDataSourcesSource["Content"].isNull()) + sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString(); + if(!valueDomainsPageDataSourcesSource["Port"].isNull()) + sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString()); + if(!valueDomainsPageDataSourcesSource["Priority"].isNull()) + sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString(); + if(!valueDomainsPageDataSourcesSource["Weight"].isNull()) + sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].asString(); + domainsObject.sources.push_back(sourcesObject); + } + domains_.push_back(domainsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector DescribeDcdnUserDomainsByFuncResult::getDomains()const +{ + return domains_; +} + +long DescribeDcdnUserDomainsByFuncResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDcdnUserDomainsByFuncResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDcdnUserDomainsByFuncResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc b/dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc new file mode 100644 index 000000000..7d202adb0 --- /dev/null +++ b/dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DisableDcdnDomainOfflineLogDeliveryRequest; + +DisableDcdnDomainOfflineLogDeliveryRequest::DisableDcdnDomainOfflineLogDeliveryRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DisableDcdnDomainOfflineLogDelivery") +{ + setMethod(HttpRequest::Method::Post); +} + +DisableDcdnDomainOfflineLogDeliveryRequest::~DisableDcdnDomainOfflineLogDeliveryRequest() +{} + +std::string DisableDcdnDomainOfflineLogDeliveryRequest::getDomainName()const +{ + return domainName_; +} + +void DisableDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +long DisableDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; +} + +void DisableDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc b/dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc new file mode 100644 index 000000000..d3309fc8b --- /dev/null +++ b/dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DisableDcdnDomainOfflineLogDeliveryResult::DisableDcdnDomainOfflineLogDeliveryResult() : + ServiceResult() +{} + +DisableDcdnDomainOfflineLogDeliveryResult::DisableDcdnDomainOfflineLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DisableDcdnDomainOfflineLogDeliveryResult::~DisableDcdnDomainOfflineLogDeliveryResult() +{} + +void DisableDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/DisableDcdnOfflineLogDeliveryRequest.cc b/dcdn/src/model/DisableDcdnOfflineLogDeliveryRequest.cc new file mode 100644 index 000000000..d86303407 --- /dev/null +++ b/dcdn/src/model/DisableDcdnOfflineLogDeliveryRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DisableDcdnOfflineLogDeliveryRequest; + +DisableDcdnOfflineLogDeliveryRequest::DisableDcdnOfflineLogDeliveryRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DisableDcdnOfflineLogDelivery") +{ + setMethod(HttpRequest::Method::Post); +} + +DisableDcdnOfflineLogDeliveryRequest::~DisableDcdnOfflineLogDeliveryRequest() +{} + +long DisableDcdnOfflineLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; +} + +void DisableDcdnOfflineLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DisableDcdnOfflineLogDeliveryResult.cc b/dcdn/src/model/DisableDcdnOfflineLogDeliveryResult.cc new file mode 100644 index 000000000..10e6fdb37 --- /dev/null +++ b/dcdn/src/model/DisableDcdnOfflineLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DisableDcdnOfflineLogDeliveryResult::DisableDcdnOfflineLogDeliveryResult() : + ServiceResult() +{} + +DisableDcdnOfflineLogDeliveryResult::DisableDcdnOfflineLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DisableDcdnOfflineLogDeliveryResult::~DisableDcdnOfflineLogDeliveryResult() +{} + +void DisableDcdnOfflineLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc b/dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc new file mode 100644 index 000000000..236629a59 --- /dev/null +++ b/dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::EnableDcdnDomainOfflineLogDeliveryRequest; + +EnableDcdnDomainOfflineLogDeliveryRequest::EnableDcdnDomainOfflineLogDeliveryRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "EnableDcdnDomainOfflineLogDelivery") +{ + setMethod(HttpRequest::Method::Post); +} + +EnableDcdnDomainOfflineLogDeliveryRequest::~EnableDcdnDomainOfflineLogDeliveryRequest() +{} + +std::string EnableDcdnDomainOfflineLogDeliveryRequest::getDomainName()const +{ + return domainName_; +} + +void EnableDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +long EnableDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; +} + +void EnableDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc b/dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc new file mode 100644 index 000000000..cd0e4e136 --- /dev/null +++ b/dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +EnableDcdnDomainOfflineLogDeliveryResult::EnableDcdnDomainOfflineLogDeliveryResult() : + ServiceResult() +{} + +EnableDcdnDomainOfflineLogDeliveryResult::EnableDcdnDomainOfflineLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EnableDcdnDomainOfflineLogDeliveryResult::~EnableDcdnDomainOfflineLogDeliveryResult() +{} + +void EnableDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +