Compare commits
5 Commits
Qualityche
...
scdn-patch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38d18cec8b | ||
|
|
041b9c9999 | ||
|
|
279ad33425 | ||
|
|
e990580a3e | ||
|
|
6da72af809 |
15
CHANGELOG
15
CHANGELOG
@@ -1,3 +1,18 @@
|
||||
2020-12-17 Version: patch
|
||||
- Update DeleteScdnDomain.
|
||||
|
||||
2020-12-17 Version: patch
|
||||
- Generated 2014-05-26 for `Ecs`.
|
||||
|
||||
2020-12-17 Version: patch
|
||||
- Update DeleteDcdnDomain.
|
||||
|
||||
2020-12-17 Version: patch
|
||||
- Update DeleteCdnDomain.
|
||||
|
||||
2020-12-17 Version: patch
|
||||
- Generated 2020-01-11 for `servicemesh`.
|
||||
|
||||
2020-12-17 Version: patch
|
||||
- Update api.
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -60,17 +60,6 @@ void DeleteCdnDomainRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCdnDomainRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DeleteCdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteCdnDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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<Error, Model::CreateDcdnCertificateSigningRequestResult> CreateDcdnCertificateSigningRequestOutcome;
|
||||
typedef std::future<CreateDcdnCertificateSigningRequestOutcome> CreateDcdnCertificateSigningRequestOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnCertificateSigningRequestRequest&, const CreateDcdnCertificateSigningRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnCertificateSigningRequestAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDcdnDomainOfflineLogDeliveryResult> CreateDcdnDomainOfflineLogDeliveryOutcome;
|
||||
typedef std::future<CreateDcdnDomainOfflineLogDeliveryOutcome> CreateDcdnDomainOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnDomainOfflineLogDeliveryRequest&, const CreateDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnDomainOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDcdnDomainResult> DeleteDcdnDomainOutcome;
|
||||
typedef std::future<DeleteDcdnDomainOutcome> DeleteDcdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DeleteDcdnDomainRequest&, const DeleteDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDcdnDomainAsyncHandler;
|
||||
@@ -418,6 +439,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDcdnIpaUserDomainsResult> DescribeDcdnIpaUserDomainsOutcome;
|
||||
typedef std::future<DescribeDcdnIpaUserDomainsOutcome> DescribeDcdnIpaUserDomainsOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnIpaUserDomainsRequest&, const DescribeDcdnIpaUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnIpaUserDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryResult> DescribeDcdnOfflineLogDeliveryOutcome;
|
||||
typedef std::future<DescribeDcdnOfflineLogDeliveryOutcome> DescribeDcdnOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryRequest&, const DescribeDcdnOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryFieldResult> DescribeDcdnOfflineLogDeliveryFieldOutcome;
|
||||
typedef std::future<DescribeDcdnOfflineLogDeliveryFieldOutcome> DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryFieldRequest&, const DescribeDcdnOfflineLogDeliveryFieldOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryFieldAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryRegionsResult> DescribeDcdnOfflineLogDeliveryRegionsOutcome;
|
||||
typedef std::future<DescribeDcdnOfflineLogDeliveryRegionsOutcome> DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest&, const DescribeDcdnOfflineLogDeliveryRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryStatusResult> DescribeDcdnOfflineLogDeliveryStatusOutcome;
|
||||
typedef std::future<DescribeDcdnOfflineLogDeliveryStatusOutcome> DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryStatusRequest&, const DescribeDcdnOfflineLogDeliveryStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnRefreshQuotaResult> DescribeDcdnRefreshQuotaOutcome;
|
||||
typedef std::future<DescribeDcdnRefreshQuotaOutcome> DescribeDcdnRefreshQuotaOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnRefreshQuotaRequest&, const DescribeDcdnRefreshQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnRefreshQuotaAsyncHandler;
|
||||
@@ -445,6 +478,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDcdnUserDomainsResult> DescribeDcdnUserDomainsOutcome;
|
||||
typedef std::future<DescribeDcdnUserDomainsOutcome> DescribeDcdnUserDomainsOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserDomainsRequest&, const DescribeDcdnUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnUserDomainsByFuncResult> DescribeDcdnUserDomainsByFuncOutcome;
|
||||
typedef std::future<DescribeDcdnUserDomainsByFuncOutcome> DescribeDcdnUserDomainsByFuncOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserDomainsByFuncRequest&, const DescribeDcdnUserDomainsByFuncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserDomainsByFuncAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnUserQuotaResult> DescribeDcdnUserQuotaOutcome;
|
||||
typedef std::future<DescribeDcdnUserQuotaOutcome> DescribeDcdnUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserQuotaRequest&, const DescribeDcdnUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserQuotaAsyncHandler;
|
||||
@@ -466,6 +502,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeUserDcdnStatusResult> DescribeUserDcdnStatusOutcome;
|
||||
typedef std::future<DescribeUserDcdnStatusOutcome> DescribeUserDcdnStatusOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeUserDcdnStatusRequest&, const DescribeUserDcdnStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDcdnStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableDcdnDomainOfflineLogDeliveryResult> DisableDcdnDomainOfflineLogDeliveryOutcome;
|
||||
typedef std::future<DisableDcdnDomainOfflineLogDeliveryOutcome> DisableDcdnDomainOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DisableDcdnDomainOfflineLogDeliveryRequest&, const DisableDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDcdnDomainOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableDcdnOfflineLogDeliveryResult> DisableDcdnOfflineLogDeliveryOutcome;
|
||||
typedef std::future<DisableDcdnOfflineLogDeliveryOutcome> DisableDcdnOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DisableDcdnOfflineLogDeliveryRequest&, const DisableDcdnOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDcdnOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableDcdnDomainOfflineLogDeliveryResult> EnableDcdnDomainOfflineLogDeliveryOutcome;
|
||||
typedef std::future<EnableDcdnDomainOfflineLogDeliveryOutcome> EnableDcdnDomainOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::EnableDcdnDomainOfflineLogDeliveryRequest&, const EnableDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableDcdnDomainOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDCdnDomainSchdmByPropertyResult> ModifyDCdnDomainSchdmByPropertyOutcome;
|
||||
typedef std::future<ModifyDCdnDomainSchdmByPropertyOutcome> ModifyDCdnDomainSchdmByPropertyOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::ModifyDCdnDomainSchdmByPropertyRequest&, const ModifyDCdnDomainSchdmByPropertyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDCdnDomainSchdmByPropertyOutcomeCallable modifyDCdnDomainSchdmByPropertyCallable(const Model::ModifyDCdnDomainSchdmByPropertyRequest& request) const;
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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<Field> getFields()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Field> fields_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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<Area::RegionInfo> regionInfos;
|
||||
};
|
||||
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsResult();
|
||||
explicit DescribeDcdnOfflineLogDeliveryRegionsResult(const std::string &payload);
|
||||
~DescribeDcdnOfflineLogDeliveryRegionsResult();
|
||||
std::vector<Area> getAreas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Area> areas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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<Domain> getDomains()const;
|
||||
std::vector<std::string> getFields()const;
|
||||
std::vector<Region> getRegions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Domain> domains_;
|
||||
std::vector<std::string> fields_;
|
||||
std::vector<Region> regions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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<PageData::Source> sources;
|
||||
std::string cname;
|
||||
std::string domainStatus;
|
||||
std::string sandbox;
|
||||
};
|
||||
|
||||
|
||||
DescribeDcdnUserDomainsByFuncResult();
|
||||
explicit DescribeDcdnUserDomainsByFuncResult(const std::string &payload);
|
||||
~DescribeDcdnUserDomainsByFuncResult();
|
||||
std::vector<PageData> getDomains()const;
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PageData> domains_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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<const AsyncCallerContext>& 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<std::packaged_task<CreateDcdnDomainOfflineLogDeliveryOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnOfflineLogDeliveryOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnOfflineLogDeliveryFieldOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnOfflineLogDeliveryRegionsOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnOfflineLogDeliveryStatusOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnUserDomainsByFuncOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DisableDcdnDomainOfflineLogDeliveryOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DisableDcdnOfflineLogDeliveryOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<EnableDcdnDomainOfflineLogDeliveryOutcome()>>(
|
||||
[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();
|
||||
|
||||
73
dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc
Normal file
73
dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
44
dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc
Normal file
44
dcdn/src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
40
dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldRequest.cc
Normal file
40
dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldRequest.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
61
dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldResult.cc
Normal file
61
dcdn/src/model/DescribeDcdnOfflineLogDeliveryFieldResult.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::Field> DescribeDcdnOfflineLogDeliveryFieldResult::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::Area> DescribeDcdnOfflineLogDeliveryRegionsResult::getAreas()const
|
||||
{
|
||||
return areas_;
|
||||
}
|
||||
|
||||
40
dcdn/src/model/DescribeDcdnOfflineLogDeliveryRequest.cc
Normal file
40
dcdn/src/model/DescribeDcdnOfflineLogDeliveryRequest.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
100
dcdn/src/model/DescribeDcdnOfflineLogDeliveryResult.cc
Normal file
100
dcdn/src/model/DescribeDcdnOfflineLogDeliveryResult.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::Domain> DescribeDcdnOfflineLogDeliveryResult::getDomains()const
|
||||
{
|
||||
return domains_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDcdnOfflineLogDeliveryResult::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryResult::Region> DescribeDcdnOfflineLogDeliveryResult::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
51
dcdn/src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc
Normal file
51
dcdn/src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
84
dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc
Normal file
84
dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
112
dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc
Normal file
112
dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::PageData> DescribeDcdnUserDomainsByFuncResult::getDomains()const
|
||||
{
|
||||
return domains_;
|
||||
}
|
||||
|
||||
long DescribeDcdnUserDomainsByFuncResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
long DescribeDcdnUserDomainsByFuncResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeDcdnUserDomainsByFuncResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
51
dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc
Normal file
51
dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
44
dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc
Normal file
44
dcdn/src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
40
dcdn/src/model/DisableDcdnOfflineLogDeliveryRequest.cc
Normal file
40
dcdn/src/model/DisableDcdnOfflineLogDeliveryRequest.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
44
dcdn/src/model/DisableDcdnOfflineLogDeliveryResult.cc
Normal file
44
dcdn/src/model/DisableDcdnOfflineLogDeliveryResult.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
51
dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc
Normal file
51
dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
44
dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc
Normal file
44
dcdn/src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc
Normal file
@@ -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 <alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,14 @@ namespace AlibabaCloud
|
||||
DescribeSpotAdviceRequest();
|
||||
~DescribeSpotAdviceRequest();
|
||||
|
||||
std::string getGpuSpec()const;
|
||||
void setGpuSpec(const std::string& gpuSpec);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
float getMemory()const;
|
||||
void setMemory(float memory);
|
||||
std::vector<std::string> getInstanceTypes()const;
|
||||
void setInstanceTypes(const std::vector<std::string>& instanceTypes);
|
||||
std::string getIoOptimized()const;
|
||||
void setIoOptimized(const std::string& ioOptimized);
|
||||
int getMinCores()const;
|
||||
@@ -53,16 +57,24 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getInstanceTypeFamily()const;
|
||||
void setInstanceTypeFamily(const std::string& instanceTypeFamily);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceFamilyLevel()const;
|
||||
void setInstanceFamilyLevel(const std::string& instanceFamilyLevel);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
int getGpuAmount()const;
|
||||
void setGpuAmount(int gpuAmount);
|
||||
float getMinMemory()const;
|
||||
void setMinMemory(float minMemory);
|
||||
|
||||
private:
|
||||
std::string gpuSpec_;
|
||||
long resourceOwnerId_;
|
||||
float memory_;
|
||||
std::vector<std::string> instanceTypes_;
|
||||
std::string ioOptimized_;
|
||||
int minCores_;
|
||||
std::string networkType_;
|
||||
@@ -70,8 +82,11 @@ namespace AlibabaCloud
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceTypeFamily_;
|
||||
long ownerId_;
|
||||
std::string instanceFamilyLevel_;
|
||||
std::string zoneId_;
|
||||
int gpuAmount_;
|
||||
float minMemory_;
|
||||
|
||||
};
|
||||
|
||||
@@ -31,21 +31,21 @@ EcsClient::EcsClient(const Credentials &credentials, const ClientConfiguration &
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ecs");
|
||||
}
|
||||
|
||||
EcsClient::EcsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ecs");
|
||||
}
|
||||
|
||||
EcsClient::EcsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ecs");
|
||||
}
|
||||
|
||||
EcsClient::~EcsClient()
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeSpotAdviceRequest::DescribeSpotAdviceRequest() :
|
||||
DescribeSpotAdviceRequest::~DescribeSpotAdviceRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSpotAdviceRequest::getGpuSpec()const
|
||||
{
|
||||
return gpuSpec_;
|
||||
}
|
||||
|
||||
void DescribeSpotAdviceRequest::setGpuSpec(const std::string& gpuSpec)
|
||||
{
|
||||
gpuSpec_ = gpuSpec;
|
||||
setParameter("GpuSpec", gpuSpec);
|
||||
}
|
||||
|
||||
long DescribeSpotAdviceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -49,6 +60,19 @@ void DescribeSpotAdviceRequest::setMemory(float memory)
|
||||
setParameter("Memory", std::to_string(memory));
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeSpotAdviceRequest::getInstanceTypes()const
|
||||
{
|
||||
return instanceTypes_;
|
||||
}
|
||||
|
||||
void DescribeSpotAdviceRequest::setInstanceTypes(const std::vector<std::string>& instanceTypes)
|
||||
{
|
||||
instanceTypes_ = instanceTypes;
|
||||
for(int dep1 = 0; dep1!= instanceTypes.size(); dep1++) {
|
||||
setParameter("InstanceTypes."+ std::to_string(dep1), instanceTypes.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeSpotAdviceRequest::getIoOptimized()const
|
||||
{
|
||||
return ioOptimized_;
|
||||
@@ -126,6 +150,17 @@ void DescribeSpotAdviceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSpotAdviceRequest::getInstanceTypeFamily()const
|
||||
{
|
||||
return instanceTypeFamily_;
|
||||
}
|
||||
|
||||
void DescribeSpotAdviceRequest::setInstanceTypeFamily(const std::string& instanceTypeFamily)
|
||||
{
|
||||
instanceTypeFamily_ = instanceTypeFamily;
|
||||
setParameter("InstanceTypeFamily", instanceTypeFamily);
|
||||
}
|
||||
|
||||
long DescribeSpotAdviceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -137,6 +172,17 @@ void DescribeSpotAdviceRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSpotAdviceRequest::getInstanceFamilyLevel()const
|
||||
{
|
||||
return instanceFamilyLevel_;
|
||||
}
|
||||
|
||||
void DescribeSpotAdviceRequest::setInstanceFamilyLevel(const std::string& instanceFamilyLevel)
|
||||
{
|
||||
instanceFamilyLevel_ = instanceFamilyLevel;
|
||||
setParameter("InstanceFamilyLevel", instanceFamilyLevel);
|
||||
}
|
||||
|
||||
std::string DescribeSpotAdviceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
@@ -148,6 +194,17 @@ void DescribeSpotAdviceRequest::setZoneId(const std::string& zoneId)
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
int DescribeSpotAdviceRequest::getGpuAmount()const
|
||||
{
|
||||
return gpuAmount_;
|
||||
}
|
||||
|
||||
void DescribeSpotAdviceRequest::setGpuAmount(int gpuAmount)
|
||||
{
|
||||
gpuAmount_ = gpuAmount;
|
||||
setParameter("GpuAmount", std::to_string(gpuAmount));
|
||||
}
|
||||
|
||||
float DescribeSpotAdviceRequest::getMinMemory()const
|
||||
{
|
||||
return minMemory_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,22 +35,19 @@ namespace AlibabaCloud
|
||||
DescribeScdnDomainTopReferVisitRequest();
|
||||
~DescribeScdnDomainTopReferVisitRequest();
|
||||
|
||||
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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -60,17 +60,6 @@ void DeleteScdnDomainRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteScdnDomainRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DeleteScdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteScdnDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -27,17 +27,6 @@ DescribeScdnDomainTopReferVisitRequest::DescribeScdnDomainTopReferVisitRequest()
|
||||
DescribeScdnDomainTopReferVisitRequest::~DescribeScdnDomainTopReferVisitRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeScdnDomainTopReferVisitRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeScdnDomainTopReferVisitRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeScdnDomainTopReferVisitRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -49,6 +38,17 @@ void DescribeScdnDomainTopReferVisitRequest::setStartTime(const std::string& sta
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeScdnDomainTopReferVisitRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeScdnDomainTopReferVisitRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeScdnDomainTopReferVisitRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -60,17 +60,6 @@ void DescribeScdnDomainTopReferVisitRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeScdnDomainTopReferVisitRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeScdnDomainTopReferVisitRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeScdnDomainTopReferVisitRequest::getSortBy()const
|
||||
{
|
||||
return sortBy_;
|
||||
|
||||
190
servicemesh/CMakeLists.txt
Normal file
190
servicemesh/CMakeLists.txt
Normal file
@@ -0,0 +1,190 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(servicemesh_public_header
|
||||
include/alibabacloud/servicemesh/ServicemeshClient.h
|
||||
include/alibabacloud/servicemesh/ServicemeshExport.h )
|
||||
|
||||
set(servicemesh_public_header_model
|
||||
include/alibabacloud/servicemesh/model/AddClusterIntoServiceMeshRequest.h
|
||||
include/alibabacloud/servicemesh/model/AddClusterIntoServiceMeshResult.h
|
||||
include/alibabacloud/servicemesh/model/AddVmAppToMeshRequest.h
|
||||
include/alibabacloud/servicemesh/model/AddVmAppToMeshResult.h
|
||||
include/alibabacloud/servicemesh/model/CreateServiceMeshRequest.h
|
||||
include/alibabacloud/servicemesh/model/CreateServiceMeshResult.h
|
||||
include/alibabacloud/servicemesh/model/DeleteServiceMeshRequest.h
|
||||
include/alibabacloud/servicemesh/model/DeleteServiceMeshResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeCensRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeCensResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeClusterGrafanaRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeClusterGrafanaResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeClusterPrometheusRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeClusterPrometheusResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeClustersInServiceMeshRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeClustersInServiceMeshResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeGuestClusterAccessLogDashboardsRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeGuestClusterAccessLogDashboardsResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeIngressGatewaysRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeIngressGatewaysResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeServiceMeshDetailRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeServiceMeshDetailResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeServiceMeshKubeconfigRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeServiceMeshKubeconfigResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeServiceMeshesRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeServiceMeshesResult.h
|
||||
include/alibabacloud/servicemesh/model/DescribeUpgradeVersionRequest.h
|
||||
include/alibabacloud/servicemesh/model/DescribeUpgradeVersionResult.h
|
||||
include/alibabacloud/servicemesh/model/GetDiagnosisRequest.h
|
||||
include/alibabacloud/servicemesh/model/GetDiagnosisResult.h
|
||||
include/alibabacloud/servicemesh/model/GetRegisteredServiceEndpointsRequest.h
|
||||
include/alibabacloud/servicemesh/model/GetRegisteredServiceEndpointsResult.h
|
||||
include/alibabacloud/servicemesh/model/GetRegisteredServiceNamespacesRequest.h
|
||||
include/alibabacloud/servicemesh/model/GetRegisteredServiceNamespacesResult.h
|
||||
include/alibabacloud/servicemesh/model/GetRegisteredServicesRequest.h
|
||||
include/alibabacloud/servicemesh/model/GetRegisteredServicesResult.h
|
||||
include/alibabacloud/servicemesh/model/GetServiceMeshSlbRequest.h
|
||||
include/alibabacloud/servicemesh/model/GetServiceMeshSlbResult.h
|
||||
include/alibabacloud/servicemesh/model/GetVmAppMeshInfoRequest.h
|
||||
include/alibabacloud/servicemesh/model/GetVmAppMeshInfoResult.h
|
||||
include/alibabacloud/servicemesh/model/GetVmMetaRequest.h
|
||||
include/alibabacloud/servicemesh/model/GetVmMetaResult.h
|
||||
include/alibabacloud/servicemesh/model/RemoveClusterFromServiceMeshRequest.h
|
||||
include/alibabacloud/servicemesh/model/RemoveClusterFromServiceMeshResult.h
|
||||
include/alibabacloud/servicemesh/model/RemoveVmAppFromMeshRequest.h
|
||||
include/alibabacloud/servicemesh/model/RemoveVmAppFromMeshResult.h
|
||||
include/alibabacloud/servicemesh/model/RunDiagnosisRequest.h
|
||||
include/alibabacloud/servicemesh/model/RunDiagnosisResult.h
|
||||
include/alibabacloud/servicemesh/model/UpdateIstioInjectionConfigRequest.h
|
||||
include/alibabacloud/servicemesh/model/UpdateIstioInjectionConfigResult.h
|
||||
include/alibabacloud/servicemesh/model/UpdateMeshFeatureRequest.h
|
||||
include/alibabacloud/servicemesh/model/UpdateMeshFeatureResult.h
|
||||
include/alibabacloud/servicemesh/model/UpgradeMeshVersionRequest.h
|
||||
include/alibabacloud/servicemesh/model/UpgradeMeshVersionResult.h )
|
||||
|
||||
set(servicemesh_src
|
||||
src/ServicemeshClient.cc
|
||||
src/model/AddClusterIntoServiceMeshRequest.cc
|
||||
src/model/AddClusterIntoServiceMeshResult.cc
|
||||
src/model/AddVmAppToMeshRequest.cc
|
||||
src/model/AddVmAppToMeshResult.cc
|
||||
src/model/CreateServiceMeshRequest.cc
|
||||
src/model/CreateServiceMeshResult.cc
|
||||
src/model/DeleteServiceMeshRequest.cc
|
||||
src/model/DeleteServiceMeshResult.cc
|
||||
src/model/DescribeCensRequest.cc
|
||||
src/model/DescribeCensResult.cc
|
||||
src/model/DescribeClusterGrafanaRequest.cc
|
||||
src/model/DescribeClusterGrafanaResult.cc
|
||||
src/model/DescribeClusterPrometheusRequest.cc
|
||||
src/model/DescribeClusterPrometheusResult.cc
|
||||
src/model/DescribeClustersInServiceMeshRequest.cc
|
||||
src/model/DescribeClustersInServiceMeshResult.cc
|
||||
src/model/DescribeGuestClusterAccessLogDashboardsRequest.cc
|
||||
src/model/DescribeGuestClusterAccessLogDashboardsResult.cc
|
||||
src/model/DescribeIngressGatewaysRequest.cc
|
||||
src/model/DescribeIngressGatewaysResult.cc
|
||||
src/model/DescribeServiceMeshDetailRequest.cc
|
||||
src/model/DescribeServiceMeshDetailResult.cc
|
||||
src/model/DescribeServiceMeshKubeconfigRequest.cc
|
||||
src/model/DescribeServiceMeshKubeconfigResult.cc
|
||||
src/model/DescribeServiceMeshesRequest.cc
|
||||
src/model/DescribeServiceMeshesResult.cc
|
||||
src/model/DescribeUpgradeVersionRequest.cc
|
||||
src/model/DescribeUpgradeVersionResult.cc
|
||||
src/model/GetDiagnosisRequest.cc
|
||||
src/model/GetDiagnosisResult.cc
|
||||
src/model/GetRegisteredServiceEndpointsRequest.cc
|
||||
src/model/GetRegisteredServiceEndpointsResult.cc
|
||||
src/model/GetRegisteredServiceNamespacesRequest.cc
|
||||
src/model/GetRegisteredServiceNamespacesResult.cc
|
||||
src/model/GetRegisteredServicesRequest.cc
|
||||
src/model/GetRegisteredServicesResult.cc
|
||||
src/model/GetServiceMeshSlbRequest.cc
|
||||
src/model/GetServiceMeshSlbResult.cc
|
||||
src/model/GetVmAppMeshInfoRequest.cc
|
||||
src/model/GetVmAppMeshInfoResult.cc
|
||||
src/model/GetVmMetaRequest.cc
|
||||
src/model/GetVmMetaResult.cc
|
||||
src/model/RemoveClusterFromServiceMeshRequest.cc
|
||||
src/model/RemoveClusterFromServiceMeshResult.cc
|
||||
src/model/RemoveVmAppFromMeshRequest.cc
|
||||
src/model/RemoveVmAppFromMeshResult.cc
|
||||
src/model/RunDiagnosisRequest.cc
|
||||
src/model/RunDiagnosisResult.cc
|
||||
src/model/UpdateIstioInjectionConfigRequest.cc
|
||||
src/model/UpdateIstioInjectionConfigResult.cc
|
||||
src/model/UpdateMeshFeatureRequest.cc
|
||||
src/model/UpdateMeshFeatureResult.cc
|
||||
src/model/UpgradeMeshVersionRequest.cc
|
||||
src/model/UpgradeMeshVersionResult.cc )
|
||||
|
||||
add_library(servicemesh ${LIB_TYPE}
|
||||
${servicemesh_public_header}
|
||||
${servicemesh_public_header_model}
|
||||
${servicemesh_src})
|
||||
|
||||
set_target_properties(servicemesh
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}servicemesh
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(servicemesh
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_SERVICEMESH_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(servicemesh
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(servicemesh
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(servicemesh
|
||||
jsoncpp)
|
||||
target_include_directories(servicemesh
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(servicemesh
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(servicemesh
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(servicemesh
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(servicemesh
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${servicemesh_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/servicemesh)
|
||||
install(FILES ${servicemesh_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/servicemesh/model)
|
||||
install(TARGETS servicemesh
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
262
servicemesh/include/alibabacloud/servicemesh/ServicemeshClient.h
Normal file
262
servicemesh/include/alibabacloud/servicemesh/ServicemeshClient.h
Normal file
@@ -0,0 +1,262 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_SERVICEMESHCLIENT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_SERVICEMESHCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ServicemeshExport.h"
|
||||
#include "model/AddClusterIntoServiceMeshRequest.h"
|
||||
#include "model/AddClusterIntoServiceMeshResult.h"
|
||||
#include "model/AddVmAppToMeshRequest.h"
|
||||
#include "model/AddVmAppToMeshResult.h"
|
||||
#include "model/CreateServiceMeshRequest.h"
|
||||
#include "model/CreateServiceMeshResult.h"
|
||||
#include "model/DeleteServiceMeshRequest.h"
|
||||
#include "model/DeleteServiceMeshResult.h"
|
||||
#include "model/DescribeCensRequest.h"
|
||||
#include "model/DescribeCensResult.h"
|
||||
#include "model/DescribeClusterGrafanaRequest.h"
|
||||
#include "model/DescribeClusterGrafanaResult.h"
|
||||
#include "model/DescribeClusterPrometheusRequest.h"
|
||||
#include "model/DescribeClusterPrometheusResult.h"
|
||||
#include "model/DescribeClustersInServiceMeshRequest.h"
|
||||
#include "model/DescribeClustersInServiceMeshResult.h"
|
||||
#include "model/DescribeGuestClusterAccessLogDashboardsRequest.h"
|
||||
#include "model/DescribeGuestClusterAccessLogDashboardsResult.h"
|
||||
#include "model/DescribeIngressGatewaysRequest.h"
|
||||
#include "model/DescribeIngressGatewaysResult.h"
|
||||
#include "model/DescribeServiceMeshDetailRequest.h"
|
||||
#include "model/DescribeServiceMeshDetailResult.h"
|
||||
#include "model/DescribeServiceMeshKubeconfigRequest.h"
|
||||
#include "model/DescribeServiceMeshKubeconfigResult.h"
|
||||
#include "model/DescribeServiceMeshesRequest.h"
|
||||
#include "model/DescribeServiceMeshesResult.h"
|
||||
#include "model/DescribeUpgradeVersionRequest.h"
|
||||
#include "model/DescribeUpgradeVersionResult.h"
|
||||
#include "model/GetDiagnosisRequest.h"
|
||||
#include "model/GetDiagnosisResult.h"
|
||||
#include "model/GetRegisteredServiceEndpointsRequest.h"
|
||||
#include "model/GetRegisteredServiceEndpointsResult.h"
|
||||
#include "model/GetRegisteredServiceNamespacesRequest.h"
|
||||
#include "model/GetRegisteredServiceNamespacesResult.h"
|
||||
#include "model/GetRegisteredServicesRequest.h"
|
||||
#include "model/GetRegisteredServicesResult.h"
|
||||
#include "model/GetServiceMeshSlbRequest.h"
|
||||
#include "model/GetServiceMeshSlbResult.h"
|
||||
#include "model/GetVmAppMeshInfoRequest.h"
|
||||
#include "model/GetVmAppMeshInfoResult.h"
|
||||
#include "model/GetVmMetaRequest.h"
|
||||
#include "model/GetVmMetaResult.h"
|
||||
#include "model/RemoveClusterFromServiceMeshRequest.h"
|
||||
#include "model/RemoveClusterFromServiceMeshResult.h"
|
||||
#include "model/RemoveVmAppFromMeshRequest.h"
|
||||
#include "model/RemoveVmAppFromMeshResult.h"
|
||||
#include "model/RunDiagnosisRequest.h"
|
||||
#include "model/RunDiagnosisResult.h"
|
||||
#include "model/UpdateIstioInjectionConfigRequest.h"
|
||||
#include "model/UpdateIstioInjectionConfigResult.h"
|
||||
#include "model/UpdateMeshFeatureRequest.h"
|
||||
#include "model/UpdateMeshFeatureResult.h"
|
||||
#include "model/UpgradeMeshVersionRequest.h"
|
||||
#include "model/UpgradeMeshVersionResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT ServicemeshClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddClusterIntoServiceMeshResult> AddClusterIntoServiceMeshOutcome;
|
||||
typedef std::future<AddClusterIntoServiceMeshOutcome> AddClusterIntoServiceMeshOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::AddClusterIntoServiceMeshRequest&, const AddClusterIntoServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddClusterIntoServiceMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddVmAppToMeshResult> AddVmAppToMeshOutcome;
|
||||
typedef std::future<AddVmAppToMeshOutcome> AddVmAppToMeshOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::AddVmAppToMeshRequest&, const AddVmAppToMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddVmAppToMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceMeshResult> CreateServiceMeshOutcome;
|
||||
typedef std::future<CreateServiceMeshOutcome> CreateServiceMeshOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::CreateServiceMeshRequest&, const CreateServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteServiceMeshResult> DeleteServiceMeshOutcome;
|
||||
typedef std::future<DeleteServiceMeshOutcome> DeleteServiceMeshOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DeleteServiceMeshRequest&, const DeleteServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCensResult> DescribeCensOutcome;
|
||||
typedef std::future<DescribeCensOutcome> DescribeCensOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeCensRequest&, const DescribeCensOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCensAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterGrafanaResult> DescribeClusterGrafanaOutcome;
|
||||
typedef std::future<DescribeClusterGrafanaOutcome> DescribeClusterGrafanaOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeClusterGrafanaRequest&, const DescribeClusterGrafanaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterGrafanaAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterPrometheusResult> DescribeClusterPrometheusOutcome;
|
||||
typedef std::future<DescribeClusterPrometheusOutcome> DescribeClusterPrometheusOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeClusterPrometheusRequest&, const DescribeClusterPrometheusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterPrometheusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClustersInServiceMeshResult> DescribeClustersInServiceMeshOutcome;
|
||||
typedef std::future<DescribeClustersInServiceMeshOutcome> DescribeClustersInServiceMeshOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeClustersInServiceMeshRequest&, const DescribeClustersInServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClustersInServiceMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGuestClusterAccessLogDashboardsResult> DescribeGuestClusterAccessLogDashboardsOutcome;
|
||||
typedef std::future<DescribeGuestClusterAccessLogDashboardsOutcome> DescribeGuestClusterAccessLogDashboardsOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeGuestClusterAccessLogDashboardsRequest&, const DescribeGuestClusterAccessLogDashboardsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGuestClusterAccessLogDashboardsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIngressGatewaysResult> DescribeIngressGatewaysOutcome;
|
||||
typedef std::future<DescribeIngressGatewaysOutcome> DescribeIngressGatewaysOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeIngressGatewaysRequest&, const DescribeIngressGatewaysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIngressGatewaysAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeServiceMeshDetailResult> DescribeServiceMeshDetailOutcome;
|
||||
typedef std::future<DescribeServiceMeshDetailOutcome> DescribeServiceMeshDetailOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeServiceMeshDetailRequest&, const DescribeServiceMeshDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceMeshDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeServiceMeshKubeconfigResult> DescribeServiceMeshKubeconfigOutcome;
|
||||
typedef std::future<DescribeServiceMeshKubeconfigOutcome> DescribeServiceMeshKubeconfigOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeServiceMeshKubeconfigRequest&, const DescribeServiceMeshKubeconfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceMeshKubeconfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeServiceMeshesResult> DescribeServiceMeshesOutcome;
|
||||
typedef std::future<DescribeServiceMeshesOutcome> DescribeServiceMeshesOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeServiceMeshesRequest&, const DescribeServiceMeshesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceMeshesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUpgradeVersionResult> DescribeUpgradeVersionOutcome;
|
||||
typedef std::future<DescribeUpgradeVersionOutcome> DescribeUpgradeVersionOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::DescribeUpgradeVersionRequest&, const DescribeUpgradeVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUpgradeVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDiagnosisResult> GetDiagnosisOutcome;
|
||||
typedef std::future<GetDiagnosisOutcome> GetDiagnosisOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::GetDiagnosisRequest&, const GetDiagnosisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDiagnosisAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRegisteredServiceEndpointsResult> GetRegisteredServiceEndpointsOutcome;
|
||||
typedef std::future<GetRegisteredServiceEndpointsOutcome> GetRegisteredServiceEndpointsOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::GetRegisteredServiceEndpointsRequest&, const GetRegisteredServiceEndpointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRegisteredServiceEndpointsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRegisteredServiceNamespacesResult> GetRegisteredServiceNamespacesOutcome;
|
||||
typedef std::future<GetRegisteredServiceNamespacesOutcome> GetRegisteredServiceNamespacesOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::GetRegisteredServiceNamespacesRequest&, const GetRegisteredServiceNamespacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRegisteredServiceNamespacesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRegisteredServicesResult> GetRegisteredServicesOutcome;
|
||||
typedef std::future<GetRegisteredServicesOutcome> GetRegisteredServicesOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::GetRegisteredServicesRequest&, const GetRegisteredServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRegisteredServicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServiceMeshSlbResult> GetServiceMeshSlbOutcome;
|
||||
typedef std::future<GetServiceMeshSlbOutcome> GetServiceMeshSlbOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::GetServiceMeshSlbRequest&, const GetServiceMeshSlbOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceMeshSlbAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetVmAppMeshInfoResult> GetVmAppMeshInfoOutcome;
|
||||
typedef std::future<GetVmAppMeshInfoOutcome> GetVmAppMeshInfoOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::GetVmAppMeshInfoRequest&, const GetVmAppMeshInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVmAppMeshInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetVmMetaResult> GetVmMetaOutcome;
|
||||
typedef std::future<GetVmMetaOutcome> GetVmMetaOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::GetVmMetaRequest&, const GetVmMetaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVmMetaAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveClusterFromServiceMeshResult> RemoveClusterFromServiceMeshOutcome;
|
||||
typedef std::future<RemoveClusterFromServiceMeshOutcome> RemoveClusterFromServiceMeshOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::RemoveClusterFromServiceMeshRequest&, const RemoveClusterFromServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveClusterFromServiceMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveVmAppFromMeshResult> RemoveVmAppFromMeshOutcome;
|
||||
typedef std::future<RemoveVmAppFromMeshOutcome> RemoveVmAppFromMeshOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::RemoveVmAppFromMeshRequest&, const RemoveVmAppFromMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveVmAppFromMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::RunDiagnosisResult> RunDiagnosisOutcome;
|
||||
typedef std::future<RunDiagnosisOutcome> RunDiagnosisOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::RunDiagnosisRequest&, const RunDiagnosisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunDiagnosisAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateIstioInjectionConfigResult> UpdateIstioInjectionConfigOutcome;
|
||||
typedef std::future<UpdateIstioInjectionConfigOutcome> UpdateIstioInjectionConfigOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::UpdateIstioInjectionConfigRequest&, const UpdateIstioInjectionConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateIstioInjectionConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateMeshFeatureResult> UpdateMeshFeatureOutcome;
|
||||
typedef std::future<UpdateMeshFeatureOutcome> UpdateMeshFeatureOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::UpdateMeshFeatureRequest&, const UpdateMeshFeatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMeshFeatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeMeshVersionResult> UpgradeMeshVersionOutcome;
|
||||
typedef std::future<UpgradeMeshVersionOutcome> UpgradeMeshVersionOutcomeCallable;
|
||||
typedef std::function<void(const ServicemeshClient*, const Model::UpgradeMeshVersionRequest&, const UpgradeMeshVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeMeshVersionAsyncHandler;
|
||||
|
||||
ServicemeshClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ServicemeshClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ServicemeshClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ServicemeshClient();
|
||||
AddClusterIntoServiceMeshOutcome addClusterIntoServiceMesh(const Model::AddClusterIntoServiceMeshRequest &request)const;
|
||||
void addClusterIntoServiceMeshAsync(const Model::AddClusterIntoServiceMeshRequest& request, const AddClusterIntoServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddClusterIntoServiceMeshOutcomeCallable addClusterIntoServiceMeshCallable(const Model::AddClusterIntoServiceMeshRequest& request) const;
|
||||
AddVmAppToMeshOutcome addVmAppToMesh(const Model::AddVmAppToMeshRequest &request)const;
|
||||
void addVmAppToMeshAsync(const Model::AddVmAppToMeshRequest& request, const AddVmAppToMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddVmAppToMeshOutcomeCallable addVmAppToMeshCallable(const Model::AddVmAppToMeshRequest& request) const;
|
||||
CreateServiceMeshOutcome createServiceMesh(const Model::CreateServiceMeshRequest &request)const;
|
||||
void createServiceMeshAsync(const Model::CreateServiceMeshRequest& request, const CreateServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceMeshOutcomeCallable createServiceMeshCallable(const Model::CreateServiceMeshRequest& request) const;
|
||||
DeleteServiceMeshOutcome deleteServiceMesh(const Model::DeleteServiceMeshRequest &request)const;
|
||||
void deleteServiceMeshAsync(const Model::DeleteServiceMeshRequest& request, const DeleteServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteServiceMeshOutcomeCallable deleteServiceMeshCallable(const Model::DeleteServiceMeshRequest& request) const;
|
||||
DescribeCensOutcome describeCens(const Model::DescribeCensRequest &request)const;
|
||||
void describeCensAsync(const Model::DescribeCensRequest& request, const DescribeCensAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCensOutcomeCallable describeCensCallable(const Model::DescribeCensRequest& request) const;
|
||||
DescribeClusterGrafanaOutcome describeClusterGrafana(const Model::DescribeClusterGrafanaRequest &request)const;
|
||||
void describeClusterGrafanaAsync(const Model::DescribeClusterGrafanaRequest& request, const DescribeClusterGrafanaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterGrafanaOutcomeCallable describeClusterGrafanaCallable(const Model::DescribeClusterGrafanaRequest& request) const;
|
||||
DescribeClusterPrometheusOutcome describeClusterPrometheus(const Model::DescribeClusterPrometheusRequest &request)const;
|
||||
void describeClusterPrometheusAsync(const Model::DescribeClusterPrometheusRequest& request, const DescribeClusterPrometheusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterPrometheusOutcomeCallable describeClusterPrometheusCallable(const Model::DescribeClusterPrometheusRequest& request) const;
|
||||
DescribeClustersInServiceMeshOutcome describeClustersInServiceMesh(const Model::DescribeClustersInServiceMeshRequest &request)const;
|
||||
void describeClustersInServiceMeshAsync(const Model::DescribeClustersInServiceMeshRequest& request, const DescribeClustersInServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClustersInServiceMeshOutcomeCallable describeClustersInServiceMeshCallable(const Model::DescribeClustersInServiceMeshRequest& request) const;
|
||||
DescribeGuestClusterAccessLogDashboardsOutcome describeGuestClusterAccessLogDashboards(const Model::DescribeGuestClusterAccessLogDashboardsRequest &request)const;
|
||||
void describeGuestClusterAccessLogDashboardsAsync(const Model::DescribeGuestClusterAccessLogDashboardsRequest& request, const DescribeGuestClusterAccessLogDashboardsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGuestClusterAccessLogDashboardsOutcomeCallable describeGuestClusterAccessLogDashboardsCallable(const Model::DescribeGuestClusterAccessLogDashboardsRequest& request) const;
|
||||
DescribeIngressGatewaysOutcome describeIngressGateways(const Model::DescribeIngressGatewaysRequest &request)const;
|
||||
void describeIngressGatewaysAsync(const Model::DescribeIngressGatewaysRequest& request, const DescribeIngressGatewaysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIngressGatewaysOutcomeCallable describeIngressGatewaysCallable(const Model::DescribeIngressGatewaysRequest& request) const;
|
||||
DescribeServiceMeshDetailOutcome describeServiceMeshDetail(const Model::DescribeServiceMeshDetailRequest &request)const;
|
||||
void describeServiceMeshDetailAsync(const Model::DescribeServiceMeshDetailRequest& request, const DescribeServiceMeshDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServiceMeshDetailOutcomeCallable describeServiceMeshDetailCallable(const Model::DescribeServiceMeshDetailRequest& request) const;
|
||||
DescribeServiceMeshKubeconfigOutcome describeServiceMeshKubeconfig(const Model::DescribeServiceMeshKubeconfigRequest &request)const;
|
||||
void describeServiceMeshKubeconfigAsync(const Model::DescribeServiceMeshKubeconfigRequest& request, const DescribeServiceMeshKubeconfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServiceMeshKubeconfigOutcomeCallable describeServiceMeshKubeconfigCallable(const Model::DescribeServiceMeshKubeconfigRequest& request) const;
|
||||
DescribeServiceMeshesOutcome describeServiceMeshes(const Model::DescribeServiceMeshesRequest &request)const;
|
||||
void describeServiceMeshesAsync(const Model::DescribeServiceMeshesRequest& request, const DescribeServiceMeshesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServiceMeshesOutcomeCallable describeServiceMeshesCallable(const Model::DescribeServiceMeshesRequest& request) const;
|
||||
DescribeUpgradeVersionOutcome describeUpgradeVersion(const Model::DescribeUpgradeVersionRequest &request)const;
|
||||
void describeUpgradeVersionAsync(const Model::DescribeUpgradeVersionRequest& request, const DescribeUpgradeVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUpgradeVersionOutcomeCallable describeUpgradeVersionCallable(const Model::DescribeUpgradeVersionRequest& request) const;
|
||||
GetDiagnosisOutcome getDiagnosis(const Model::GetDiagnosisRequest &request)const;
|
||||
void getDiagnosisAsync(const Model::GetDiagnosisRequest& request, const GetDiagnosisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDiagnosisOutcomeCallable getDiagnosisCallable(const Model::GetDiagnosisRequest& request) const;
|
||||
GetRegisteredServiceEndpointsOutcome getRegisteredServiceEndpoints(const Model::GetRegisteredServiceEndpointsRequest &request)const;
|
||||
void getRegisteredServiceEndpointsAsync(const Model::GetRegisteredServiceEndpointsRequest& request, const GetRegisteredServiceEndpointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRegisteredServiceEndpointsOutcomeCallable getRegisteredServiceEndpointsCallable(const Model::GetRegisteredServiceEndpointsRequest& request) const;
|
||||
GetRegisteredServiceNamespacesOutcome getRegisteredServiceNamespaces(const Model::GetRegisteredServiceNamespacesRequest &request)const;
|
||||
void getRegisteredServiceNamespacesAsync(const Model::GetRegisteredServiceNamespacesRequest& request, const GetRegisteredServiceNamespacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRegisteredServiceNamespacesOutcomeCallable getRegisteredServiceNamespacesCallable(const Model::GetRegisteredServiceNamespacesRequest& request) const;
|
||||
GetRegisteredServicesOutcome getRegisteredServices(const Model::GetRegisteredServicesRequest &request)const;
|
||||
void getRegisteredServicesAsync(const Model::GetRegisteredServicesRequest& request, const GetRegisteredServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRegisteredServicesOutcomeCallable getRegisteredServicesCallable(const Model::GetRegisteredServicesRequest& request) const;
|
||||
GetServiceMeshSlbOutcome getServiceMeshSlb(const Model::GetServiceMeshSlbRequest &request)const;
|
||||
void getServiceMeshSlbAsync(const Model::GetServiceMeshSlbRequest& request, const GetServiceMeshSlbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceMeshSlbOutcomeCallable getServiceMeshSlbCallable(const Model::GetServiceMeshSlbRequest& request) const;
|
||||
GetVmAppMeshInfoOutcome getVmAppMeshInfo(const Model::GetVmAppMeshInfoRequest &request)const;
|
||||
void getVmAppMeshInfoAsync(const Model::GetVmAppMeshInfoRequest& request, const GetVmAppMeshInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetVmAppMeshInfoOutcomeCallable getVmAppMeshInfoCallable(const Model::GetVmAppMeshInfoRequest& request) const;
|
||||
GetVmMetaOutcome getVmMeta(const Model::GetVmMetaRequest &request)const;
|
||||
void getVmMetaAsync(const Model::GetVmMetaRequest& request, const GetVmMetaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetVmMetaOutcomeCallable getVmMetaCallable(const Model::GetVmMetaRequest& request) const;
|
||||
RemoveClusterFromServiceMeshOutcome removeClusterFromServiceMesh(const Model::RemoveClusterFromServiceMeshRequest &request)const;
|
||||
void removeClusterFromServiceMeshAsync(const Model::RemoveClusterFromServiceMeshRequest& request, const RemoveClusterFromServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveClusterFromServiceMeshOutcomeCallable removeClusterFromServiceMeshCallable(const Model::RemoveClusterFromServiceMeshRequest& request) const;
|
||||
RemoveVmAppFromMeshOutcome removeVmAppFromMesh(const Model::RemoveVmAppFromMeshRequest &request)const;
|
||||
void removeVmAppFromMeshAsync(const Model::RemoveVmAppFromMeshRequest& request, const RemoveVmAppFromMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveVmAppFromMeshOutcomeCallable removeVmAppFromMeshCallable(const Model::RemoveVmAppFromMeshRequest& request) const;
|
||||
RunDiagnosisOutcome runDiagnosis(const Model::RunDiagnosisRequest &request)const;
|
||||
void runDiagnosisAsync(const Model::RunDiagnosisRequest& request, const RunDiagnosisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RunDiagnosisOutcomeCallable runDiagnosisCallable(const Model::RunDiagnosisRequest& request) const;
|
||||
UpdateIstioInjectionConfigOutcome updateIstioInjectionConfig(const Model::UpdateIstioInjectionConfigRequest &request)const;
|
||||
void updateIstioInjectionConfigAsync(const Model::UpdateIstioInjectionConfigRequest& request, const UpdateIstioInjectionConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateIstioInjectionConfigOutcomeCallable updateIstioInjectionConfigCallable(const Model::UpdateIstioInjectionConfigRequest& request) const;
|
||||
UpdateMeshFeatureOutcome updateMeshFeature(const Model::UpdateMeshFeatureRequest &request)const;
|
||||
void updateMeshFeatureAsync(const Model::UpdateMeshFeatureRequest& request, const UpdateMeshFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMeshFeatureOutcomeCallable updateMeshFeatureCallable(const Model::UpdateMeshFeatureRequest& request) const;
|
||||
UpgradeMeshVersionOutcome upgradeMeshVersion(const Model::UpgradeMeshVersionRequest &request)const;
|
||||
void upgradeMeshVersionAsync(const Model::UpgradeMeshVersionRequest& request, const UpgradeMeshVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeMeshVersionOutcomeCallable upgradeMeshVersionCallable(const Model::UpgradeMeshVersionRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_SERVICEMESHCLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_SERVICEMESHEXPORT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_SERVICEMESHEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_SERVICEMESH_LIBRARY)
|
||||
# define ALIBABACLOUD_SERVICEMESH_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_SERVICEMESH_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_SERVICEMESH_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_SERVICEMESHEXPORT_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_SERVICEMESH_MODEL_ADDCLUSTERINTOSERVICEMESHREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_ADDCLUSTERINTOSERVICEMESHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT AddClusterIntoServiceMeshRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddClusterIntoServiceMeshRequest();
|
||||
~AddClusterIntoServiceMeshRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_ADDCLUSTERINTOSERVICEMESHREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_ADDCLUSTERINTOSERVICEMESHRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_ADDCLUSTERINTOSERVICEMESHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT AddClusterIntoServiceMeshResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddClusterIntoServiceMeshResult();
|
||||
explicit AddClusterIntoServiceMeshResult(const std::string &payload);
|
||||
~AddClusterIntoServiceMeshResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_ADDCLUSTERINTOSERVICEMESHRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_ADDVMAPPTOMESHREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_ADDVMAPPTOMESHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT AddVmAppToMeshRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddVmAppToMeshRequest();
|
||||
~AddVmAppToMeshRequest();
|
||||
|
||||
std::string getServiceAccount()const;
|
||||
void setServiceAccount(const std::string& serviceAccount);
|
||||
std::string getAnnotations()const;
|
||||
void setAnnotations(const std::string& annotations);
|
||||
std::string getPorts()const;
|
||||
void setPorts(const std::string& ports);
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
bool getUseWorkload()const;
|
||||
void setUseWorkload(bool useWorkload);
|
||||
std::string getIps()const;
|
||||
void setIps(const std::string& ips);
|
||||
std::string getLabels()const;
|
||||
void setLabels(const std::string& labels);
|
||||
std::string get_Namespace()const;
|
||||
void set_Namespace(const std::string& _namespace);
|
||||
bool getForce()const;
|
||||
void setForce(bool force);
|
||||
|
||||
private:
|
||||
std::string serviceAccount_;
|
||||
std::string annotations_;
|
||||
std::string ports_;
|
||||
std::string serviceMeshId_;
|
||||
std::string serviceName_;
|
||||
bool useWorkload_;
|
||||
std::string ips_;
|
||||
std::string labels_;
|
||||
std::string _namespace_;
|
||||
bool force_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_ADDVMAPPTOMESHREQUEST_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_SERVICEMESH_MODEL_ADDVMAPPTOMESHRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_ADDVMAPPTOMESHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT AddVmAppToMeshResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddVmAppToMeshResult();
|
||||
explicit AddVmAppToMeshResult(const std::string &payload);
|
||||
~AddVmAppToMeshResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_ADDVMAPPTOMESHRESULT_H_
|
||||
@@ -0,0 +1,147 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_CREATESERVICEMESHREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_CREATESERVICEMESHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT CreateServiceMeshRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateServiceMeshRequest();
|
||||
~CreateServiceMeshRequest();
|
||||
|
||||
std::string getProxyRequestCPU()const;
|
||||
void setProxyRequestCPU(const std::string& proxyRequestCPU);
|
||||
std::string getOPALimitCPU()const;
|
||||
void setOPALimitCPU(const std::string& oPALimitCPU);
|
||||
bool getOpenAgentPolicy()const;
|
||||
void setOpenAgentPolicy(bool openAgentPolicy);
|
||||
bool getOpaEnabled()const;
|
||||
void setOpaEnabled(bool opaEnabled);
|
||||
std::string getProxyLimitMemory()const;
|
||||
void setProxyLimitMemory(const std::string& proxyLimitMemory);
|
||||
bool getStrictMTLS()const;
|
||||
void setStrictMTLS(bool strictMTLS);
|
||||
std::string getOPALogLevel()const;
|
||||
void setOPALogLevel(const std::string& oPALogLevel);
|
||||
std::string getExcludeIPRanges()const;
|
||||
void setExcludeIPRanges(const std::string& excludeIPRanges);
|
||||
std::string getIstioVersion()const;
|
||||
void setIstioVersion(const std::string& istioVersion);
|
||||
bool getTracing()const;
|
||||
void setTracing(bool tracing);
|
||||
std::string getIncludeIPRanges()const;
|
||||
void setIncludeIPRanges(const std::string& includeIPRanges);
|
||||
std::string getExcludeInboundPorts()const;
|
||||
void setExcludeInboundPorts(const std::string& excludeInboundPorts);
|
||||
std::string getOPALimitMemory()const;
|
||||
void setOPALimitMemory(const std::string& oPALimitMemory);
|
||||
std::string getVSwitches()const;
|
||||
void setVSwitches(const std::string& vSwitches);
|
||||
bool getCADisableSecretAutoGeneration()const;
|
||||
void setCADisableSecretAutoGeneration(bool cADisableSecretAutoGeneration);
|
||||
std::string getCAListenedNamespaces()const;
|
||||
void setCAListenedNamespaces(const std::string& cAListenedNamespaces);
|
||||
std::string getProxyLimitCPU()const;
|
||||
void setProxyLimitCPU(const std::string& proxyLimitCPU);
|
||||
std::string getProxyRequestMemory()const;
|
||||
void setProxyRequestMemory(const std::string& proxyRequestMemory);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
bool getTelemetry()const;
|
||||
void setTelemetry(bool telemetry);
|
||||
std::string getOPARequestCPU()const;
|
||||
void setOPARequestCPU(const std::string& oPARequestCPU);
|
||||
std::string getOPARequestMemory()const;
|
||||
void setOPARequestMemory(const std::string& oPARequestMemory);
|
||||
bool getEnableAudit()const;
|
||||
void setEnableAudit(bool enableAudit);
|
||||
std::string getClusterDomain()const;
|
||||
void setClusterDomain(const std::string& clusterDomain);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getLocalityLoadBalancing()const;
|
||||
void setLocalityLoadBalancing(bool localityLoadBalancing);
|
||||
bool getApiServerPublicEip()const;
|
||||
void setApiServerPublicEip(bool apiServerPublicEip);
|
||||
float getTraceSampling()const;
|
||||
void setTraceSampling(float traceSampling);
|
||||
std::string getAppNamespaces()const;
|
||||
void setAppNamespaces(const std::string& appNamespaces);
|
||||
bool getPilotPublicEip()const;
|
||||
void setPilotPublicEip(bool pilotPublicEip);
|
||||
std::string getAuditProject()const;
|
||||
void setAuditProject(const std::string& auditProject);
|
||||
std::string getOutboundTrafficPolicy()const;
|
||||
void setOutboundTrafficPolicy(const std::string& outboundTrafficPolicy);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getExcludeOutboundPorts()const;
|
||||
void setExcludeOutboundPorts(const std::string& excludeOutboundPorts);
|
||||
|
||||
private:
|
||||
std::string proxyRequestCPU_;
|
||||
std::string oPALimitCPU_;
|
||||
bool openAgentPolicy_;
|
||||
bool opaEnabled_;
|
||||
std::string proxyLimitMemory_;
|
||||
bool strictMTLS_;
|
||||
std::string oPALogLevel_;
|
||||
std::string excludeIPRanges_;
|
||||
std::string istioVersion_;
|
||||
bool tracing_;
|
||||
std::string includeIPRanges_;
|
||||
std::string excludeInboundPorts_;
|
||||
std::string oPALimitMemory_;
|
||||
std::string vSwitches_;
|
||||
bool cADisableSecretAutoGeneration_;
|
||||
std::string cAListenedNamespaces_;
|
||||
std::string proxyLimitCPU_;
|
||||
std::string proxyRequestMemory_;
|
||||
std::string name_;
|
||||
bool telemetry_;
|
||||
std::string oPARequestCPU_;
|
||||
std::string oPARequestMemory_;
|
||||
bool enableAudit_;
|
||||
std::string clusterDomain_;
|
||||
std::string regionId_;
|
||||
bool localityLoadBalancing_;
|
||||
bool apiServerPublicEip_;
|
||||
float traceSampling_;
|
||||
std::string appNamespaces_;
|
||||
bool pilotPublicEip_;
|
||||
std::string auditProject_;
|
||||
std::string outboundTrafficPolicy_;
|
||||
std::string vpcId_;
|
||||
std::string excludeOutboundPorts_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_CREATESERVICEMESHREQUEST_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_SERVICEMESH_MODEL_CREATESERVICEMESHRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_CREATESERVICEMESHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT CreateServiceMeshResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateServiceMeshResult();
|
||||
explicit CreateServiceMeshResult(const std::string &payload);
|
||||
~CreateServiceMeshResult();
|
||||
std::string getServiceMeshId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_CREATESERVICEMESHRESULT_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_SERVICEMESH_MODEL_DELETESERVICEMESHREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DELETESERVICEMESHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DeleteServiceMeshRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteServiceMeshRequest();
|
||||
~DeleteServiceMeshRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
bool getForce()const;
|
||||
void setForce(bool force);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
bool force_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DELETESERVICEMESHREQUEST_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_SERVICEMESH_MODEL_DELETESERVICEMESHRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DELETESERVICEMESHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DeleteServiceMeshResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteServiceMeshResult();
|
||||
explicit DeleteServiceMeshResult(const std::string &payload);
|
||||
~DeleteServiceMeshResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DELETESERVICEMESHRESULT_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_SERVICEMESH_MODEL_DESCRIBECENSREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECENSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeCensRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCensRequest();
|
||||
~DescribeCensRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECENSREQUEST_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_SERVICEMESH_MODEL_DESCRIBECENSRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECENSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeCensResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeCensResult();
|
||||
explicit DescribeCensResult(const std::string &payload);
|
||||
~DescribeCensResult();
|
||||
std::vector<std::string> getClusters()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> clusters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECENSRESULT_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_SERVICEMESH_MODEL_DESCRIBECLUSTERGRAFANAREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERGRAFANAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeClusterGrafanaRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeClusterGrafanaRequest();
|
||||
~DescribeClusterGrafanaRequest();
|
||||
|
||||
std::string getK8sClusterId()const;
|
||||
void setK8sClusterId(const std::string& k8sClusterId);
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string k8sClusterId_;
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERGRAFANAREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_DESCRIBECLUSTERGRAFANARESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERGRAFANARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeClusterGrafanaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Dashboard
|
||||
{
|
||||
std::string title;
|
||||
std::string url;
|
||||
};
|
||||
|
||||
|
||||
DescribeClusterGrafanaResult();
|
||||
explicit DescribeClusterGrafanaResult(const std::string &payload);
|
||||
~DescribeClusterGrafanaResult();
|
||||
std::vector<Dashboard> getDashboards()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Dashboard> dashboards_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERGRAFANARESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_DESCRIBECLUSTERPROMETHEUSREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERPROMETHEUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeClusterPrometheusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeClusterPrometheusRequest();
|
||||
~DescribeClusterPrometheusRequest();
|
||||
|
||||
std::string getK8sClusterId()const;
|
||||
void setK8sClusterId(const std::string& k8sClusterId);
|
||||
std::string getK8sClusterRegionId()const;
|
||||
void setK8sClusterRegionId(const std::string& k8sClusterRegionId);
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string k8sClusterId_;
|
||||
std::string k8sClusterRegionId_;
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERPROMETHEUSREQUEST_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_SERVICEMESH_MODEL_DESCRIBECLUSTERPROMETHEUSRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERPROMETHEUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeClusterPrometheusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeClusterPrometheusResult();
|
||||
explicit DescribeClusterPrometheusResult(const std::string &payload);
|
||||
~DescribeClusterPrometheusResult();
|
||||
std::string getPrometheus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string prometheus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERPROMETHEUSRESULT_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_SERVICEMESH_MODEL_DESCRIBECLUSTERSINSERVICEMESHREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERSINSERVICEMESHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeClustersInServiceMeshRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeClustersInServiceMeshRequest();
|
||||
~DescribeClustersInServiceMeshRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERSINSERVICEMESHREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_DESCRIBECLUSTERSINSERVICEMESHRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERSINSERVICEMESHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeClustersInServiceMeshResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Cluster
|
||||
{
|
||||
std::string vpcId;
|
||||
std::string clusterId;
|
||||
std::string version;
|
||||
std::string state;
|
||||
std::string clusterDomain;
|
||||
std::string creationTime;
|
||||
std::string updateTime;
|
||||
std::string sgId;
|
||||
std::string clusterType;
|
||||
std::string regionId;
|
||||
std::string errorMessage;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeClustersInServiceMeshResult();
|
||||
explicit DescribeClustersInServiceMeshResult(const std::string &payload);
|
||||
~DescribeClustersInServiceMeshResult();
|
||||
std::vector<Cluster> getClusters()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Cluster> clusters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBECLUSTERSINSERVICEMESHRESULT_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_SERVICEMESH_MODEL_DESCRIBEGUESTCLUSTERACCESSLOGDASHBOARDSREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEGUESTCLUSTERACCESSLOGDASHBOARDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeGuestClusterAccessLogDashboardsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeGuestClusterAccessLogDashboardsRequest();
|
||||
~DescribeGuestClusterAccessLogDashboardsRequest();
|
||||
|
||||
std::string getK8sClusterId()const;
|
||||
void setK8sClusterId(const std::string& k8sClusterId);
|
||||
|
||||
private:
|
||||
std::string k8sClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEGUESTCLUSTERACCESSLOGDASHBOARDSREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_DESCRIBEGUESTCLUSTERACCESSLOGDASHBOARDSRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEGUESTCLUSTERACCESSLOGDASHBOARDSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeGuestClusterAccessLogDashboardsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DashboardsItem
|
||||
{
|
||||
std::string title;
|
||||
std::string url;
|
||||
};
|
||||
|
||||
|
||||
DescribeGuestClusterAccessLogDashboardsResult();
|
||||
explicit DescribeGuestClusterAccessLogDashboardsResult(const std::string &payload);
|
||||
~DescribeGuestClusterAccessLogDashboardsResult();
|
||||
std::vector<DashboardsItem> getDashboards()const;
|
||||
std::string getK8sClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DashboardsItem> dashboards_;
|
||||
std::string k8sClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEGUESTCLUSTERACCESSLOGDASHBOARDSRESULT_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_SERVICEMESH_MODEL_DESCRIBEINGRESSGATEWAYSREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEINGRESSGATEWAYSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeIngressGatewaysRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeIngressGatewaysRequest();
|
||||
~DescribeIngressGatewaysRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEINGRESSGATEWAYSREQUEST_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_SERVICEMESH_MODEL_DESCRIBEINGRESSGATEWAYSRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEINGRESSGATEWAYSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeIngressGatewaysResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeIngressGatewaysResult();
|
||||
explicit DescribeIngressGatewaysResult(const std::string &payload);
|
||||
~DescribeIngressGatewaysResult();
|
||||
std::vector<std::string> getIngressGateways()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> ingressGateways_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEINGRESSGATEWAYSRESULT_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_SERVICEMESH_MODEL_DESCRIBESERVICEMESHDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeServiceMeshDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeServiceMeshDetailRequest();
|
||||
~DescribeServiceMeshDetailRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHDETAILREQUEST_H_
|
||||
@@ -0,0 +1,152 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_DESCRIBESERVICEMESHDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeServiceMeshDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ServiceMesh
|
||||
{
|
||||
struct Endpoints
|
||||
{
|
||||
std::string publicPilotEndpoint;
|
||||
std::string intranetApiServerEndpoint;
|
||||
std::string intranetPilotEndpoint;
|
||||
std::string publicApiServerEndpoint;
|
||||
};
|
||||
struct ServiceMeshInfo
|
||||
{
|
||||
std::string serviceMeshId;
|
||||
std::string version;
|
||||
std::string state;
|
||||
std::string creationTime;
|
||||
std::string updateTime;
|
||||
std::string regionId;
|
||||
std::string errorMessage;
|
||||
std::string name;
|
||||
};
|
||||
struct Spec
|
||||
{
|
||||
struct LoadBalancer
|
||||
{
|
||||
std::string apiServerLoadbalancerId;
|
||||
bool pilotPublicEip;
|
||||
std::string pilotPublicLoadbalancerId;
|
||||
bool apiServerPublicEip;
|
||||
};
|
||||
struct MeshConfig
|
||||
{
|
||||
struct Pilot
|
||||
{
|
||||
float traceSampling;
|
||||
bool http10Enabled;
|
||||
};
|
||||
struct OPA
|
||||
{
|
||||
std::string limitMemory;
|
||||
std::string requestMemory;
|
||||
std::string limitCPU;
|
||||
bool enabled;
|
||||
std::string logLevel;
|
||||
std::string requestCPU;
|
||||
};
|
||||
struct Audit
|
||||
{
|
||||
std::string project;
|
||||
bool enabled;
|
||||
};
|
||||
struct Proxy
|
||||
{
|
||||
std::string limitMemory;
|
||||
std::string requestMemory;
|
||||
std::string clusterDomain;
|
||||
std::string limitCPU;
|
||||
std::string requestCPU;
|
||||
};
|
||||
struct SidecarInjector
|
||||
{
|
||||
struct InitCNIConfiguration
|
||||
{
|
||||
bool enabled;
|
||||
std::string excludeNamespaces;
|
||||
};
|
||||
bool autoInjectionPolicyEnabled;
|
||||
std::string limitMemory;
|
||||
std::string requestMemory;
|
||||
bool enableNamespacesByDefault;
|
||||
std::string limitCPU;
|
||||
InitCNIConfiguration initCNIConfiguration;
|
||||
std::string requestCPU;
|
||||
std::string sidecarInjectorWebhookAsYaml;
|
||||
};
|
||||
Pilot pilot;
|
||||
SidecarInjector sidecarInjector;
|
||||
OPA oPA;
|
||||
Audit audit;
|
||||
Proxy proxy;
|
||||
std::string includeIPRanges;
|
||||
bool enableLocalityLB;
|
||||
bool tracing;
|
||||
bool telemetry;
|
||||
std::string outboundTrafficPolicy;
|
||||
bool customizedZipkin;
|
||||
};
|
||||
struct Network
|
||||
{
|
||||
std::string vpcId;
|
||||
std::string securityGroupId;
|
||||
std::vector<std::string> vSwitches;
|
||||
};
|
||||
MeshConfig meshConfig;
|
||||
Network network;
|
||||
LoadBalancer loadBalancer;
|
||||
};
|
||||
Endpoints endpoints;
|
||||
std::vector<std::string> clusters;
|
||||
ServiceMeshInfo serviceMeshInfo;
|
||||
Spec spec;
|
||||
};
|
||||
|
||||
|
||||
DescribeServiceMeshDetailResult();
|
||||
explicit DescribeServiceMeshDetailResult(const std::string &payload);
|
||||
~DescribeServiceMeshDetailResult();
|
||||
ServiceMesh getServiceMesh()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ServiceMesh serviceMesh_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHDETAILRESULT_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_SERVICEMESH_MODEL_DESCRIBESERVICEMESHKUBECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHKUBECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeServiceMeshKubeconfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeServiceMeshKubeconfigRequest();
|
||||
~DescribeServiceMeshKubeconfigRequest();
|
||||
|
||||
bool getPrivateIpAddress()const;
|
||||
void setPrivateIpAddress(bool privateIpAddress);
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
bool privateIpAddress_;
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHKUBECONFIGREQUEST_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_SERVICEMESH_MODEL_DESCRIBESERVICEMESHKUBECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHKUBECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeServiceMeshKubeconfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeServiceMeshKubeconfigResult();
|
||||
explicit DescribeServiceMeshKubeconfigResult(const std::string &payload);
|
||||
~DescribeServiceMeshKubeconfigResult();
|
||||
std::string getKubeconfig()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string kubeconfig_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHKUBECONFIGRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_DESCRIBESERVICEMESHESREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeServiceMeshesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeServiceMeshesRequest();
|
||||
~DescribeServiceMeshesRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHESREQUEST_H_
|
||||
@@ -0,0 +1,122 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_DESCRIBESERVICEMESHESRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeServiceMeshesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ServiceMesh
|
||||
{
|
||||
struct Endpoints
|
||||
{
|
||||
std::string publicPilotEndpoint;
|
||||
std::string reverseTunnelEndpoint;
|
||||
std::string intranetApiServerEndpoint;
|
||||
std::string intranetPilotEndpoint;
|
||||
std::string publicApiServerEndpoint;
|
||||
};
|
||||
struct ServiceMeshInfo
|
||||
{
|
||||
std::string serviceMeshId;
|
||||
std::string version;
|
||||
std::string state;
|
||||
std::string creationTime;
|
||||
std::string updateTime;
|
||||
std::string regionId;
|
||||
std::string errorMessage;
|
||||
std::string name;
|
||||
};
|
||||
struct Spec
|
||||
{
|
||||
struct LoadBalancer
|
||||
{
|
||||
std::string apiServerLoadbalancerId;
|
||||
bool pilotPublicEip;
|
||||
std::string pilotPublicLoadbalancerId;
|
||||
bool apiServerPublicEip;
|
||||
};
|
||||
struct MeshConfig
|
||||
{
|
||||
struct Pilot
|
||||
{
|
||||
float traceSampling;
|
||||
bool http10Enabled;
|
||||
};
|
||||
struct SidecarInjector
|
||||
{
|
||||
struct InitCNIConfiguration
|
||||
{
|
||||
bool enabled;
|
||||
std::string excludeNamespaces;
|
||||
};
|
||||
bool autoInjectionPolicyEnabled;
|
||||
bool enableNamespacesByDefault;
|
||||
InitCNIConfiguration initCNIConfiguration;
|
||||
};
|
||||
Pilot pilot;
|
||||
SidecarInjector sidecarInjector;
|
||||
bool mtls;
|
||||
bool strictMtls;
|
||||
bool tracing;
|
||||
std::string outboundTrafficPolicy;
|
||||
bool telemetry;
|
||||
};
|
||||
struct Network
|
||||
{
|
||||
std::string vpcId;
|
||||
std::string securityGroupId;
|
||||
std::vector<std::string> vSwitches;
|
||||
};
|
||||
MeshConfig meshConfig;
|
||||
Network network;
|
||||
LoadBalancer loadBalancer;
|
||||
};
|
||||
Endpoints endpoints;
|
||||
std::vector<std::string> clusters;
|
||||
ServiceMeshInfo serviceMeshInfo;
|
||||
Spec spec;
|
||||
};
|
||||
|
||||
|
||||
DescribeServiceMeshesResult();
|
||||
explicit DescribeServiceMeshesResult(const std::string &payload);
|
||||
~DescribeServiceMeshesResult();
|
||||
std::vector<ServiceMesh> getServiceMeshes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ServiceMesh> serviceMeshes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBESERVICEMESHESRESULT_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_SERVICEMESH_MODEL_DESCRIBEUPGRADEVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEUPGRADEVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeUpgradeVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUpgradeVersionRequest();
|
||||
~DescribeUpgradeVersionRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEUPGRADEVERSIONREQUEST_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_SERVICEMESH_MODEL_DESCRIBEUPGRADEVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEUPGRADEVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT DescribeUpgradeVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Version
|
||||
{
|
||||
std::string kubernetesVersion;
|
||||
std::string istioVersion;
|
||||
std::string istioOperatorVersion;
|
||||
};
|
||||
|
||||
|
||||
DescribeUpgradeVersionResult();
|
||||
explicit DescribeUpgradeVersionResult(const std::string &payload);
|
||||
~DescribeUpgradeVersionResult();
|
||||
Version getVersion()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Version version_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_DESCRIBEUPGRADEVERSIONRESULT_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_SERVICEMESH_MODEL_GETDIAGNOSISREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETDIAGNOSISREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetDiagnosisRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDiagnosisRequest();
|
||||
~GetDiagnosisRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETDIAGNOSISREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_GETDIAGNOSISRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETDIAGNOSISRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetDiagnosisResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetDiagnosisResult();
|
||||
explicit GetDiagnosisResult(const std::string &payload);
|
||||
~GetDiagnosisResult();
|
||||
std::string getRunAt()const;
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string runAt_;
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETDIAGNOSISRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_GETREGISTEREDSERVICEENDPOINTSREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICEENDPOINTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetRegisteredServiceEndpointsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRegisteredServiceEndpointsRequest();
|
||||
~GetRegisteredServiceEndpointsRequest();
|
||||
|
||||
std::string get_Namespace()const;
|
||||
void set_Namespace(const std::string& _namespace);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string _namespace_;
|
||||
std::string name_;
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICEENDPOINTSREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_GETREGISTEREDSERVICEENDPOINTSRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICEENDPOINTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetRegisteredServiceEndpointsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ServiceEndpoint
|
||||
{
|
||||
std::string address;
|
||||
std::string clusterId;
|
||||
};
|
||||
|
||||
|
||||
GetRegisteredServiceEndpointsResult();
|
||||
explicit GetRegisteredServiceEndpointsResult(const std::string &payload);
|
||||
~GetRegisteredServiceEndpointsResult();
|
||||
std::vector<ServiceEndpoint> getServiceEndpoints()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ServiceEndpoint> serviceEndpoints_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICEENDPOINTSRESULT_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_SERVICEMESH_MODEL_GETREGISTEREDSERVICENAMESPACESREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICENAMESPACESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetRegisteredServiceNamespacesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRegisteredServiceNamespacesRequest();
|
||||
~GetRegisteredServiceNamespacesRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICENAMESPACESREQUEST_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_SERVICEMESH_MODEL_GETREGISTEREDSERVICENAMESPACESRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICENAMESPACESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetRegisteredServiceNamespacesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetRegisteredServiceNamespacesResult();
|
||||
explicit GetRegisteredServiceNamespacesResult(const std::string &payload);
|
||||
~GetRegisteredServiceNamespacesResult();
|
||||
std::vector<std::string> getNamespaces()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> namespaces_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICENAMESPACESRESULT_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_SERVICEMESH_MODEL_GETREGISTEREDSERVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetRegisteredServicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRegisteredServicesRequest();
|
||||
~GetRegisteredServicesRequest();
|
||||
|
||||
std::string get_Namespace()const;
|
||||
void set_Namespace(const std::string& _namespace);
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string _namespace_;
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICESREQUEST_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_SERVICEMESH_MODEL_GETREGISTEREDSERVICESRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetRegisteredServicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetRegisteredServicesResult();
|
||||
explicit GetRegisteredServicesResult(const std::string &payload);
|
||||
~GetRegisteredServicesResult();
|
||||
std::vector<std::string> getServices()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> services_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETREGISTEREDSERVICESRESULT_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_SERVICEMESH_MODEL_GETSERVICEMESHSLBREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETSERVICEMESHSLBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetServiceMeshSlbRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetServiceMeshSlbRequest();
|
||||
~GetServiceMeshSlbRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETSERVICEMESHSLBREQUEST_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_SERVICEMESH_MODEL_GETSERVICEMESHSLBRESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETSERVICEMESHSLBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetServiceMeshSlbResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SLBInfo
|
||||
{
|
||||
std::string status;
|
||||
std::string serverHealthStatus;
|
||||
std::string loadBalancerId;
|
||||
};
|
||||
|
||||
|
||||
GetServiceMeshSlbResult();
|
||||
explicit GetServiceMeshSlbResult(const std::string &payload);
|
||||
~GetServiceMeshSlbResult();
|
||||
std::vector<SLBInfo> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SLBInfo> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETSERVICEMESHSLBRESULT_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_SERVICEMESH_MODEL_GETVMAPPMESHINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETVMAPPMESHINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetVmAppMeshInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetVmAppMeshInfoRequest();
|
||||
~GetVmAppMeshInfoRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETVMAPPMESHINFOREQUEST_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_SERVICEMESH_MODEL_GETVMAPPMESHINFORESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETVMAPPMESHINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetVmAppMeshInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetVmAppMeshInfoResult();
|
||||
explicit GetVmAppMeshInfoResult(const std::string &payload);
|
||||
~GetVmAppMeshInfoResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETVMAPPMESHINFORESULT_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_SERVICEMESH_MODEL_GETVMMETAREQUEST_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETVMMETAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetVmMetaRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetVmMetaRequest();
|
||||
~GetVmMetaRequest();
|
||||
|
||||
std::string getServiceAccount()const;
|
||||
void setServiceAccount(const std::string& serviceAccount);
|
||||
std::string getTrustDomain()const;
|
||||
void setTrustDomain(const std::string& trustDomain);
|
||||
std::string get_Namespace()const;
|
||||
void set_Namespace(const std::string& _namespace);
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
|
||||
private:
|
||||
std::string serviceAccount_;
|
||||
std::string trustDomain_;
|
||||
std::string _namespace_;
|
||||
std::string serviceMeshId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETVMMETAREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_SERVICEMESH_MODEL_GETVMMETARESULT_H_
|
||||
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETVMMETARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/servicemesh/ServicemeshExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Servicemesh
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SERVICEMESH_EXPORT GetVmMetaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VmMetaInfo
|
||||
{
|
||||
std::string envoyEnvContent;
|
||||
std::string tokenPath;
|
||||
std::string certChainPath;
|
||||
std::string certChainContent;
|
||||
std::string rootCertPath;
|
||||
std::string rootCertContent;
|
||||
std::string tokenContent;
|
||||
std::string envoyEnvPath;
|
||||
std::string hostsContent;
|
||||
std::string hostsPath;
|
||||
std::string keyContent;
|
||||
std::string keyPath;
|
||||
};
|
||||
|
||||
|
||||
GetVmMetaResult();
|
||||
explicit GetVmMetaResult(const std::string &payload);
|
||||
~GetVmMetaResult();
|
||||
VmMetaInfo getVmMetaInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
VmMetaInfo vmMetaInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETVMMETARESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user