Compare commits

..

9 Commits

Author SHA1 Message Date
sdk-team
4b1cbc0461 Add GetAgentDownloadUrl api. 2020-12-18 08:12:42 +00:00
sdk-team
49feb2bedd Release EvaluateCertificateQuality. 2020-12-18 06:16:28 +00:00
sdk-team
45daf26fac Generated 2020-05-18 for dataworks-public. 2020-12-18 02:31:57 +00:00
sdk-team
a9e22f8d11 Update SegmentFood. 2020-12-17 10:21:15 +00:00
sdk-team
38d18cec8b Update DeleteScdnDomain. 2020-12-17 08:10:23 +00:00
sdk-team
041b9c9999 Generated 2014-05-26 for Ecs. 2020-12-17 08:09:26 +00:00
sdk-team
279ad33425 Update DeleteDcdnDomain. 2020-12-17 08:08:52 +00:00
sdk-team
e990580a3e Update DeleteCdnDomain. 2020-12-17 08:02:48 +00:00
sdk-team
6da72af809 Generated 2020-01-11 for servicemesh. 2020-12-17 06:13:54 +00:00
205 changed files with 12801 additions and 137 deletions

View File

@@ -1,3 +1,30 @@
2020-12-18 Version: patch
- Add GetAgentDownloadUrl api.
2020-12-18 Version: patch
- Release EvaluateCertificateQuality.
2020-12-18 Version: patch
- Generated 2020-05-18 for `dataworks-public`.
2020-12-17 Version: patch
- Update SegmentFood.
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 2020-12-17 Version: patch
- Update api. - Update api.

View File

@@ -25,6 +25,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/AddGrafanaResult.h include/alibabacloud/arms/model/AddGrafanaResult.h
include/alibabacloud/arms/model/AddIntegrationRequest.h include/alibabacloud/arms/model/AddIntegrationRequest.h
include/alibabacloud/arms/model/AddIntegrationResult.h include/alibabacloud/arms/model/AddIntegrationResult.h
include/alibabacloud/arms/model/ApplyScenarioRequest.h
include/alibabacloud/arms/model/ApplyScenarioResult.h
include/alibabacloud/arms/model/CheckDataConsistencyRequest.h include/alibabacloud/arms/model/CheckDataConsistencyRequest.h
include/alibabacloud/arms/model/CheckDataConsistencyResult.h include/alibabacloud/arms/model/CheckDataConsistencyResult.h
include/alibabacloud/arms/model/CheckServiceLinkedRoleForDeletingRequest.h include/alibabacloud/arms/model/CheckServiceLinkedRoleForDeletingRequest.h
@@ -47,6 +49,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/DeleteAlertRulesResult.h include/alibabacloud/arms/model/DeleteAlertRulesResult.h
include/alibabacloud/arms/model/DeleteRetcodeAppRequest.h include/alibabacloud/arms/model/DeleteRetcodeAppRequest.h
include/alibabacloud/arms/model/DeleteRetcodeAppResult.h include/alibabacloud/arms/model/DeleteRetcodeAppResult.h
include/alibabacloud/arms/model/DeleteScenarioRequest.h
include/alibabacloud/arms/model/DeleteScenarioResult.h
include/alibabacloud/arms/model/DeleteTraceAppRequest.h include/alibabacloud/arms/model/DeleteTraceAppRequest.h
include/alibabacloud/arms/model/DeleteTraceAppResult.h include/alibabacloud/arms/model/DeleteTraceAppResult.h
include/alibabacloud/arms/model/DescribeDispatchRuleRequest.h include/alibabacloud/arms/model/DescribeDispatchRuleRequest.h
@@ -57,6 +61,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/DescribeTraceLocationResult.h include/alibabacloud/arms/model/DescribeTraceLocationResult.h
include/alibabacloud/arms/model/ExportPrometheusRulesRequest.h include/alibabacloud/arms/model/ExportPrometheusRulesRequest.h
include/alibabacloud/arms/model/ExportPrometheusRulesResult.h include/alibabacloud/arms/model/ExportPrometheusRulesResult.h
include/alibabacloud/arms/model/GetAgentDownloadUrlRequest.h
include/alibabacloud/arms/model/GetAgentDownloadUrlResult.h
include/alibabacloud/arms/model/GetAppApiByPageRequest.h include/alibabacloud/arms/model/GetAppApiByPageRequest.h
include/alibabacloud/arms/model/GetAppApiByPageResult.h include/alibabacloud/arms/model/GetAppApiByPageResult.h
include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
@@ -89,8 +95,12 @@ set(arms_public_header_model
include/alibabacloud/arms/model/ListPromClustersResult.h include/alibabacloud/arms/model/ListPromClustersResult.h
include/alibabacloud/arms/model/ListRetcodeAppsRequest.h include/alibabacloud/arms/model/ListRetcodeAppsRequest.h
include/alibabacloud/arms/model/ListRetcodeAppsResult.h include/alibabacloud/arms/model/ListRetcodeAppsResult.h
include/alibabacloud/arms/model/ListScenarioRequest.h
include/alibabacloud/arms/model/ListScenarioResult.h
include/alibabacloud/arms/model/ListTraceAppsRequest.h include/alibabacloud/arms/model/ListTraceAppsRequest.h
include/alibabacloud/arms/model/ListTraceAppsResult.h include/alibabacloud/arms/model/ListTraceAppsResult.h
include/alibabacloud/arms/model/OpenArmsServiceRequest.h
include/alibabacloud/arms/model/OpenArmsServiceResult.h
include/alibabacloud/arms/model/QueryDatasetRequest.h include/alibabacloud/arms/model/QueryDatasetRequest.h
include/alibabacloud/arms/model/QueryDatasetResult.h include/alibabacloud/arms/model/QueryDatasetResult.h
include/alibabacloud/arms/model/QueryMetricRequest.h include/alibabacloud/arms/model/QueryMetricRequest.h
@@ -144,6 +154,8 @@ set(arms_src
src/model/AddGrafanaResult.cc src/model/AddGrafanaResult.cc
src/model/AddIntegrationRequest.cc src/model/AddIntegrationRequest.cc
src/model/AddIntegrationResult.cc src/model/AddIntegrationResult.cc
src/model/ApplyScenarioRequest.cc
src/model/ApplyScenarioResult.cc
src/model/CheckDataConsistencyRequest.cc src/model/CheckDataConsistencyRequest.cc
src/model/CheckDataConsistencyResult.cc src/model/CheckDataConsistencyResult.cc
src/model/CheckServiceLinkedRoleForDeletingRequest.cc src/model/CheckServiceLinkedRoleForDeletingRequest.cc
@@ -166,6 +178,8 @@ set(arms_src
src/model/DeleteAlertRulesResult.cc src/model/DeleteAlertRulesResult.cc
src/model/DeleteRetcodeAppRequest.cc src/model/DeleteRetcodeAppRequest.cc
src/model/DeleteRetcodeAppResult.cc src/model/DeleteRetcodeAppResult.cc
src/model/DeleteScenarioRequest.cc
src/model/DeleteScenarioResult.cc
src/model/DeleteTraceAppRequest.cc src/model/DeleteTraceAppRequest.cc
src/model/DeleteTraceAppResult.cc src/model/DeleteTraceAppResult.cc
src/model/DescribeDispatchRuleRequest.cc src/model/DescribeDispatchRuleRequest.cc
@@ -176,6 +190,8 @@ set(arms_src
src/model/DescribeTraceLocationResult.cc src/model/DescribeTraceLocationResult.cc
src/model/ExportPrometheusRulesRequest.cc src/model/ExportPrometheusRulesRequest.cc
src/model/ExportPrometheusRulesResult.cc src/model/ExportPrometheusRulesResult.cc
src/model/GetAgentDownloadUrlRequest.cc
src/model/GetAgentDownloadUrlResult.cc
src/model/GetAppApiByPageRequest.cc src/model/GetAppApiByPageRequest.cc
src/model/GetAppApiByPageResult.cc src/model/GetAppApiByPageResult.cc
src/model/GetConsistencySnapshotRequest.cc src/model/GetConsistencySnapshotRequest.cc
@@ -208,8 +224,12 @@ set(arms_src
src/model/ListPromClustersResult.cc src/model/ListPromClustersResult.cc
src/model/ListRetcodeAppsRequest.cc src/model/ListRetcodeAppsRequest.cc
src/model/ListRetcodeAppsResult.cc src/model/ListRetcodeAppsResult.cc
src/model/ListScenarioRequest.cc
src/model/ListScenarioResult.cc
src/model/ListTraceAppsRequest.cc src/model/ListTraceAppsRequest.cc
src/model/ListTraceAppsResult.cc src/model/ListTraceAppsResult.cc
src/model/OpenArmsServiceRequest.cc
src/model/OpenArmsServiceResult.cc
src/model/QueryDatasetRequest.cc src/model/QueryDatasetRequest.cc
src/model/QueryDatasetResult.cc src/model/QueryDatasetResult.cc
src/model/QueryMetricRequest.cc src/model/QueryMetricRequest.cc

View File

@@ -26,6 +26,8 @@
#include "model/AddGrafanaResult.h" #include "model/AddGrafanaResult.h"
#include "model/AddIntegrationRequest.h" #include "model/AddIntegrationRequest.h"
#include "model/AddIntegrationResult.h" #include "model/AddIntegrationResult.h"
#include "model/ApplyScenarioRequest.h"
#include "model/ApplyScenarioResult.h"
#include "model/CheckDataConsistencyRequest.h" #include "model/CheckDataConsistencyRequest.h"
#include "model/CheckDataConsistencyResult.h" #include "model/CheckDataConsistencyResult.h"
#include "model/CheckServiceLinkedRoleForDeletingRequest.h" #include "model/CheckServiceLinkedRoleForDeletingRequest.h"
@@ -48,6 +50,8 @@
#include "model/DeleteAlertRulesResult.h" #include "model/DeleteAlertRulesResult.h"
#include "model/DeleteRetcodeAppRequest.h" #include "model/DeleteRetcodeAppRequest.h"
#include "model/DeleteRetcodeAppResult.h" #include "model/DeleteRetcodeAppResult.h"
#include "model/DeleteScenarioRequest.h"
#include "model/DeleteScenarioResult.h"
#include "model/DeleteTraceAppRequest.h" #include "model/DeleteTraceAppRequest.h"
#include "model/DeleteTraceAppResult.h" #include "model/DeleteTraceAppResult.h"
#include "model/DescribeDispatchRuleRequest.h" #include "model/DescribeDispatchRuleRequest.h"
@@ -58,6 +62,8 @@
#include "model/DescribeTraceLocationResult.h" #include "model/DescribeTraceLocationResult.h"
#include "model/ExportPrometheusRulesRequest.h" #include "model/ExportPrometheusRulesRequest.h"
#include "model/ExportPrometheusRulesResult.h" #include "model/ExportPrometheusRulesResult.h"
#include "model/GetAgentDownloadUrlRequest.h"
#include "model/GetAgentDownloadUrlResult.h"
#include "model/GetAppApiByPageRequest.h" #include "model/GetAppApiByPageRequest.h"
#include "model/GetAppApiByPageResult.h" #include "model/GetAppApiByPageResult.h"
#include "model/GetConsistencySnapshotRequest.h" #include "model/GetConsistencySnapshotRequest.h"
@@ -90,8 +96,12 @@
#include "model/ListPromClustersResult.h" #include "model/ListPromClustersResult.h"
#include "model/ListRetcodeAppsRequest.h" #include "model/ListRetcodeAppsRequest.h"
#include "model/ListRetcodeAppsResult.h" #include "model/ListRetcodeAppsResult.h"
#include "model/ListScenarioRequest.h"
#include "model/ListScenarioResult.h"
#include "model/ListTraceAppsRequest.h" #include "model/ListTraceAppsRequest.h"
#include "model/ListTraceAppsResult.h" #include "model/ListTraceAppsResult.h"
#include "model/OpenArmsServiceRequest.h"
#include "model/OpenArmsServiceResult.h"
#include "model/QueryDatasetRequest.h" #include "model/QueryDatasetRequest.h"
#include "model/QueryDatasetResult.h" #include "model/QueryDatasetResult.h"
#include "model/QueryMetricRequest.h" #include "model/QueryMetricRequest.h"
@@ -153,6 +163,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddIntegrationResult> AddIntegrationOutcome; typedef Outcome<Error, Model::AddIntegrationResult> AddIntegrationOutcome;
typedef std::future<AddIntegrationOutcome> AddIntegrationOutcomeCallable; typedef std::future<AddIntegrationOutcome> AddIntegrationOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::AddIntegrationRequest&, const AddIntegrationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddIntegrationAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::AddIntegrationRequest&, const AddIntegrationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddIntegrationAsyncHandler;
typedef Outcome<Error, Model::ApplyScenarioResult> ApplyScenarioOutcome;
typedef std::future<ApplyScenarioOutcome> ApplyScenarioOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ApplyScenarioRequest&, const ApplyScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyScenarioAsyncHandler;
typedef Outcome<Error, Model::CheckDataConsistencyResult> CheckDataConsistencyOutcome; typedef Outcome<Error, Model::CheckDataConsistencyResult> CheckDataConsistencyOutcome;
typedef std::future<CheckDataConsistencyOutcome> CheckDataConsistencyOutcomeCallable; typedef std::future<CheckDataConsistencyOutcome> CheckDataConsistencyOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::CheckDataConsistencyRequest&, const CheckDataConsistencyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDataConsistencyAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::CheckDataConsistencyRequest&, const CheckDataConsistencyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDataConsistencyAsyncHandler;
@@ -186,6 +199,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome; typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome;
typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable; typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler;
typedef Outcome<Error, Model::DeleteScenarioResult> DeleteScenarioOutcome;
typedef std::future<DeleteScenarioOutcome> DeleteScenarioOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteScenarioRequest&, const DeleteScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteScenarioAsyncHandler;
typedef Outcome<Error, Model::DeleteTraceAppResult> DeleteTraceAppOutcome; typedef Outcome<Error, Model::DeleteTraceAppResult> DeleteTraceAppOutcome;
typedef std::future<DeleteTraceAppOutcome> DeleteTraceAppOutcomeCallable; typedef std::future<DeleteTraceAppOutcome> DeleteTraceAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteTraceAppRequest&, const DeleteTraceAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTraceAppAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::DeleteTraceAppRequest&, const DeleteTraceAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTraceAppAsyncHandler;
@@ -201,6 +217,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ExportPrometheusRulesResult> ExportPrometheusRulesOutcome; typedef Outcome<Error, Model::ExportPrometheusRulesResult> ExportPrometheusRulesOutcome;
typedef std::future<ExportPrometheusRulesOutcome> ExportPrometheusRulesOutcomeCallable; typedef std::future<ExportPrometheusRulesOutcome> ExportPrometheusRulesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ExportPrometheusRulesRequest&, const ExportPrometheusRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportPrometheusRulesAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::ExportPrometheusRulesRequest&, const ExportPrometheusRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportPrometheusRulesAsyncHandler;
typedef Outcome<Error, Model::GetAgentDownloadUrlResult> GetAgentDownloadUrlOutcome;
typedef std::future<GetAgentDownloadUrlOutcome> GetAgentDownloadUrlOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetAgentDownloadUrlRequest&, const GetAgentDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentDownloadUrlAsyncHandler;
typedef Outcome<Error, Model::GetAppApiByPageResult> GetAppApiByPageOutcome; typedef Outcome<Error, Model::GetAppApiByPageResult> GetAppApiByPageOutcome;
typedef std::future<GetAppApiByPageOutcome> GetAppApiByPageOutcomeCallable; typedef std::future<GetAppApiByPageOutcome> GetAppApiByPageOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetAppApiByPageRequest&, const GetAppApiByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppApiByPageAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::GetAppApiByPageRequest&, const GetAppApiByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppApiByPageAsyncHandler;
@@ -249,9 +268,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListRetcodeAppsResult> ListRetcodeAppsOutcome; typedef Outcome<Error, Model::ListRetcodeAppsResult> ListRetcodeAppsOutcome;
typedef std::future<ListRetcodeAppsOutcome> ListRetcodeAppsOutcomeCallable; typedef std::future<ListRetcodeAppsOutcome> ListRetcodeAppsOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ListRetcodeAppsRequest&, const ListRetcodeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRetcodeAppsAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::ListRetcodeAppsRequest&, const ListRetcodeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRetcodeAppsAsyncHandler;
typedef Outcome<Error, Model::ListScenarioResult> ListScenarioOutcome;
typedef std::future<ListScenarioOutcome> ListScenarioOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ListScenarioRequest&, const ListScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScenarioAsyncHandler;
typedef Outcome<Error, Model::ListTraceAppsResult> ListTraceAppsOutcome; typedef Outcome<Error, Model::ListTraceAppsResult> ListTraceAppsOutcome;
typedef std::future<ListTraceAppsOutcome> ListTraceAppsOutcomeCallable; typedef std::future<ListTraceAppsOutcome> ListTraceAppsOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ListTraceAppsRequest&, const ListTraceAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTraceAppsAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::ListTraceAppsRequest&, const ListTraceAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTraceAppsAsyncHandler;
typedef Outcome<Error, Model::OpenArmsServiceResult> OpenArmsServiceOutcome;
typedef std::future<OpenArmsServiceOutcome> OpenArmsServiceOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::OpenArmsServiceRequest&, const OpenArmsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenArmsServiceAsyncHandler;
typedef Outcome<Error, Model::QueryDatasetResult> QueryDatasetOutcome; typedef Outcome<Error, Model::QueryDatasetResult> QueryDatasetOutcome;
typedef std::future<QueryDatasetOutcome> QueryDatasetOutcomeCallable; typedef std::future<QueryDatasetOutcome> QueryDatasetOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::QueryDatasetRequest&, const QueryDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDatasetAsyncHandler; typedef std::function<void(const ARMSClient*, const Model::QueryDatasetRequest&, const QueryDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDatasetAsyncHandler;
@@ -332,6 +357,9 @@ namespace AlibabaCloud
AddIntegrationOutcome addIntegration(const Model::AddIntegrationRequest &request)const; AddIntegrationOutcome addIntegration(const Model::AddIntegrationRequest &request)const;
void addIntegrationAsync(const Model::AddIntegrationRequest& request, const AddIntegrationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void addIntegrationAsync(const Model::AddIntegrationRequest& request, const AddIntegrationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddIntegrationOutcomeCallable addIntegrationCallable(const Model::AddIntegrationRequest& request) const; AddIntegrationOutcomeCallable addIntegrationCallable(const Model::AddIntegrationRequest& request) const;
ApplyScenarioOutcome applyScenario(const Model::ApplyScenarioRequest &request)const;
void applyScenarioAsync(const Model::ApplyScenarioRequest& request, const ApplyScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApplyScenarioOutcomeCallable applyScenarioCallable(const Model::ApplyScenarioRequest& request) const;
CheckDataConsistencyOutcome checkDataConsistency(const Model::CheckDataConsistencyRequest &request)const; CheckDataConsistencyOutcome checkDataConsistency(const Model::CheckDataConsistencyRequest &request)const;
void checkDataConsistencyAsync(const Model::CheckDataConsistencyRequest& request, const CheckDataConsistencyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void checkDataConsistencyAsync(const Model::CheckDataConsistencyRequest& request, const CheckDataConsistencyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckDataConsistencyOutcomeCallable checkDataConsistencyCallable(const Model::CheckDataConsistencyRequest& request) const; CheckDataConsistencyOutcomeCallable checkDataConsistencyCallable(const Model::CheckDataConsistencyRequest& request) const;
@@ -365,6 +393,9 @@ namespace AlibabaCloud
DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const; DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const;
void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const; DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const;
DeleteScenarioOutcome deleteScenario(const Model::DeleteScenarioRequest &request)const;
void deleteScenarioAsync(const Model::DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteScenarioOutcomeCallable deleteScenarioCallable(const Model::DeleteScenarioRequest& request) const;
DeleteTraceAppOutcome deleteTraceApp(const Model::DeleteTraceAppRequest &request)const; DeleteTraceAppOutcome deleteTraceApp(const Model::DeleteTraceAppRequest &request)const;
void deleteTraceAppAsync(const Model::DeleteTraceAppRequest& request, const DeleteTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void deleteTraceAppAsync(const Model::DeleteTraceAppRequest& request, const DeleteTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTraceAppOutcomeCallable deleteTraceAppCallable(const Model::DeleteTraceAppRequest& request) const; DeleteTraceAppOutcomeCallable deleteTraceAppCallable(const Model::DeleteTraceAppRequest& request) const;
@@ -380,6 +411,9 @@ namespace AlibabaCloud
ExportPrometheusRulesOutcome exportPrometheusRules(const Model::ExportPrometheusRulesRequest &request)const; ExportPrometheusRulesOutcome exportPrometheusRules(const Model::ExportPrometheusRulesRequest &request)const;
void exportPrometheusRulesAsync(const Model::ExportPrometheusRulesRequest& request, const ExportPrometheusRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void exportPrometheusRulesAsync(const Model::ExportPrometheusRulesRequest& request, const ExportPrometheusRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExportPrometheusRulesOutcomeCallable exportPrometheusRulesCallable(const Model::ExportPrometheusRulesRequest& request) const; ExportPrometheusRulesOutcomeCallable exportPrometheusRulesCallable(const Model::ExportPrometheusRulesRequest& request) const;
GetAgentDownloadUrlOutcome getAgentDownloadUrl(const Model::GetAgentDownloadUrlRequest &request)const;
void getAgentDownloadUrlAsync(const Model::GetAgentDownloadUrlRequest& request, const GetAgentDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAgentDownloadUrlOutcomeCallable getAgentDownloadUrlCallable(const Model::GetAgentDownloadUrlRequest& request) const;
GetAppApiByPageOutcome getAppApiByPage(const Model::GetAppApiByPageRequest &request)const; GetAppApiByPageOutcome getAppApiByPage(const Model::GetAppApiByPageRequest &request)const;
void getAppApiByPageAsync(const Model::GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void getAppApiByPageAsync(const Model::GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAppApiByPageOutcomeCallable getAppApiByPageCallable(const Model::GetAppApiByPageRequest& request) const; GetAppApiByPageOutcomeCallable getAppApiByPageCallable(const Model::GetAppApiByPageRequest& request) const;
@@ -428,9 +462,15 @@ namespace AlibabaCloud
ListRetcodeAppsOutcome listRetcodeApps(const Model::ListRetcodeAppsRequest &request)const; ListRetcodeAppsOutcome listRetcodeApps(const Model::ListRetcodeAppsRequest &request)const;
void listRetcodeAppsAsync(const Model::ListRetcodeAppsRequest& request, const ListRetcodeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void listRetcodeAppsAsync(const Model::ListRetcodeAppsRequest& request, const ListRetcodeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRetcodeAppsOutcomeCallable listRetcodeAppsCallable(const Model::ListRetcodeAppsRequest& request) const; ListRetcodeAppsOutcomeCallable listRetcodeAppsCallable(const Model::ListRetcodeAppsRequest& request) const;
ListScenarioOutcome listScenario(const Model::ListScenarioRequest &request)const;
void listScenarioAsync(const Model::ListScenarioRequest& request, const ListScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListScenarioOutcomeCallable listScenarioCallable(const Model::ListScenarioRequest& request) const;
ListTraceAppsOutcome listTraceApps(const Model::ListTraceAppsRequest &request)const; ListTraceAppsOutcome listTraceApps(const Model::ListTraceAppsRequest &request)const;
void listTraceAppsAsync(const Model::ListTraceAppsRequest& request, const ListTraceAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void listTraceAppsAsync(const Model::ListTraceAppsRequest& request, const ListTraceAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTraceAppsOutcomeCallable listTraceAppsCallable(const Model::ListTraceAppsRequest& request) const; ListTraceAppsOutcomeCallable listTraceAppsCallable(const Model::ListTraceAppsRequest& request) const;
OpenArmsServiceOutcome openArmsService(const Model::OpenArmsServiceRequest &request)const;
void openArmsServiceAsync(const Model::OpenArmsServiceRequest& request, const OpenArmsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpenArmsServiceOutcomeCallable openArmsServiceCallable(const Model::OpenArmsServiceRequest& request) const;
QueryDatasetOutcome queryDataset(const Model::QueryDatasetRequest &request)const; QueryDatasetOutcome queryDataset(const Model::QueryDatasetRequest &request)const;
void queryDatasetAsync(const Model::QueryDatasetRequest& request, const QueryDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void queryDatasetAsync(const Model::QueryDatasetRequest& request, const QueryDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDatasetOutcomeCallable queryDatasetCallable(const Model::QueryDatasetRequest& request) const; QueryDatasetOutcomeCallable queryDatasetCallable(const Model::QueryDatasetRequest& request) const;

View File

@@ -0,0 +1,78 @@
/*
* 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_ARMS_MODEL_APPLYSCENARIOREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ApplyScenarioRequest : public RpcServiceRequest
{
public:
ApplyScenarioRequest();
~ApplyScenarioRequest();
bool getSnForce()const;
void setSnForce(bool snForce);
std::string getSign()const;
void setSign(const std::string& sign);
bool getSnStat()const;
void setSnStat(bool snStat);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getScenario()const;
void setScenario(const std::string& scenario);
bool getSnDump()const;
void setSnDump(bool snDump);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getName()const;
void setName(const std::string& name);
bool getSnTransfer()const;
void setSnTransfer(bool snTransfer);
bool getUpdateOption()const;
void setUpdateOption(bool updateOption);
std::string getConfig()const;
void setConfig(const std::string& config);
private:
bool snForce_;
std::string sign_;
bool snStat_;
std::string regionId_;
std::string scenario_;
bool snDump_;
std::string appId_;
std::string name_;
bool snTransfer_;
bool updateOption_;
std::string config_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIOREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIORESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ApplyScenarioResult : public ServiceResult
{
public:
ApplyScenarioResult();
explicit ApplyScenarioResult(const std::string &payload);
~ApplyScenarioResult();
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIORESULT_H_

View File

@@ -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_ARMS_MODEL_DELETESCENARIOREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DELETESCENARIOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DeleteScenarioRequest : public RpcServiceRequest
{
public:
DeleteScenarioRequest();
~DeleteScenarioRequest();
long getScenarioId()const;
void setScenarioId(long scenarioId);
private:
long scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETESCENARIOREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETESCENARIORESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_DELETESCENARIORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DeleteScenarioResult : public ServiceResult
{
public:
DeleteScenarioResult();
explicit DeleteScenarioResult(const std::string &payload);
~DeleteScenarioResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETESCENARIORESULT_H_

View File

@@ -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_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetAgentDownloadUrlRequest : public RpcServiceRequest
{
public:
GetAgentDownloadUrlRequest();
~GetAgentDownloadUrlRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetAgentDownloadUrlResult : public ServiceResult
{
public:
GetAgentDownloadUrlResult();
explicit GetAgentDownloadUrlResult(const std::string &payload);
~GetAgentDownloadUrlResult();
std::string getArmsAgentDownloadUrl()const;
protected:
void parse(const std::string &payload);
private:
std::string armsAgentDownloadUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_

View File

@@ -35,14 +35,20 @@ namespace AlibabaCloud
ListDashboardsRequest(); ListDashboardsRequest();
~ListDashboardsRequest(); ~ListDashboardsRequest();
std::string getClusterType()const;
void setClusterType(const std::string& clusterType);
std::string getRegionId()const; std::string getRegionId()const;
void setRegionId(const std::string& regionId); void setRegionId(const std::string& regionId);
std::string getClusterId()const; std::string getClusterId()const;
void setClusterId(const std::string& clusterId); void setClusterId(const std::string& clusterId);
std::string getTitle()const;
void setTitle(const std::string& title);
private: private:
std::string clusterType_;
std::string regionId_; std::string regionId_;
std::string clusterId_; std::string clusterId_;
std::string title_;
}; };
} }

View File

@@ -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_ARMS_MODEL_LISTSCENARIOREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_LISTSCENARIOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ListScenarioRequest : public RpcServiceRequest
{
public:
ListScenarioRequest();
~ListScenarioRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getScenario()const;
void setScenario(const std::string& scenario);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getName()const;
void setName(const std::string& name);
std::string getSign()const;
void setSign(const std::string& sign);
private:
std::string regionId_;
std::string scenario_;
std::string appId_;
std::string name_;
std::string sign_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTSCENARIOREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* 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_ARMS_MODEL_LISTSCENARIORESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_LISTSCENARIORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ListScenarioResult : public ServiceResult
{
public:
struct ArmsScenariosItem
{
std::string appId;
std::string userId;
std::string createTime;
std::string updateTime;
std::string sign;
long id;
std::string regionId;
std::string extensions;
std::string name;
};
ListScenarioResult();
explicit ListScenarioResult(const std::string &payload);
~ListScenarioResult();
std::vector<ArmsScenariosItem> getArmsScenarios()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ArmsScenariosItem> armsScenarios_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTSCENARIORESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT OpenArmsServiceRequest : public RpcServiceRequest
{
public:
OpenArmsServiceRequest();
~OpenArmsServiceRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getType()const;
void setType(const std::string& type);
private:
long ownerId_;
std::string type_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICERESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT OpenArmsServiceResult : public ServiceResult
{
public:
OpenArmsServiceResult();
explicit OpenArmsServiceResult(const std::string &payload);
~OpenArmsServiceResult();
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICERESULT_H_

View File

@@ -123,6 +123,42 @@ ARMSClient::AddIntegrationOutcomeCallable ARMSClient::addIntegrationCallable(con
return task->get_future(); return task->get_future();
} }
ARMSClient::ApplyScenarioOutcome ARMSClient::applyScenario(const ApplyScenarioRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ApplyScenarioOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ApplyScenarioOutcome(ApplyScenarioResult(outcome.result()));
else
return ApplyScenarioOutcome(outcome.error());
}
void ARMSClient::applyScenarioAsync(const ApplyScenarioRequest& request, const ApplyScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, applyScenario(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::ApplyScenarioOutcomeCallable ARMSClient::applyScenarioCallable(const ApplyScenarioRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ApplyScenarioOutcome()>>(
[this, request]()
{
return this->applyScenario(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::CheckDataConsistencyOutcome ARMSClient::checkDataConsistency(const CheckDataConsistencyRequest &request) const ARMSClient::CheckDataConsistencyOutcome ARMSClient::checkDataConsistency(const CheckDataConsistencyRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -519,6 +555,42 @@ ARMSClient::DeleteRetcodeAppOutcomeCallable ARMSClient::deleteRetcodeAppCallable
return task->get_future(); return task->get_future();
} }
ARMSClient::DeleteScenarioOutcome ARMSClient::deleteScenario(const DeleteScenarioRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteScenarioOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteScenarioOutcome(DeleteScenarioResult(outcome.result()));
else
return DeleteScenarioOutcome(outcome.error());
}
void ARMSClient::deleteScenarioAsync(const DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteScenario(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::DeleteScenarioOutcomeCallable ARMSClient::deleteScenarioCallable(const DeleteScenarioRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteScenarioOutcome()>>(
[this, request]()
{
return this->deleteScenario(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::DeleteTraceAppOutcome ARMSClient::deleteTraceApp(const DeleteTraceAppRequest &request) const ARMSClient::DeleteTraceAppOutcome ARMSClient::deleteTraceApp(const DeleteTraceAppRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +771,42 @@ ARMSClient::ExportPrometheusRulesOutcomeCallable ARMSClient::exportPrometheusRul
return task->get_future(); return task->get_future();
} }
ARMSClient::GetAgentDownloadUrlOutcome ARMSClient::getAgentDownloadUrl(const GetAgentDownloadUrlRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAgentDownloadUrlOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAgentDownloadUrlOutcome(GetAgentDownloadUrlResult(outcome.result()));
else
return GetAgentDownloadUrlOutcome(outcome.error());
}
void ARMSClient::getAgentDownloadUrlAsync(const GetAgentDownloadUrlRequest& request, const GetAgentDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAgentDownloadUrl(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetAgentDownloadUrlOutcomeCallable ARMSClient::getAgentDownloadUrlCallable(const GetAgentDownloadUrlRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAgentDownloadUrlOutcome()>>(
[this, request]()
{
return this->getAgentDownloadUrl(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetAppApiByPageOutcome ARMSClient::getAppApiByPage(const GetAppApiByPageRequest &request) const ARMSClient::GetAppApiByPageOutcome ARMSClient::getAppApiByPage(const GetAppApiByPageRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1275,6 +1383,42 @@ ARMSClient::ListRetcodeAppsOutcomeCallable ARMSClient::listRetcodeAppsCallable(c
return task->get_future(); return task->get_future();
} }
ARMSClient::ListScenarioOutcome ARMSClient::listScenario(const ListScenarioRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListScenarioOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListScenarioOutcome(ListScenarioResult(outcome.result()));
else
return ListScenarioOutcome(outcome.error());
}
void ARMSClient::listScenarioAsync(const ListScenarioRequest& request, const ListScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listScenario(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::ListScenarioOutcomeCallable ARMSClient::listScenarioCallable(const ListScenarioRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListScenarioOutcome()>>(
[this, request]()
{
return this->listScenario(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::ListTraceAppsOutcome ARMSClient::listTraceApps(const ListTraceAppsRequest &request) const ARMSClient::ListTraceAppsOutcome ARMSClient::listTraceApps(const ListTraceAppsRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,6 +1455,42 @@ ARMSClient::ListTraceAppsOutcomeCallable ARMSClient::listTraceAppsCallable(const
return task->get_future(); return task->get_future();
} }
ARMSClient::OpenArmsServiceOutcome ARMSClient::openArmsService(const OpenArmsServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return OpenArmsServiceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return OpenArmsServiceOutcome(OpenArmsServiceResult(outcome.result()));
else
return OpenArmsServiceOutcome(outcome.error());
}
void ARMSClient::openArmsServiceAsync(const OpenArmsServiceRequest& request, const OpenArmsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, openArmsService(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::OpenArmsServiceOutcomeCallable ARMSClient::openArmsServiceCallable(const OpenArmsServiceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<OpenArmsServiceOutcome()>>(
[this, request]()
{
return this->openArmsService(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::QueryDatasetOutcome ARMSClient::queryDataset(const QueryDatasetRequest &request) const ARMSClient::QueryDatasetOutcome ARMSClient::queryDataset(const QueryDatasetRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,150 @@
/*
* 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/arms/model/ApplyScenarioRequest.h>
using AlibabaCloud::ARMS::Model::ApplyScenarioRequest;
ApplyScenarioRequest::ApplyScenarioRequest() :
RpcServiceRequest("arms", "2019-08-08", "ApplyScenario")
{
setMethod(HttpRequest::Method::Post);
}
ApplyScenarioRequest::~ApplyScenarioRequest()
{}
bool ApplyScenarioRequest::getSnForce()const
{
return snForce_;
}
void ApplyScenarioRequest::setSnForce(bool snForce)
{
snForce_ = snForce;
setParameter("SnForce", snForce ? "true" : "false");
}
std::string ApplyScenarioRequest::getSign()const
{
return sign_;
}
void ApplyScenarioRequest::setSign(const std::string& sign)
{
sign_ = sign;
setParameter("Sign", sign);
}
bool ApplyScenarioRequest::getSnStat()const
{
return snStat_;
}
void ApplyScenarioRequest::setSnStat(bool snStat)
{
snStat_ = snStat;
setParameter("SnStat", snStat ? "true" : "false");
}
std::string ApplyScenarioRequest::getRegionId()const
{
return regionId_;
}
void ApplyScenarioRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ApplyScenarioRequest::getScenario()const
{
return scenario_;
}
void ApplyScenarioRequest::setScenario(const std::string& scenario)
{
scenario_ = scenario;
setParameter("Scenario", scenario);
}
bool ApplyScenarioRequest::getSnDump()const
{
return snDump_;
}
void ApplyScenarioRequest::setSnDump(bool snDump)
{
snDump_ = snDump;
setParameter("SnDump", snDump ? "true" : "false");
}
std::string ApplyScenarioRequest::getAppId()const
{
return appId_;
}
void ApplyScenarioRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}
std::string ApplyScenarioRequest::getName()const
{
return name_;
}
void ApplyScenarioRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
bool ApplyScenarioRequest::getSnTransfer()const
{
return snTransfer_;
}
void ApplyScenarioRequest::setSnTransfer(bool snTransfer)
{
snTransfer_ = snTransfer;
setParameter("SnTransfer", snTransfer ? "true" : "false");
}
bool ApplyScenarioRequest::getUpdateOption()const
{
return updateOption_;
}
void ApplyScenarioRequest::setUpdateOption(bool updateOption)
{
updateOption_ = updateOption;
setParameter("UpdateOption", updateOption ? "true" : "false");
}
std::string ApplyScenarioRequest::getConfig()const
{
return config_;
}
void ApplyScenarioRequest::setConfig(const std::string& config)
{
config_ = config;
setParameter("Config", config);
}

View 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/arms/model/ApplyScenarioResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
ApplyScenarioResult::ApplyScenarioResult() :
ServiceResult()
{}
ApplyScenarioResult::ApplyScenarioResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ApplyScenarioResult::~ApplyScenarioResult()
{}
void ApplyScenarioResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string ApplyScenarioResult::getResult()const
{
return result_;
}

View 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/arms/model/DeleteScenarioRequest.h>
using AlibabaCloud::ARMS::Model::DeleteScenarioRequest;
DeleteScenarioRequest::DeleteScenarioRequest() :
RpcServiceRequest("arms", "2019-08-08", "DeleteScenario")
{
setMethod(HttpRequest::Method::Post);
}
DeleteScenarioRequest::~DeleteScenarioRequest()
{}
long DeleteScenarioRequest::getScenarioId()const
{
return scenarioId_;
}
void DeleteScenarioRequest::setScenarioId(long scenarioId)
{
scenarioId_ = scenarioId;
setParameter("ScenarioId", std::to_string(scenarioId));
}

View 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/arms/model/DeleteScenarioResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
DeleteScenarioResult::DeleteScenarioResult() :
ServiceResult()
{}
DeleteScenarioResult::DeleteScenarioResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteScenarioResult::~DeleteScenarioResult()
{}
void DeleteScenarioResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool DeleteScenarioResult::getResult()const
{
return result_;
}

View 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/arms/model/GetAgentDownloadUrlRequest.h>
using AlibabaCloud::ARMS::Model::GetAgentDownloadUrlRequest;
GetAgentDownloadUrlRequest::GetAgentDownloadUrlRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetAgentDownloadUrl")
{
setMethod(HttpRequest::Method::Get);
}
GetAgentDownloadUrlRequest::~GetAgentDownloadUrlRequest()
{}
std::string GetAgentDownloadUrlRequest::getRegionId()const
{
return regionId_;
}
void GetAgentDownloadUrlRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View 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/arms/model/GetAgentDownloadUrlResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetAgentDownloadUrlResult::GetAgentDownloadUrlResult() :
ServiceResult()
{}
GetAgentDownloadUrlResult::GetAgentDownloadUrlResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAgentDownloadUrlResult::~GetAgentDownloadUrlResult()
{}
void GetAgentDownloadUrlResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ArmsAgentDownloadUrl"].isNull())
armsAgentDownloadUrl_ = value["ArmsAgentDownloadUrl"].asString();
}
std::string GetAgentDownloadUrlResult::getArmsAgentDownloadUrl()const
{
return armsAgentDownloadUrl_;
}

View File

@@ -27,6 +27,17 @@ ListDashboardsRequest::ListDashboardsRequest() :
ListDashboardsRequest::~ListDashboardsRequest() ListDashboardsRequest::~ListDashboardsRequest()
{} {}
std::string ListDashboardsRequest::getClusterType()const
{
return clusterType_;
}
void ListDashboardsRequest::setClusterType(const std::string& clusterType)
{
clusterType_ = clusterType;
setParameter("ClusterType", clusterType);
}
std::string ListDashboardsRequest::getRegionId()const std::string ListDashboardsRequest::getRegionId()const
{ {
return regionId_; return regionId_;
@@ -49,3 +60,14 @@ void ListDashboardsRequest::setClusterId(const std::string& clusterId)
setParameter("ClusterId", clusterId); setParameter("ClusterId", clusterId);
} }
std::string ListDashboardsRequest::getTitle()const
{
return title_;
}
void ListDashboardsRequest::setTitle(const std::string& title)
{
title_ = title;
setParameter("Title", title);
}

View 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/arms/model/ListScenarioRequest.h>
using AlibabaCloud::ARMS::Model::ListScenarioRequest;
ListScenarioRequest::ListScenarioRequest() :
RpcServiceRequest("arms", "2019-08-08", "ListScenario")
{
setMethod(HttpRequest::Method::Post);
}
ListScenarioRequest::~ListScenarioRequest()
{}
std::string ListScenarioRequest::getRegionId()const
{
return regionId_;
}
void ListScenarioRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ListScenarioRequest::getScenario()const
{
return scenario_;
}
void ListScenarioRequest::setScenario(const std::string& scenario)
{
scenario_ = scenario;
setParameter("Scenario", scenario);
}
std::string ListScenarioRequest::getAppId()const
{
return appId_;
}
void ListScenarioRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}
std::string ListScenarioRequest::getName()const
{
return name_;
}
void ListScenarioRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string ListScenarioRequest::getSign()const
{
return sign_;
}
void ListScenarioRequest::setSign(const std::string& sign)
{
sign_ = sign;
setParameter("Sign", sign);
}

View 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/arms/model/ListScenarioResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
ListScenarioResult::ListScenarioResult() :
ServiceResult()
{}
ListScenarioResult::ListScenarioResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListScenarioResult::~ListScenarioResult()
{}
void ListScenarioResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allArmsScenariosNode = value["ArmsScenarios"]["ArmsScenariosItem"];
for (auto valueArmsScenariosArmsScenariosItem : allArmsScenariosNode)
{
ArmsScenariosItem armsScenariosObject;
if(!valueArmsScenariosArmsScenariosItem["Id"].isNull())
armsScenariosObject.id = std::stol(valueArmsScenariosArmsScenariosItem["Id"].asString());
if(!valueArmsScenariosArmsScenariosItem["CreateTime"].isNull())
armsScenariosObject.createTime = valueArmsScenariosArmsScenariosItem["CreateTime"].asString();
if(!valueArmsScenariosArmsScenariosItem["UpdateTime"].isNull())
armsScenariosObject.updateTime = valueArmsScenariosArmsScenariosItem["UpdateTime"].asString();
if(!valueArmsScenariosArmsScenariosItem["Name"].isNull())
armsScenariosObject.name = valueArmsScenariosArmsScenariosItem["Name"].asString();
if(!valueArmsScenariosArmsScenariosItem["Sign"].isNull())
armsScenariosObject.sign = valueArmsScenariosArmsScenariosItem["Sign"].asString();
if(!valueArmsScenariosArmsScenariosItem["UserId"].isNull())
armsScenariosObject.userId = valueArmsScenariosArmsScenariosItem["UserId"].asString();
if(!valueArmsScenariosArmsScenariosItem["RegionId"].isNull())
armsScenariosObject.regionId = valueArmsScenariosArmsScenariosItem["RegionId"].asString();
if(!valueArmsScenariosArmsScenariosItem["AppId"].isNull())
armsScenariosObject.appId = valueArmsScenariosArmsScenariosItem["AppId"].asString();
if(!valueArmsScenariosArmsScenariosItem["Extensions"].isNull())
armsScenariosObject.extensions = valueArmsScenariosArmsScenariosItem["Extensions"].asString();
armsScenarios_.push_back(armsScenariosObject);
}
}
std::vector<ListScenarioResult::ArmsScenariosItem> ListScenarioResult::getArmsScenarios()const
{
return armsScenarios_;
}

View 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/arms/model/OpenArmsServiceRequest.h>
using AlibabaCloud::ARMS::Model::OpenArmsServiceRequest;
OpenArmsServiceRequest::OpenArmsServiceRequest() :
RpcServiceRequest("arms", "2019-08-08", "OpenArmsService")
{
setMethod(HttpRequest::Method::Post);
}
OpenArmsServiceRequest::~OpenArmsServiceRequest()
{}
long OpenArmsServiceRequest::getOwnerId()const
{
return ownerId_;
}
void OpenArmsServiceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string OpenArmsServiceRequest::getType()const
{
return type_;
}
void OpenArmsServiceRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}

View 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/arms/model/OpenArmsServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
OpenArmsServiceResult::OpenArmsServiceResult() :
ServiceResult()
{}
OpenArmsServiceResult::OpenArmsServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
OpenArmsServiceResult::~OpenArmsServiceResult()
{}
void OpenArmsServiceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
}
std::string OpenArmsServiceResult::getOrderId()const
{
return orderId_;
}

View File

@@ -41,8 +41,6 @@ namespace AlibabaCloud
void setDomainName(const std::string& domainName); void setDomainName(const std::string& domainName);
long getOwnerId()const; long getOwnerId()const;
void setOwnerId(long ownerId); void setOwnerId(long ownerId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const; std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken); void setSecurityToken(const std::string& securityToken);
@@ -50,7 +48,6 @@ namespace AlibabaCloud
std::string ownerAccount_; std::string ownerAccount_;
std::string domainName_; std::string domainName_;
long ownerId_; long ownerId_;
std::string resourceGroupId_;
std::string securityToken_; std::string securityToken_;
}; };

View File

@@ -60,17 +60,6 @@ void DeleteCdnDomainRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(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 std::string DeleteCdnDomainRequest::getSecurityToken()const
{ {
return securityToken_; return securityToken_;

View File

@@ -50,13 +50,13 @@ namespace AlibabaCloud
long relatedFlowId; long relatedFlowId;
long cycTime; long cycTime;
long beginWaitTimeTime; long beginWaitTimeTime;
int dagId; long dagId;
long bizdate; long bizdate;
long beginRunningTime; long beginRunningTime;
bool repeatability; bool repeatability;
long finishTime; long finishTime;
std::string dqcDescription; std::string dqcDescription;
int nodeId; long nodeId;
long beginWaitResTime; long beginWaitResTime;
std::string errorMessage; std::string errorMessage;
long repeatInterval; long repeatInterval;

View File

@@ -40,14 +40,14 @@ namespace AlibabaCloud
{ {
int singleCheckResult; int singleCheckResult;
float value; float value;
long bizDate; std::string bizDate;
std::string discreteProperty; std::string discreteProperty;
float threshold; float threshold;
}; };
struct SampleValueItem struct SampleValueItem
{ {
float value; float value;
long bizDate; std::string bizDate;
std::string discreteProperty; std::string discreteProperty;
}; };
std::string op; std::string op;

View File

@@ -51,11 +51,11 @@ void ListInstancesResult::parse(const std::string &payload)
{ {
Data::Instance instanceObject; Data::Instance instanceObject;
if(!dataNodeInstancesInstance["NodeId"].isNull()) if(!dataNodeInstancesInstance["NodeId"].isNull())
instanceObject.nodeId = std::stoi(dataNodeInstancesInstance["NodeId"].asString()); instanceObject.nodeId = std::stol(dataNodeInstancesInstance["NodeId"].asString());
if(!dataNodeInstancesInstance["InstanceId"].isNull()) if(!dataNodeInstancesInstance["InstanceId"].isNull())
instanceObject.instanceId = std::stol(dataNodeInstancesInstance["InstanceId"].asString()); instanceObject.instanceId = std::stol(dataNodeInstancesInstance["InstanceId"].asString());
if(!dataNodeInstancesInstance["DagId"].isNull()) if(!dataNodeInstancesInstance["DagId"].isNull())
instanceObject.dagId = std::stoi(dataNodeInstancesInstance["DagId"].asString()); instanceObject.dagId = std::stol(dataNodeInstancesInstance["DagId"].asString());
if(!dataNodeInstancesInstance["DagType"].isNull()) if(!dataNodeInstancesInstance["DagType"].isNull())
instanceObject.dagType = dataNodeInstancesInstance["DagType"].asString(); instanceObject.dagType = dataNodeInstancesInstance["DagType"].asString();
if(!dataNodeInstancesInstance["Status"].isNull()) if(!dataNodeInstancesInstance["Status"].isNull())

View File

@@ -133,7 +133,7 @@ void ListQualityResultsByEntityResult::parse(const std::string &payload)
{ {
QualityResults::RuleChecksItem::ReferenceValueItem referenceValueObject; QualityResults::RuleChecksItem::ReferenceValueItem referenceValueObject;
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].isNull()) if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].isNull())
referenceValueObject.bizDate = std::stol(qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].asString()); referenceValueObject.bizDate = qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].asString();
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].isNull()) if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].isNull())
referenceValueObject.discreteProperty = qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].asString(); referenceValueObject.discreteProperty = qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].asString();
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].isNull()) if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].isNull())
@@ -149,7 +149,7 @@ void ListQualityResultsByEntityResult::parse(const std::string &payload)
{ {
QualityResults::RuleChecksItem::SampleValueItem sampleValueObject; QualityResults::RuleChecksItem::SampleValueItem sampleValueObject;
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].isNull()) if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].isNull())
sampleValueObject.bizDate = std::stol(qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].asString()); sampleValueObject.bizDate = qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].asString();
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].isNull()) if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].isNull())
sampleValueObject.discreteProperty = qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].asString(); sampleValueObject.discreteProperty = qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].asString();
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].isNull()) if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].isNull())

View File

@@ -41,6 +41,8 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/BatchStopDcdnDomainResult.h include/alibabacloud/dcdn/model/BatchStopDcdnDomainResult.h
include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h
include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.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/DeleteDcdnDomainRequest.h
include/alibabacloud/dcdn/model/DeleteDcdnDomainResult.h include/alibabacloud/dcdn/model/DeleteDcdnDomainResult.h
include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.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/DescribeDcdnIpaServiceResult.h
include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.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/DescribeDcdnRefreshQuotaRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h
include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksRequest.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/DescribeDcdnUserBillTypeResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.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/DescribeDcdnUserQuotaRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.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/DescribeUserDcdnIpaStatusResult.h
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusResult.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/ModifyDCdnDomainSchdmByPropertyRequest.h
include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyResult.h include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyResult.h
include/alibabacloud/dcdn/model/ModifyDcdnServiceRequest.h include/alibabacloud/dcdn/model/ModifyDcdnServiceRequest.h
@@ -242,6 +260,8 @@ set(dcdn_src
src/model/BatchStopDcdnDomainResult.cc src/model/BatchStopDcdnDomainResult.cc
src/model/CreateDcdnCertificateSigningRequestRequest.cc src/model/CreateDcdnCertificateSigningRequestRequest.cc
src/model/CreateDcdnCertificateSigningRequestResult.cc src/model/CreateDcdnCertificateSigningRequestResult.cc
src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc
src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc
src/model/DeleteDcdnDomainRequest.cc src/model/DeleteDcdnDomainRequest.cc
src/model/DeleteDcdnDomainResult.cc src/model/DeleteDcdnDomainResult.cc
src/model/DeleteDcdnIpaDomainRequest.cc src/model/DeleteDcdnIpaDomainRequest.cc
@@ -348,6 +368,14 @@ set(dcdn_src
src/model/DescribeDcdnIpaServiceResult.cc src/model/DescribeDcdnIpaServiceResult.cc
src/model/DescribeDcdnIpaUserDomainsRequest.cc src/model/DescribeDcdnIpaUserDomainsRequest.cc
src/model/DescribeDcdnIpaUserDomainsResult.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/DescribeDcdnRefreshQuotaRequest.cc
src/model/DescribeDcdnRefreshQuotaResult.cc src/model/DescribeDcdnRefreshQuotaResult.cc
src/model/DescribeDcdnRefreshTasksRequest.cc src/model/DescribeDcdnRefreshTasksRequest.cc
@@ -366,6 +394,8 @@ set(dcdn_src
src/model/DescribeDcdnUserBillTypeResult.cc src/model/DescribeDcdnUserBillTypeResult.cc
src/model/DescribeDcdnUserDomainsRequest.cc src/model/DescribeDcdnUserDomainsRequest.cc
src/model/DescribeDcdnUserDomainsResult.cc src/model/DescribeDcdnUserDomainsResult.cc
src/model/DescribeDcdnUserDomainsByFuncRequest.cc
src/model/DescribeDcdnUserDomainsByFuncResult.cc
src/model/DescribeDcdnUserQuotaRequest.cc src/model/DescribeDcdnUserQuotaRequest.cc
src/model/DescribeDcdnUserQuotaResult.cc src/model/DescribeDcdnUserQuotaResult.cc
src/model/DescribeDcdnUserResourcePackageRequest.cc src/model/DescribeDcdnUserResourcePackageRequest.cc
@@ -380,6 +410,12 @@ set(dcdn_src
src/model/DescribeUserDcdnIpaStatusResult.cc src/model/DescribeUserDcdnIpaStatusResult.cc
src/model/DescribeUserDcdnStatusRequest.cc src/model/DescribeUserDcdnStatusRequest.cc
src/model/DescribeUserDcdnStatusResult.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/ModifyDCdnDomainSchdmByPropertyRequest.cc
src/model/ModifyDCdnDomainSchdmByPropertyResult.cc src/model/ModifyDCdnDomainSchdmByPropertyResult.cc
src/model/ModifyDcdnServiceRequest.cc src/model/ModifyDcdnServiceRequest.cc

View File

@@ -42,6 +42,8 @@
#include "model/BatchStopDcdnDomainResult.h" #include "model/BatchStopDcdnDomainResult.h"
#include "model/CreateDcdnCertificateSigningRequestRequest.h" #include "model/CreateDcdnCertificateSigningRequestRequest.h"
#include "model/CreateDcdnCertificateSigningRequestResult.h" #include "model/CreateDcdnCertificateSigningRequestResult.h"
#include "model/CreateDcdnDomainOfflineLogDeliveryRequest.h"
#include "model/CreateDcdnDomainOfflineLogDeliveryResult.h"
#include "model/DeleteDcdnDomainRequest.h" #include "model/DeleteDcdnDomainRequest.h"
#include "model/DeleteDcdnDomainResult.h" #include "model/DeleteDcdnDomainResult.h"
#include "model/DeleteDcdnIpaDomainRequest.h" #include "model/DeleteDcdnIpaDomainRequest.h"
@@ -148,6 +150,14 @@
#include "model/DescribeDcdnIpaServiceResult.h" #include "model/DescribeDcdnIpaServiceResult.h"
#include "model/DescribeDcdnIpaUserDomainsRequest.h" #include "model/DescribeDcdnIpaUserDomainsRequest.h"
#include "model/DescribeDcdnIpaUserDomainsResult.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/DescribeDcdnRefreshQuotaRequest.h"
#include "model/DescribeDcdnRefreshQuotaResult.h" #include "model/DescribeDcdnRefreshQuotaResult.h"
#include "model/DescribeDcdnRefreshTasksRequest.h" #include "model/DescribeDcdnRefreshTasksRequest.h"
@@ -166,6 +176,8 @@
#include "model/DescribeDcdnUserBillTypeResult.h" #include "model/DescribeDcdnUserBillTypeResult.h"
#include "model/DescribeDcdnUserDomainsRequest.h" #include "model/DescribeDcdnUserDomainsRequest.h"
#include "model/DescribeDcdnUserDomainsResult.h" #include "model/DescribeDcdnUserDomainsResult.h"
#include "model/DescribeDcdnUserDomainsByFuncRequest.h"
#include "model/DescribeDcdnUserDomainsByFuncResult.h"
#include "model/DescribeDcdnUserQuotaRequest.h" #include "model/DescribeDcdnUserQuotaRequest.h"
#include "model/DescribeDcdnUserQuotaResult.h" #include "model/DescribeDcdnUserQuotaResult.h"
#include "model/DescribeDcdnUserResourcePackageRequest.h" #include "model/DescribeDcdnUserResourcePackageRequest.h"
@@ -180,6 +192,12 @@
#include "model/DescribeUserDcdnIpaStatusResult.h" #include "model/DescribeUserDcdnIpaStatusResult.h"
#include "model/DescribeUserDcdnStatusRequest.h" #include "model/DescribeUserDcdnStatusRequest.h"
#include "model/DescribeUserDcdnStatusResult.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/ModifyDCdnDomainSchdmByPropertyRequest.h"
#include "model/ModifyDCdnDomainSchdmByPropertyResult.h" #include "model/ModifyDCdnDomainSchdmByPropertyResult.h"
#include "model/ModifyDcdnServiceRequest.h" #include "model/ModifyDcdnServiceRequest.h"
@@ -259,6 +277,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDcdnCertificateSigningRequestResult> CreateDcdnCertificateSigningRequestOutcome; typedef Outcome<Error, Model::CreateDcdnCertificateSigningRequestResult> CreateDcdnCertificateSigningRequestOutcome;
typedef std::future<CreateDcdnCertificateSigningRequestOutcome> CreateDcdnCertificateSigningRequestOutcomeCallable; typedef std::future<CreateDcdnCertificateSigningRequestOutcome> CreateDcdnCertificateSigningRequestOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnCertificateSigningRequestRequest&, const CreateDcdnCertificateSigningRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnCertificateSigningRequestAsyncHandler; 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 Outcome<Error, Model::DeleteDcdnDomainResult> DeleteDcdnDomainOutcome;
typedef std::future<DeleteDcdnDomainOutcome> DeleteDcdnDomainOutcomeCallable; typedef std::future<DeleteDcdnDomainOutcome> DeleteDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DeleteDcdnDomainRequest&, const DeleteDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDcdnDomainAsyncHandler; 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 Outcome<Error, Model::DescribeDcdnIpaUserDomainsResult> DescribeDcdnIpaUserDomainsOutcome;
typedef std::future<DescribeDcdnIpaUserDomainsOutcome> DescribeDcdnIpaUserDomainsOutcomeCallable; typedef std::future<DescribeDcdnIpaUserDomainsOutcome> DescribeDcdnIpaUserDomainsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnIpaUserDomainsRequest&, const DescribeDcdnIpaUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnIpaUserDomainsAsyncHandler; 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 Outcome<Error, Model::DescribeDcdnRefreshQuotaResult> DescribeDcdnRefreshQuotaOutcome;
typedef std::future<DescribeDcdnRefreshQuotaOutcome> DescribeDcdnRefreshQuotaOutcomeCallable; typedef std::future<DescribeDcdnRefreshQuotaOutcome> DescribeDcdnRefreshQuotaOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnRefreshQuotaRequest&, const DescribeDcdnRefreshQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnRefreshQuotaAsyncHandler; 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 Outcome<Error, Model::DescribeDcdnUserDomainsResult> DescribeDcdnUserDomainsOutcome;
typedef std::future<DescribeDcdnUserDomainsOutcome> DescribeDcdnUserDomainsOutcomeCallable; typedef std::future<DescribeDcdnUserDomainsOutcome> DescribeDcdnUserDomainsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserDomainsRequest&, const DescribeDcdnUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserDomainsAsyncHandler; 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 Outcome<Error, Model::DescribeDcdnUserQuotaResult> DescribeDcdnUserQuotaOutcome;
typedef std::future<DescribeDcdnUserQuotaOutcome> DescribeDcdnUserQuotaOutcomeCallable; typedef std::future<DescribeDcdnUserQuotaOutcome> DescribeDcdnUserQuotaOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserQuotaRequest&, const DescribeDcdnUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserQuotaAsyncHandler; 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 Outcome<Error, Model::DescribeUserDcdnStatusResult> DescribeUserDcdnStatusOutcome;
typedef std::future<DescribeUserDcdnStatusOutcome> DescribeUserDcdnStatusOutcomeCallable; typedef std::future<DescribeUserDcdnStatusOutcome> DescribeUserDcdnStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserDcdnStatusRequest&, const DescribeUserDcdnStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDcdnStatusAsyncHandler; 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 Outcome<Error, Model::ModifyDCdnDomainSchdmByPropertyResult> ModifyDCdnDomainSchdmByPropertyOutcome;
typedef std::future<ModifyDCdnDomainSchdmByPropertyOutcome> ModifyDCdnDomainSchdmByPropertyOutcomeCallable; typedef std::future<ModifyDCdnDomainSchdmByPropertyOutcome> ModifyDCdnDomainSchdmByPropertyOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::ModifyDCdnDomainSchdmByPropertyRequest&, const ModifyDCdnDomainSchdmByPropertyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDCdnDomainSchdmByPropertyAsyncHandler; 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; 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; 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; 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; 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; 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; DeleteDcdnDomainOutcomeCallable deleteDcdnDomainCallable(const Model::DeleteDcdnDomainRequest& request) const;
@@ -720,6 +768,18 @@ namespace AlibabaCloud
DescribeDcdnIpaUserDomainsOutcome describeDcdnIpaUserDomains(const Model::DescribeDcdnIpaUserDomainsRequest &request)const; 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; 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; 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; 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; 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; DescribeDcdnRefreshQuotaOutcomeCallable describeDcdnRefreshQuotaCallable(const Model::DescribeDcdnRefreshQuotaRequest& request) const;
@@ -747,6 +807,9 @@ namespace AlibabaCloud
DescribeDcdnUserDomainsOutcome describeDcdnUserDomains(const Model::DescribeDcdnUserDomainsRequest &request)const; 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; 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; 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; 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; 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; DescribeDcdnUserQuotaOutcomeCallable describeDcdnUserQuotaCallable(const Model::DescribeDcdnUserQuotaRequest& request) const;
@@ -768,6 +831,15 @@ namespace AlibabaCloud
DescribeUserDcdnStatusOutcome describeUserDcdnStatus(const Model::DescribeUserDcdnStatusRequest &request)const; 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; 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; 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; 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; 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; ModifyDCdnDomainSchdmByPropertyOutcomeCallable modifyDCdnDomainSchdmByPropertyCallable(const Model::ModifyDCdnDomainSchdmByPropertyRequest& request) const;

View File

@@ -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_

View File

@@ -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_

View File

@@ -41,8 +41,6 @@ namespace AlibabaCloud
void setDomainName(const std::string& domainName); void setDomainName(const std::string& domainName);
long getOwnerId()const; long getOwnerId()const;
void setOwnerId(long ownerId); void setOwnerId(long ownerId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const; std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken); void setSecurityToken(const std::string& securityToken);
@@ -50,7 +48,6 @@ namespace AlibabaCloud
std::string ownerAccount_; std::string ownerAccount_;
std::string domainName_; std::string domainName_;
long ownerId_; long ownerId_;
std::string resourceGroupId_;
std::string securityToken_; std::string securityToken_;
}; };

View File

@@ -35,23 +35,20 @@ namespace AlibabaCloud
DeleteDcdnIpaDomainRequest(); DeleteDcdnIpaDomainRequest();
~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; std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount); void setOwnerAccount(const std::string& ownerAccount);
std::string getDomainName()const; std::string getDomainName()const;
void setDomainName(const std::string& domainName); void setDomainName(const std::string& domainName);
long getOwnerId()const; long getOwnerId()const;
void setOwnerId(long ownerId); void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private: private:
std::string resourceGroupId_;
std::string securityToken_;
std::string ownerAccount_; std::string ownerAccount_;
std::string domainName_; std::string domainName_;
long ownerId_; long ownerId_;
std::string securityToken_;
}; };
} }

View File

@@ -35,22 +35,19 @@ namespace AlibabaCloud
DescribeDcdnDomainTopReferVisitRequest(); DescribeDcdnDomainTopReferVisitRequest();
~DescribeDcdnDomainTopReferVisitRequest(); ~DescribeDcdnDomainTopReferVisitRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getStartTime()const; std::string getStartTime()const;
void setStartTime(const std::string& startTime); void setStartTime(const std::string& startTime);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const; long getOwnerId()const;
void setOwnerId(long ownerId); void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getSortBy()const; std::string getSortBy()const;
void setSortBy(const std::string& sortBy); void setSortBy(const std::string& sortBy);
private: private:
std::string domainName_;
std::string startTime_; std::string startTime_;
std::string domainName_;
long ownerId_; long ownerId_;
std::string securityToken_;
std::string sortBy_; std::string sortBy_;
}; };

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View 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.
*/
#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_

View File

@@ -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_

View File

@@ -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_

View 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.
*/
#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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View 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.
*/
#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_

View File

@@ -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_

View File

@@ -411,6 +411,42 @@ DcdnClient::CreateDcdnCertificateSigningRequestOutcomeCallable DcdnClient::creat
return task->get_future(); 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 DcdnClient::DeleteDcdnDomainOutcome DcdnClient::deleteDcdnDomain(const DeleteDcdnDomainRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2319,6 +2355,150 @@ DcdnClient::DescribeDcdnIpaUserDomainsOutcomeCallable DcdnClient::describeDcdnIp
return task->get_future(); 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 DcdnClient::DescribeDcdnRefreshQuotaOutcome DcdnClient::describeDcdnRefreshQuota(const DescribeDcdnRefreshQuotaRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2643,6 +2823,42 @@ DcdnClient::DescribeDcdnUserDomainsOutcomeCallable DcdnClient::describeDcdnUserD
return task->get_future(); 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 DcdnClient::DescribeDcdnUserQuotaOutcome DcdnClient::describeDcdnUserQuota(const DescribeDcdnUserQuotaRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2895,6 +3111,114 @@ DcdnClient::DescribeUserDcdnStatusOutcomeCallable DcdnClient::describeUserDcdnSt
return task->get_future(); 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 DcdnClient::ModifyDCdnDomainSchdmByPropertyOutcome DcdnClient::modifyDCdnDomainSchdmByProperty(const ModifyDCdnDomainSchdmByPropertyRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();

View 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);
}

View 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());
}

View File

@@ -60,17 +60,6 @@ void DeleteDcdnDomainRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(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 std::string DeleteDcdnDomainRequest::getSecurityToken()const
{ {
return securityToken_; return securityToken_;

View File

@@ -27,28 +27,6 @@ DeleteDcdnIpaDomainRequest::DeleteDcdnIpaDomainRequest() :
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 std::string DeleteDcdnIpaDomainRequest::getOwnerAccount()const
{ {
return ownerAccount_; return ownerAccount_;
@@ -82,3 +60,14 @@ void DeleteDcdnIpaDomainRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(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);
}

View File

@@ -27,17 +27,6 @@ DescribeDcdnDomainTopReferVisitRequest::DescribeDcdnDomainTopReferVisitRequest()
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 std::string DescribeDcdnDomainTopReferVisitRequest::getStartTime()const
{ {
return startTime_; return startTime_;
@@ -49,6 +38,17 @@ void DescribeDcdnDomainTopReferVisitRequest::setStartTime(const std::string& sta
setParameter("StartTime", startTime); 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 long DescribeDcdnDomainTopReferVisitRequest::getOwnerId()const
{ {
return ownerId_; return ownerId_;
@@ -60,17 +60,6 @@ void DescribeDcdnDomainTopReferVisitRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(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 std::string DescribeDcdnDomainTopReferVisitRequest::getSortBy()const
{ {
return sortBy_; return sortBy_;

View 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));
}

View 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_;
}

View 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/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));
}

View 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/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_;
}

View 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));
}

View 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_;
}

View 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/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));
}

View 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_;
}

View 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));
}

View 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_;
}

View 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));
}

View 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());
}

View 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));
}

View 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());
}

View 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));
}

View 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());
}

View File

@@ -35,10 +35,14 @@ namespace AlibabaCloud
DescribeSpotAdviceRequest(); DescribeSpotAdviceRequest();
~DescribeSpotAdviceRequest(); ~DescribeSpotAdviceRequest();
std::string getGpuSpec()const;
void setGpuSpec(const std::string& gpuSpec);
long getResourceOwnerId()const; long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId); void setResourceOwnerId(long resourceOwnerId);
float getMemory()const; float getMemory()const;
void setMemory(float memory); void setMemory(float memory);
std::vector<std::string> getInstanceTypes()const;
void setInstanceTypes(const std::vector<std::string>& instanceTypes);
std::string getIoOptimized()const; std::string getIoOptimized()const;
void setIoOptimized(const std::string& ioOptimized); void setIoOptimized(const std::string& ioOptimized);
int getMinCores()const; int getMinCores()const;
@@ -53,16 +57,24 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const; std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount); void setOwnerAccount(const std::string& ownerAccount);
std::string getInstanceTypeFamily()const;
void setInstanceTypeFamily(const std::string& instanceTypeFamily);
long getOwnerId()const; long getOwnerId()const;
void setOwnerId(long ownerId); void setOwnerId(long ownerId);
std::string getInstanceFamilyLevel()const;
void setInstanceFamilyLevel(const std::string& instanceFamilyLevel);
std::string getZoneId()const; std::string getZoneId()const;
void setZoneId(const std::string& zoneId); void setZoneId(const std::string& zoneId);
int getGpuAmount()const;
void setGpuAmount(int gpuAmount);
float getMinMemory()const; float getMinMemory()const;
void setMinMemory(float minMemory); void setMinMemory(float minMemory);
private: private:
std::string gpuSpec_;
long resourceOwnerId_; long resourceOwnerId_;
float memory_; float memory_;
std::vector<std::string> instanceTypes_;
std::string ioOptimized_; std::string ioOptimized_;
int minCores_; int minCores_;
std::string networkType_; std::string networkType_;
@@ -70,8 +82,11 @@ namespace AlibabaCloud
std::string regionId_; std::string regionId_;
std::string resourceOwnerAccount_; std::string resourceOwnerAccount_;
std::string ownerAccount_; std::string ownerAccount_;
std::string instanceTypeFamily_;
long ownerId_; long ownerId_;
std::string instanceFamilyLevel_;
std::string zoneId_; std::string zoneId_;
int gpuAmount_;
float minMemory_; float minMemory_;
}; };

View File

@@ -31,21 +31,21 @@ EcsClient::EcsClient(const Credentials &credentials, const ClientConfiguration &
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration) RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{ {
auto locationClient = std::make_shared<LocationClient>(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) : EcsClient::EcsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{ {
auto locationClient = std::make_shared<LocationClient>(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) : EcsClient::EcsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration) RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{ {
auto locationClient = std::make_shared<LocationClient>(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() EcsClient::~EcsClient()

View File

@@ -27,6 +27,17 @@ DescribeSpotAdviceRequest::DescribeSpotAdviceRequest() :
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 long DescribeSpotAdviceRequest::getResourceOwnerId()const
{ {
return resourceOwnerId_; return resourceOwnerId_;
@@ -49,6 +60,19 @@ void DescribeSpotAdviceRequest::setMemory(float memory)
setParameter("Memory", std::to_string(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 std::string DescribeSpotAdviceRequest::getIoOptimized()const
{ {
return ioOptimized_; return ioOptimized_;
@@ -126,6 +150,17 @@ void DescribeSpotAdviceRequest::setOwnerAccount(const std::string& ownerAccount)
setParameter("OwnerAccount", 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 long DescribeSpotAdviceRequest::getOwnerId()const
{ {
return ownerId_; return ownerId_;
@@ -137,6 +172,17 @@ void DescribeSpotAdviceRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(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 std::string DescribeSpotAdviceRequest::getZoneId()const
{ {
return zoneId_; return zoneId_;
@@ -148,6 +194,17 @@ void DescribeSpotAdviceRequest::setZoneId(const std::string& zoneId)
setParameter("ZoneId", 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 float DescribeSpotAdviceRequest::getMinMemory()const
{ {
return minMemory_; return minMemory_;

View File

@@ -27,6 +27,8 @@ set(imagerecog_public_header_model
include/alibabacloud/imagerecog/model/DetectFruitsResult.h include/alibabacloud/imagerecog/model/DetectFruitsResult.h
include/alibabacloud/imagerecog/model/DetectImageElementsRequest.h include/alibabacloud/imagerecog/model/DetectImageElementsRequest.h
include/alibabacloud/imagerecog/model/DetectImageElementsResult.h include/alibabacloud/imagerecog/model/DetectImageElementsResult.h
include/alibabacloud/imagerecog/model/EvaluateCertificateQualityRequest.h
include/alibabacloud/imagerecog/model/EvaluateCertificateQualityResult.h
include/alibabacloud/imagerecog/model/RecognizeImageColorRequest.h include/alibabacloud/imagerecog/model/RecognizeImageColorRequest.h
include/alibabacloud/imagerecog/model/RecognizeImageColorResult.h include/alibabacloud/imagerecog/model/RecognizeImageColorResult.h
include/alibabacloud/imagerecog/model/RecognizeImageStyleRequest.h include/alibabacloud/imagerecog/model/RecognizeImageStyleRequest.h
@@ -48,6 +50,8 @@ set(imagerecog_src
src/model/DetectFruitsResult.cc src/model/DetectFruitsResult.cc
src/model/DetectImageElementsRequest.cc src/model/DetectImageElementsRequest.cc
src/model/DetectImageElementsResult.cc src/model/DetectImageElementsResult.cc
src/model/EvaluateCertificateQualityRequest.cc
src/model/EvaluateCertificateQualityResult.cc
src/model/RecognizeImageColorRequest.cc src/model/RecognizeImageColorRequest.cc
src/model/RecognizeImageColorResult.cc src/model/RecognizeImageColorResult.cc
src/model/RecognizeImageStyleRequest.cc src/model/RecognizeImageStyleRequest.cc

View File

@@ -28,6 +28,8 @@
#include "model/DetectFruitsResult.h" #include "model/DetectFruitsResult.h"
#include "model/DetectImageElementsRequest.h" #include "model/DetectImageElementsRequest.h"
#include "model/DetectImageElementsResult.h" #include "model/DetectImageElementsResult.h"
#include "model/EvaluateCertificateQualityRequest.h"
#include "model/EvaluateCertificateQualityResult.h"
#include "model/RecognizeImageColorRequest.h" #include "model/RecognizeImageColorRequest.h"
#include "model/RecognizeImageColorResult.h" #include "model/RecognizeImageColorResult.h"
#include "model/RecognizeImageStyleRequest.h" #include "model/RecognizeImageStyleRequest.h"
@@ -58,6 +60,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DetectImageElementsResult> DetectImageElementsOutcome; typedef Outcome<Error, Model::DetectImageElementsResult> DetectImageElementsOutcome;
typedef std::future<DetectImageElementsOutcome> DetectImageElementsOutcomeCallable; typedef std::future<DetectImageElementsOutcome> DetectImageElementsOutcomeCallable;
typedef std::function<void(const ImagerecogClient*, const Model::DetectImageElementsRequest&, const DetectImageElementsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectImageElementsAsyncHandler; typedef std::function<void(const ImagerecogClient*, const Model::DetectImageElementsRequest&, const DetectImageElementsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectImageElementsAsyncHandler;
typedef Outcome<Error, Model::EvaluateCertificateQualityResult> EvaluateCertificateQualityOutcome;
typedef std::future<EvaluateCertificateQualityOutcome> EvaluateCertificateQualityOutcomeCallable;
typedef std::function<void(const ImagerecogClient*, const Model::EvaluateCertificateQualityRequest&, const EvaluateCertificateQualityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EvaluateCertificateQualityAsyncHandler;
typedef Outcome<Error, Model::RecognizeImageColorResult> RecognizeImageColorOutcome; typedef Outcome<Error, Model::RecognizeImageColorResult> RecognizeImageColorOutcome;
typedef std::future<RecognizeImageColorOutcome> RecognizeImageColorOutcomeCallable; typedef std::future<RecognizeImageColorOutcome> RecognizeImageColorOutcomeCallable;
typedef std::function<void(const ImagerecogClient*, const Model::RecognizeImageColorRequest&, const RecognizeImageColorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageColorAsyncHandler; typedef std::function<void(const ImagerecogClient*, const Model::RecognizeImageColorRequest&, const RecognizeImageColorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageColorAsyncHandler;
@@ -90,6 +95,9 @@ namespace AlibabaCloud
DetectImageElementsOutcome detectImageElements(const Model::DetectImageElementsRequest &request)const; DetectImageElementsOutcome detectImageElements(const Model::DetectImageElementsRequest &request)const;
void detectImageElementsAsync(const Model::DetectImageElementsRequest& request, const DetectImageElementsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void detectImageElementsAsync(const Model::DetectImageElementsRequest& request, const DetectImageElementsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectImageElementsOutcomeCallable detectImageElementsCallable(const Model::DetectImageElementsRequest& request) const; DetectImageElementsOutcomeCallable detectImageElementsCallable(const Model::DetectImageElementsRequest& request) const;
EvaluateCertificateQualityOutcome evaluateCertificateQuality(const Model::EvaluateCertificateQualityRequest &request)const;
void evaluateCertificateQualityAsync(const Model::EvaluateCertificateQualityRequest& request, const EvaluateCertificateQualityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EvaluateCertificateQualityOutcomeCallable evaluateCertificateQualityCallable(const Model::EvaluateCertificateQualityRequest& request) const;
RecognizeImageColorOutcome recognizeImageColor(const Model::RecognizeImageColorRequest &request)const; RecognizeImageColorOutcome recognizeImageColor(const Model::RecognizeImageColorRequest &request)const;
void recognizeImageColorAsync(const Model::RecognizeImageColorRequest& request, const RecognizeImageColorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void recognizeImageColorAsync(const Model::RecognizeImageColorRequest& request, const RecognizeImageColorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecognizeImageColorOutcomeCallable recognizeImageColorCallable(const Model::RecognizeImageColorRequest& request) const; RecognizeImageColorOutcomeCallable recognizeImageColorCallable(const Model::RecognizeImageColorRequest& request) const;

View 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.
*/
#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_
#define ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imagerecog/ImagerecogExport.h>
namespace AlibabaCloud
{
namespace Imagerecog
{
namespace Model
{
class ALIBABACLOUD_IMAGERECOG_EXPORT EvaluateCertificateQualityRequest : public RpcServiceRequest
{
public:
EvaluateCertificateQualityRequest();
~EvaluateCertificateQualityRequest();
std::string getType()const;
void setType(const std::string& type);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string type_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYRESULT_H_
#define ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imagerecog/ImagerecogExport.h>
namespace AlibabaCloud
{
namespace Imagerecog
{
namespace Model
{
class ALIBABACLOUD_IMAGERECOG_EXPORT EvaluateCertificateQualityResult : public ServiceResult
{
public:
struct Data
{
struct Element
{
std::string score;
std::string pass;
std::string value;
};
std::vector<Element> elements;
};
EvaluateCertificateQualityResult();
explicit EvaluateCertificateQualityResult(const std::string &payload);
~EvaluateCertificateQualityResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYRESULT_H_

View File

@@ -159,6 +159,42 @@ ImagerecogClient::DetectImageElementsOutcomeCallable ImagerecogClient::detectIma
return task->get_future(); return task->get_future();
} }
ImagerecogClient::EvaluateCertificateQualityOutcome ImagerecogClient::evaluateCertificateQuality(const EvaluateCertificateQualityRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return EvaluateCertificateQualityOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return EvaluateCertificateQualityOutcome(EvaluateCertificateQualityResult(outcome.result()));
else
return EvaluateCertificateQualityOutcome(outcome.error());
}
void ImagerecogClient::evaluateCertificateQualityAsync(const EvaluateCertificateQualityRequest& request, const EvaluateCertificateQualityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, evaluateCertificateQuality(request), context);
};
asyncExecute(new Runnable(fn));
}
ImagerecogClient::EvaluateCertificateQualityOutcomeCallable ImagerecogClient::evaluateCertificateQualityCallable(const EvaluateCertificateQualityRequest &request) const
{
auto task = std::make_shared<std::packaged_task<EvaluateCertificateQualityOutcome()>>(
[this, request]()
{
return this->evaluateCertificateQuality(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImagerecogClient::RecognizeImageColorOutcome ImagerecogClient::recognizeImageColor(const RecognizeImageColorRequest &request) const ImagerecogClient::RecognizeImageColorOutcome ImagerecogClient::recognizeImageColor(const RecognizeImageColorRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();

View 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/imagerecog/model/EvaluateCertificateQualityRequest.h>
using AlibabaCloud::Imagerecog::Model::EvaluateCertificateQualityRequest;
EvaluateCertificateQualityRequest::EvaluateCertificateQualityRequest() :
RpcServiceRequest("imagerecog", "2019-09-30", "EvaluateCertificateQuality")
{
setMethod(HttpRequest::Method::Post);
}
EvaluateCertificateQualityRequest::~EvaluateCertificateQualityRequest()
{}
std::string EvaluateCertificateQualityRequest::getType()const
{
return type_;
}
void EvaluateCertificateQualityRequest::setType(const std::string& type)
{
type_ = type;
setBodyParameter("Type", type);
}
std::string EvaluateCertificateQualityRequest::getImageURL()const
{
return imageURL_;
}
void EvaluateCertificateQualityRequest::setImageURL(const std::string& imageURL)
{
imageURL_ = imageURL;
setBodyParameter("ImageURL", imageURL);
}

View File

@@ -0,0 +1,62 @@
/*
* 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/imagerecog/model/EvaluateCertificateQualityResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imagerecog;
using namespace AlibabaCloud::Imagerecog::Model;
EvaluateCertificateQualityResult::EvaluateCertificateQualityResult() :
ServiceResult()
{}
EvaluateCertificateQualityResult::EvaluateCertificateQualityResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EvaluateCertificateQualityResult::~EvaluateCertificateQualityResult()
{}
void EvaluateCertificateQualityResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
auto allElementsNode = dataNode["Elements"]["Element"];
for (auto dataNodeElementsElement : allElementsNode)
{
Data::Element elementObject;
if(!dataNodeElementsElement["Value"].isNull())
elementObject.value = dataNodeElementsElement["Value"].asString();
if(!dataNodeElementsElement["Pass"].isNull())
elementObject.pass = dataNodeElementsElement["Pass"].asString();
if(!dataNodeElementsElement["Score"].isNull())
elementObject.score = dataNodeElementsElement["Score"].asString();
data_.elements.push_back(elementObject);
}
}
EvaluateCertificateQualityResult::Data EvaluateCertificateQualityResult::getData()const
{
return data_;
}

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
SegmentFoodRequest(); SegmentFoodRequest();
~SegmentFoodRequest(); ~SegmentFoodRequest();
std::string getReturnForm()const;
void setReturnForm(const std::string& returnForm);
std::string getImageURL()const; std::string getImageURL()const;
void setImageURL(const std::string& imageURL); void setImageURL(const std::string& imageURL);
private: private:
std::string returnForm_;
std::string imageURL_; std::string imageURL_;
}; };

View File

@@ -27,6 +27,17 @@ SegmentFoodRequest::SegmentFoodRequest() :
SegmentFoodRequest::~SegmentFoodRequest() SegmentFoodRequest::~SegmentFoodRequest()
{} {}
std::string SegmentFoodRequest::getReturnForm()const
{
return returnForm_;
}
void SegmentFoodRequest::setReturnForm(const std::string& returnForm)
{
returnForm_ = returnForm;
setParameter("ReturnForm", returnForm);
}
std::string SegmentFoodRequest::getImageURL()const std::string SegmentFoodRequest::getImageURL()const
{ {
return imageURL_; return imageURL_;

View File

@@ -41,8 +41,6 @@ namespace AlibabaCloud
void setDomainName(const std::string& domainName); void setDomainName(const std::string& domainName);
long getOwnerId()const; long getOwnerId()const;
void setOwnerId(long ownerId); void setOwnerId(long ownerId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const; std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken); void setSecurityToken(const std::string& securityToken);
@@ -50,7 +48,6 @@ namespace AlibabaCloud
std::string ownerAccount_; std::string ownerAccount_;
std::string domainName_; std::string domainName_;
long ownerId_; long ownerId_;
std::string resourceGroupId_;
std::string securityToken_; std::string securityToken_;
}; };

View File

@@ -35,22 +35,19 @@ namespace AlibabaCloud
DescribeScdnDomainTopReferVisitRequest(); DescribeScdnDomainTopReferVisitRequest();
~DescribeScdnDomainTopReferVisitRequest(); ~DescribeScdnDomainTopReferVisitRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getStartTime()const; std::string getStartTime()const;
void setStartTime(const std::string& startTime); void setStartTime(const std::string& startTime);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const; long getOwnerId()const;
void setOwnerId(long ownerId); void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getSortBy()const; std::string getSortBy()const;
void setSortBy(const std::string& sortBy); void setSortBy(const std::string& sortBy);
private: private:
std::string domainName_;
std::string startTime_; std::string startTime_;
std::string domainName_;
long ownerId_; long ownerId_;
std::string securityToken_;
std::string sortBy_; std::string sortBy_;
}; };

View File

@@ -60,17 +60,6 @@ void DeleteScdnDomainRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(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 std::string DeleteScdnDomainRequest::getSecurityToken()const
{ {
return securityToken_; return securityToken_;

View File

@@ -27,17 +27,6 @@ DescribeScdnDomainTopReferVisitRequest::DescribeScdnDomainTopReferVisitRequest()
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 std::string DescribeScdnDomainTopReferVisitRequest::getStartTime()const
{ {
return startTime_; return startTime_;
@@ -49,6 +38,17 @@ void DescribeScdnDomainTopReferVisitRequest::setStartTime(const std::string& sta
setParameter("StartTime", startTime); 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 long DescribeScdnDomainTopReferVisitRequest::getOwnerId()const
{ {
return ownerId_; return ownerId_;
@@ -60,17 +60,6 @@ void DescribeScdnDomainTopReferVisitRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(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 std::string DescribeScdnDomainTopReferVisitRequest::getSortBy()const
{ {
return sortBy_; return sortBy_;

190
servicemesh/CMakeLists.txt Normal file
View 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}
)

View 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_

View File

@@ -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_

View 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.
*/
#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_

View File

@@ -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_

View File

@@ -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_

View 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.
*/
#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_

Some files were not shown because too many files have changed in this diff Show More