Compare commits

..

53 Commits

Author SHA1 Message Date
sdk-team
d116ee704e 发布资源清单下载、高级搜索、合规趋势统计等API. 2023-08-09 06:14:18 +00:00
sdk-team
dc51303f2d Update API ListGrantVSwitchEnis. 2023-08-08 08:00:54 +00:00
sdk-team
fbae89fed4 Generated 2016-11-01 for live. 2023-08-08 06:05:38 +00:00
sdk-team
c994b2d439 Automatically generate sdk tasks. 2023-08-03 15:00:31 +00:00
sdk-team
4b160fe6b9 Support region id. 2023-08-03 06:19:27 +00:00
sdk-team
80ac7ed0e9 Fixed bug. 2023-08-02 15:03:49 +00:00
sdk-team
ebfee1c7e2 Support tag policy. 2023-08-02 07:56:14 +00:00
sdk-team
a174c41ddf -Fix return message field type 2023-08-02 02:39:37 +00:00
sdk-team
a3f04022fb Add Cloud Disk Encryption. 2023-08-02 01:59:44 +00:00
sdk-team
c5e8e9a8a8 -Fix return message field type 2023-08-02 01:59:00 +00:00
sdk-team
12a2e32e06 Support new feature. 2023-08-02 01:17:11 +00:00
sdk-team
2d217f2e0a Support new feature. 2023-08-02 00:57:50 +00:00
sdk-team
f566854e2d Update by SDK platform. 2023-08-01 09:22:50 +00:00
sdk-team
7a7f0e03f4 Support resoruce group id. 2023-08-01 08:23:05 +00:00
sdk-team
f0a60662c9 CreateLaunchTemplate, CreateLaunchTemplateVersion, DescribeLaunchTemplateVersions support DeletionProtection. 2023-08-01 07:48:37 +00:00
sdk-team
bce94a0fa4 Initialize SDK. 2023-08-01 06:40:39 +00:00
sdk-team
a09f60b542 Support resource group id. 2023-08-01 02:27:43 +00:00
sdk-team
ffcef0ce25 Support resourcegroup id. 2023-08-01 02:13:22 +00:00
sdk-team
2e1100f951 Fix bug ram. 2023-07-31 15:05:30 +00:00
sdk-team
eb44ad4062 -2d create 2023-07-31 02:03:32 +00:00
sdk-team
66de4e8991 Fix bug ram. 2023-07-30 15:05:15 +00:00
sdk-team
5d7ae98e8e Fix bug ram. 2023-07-29 15:05:16 +00:00
sdk-team
f8eda875a8 Fix bug ram. 2023-07-28 15:05:07 +00:00
sdk-team
e30bdd65ae Add ErrorCode. 2023-07-28 03:58:24 +00:00
sdk-team
e660f66f68 PatchBaseline Support Tags. 2023-07-28 03:43:38 +00:00
sdk-team
1dddf4ace0 Update SDK version. 2023-07-28 01:54:20 +00:00
sdk-team
66256a0ae2 Update SDK version. 2023-07-28 01:49:53 +00:00
sdk-team
627569cd6f Fix bug ram. 2023-07-27 15:05:19 +00:00
sdk-team
0dc755cf75 Generated 2020-03-31 for ResourceManager. 2023-07-27 03:07:02 +00:00
sdk-team
4f190c1040 Support new feature. 2023-07-26 10:58:39 +00:00
sdk-team
5ba3ade3e4 Support new feature. 2023-07-26 07:47:33 +00:00
sdk-team
9c0b9836df Support new feature. 2023-07-26 01:42:08 +00:00
sdk-team
b36d89300a Add error code. 2023-07-25 15:05:21 +00:00
sdk-team
7a982f08e6 Parameter changes in SubmitServerlessJob. 2023-07-25 10:34:33 +00:00
sdk-team
08ad4ba807 PatchBaseline Support Tags. 2023-07-25 09:55:45 +00:00
sdk-team
38c284599d Add error code. 2023-07-24 15:05:09 +00:00
sdk-team
d54cb68653 Support Latest APIs. 2023-07-24 07:18:01 +00:00
sdk-team
00e697671e Add GetGraphQueryTemplates. 2023-07-24 01:51:58 +00:00
sdk-team
140a213eec Fix 500 for CreateOrder. 2023-07-23 15:05:17 +00:00
sdk-team
8e6985b46b Fix 500 for CreateOrder. 2023-07-22 15:05:21 +00:00
sdk-team
bfc89d1cc7 Fix 500 for CreateOrder. 2023-07-21 15:05:43 +00:00
sdk-team
72203af302 Support new feature. 2023-07-21 03:02:54 +00:00
sdk-team
34fb460e40 Fix bug of lack fill resourceOwnerId in DescribeHostWebshell. 2023-07-20 15:03:45 +00:00
sdk-team
0efc4956ec Support rd sdk. 2023-07-20 10:26:07 +00:00
sdk-team
ba9b236957 Support new api about model training. 2023-07-20 08:55:27 +00:00
sdk-team
d17a79e8b6 Support clouddisk API. 2023-07-20 06:23:55 +00:00
sdk-team
450eed667b Parameter changes in ListServerlessJobs and DescribeServerlessJobs. 2023-07-20 02:53:11 +00:00
sdk-team
daf3dcd2b0 Add openapis for whitelist template. 2023-07-19 15:05:51 +00:00
sdk-team
c8936fb4cf Support new feature. 2023-07-19 11:05:39 +00:00
sdk-team
410b5a1a3e Add new apis. 2023-07-19 09:03:42 +00:00
sdk-team
1754f90722 Update SDK version. 2023-07-19 08:51:22 +00:00
sdk-team
17088253be Update SDK version. 2023-07-19 08:46:26 +00:00
sdk-team
2dcd1b2f62 Supported RDS PostgreSQL manage extensions. 2023-07-18 15:05:24 +00:00
1752 changed files with 72880 additions and 45333 deletions

View File

@@ -1 +1 @@
1.36.1663
1.36.1716

View File

@@ -28,6 +28,10 @@ namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT CreateDBClusterRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreateDBClusterRequest();
~CreateDBClusterRequest();
long getResourceOwnerId() const;
@@ -40,6 +44,8 @@ public:
void setMode(const std::string &mode);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getPeriod() const;
void setPeriod(const std::string &period);
std::string getBackupSetID() const;
@@ -99,6 +105,7 @@ private:
std::string storageType_;
std::string mode_;
std::string resourceGroupId_;
std::vector<Tag> tag_;
std::string period_;
std::string backupSetID_;
long ownerId_;

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
@@ -56,6 +58,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;

View File

@@ -40,6 +40,8 @@ public:
void setPageNumber(int pageNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getState() const;
@@ -65,6 +67,7 @@ private:
std::string startTime_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string state_;
std::string order_;

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getTaskId() const;
void setTaskId(int taskId);
std::string getResourceOwnerAccount() const;
@@ -48,6 +50,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
int taskId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getEnableBackupLog() const;
void setEnableBackupLog(const std::string &enableBackupLog);
std::string getResourceOwnerAccount() const;
@@ -50,6 +52,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string enableBackupLog_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getSwitchTime() const;
@@ -50,6 +52,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string switchTime_;
std::string resourceOwnerAccount_;

View File

@@ -70,6 +70,20 @@ void CreateDBClusterRequest::setResourceGroupId(const std::string &resourceGroup
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
std::vector<CreateDBClusterRequest::Tag> CreateDBClusterRequest::getTag() const {
return tag_;
}
void CreateDBClusterRequest::setTag(const std::vector<CreateDBClusterRequest::Tag> &tag) {
tag_ = tag;
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::string CreateDBClusterRequest::getPeriod() const {
return period_;
}

View File

@@ -43,6 +43,15 @@ void DescribeEIURangeRequest::setAccessKeyId(const std::string &accessKeyId) {
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string DescribeEIURangeRequest::getResourceGroupId() const {
return resourceGroupId_;
}
void DescribeEIURangeRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
std::string DescribeEIURangeRequest::getRegionId() const {
return regionId_;
}

View File

@@ -70,6 +70,15 @@ void DescribeLoadTasksRecordsRequest::setAccessKeyId(const std::string &accessKe
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string DescribeLoadTasksRecordsRequest::getRegionId() const {
return regionId_;
}
void DescribeLoadTasksRecordsRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
int DescribeLoadTasksRecordsRequest::getPageSize() const {
return pageSize_;
}

View File

@@ -43,6 +43,15 @@ void DescribeTaskInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string DescribeTaskInfoRequest::getRegionId() const {
return regionId_;
}
void DescribeTaskInfoRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
int DescribeTaskInfoRequest::getTaskId() const {
return taskId_;
}

View File

@@ -43,6 +43,15 @@ void ModifyLogBackupPolicyRequest::setAccessKeyId(const std::string &accessKeyId
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string ModifyLogBackupPolicyRequest::getResourceGroupId() const {
return resourceGroupId_;
}
void ModifyLogBackupPolicyRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
std::string ModifyLogBackupPolicyRequest::getEnableBackupLog() const {
return enableBackupLog_;
}

View File

@@ -43,6 +43,15 @@ void ModifyMaintenanceActionRequest::setAccessKeyId(const std::string &accessKey
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string ModifyMaintenanceActionRequest::getResourceGroupId() const {
return resourceGroupId_;
}
void ModifyMaintenanceActionRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
std::string ModifyMaintenanceActionRequest::getRegionId() const {
return regionId_;
}

View File

@@ -68,13 +68,18 @@ namespace AlibabaCloud
struct LoadBalancerAddress
{
std::string intranetAddress;
std::string intranetAddressHcStatus;
std::string address;
std::string allocationId;
std::string ipv6AddressHcStatus;
std::string eipType;
std::string ipv6Address;
};
std::string status;
std::string zoneId;
std::string vSwitchId;
std::string allocationId;
std::string eipType;
std::vector<ZoneMapping::LoadBalancerAddress> loadBalancerAddresses;
};

View File

@@ -67,6 +67,12 @@ void GetLoadBalancerAttributeResult::parse(const std::string &payload)
zoneMappingsObject.vSwitchId = valueZoneMappingsZoneMapping["VSwitchId"].asString();
if(!valueZoneMappingsZoneMapping["ZoneId"].isNull())
zoneMappingsObject.zoneId = valueZoneMappingsZoneMapping["ZoneId"].asString();
if(!valueZoneMappingsZoneMapping["Status"].isNull())
zoneMappingsObject.status = valueZoneMappingsZoneMapping["Status"].asString();
if(!valueZoneMappingsZoneMapping["AllocationId"].isNull())
zoneMappingsObject.allocationId = valueZoneMappingsZoneMapping["AllocationId"].asString();
if(!valueZoneMappingsZoneMapping["EipType"].isNull())
zoneMappingsObject.eipType = valueZoneMappingsZoneMapping["EipType"].asString();
auto allLoadBalancerAddressesNode = valueZoneMappingsZoneMapping["LoadBalancerAddresses"]["LoadBalancerAddress"];
for (auto valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress : allLoadBalancerAddressesNode)
{
@@ -75,8 +81,12 @@ void GetLoadBalancerAttributeResult::parse(const std::string &payload)
loadBalancerAddressesObject.address = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Address"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6Address"].isNull())
loadBalancerAddressesObject.ipv6Address = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6Address"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6AddressHcStatus"].isNull())
loadBalancerAddressesObject.ipv6AddressHcStatus = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6AddressHcStatus"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddress"].isNull())
loadBalancerAddressesObject.intranetAddress = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddress"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddressHcStatus"].isNull())
loadBalancerAddressesObject.intranetAddressHcStatus = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddressHcStatus"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["AllocationId"].isNull())
loadBalancerAddressesObject.allocationId = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["AllocationId"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["EipType"].isNull())

View File

@@ -25,6 +25,10 @@ set(avatar_public_header_model
include/alibabacloud/avatar/model/CancelVideoTaskResult.h
include/alibabacloud/avatar/model/CloseTimedResetOperateRequest.h
include/alibabacloud/avatar/model/CloseTimedResetOperateResult.h
include/alibabacloud/avatar/model/Create2dAvatarRequest.h
include/alibabacloud/avatar/model/Create2dAvatarResult.h
include/alibabacloud/avatar/model/DeleteAvatarRequest.h
include/alibabacloud/avatar/model/DeleteAvatarResult.h
include/alibabacloud/avatar/model/DuplexDecisionRequest.h
include/alibabacloud/avatar/model/DuplexDecisionResult.h
include/alibabacloud/avatar/model/GetVideoTaskInfoRequest.h
@@ -60,7 +64,9 @@ set(avatar_public_header_model
include/alibabacloud/avatar/model/SubmitTextTo2DAvatarVideoTaskRequest.h
include/alibabacloud/avatar/model/SubmitTextTo2DAvatarVideoTaskResult.h
include/alibabacloud/avatar/model/SubmitTextTo3DAvatarVideoTaskRequest.h
include/alibabacloud/avatar/model/SubmitTextTo3DAvatarVideoTaskResult.h )
include/alibabacloud/avatar/model/SubmitTextTo3DAvatarVideoTaskResult.h
include/alibabacloud/avatar/model/Update2dAvatarRequest.h
include/alibabacloud/avatar/model/Update2dAvatarResult.h )
set(avatar_src
src/AvatarClient.cc
@@ -68,6 +74,10 @@ set(avatar_src
src/model/CancelVideoTaskResult.cc
src/model/CloseTimedResetOperateRequest.cc
src/model/CloseTimedResetOperateResult.cc
src/model/Create2dAvatarRequest.cc
src/model/Create2dAvatarResult.cc
src/model/DeleteAvatarRequest.cc
src/model/DeleteAvatarResult.cc
src/model/DuplexDecisionRequest.cc
src/model/DuplexDecisionResult.cc
src/model/GetVideoTaskInfoRequest.cc
@@ -103,7 +113,9 @@ set(avatar_src
src/model/SubmitTextTo2DAvatarVideoTaskRequest.cc
src/model/SubmitTextTo2DAvatarVideoTaskResult.cc
src/model/SubmitTextTo3DAvatarVideoTaskRequest.cc
src/model/SubmitTextTo3DAvatarVideoTaskResult.cc )
src/model/SubmitTextTo3DAvatarVideoTaskResult.cc
src/model/Update2dAvatarRequest.cc
src/model/Update2dAvatarResult.cc )
add_library(avatar ${LIB_TYPE}
${avatar_public_header}

View File

@@ -26,6 +26,10 @@
#include "model/CancelVideoTaskResult.h"
#include "model/CloseTimedResetOperateRequest.h"
#include "model/CloseTimedResetOperateResult.h"
#include "model/Create2dAvatarRequest.h"
#include "model/Create2dAvatarResult.h"
#include "model/DeleteAvatarRequest.h"
#include "model/DeleteAvatarResult.h"
#include "model/DuplexDecisionRequest.h"
#include "model/DuplexDecisionResult.h"
#include "model/GetVideoTaskInfoRequest.h"
@@ -62,6 +66,8 @@
#include "model/SubmitTextTo2DAvatarVideoTaskResult.h"
#include "model/SubmitTextTo3DAvatarVideoTaskRequest.h"
#include "model/SubmitTextTo3DAvatarVideoTaskResult.h"
#include "model/Update2dAvatarRequest.h"
#include "model/Update2dAvatarResult.h"
namespace AlibabaCloud
@@ -77,6 +83,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CloseTimedResetOperateResult> CloseTimedResetOperateOutcome;
typedef std::future<CloseTimedResetOperateOutcome> CloseTimedResetOperateOutcomeCallable;
typedef std::function<void(const AvatarClient*, const Model::CloseTimedResetOperateRequest&, const CloseTimedResetOperateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseTimedResetOperateAsyncHandler;
typedef Outcome<Error, Model::Create2dAvatarResult> Create2dAvatarOutcome;
typedef std::future<Create2dAvatarOutcome> Create2dAvatarOutcomeCallable;
typedef std::function<void(const AvatarClient*, const Model::Create2dAvatarRequest&, const Create2dAvatarOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> Create2dAvatarAsyncHandler;
typedef Outcome<Error, Model::DeleteAvatarResult> DeleteAvatarOutcome;
typedef std::future<DeleteAvatarOutcome> DeleteAvatarOutcomeCallable;
typedef std::function<void(const AvatarClient*, const Model::DeleteAvatarRequest&, const DeleteAvatarOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAvatarAsyncHandler;
typedef Outcome<Error, Model::DuplexDecisionResult> DuplexDecisionOutcome;
typedef std::future<DuplexDecisionOutcome> DuplexDecisionOutcomeCallable;
typedef std::function<void(const AvatarClient*, const Model::DuplexDecisionRequest&, const DuplexDecisionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DuplexDecisionAsyncHandler;
@@ -131,6 +143,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SubmitTextTo3DAvatarVideoTaskResult> SubmitTextTo3DAvatarVideoTaskOutcome;
typedef std::future<SubmitTextTo3DAvatarVideoTaskOutcome> SubmitTextTo3DAvatarVideoTaskOutcomeCallable;
typedef std::function<void(const AvatarClient*, const Model::SubmitTextTo3DAvatarVideoTaskRequest&, const SubmitTextTo3DAvatarVideoTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitTextTo3DAvatarVideoTaskAsyncHandler;
typedef Outcome<Error, Model::Update2dAvatarResult> Update2dAvatarOutcome;
typedef std::future<Update2dAvatarOutcome> Update2dAvatarOutcomeCallable;
typedef std::function<void(const AvatarClient*, const Model::Update2dAvatarRequest&, const Update2dAvatarOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> Update2dAvatarAsyncHandler;
AvatarClient(const Credentials &credentials, const ClientConfiguration &configuration);
AvatarClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -142,6 +157,12 @@ namespace AlibabaCloud
CloseTimedResetOperateOutcome closeTimedResetOperate(const Model::CloseTimedResetOperateRequest &request)const;
void closeTimedResetOperateAsync(const Model::CloseTimedResetOperateRequest& request, const CloseTimedResetOperateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseTimedResetOperateOutcomeCallable closeTimedResetOperateCallable(const Model::CloseTimedResetOperateRequest& request) const;
Create2dAvatarOutcome create2dAvatar(const Model::Create2dAvatarRequest &request)const;
void create2dAvatarAsync(const Model::Create2dAvatarRequest& request, const Create2dAvatarAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
Create2dAvatarOutcomeCallable create2dAvatarCallable(const Model::Create2dAvatarRequest& request) const;
DeleteAvatarOutcome deleteAvatar(const Model::DeleteAvatarRequest &request)const;
void deleteAvatarAsync(const Model::DeleteAvatarRequest& request, const DeleteAvatarAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAvatarOutcomeCallable deleteAvatarCallable(const Model::DeleteAvatarRequest& request) const;
DuplexDecisionOutcome duplexDecision(const Model::DuplexDecisionRequest &request)const;
void duplexDecisionAsync(const Model::DuplexDecisionRequest& request, const DuplexDecisionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DuplexDecisionOutcomeCallable duplexDecisionCallable(const Model::DuplexDecisionRequest& request) const;
@@ -196,6 +217,9 @@ namespace AlibabaCloud
SubmitTextTo3DAvatarVideoTaskOutcome submitTextTo3DAvatarVideoTask(const Model::SubmitTextTo3DAvatarVideoTaskRequest &request)const;
void submitTextTo3DAvatarVideoTaskAsync(const Model::SubmitTextTo3DAvatarVideoTaskRequest& request, const SubmitTextTo3DAvatarVideoTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitTextTo3DAvatarVideoTaskOutcomeCallable submitTextTo3DAvatarVideoTaskCallable(const Model::SubmitTextTo3DAvatarVideoTaskRequest& request) const;
Update2dAvatarOutcome update2dAvatar(const Model::Update2dAvatarRequest &request)const;
void update2dAvatarAsync(const Model::Update2dAvatarRequest& request, const Update2dAvatarAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
Update2dAvatarOutcomeCallable update2dAvatarCallable(const Model::Update2dAvatarRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

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_AVATAR_MODEL_CREATE2DAVATARREQUEST_H_
#define ALIBABACLOUD_AVATAR_MODEL_CREATE2DAVATARREQUEST_H_
#include <alibabacloud/avatar/AvatarExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Avatar {
namespace Model {
class ALIBABACLOUD_AVATAR_EXPORT Create2dAvatarRequest : public RpcServiceRequest {
public:
Create2dAvatarRequest();
~Create2dAvatarRequest();
std::string getImage() const;
void setImage(const std::string &image);
int getOrientation() const;
void setOrientation(int orientation);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getVideo() const;
void setVideo(const std::string &video);
std::string getPortrait() const;
void setPortrait(const std::string &portrait);
std::string getExtParams() const;
void setExtParams(const std::string &extParams);
bool getTransparent() const;
void setTransparent(bool transparent);
std::string getCallbackParams() const;
void setCallbackParams(const std::string &callbackParams);
long getTenantId() const;
void setTenantId(long tenantId);
std::string getName() const;
void setName(const std::string &name);
std::string getExtParams_CLS() const;
void setExtParams_CLS(const std::string &extParams_CLS);
bool getCallback() const;
void setCallback(bool callback);
std::string getCallbackParams_CLS() const;
void setCallbackParams_CLS(const std::string &callbackParams_CLS);
private:
std::string image_;
int orientation_;
std::string description_;
std::string video_;
std::string portrait_;
std::string extParams_;
bool transparent_;
std::string callbackParams_;
long tenantId_;
std::string name_;
std::string extParams_CLS_;
bool callback_;
std::string callbackParams_CLS_;
};
} // namespace Model
} // namespace Avatar
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_AVATAR_MODEL_CREATE2DAVATARREQUEST_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_AVATAR_MODEL_CREATE2DAVATARRESULT_H_
#define ALIBABACLOUD_AVATAR_MODEL_CREATE2DAVATARRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/avatar/AvatarExport.h>
namespace AlibabaCloud
{
namespace Avatar
{
namespace Model
{
class ALIBABACLOUD_AVATAR_EXPORT Create2dAvatarResult : public ServiceResult
{
public:
struct Data
{
std::string code;
};
Create2dAvatarResult();
explicit Create2dAvatarResult(const std::string &payload);
~Create2dAvatarResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_AVATAR_MODEL_CREATE2DAVATARRESULT_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_AVATAR_MODEL_DELETEAVATARREQUEST_H_
#define ALIBABACLOUD_AVATAR_MODEL_DELETEAVATARREQUEST_H_
#include <alibabacloud/avatar/AvatarExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Avatar {
namespace Model {
class ALIBABACLOUD_AVATAR_EXPORT DeleteAvatarRequest : public RpcServiceRequest {
public:
DeleteAvatarRequest();
~DeleteAvatarRequest();
std::string getCode() const;
void setCode(const std::string &code);
long getTenantId() const;
void setTenantId(long tenantId);
std::string getExtParams_CLS() const;
void setExtParams_CLS(const std::string &extParams_CLS);
std::string getExtParams() const;
void setExtParams(const std::string &extParams);
private:
std::string code_;
long tenantId_;
std::string extParams_CLS_;
std::string extParams_;
};
} // namespace Model
} // namespace Avatar
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_AVATAR_MODEL_DELETEAVATARREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_AVATAR_MODEL_DELETEAVATARRESULT_H_
#define ALIBABACLOUD_AVATAR_MODEL_DELETEAVATARRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/avatar/AvatarExport.h>
namespace AlibabaCloud
{
namespace Avatar
{
namespace Model
{
class ALIBABACLOUD_AVATAR_EXPORT DeleteAvatarResult : public ServiceResult
{
public:
DeleteAvatarResult();
explicit DeleteAvatarResult(const std::string &payload);
~DeleteAvatarResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_AVATAR_MODEL_DELETEAVATARRESULT_H_

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
struct TaskResult
{
std::string alphaUrl;
int videoDuration;
std::string failCode;
std::string subtitlesUrl;

View File

@@ -38,12 +38,18 @@ public:
void setTenantId(long tenantId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getExtParams_CLS() const;
void setExtParams_CLS(const std::string &extParams_CLS);
std::string getExtParams() const;
void setExtParams(const std::string &extParams);
private:
std::string modelType_;
int pageNo_;
long tenantId_;
int pageSize_;
std::string extParams_CLS_;
std::string extParams_;
};
} // namespace Model
} // namespace Avatar

View File

@@ -58,9 +58,11 @@ namespace AlibabaCloud
std::string portrait;
std::string avatarType;
std::string modelType;
std::string makeStatus;
std::string image;
std::string code;
std::string name;
std::string makeFailReason;
};
int totalCount;
int pageSize;

View File

@@ -34,10 +34,16 @@ public:
void setCode(const std::string &code);
long getTenantId() const;
void setTenantId(long tenantId);
std::string getExtParams_CLS() const;
void setExtParams_CLS(const std::string &extParams_CLS);
std::string getExtParams() const;
void setExtParams(const std::string &extParams);
private:
std::string code_;
long tenantId_;
std::string extParams_CLS_;
std::string extParams_;
};
} // namespace Model
} // namespace Avatar

View File

@@ -56,8 +56,10 @@ namespace AlibabaCloud
std::string portrait;
std::string modelType;
std::string avatarType;
std::string makeStatus;
std::string image;
std::string name;
std::string makeFailReason;
};

View File

@@ -44,7 +44,7 @@ namespace AlibabaCloud
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
std::string getSuccess()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
@@ -52,7 +52,7 @@ namespace AlibabaCloud
std::string message_;
Data data_;
std::string code_;
std::string success_;
bool success_;
};
}

View File

@@ -44,7 +44,7 @@ namespace AlibabaCloud
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
std::string getSuccess()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
@@ -52,7 +52,7 @@ namespace AlibabaCloud
std::string message_;
Data data_;
std::string code_;
std::string success_;
bool success_;
};
}

View File

@@ -44,6 +44,7 @@ public:
bool isAlpha;
std::string backgroundImageUrl;
bool isSubtitles;
bool subtitleEmbedded;
int resolution;
int alphaFormat;
};

View File

@@ -47,6 +47,7 @@ public:
bool isAlpha;
std::string backgroundImageUrl;
bool isSubtitles;
bool subtitleEmbedded;
int resolution;
int alphaFormat;
};

View File

@@ -0,0 +1,81 @@
/*
* 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_AVATAR_MODEL_UPDATE2DAVATARREQUEST_H_
#define ALIBABACLOUD_AVATAR_MODEL_UPDATE2DAVATARREQUEST_H_
#include <alibabacloud/avatar/AvatarExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Avatar {
namespace Model {
class ALIBABACLOUD_AVATAR_EXPORT Update2dAvatarRequest : public RpcServiceRequest {
public:
Update2dAvatarRequest();
~Update2dAvatarRequest();
std::string getImage() const;
void setImage(const std::string &image);
int getOrientation() const;
void setOrientation(int orientation);
std::string getCode() const;
void setCode(const std::string &code);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getVideo() const;
void setVideo(const std::string &video);
std::string getPortrait() const;
void setPortrait(const std::string &portrait);
std::string getExtParams() const;
void setExtParams(const std::string &extParams);
bool getTransparent() const;
void setTransparent(bool transparent);
std::string getCallbackParams() const;
void setCallbackParams(const std::string &callbackParams);
long getTenantId() const;
void setTenantId(long tenantId);
std::string getName() const;
void setName(const std::string &name);
std::string getExtParams_CLS() const;
void setExtParams_CLS(const std::string &extParams_CLS);
bool getCallback() const;
void setCallback(bool callback);
std::string getCallbackParams_CLS() const;
void setCallbackParams_CLS(const std::string &callbackParams_CLS);
private:
std::string image_;
int orientation_;
std::string code_;
std::string description_;
std::string video_;
std::string portrait_;
std::string extParams_;
bool transparent_;
std::string callbackParams_;
long tenantId_;
std::string name_;
std::string extParams_CLS_;
bool callback_;
std::string callbackParams_CLS_;
};
} // namespace Model
} // namespace Avatar
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_AVATAR_MODEL_UPDATE2DAVATARREQUEST_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_AVATAR_MODEL_UPDATE2DAVATARRESULT_H_
#define ALIBABACLOUD_AVATAR_MODEL_UPDATE2DAVATARRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/avatar/AvatarExport.h>
namespace AlibabaCloud
{
namespace Avatar
{
namespace Model
{
class ALIBABACLOUD_AVATAR_EXPORT Update2dAvatarResult : public ServiceResult
{
public:
struct Data
{
std::string code;
};
Update2dAvatarResult();
explicit Update2dAvatarResult(const std::string &payload);
~Update2dAvatarResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_AVATAR_MODEL_UPDATE2DAVATARRESULT_H_

View File

@@ -123,6 +123,78 @@ AvatarClient::CloseTimedResetOperateOutcomeCallable AvatarClient::closeTimedRese
return task->get_future();
}
AvatarClient::Create2dAvatarOutcome AvatarClient::create2dAvatar(const Create2dAvatarRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return Create2dAvatarOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return Create2dAvatarOutcome(Create2dAvatarResult(outcome.result()));
else
return Create2dAvatarOutcome(outcome.error());
}
void AvatarClient::create2dAvatarAsync(const Create2dAvatarRequest& request, const Create2dAvatarAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, create2dAvatar(request), context);
};
asyncExecute(new Runnable(fn));
}
AvatarClient::Create2dAvatarOutcomeCallable AvatarClient::create2dAvatarCallable(const Create2dAvatarRequest &request) const
{
auto task = std::make_shared<std::packaged_task<Create2dAvatarOutcome()>>(
[this, request]()
{
return this->create2dAvatar(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AvatarClient::DeleteAvatarOutcome AvatarClient::deleteAvatar(const DeleteAvatarRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteAvatarOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteAvatarOutcome(DeleteAvatarResult(outcome.result()));
else
return DeleteAvatarOutcome(outcome.error());
}
void AvatarClient::deleteAvatarAsync(const DeleteAvatarRequest& request, const DeleteAvatarAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteAvatar(request), context);
};
asyncExecute(new Runnable(fn));
}
AvatarClient::DeleteAvatarOutcomeCallable AvatarClient::deleteAvatarCallable(const DeleteAvatarRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteAvatarOutcome()>>(
[this, request]()
{
return this->deleteAvatar(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AvatarClient::DuplexDecisionOutcome AvatarClient::duplexDecision(const DuplexDecisionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -771,3 +843,39 @@ AvatarClient::SubmitTextTo3DAvatarVideoTaskOutcomeCallable AvatarClient::submitT
return task->get_future();
}
AvatarClient::Update2dAvatarOutcome AvatarClient::update2dAvatar(const Update2dAvatarRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return Update2dAvatarOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return Update2dAvatarOutcome(Update2dAvatarResult(outcome.result()));
else
return Update2dAvatarOutcome(outcome.error());
}
void AvatarClient::update2dAvatarAsync(const Update2dAvatarRequest& request, const Update2dAvatarAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, update2dAvatar(request), context);
};
asyncExecute(new Runnable(fn));
}
AvatarClient::Update2dAvatarOutcomeCallable AvatarClient::update2dAvatarCallable(const Update2dAvatarRequest &request) const
{
auto task = std::make_shared<std::packaged_task<Update2dAvatarOutcome()>>(
[this, request]()
{
return this->update2dAvatar(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,144 @@
/*
* 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/avatar/model/Create2dAvatarRequest.h>
using AlibabaCloud::Avatar::Model::Create2dAvatarRequest;
Create2dAvatarRequest::Create2dAvatarRequest()
: RpcServiceRequest("avatar", "2022-01-30", "Create2dAvatar") {
setMethod(HttpRequest::Method::Post);
}
Create2dAvatarRequest::~Create2dAvatarRequest() {}
std::string Create2dAvatarRequest::getImage() const {
return image_;
}
void Create2dAvatarRequest::setImage(const std::string &image) {
image_ = image;
setParameter(std::string("Image"), image);
}
int Create2dAvatarRequest::getOrientation() const {
return orientation_;
}
void Create2dAvatarRequest::setOrientation(int orientation) {
orientation_ = orientation;
setParameter(std::string("Orientation"), std::to_string(orientation));
}
std::string Create2dAvatarRequest::getDescription() const {
return description_;
}
void Create2dAvatarRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string Create2dAvatarRequest::getVideo() const {
return video_;
}
void Create2dAvatarRequest::setVideo(const std::string &video) {
video_ = video;
setParameter(std::string("Video"), video);
}
std::string Create2dAvatarRequest::getPortrait() const {
return portrait_;
}
void Create2dAvatarRequest::setPortrait(const std::string &portrait) {
portrait_ = portrait;
setParameter(std::string("Portrait"), portrait);
}
std::string Create2dAvatarRequest::getExtParams() const {
return extParams_;
}
void Create2dAvatarRequest::setExtParams(const std::string &extParams) {
extParams_ = extParams;
setParameter(std::string("ExtParams"), extParams);
}
bool Create2dAvatarRequest::getTransparent() const {
return transparent_;
}
void Create2dAvatarRequest::setTransparent(bool transparent) {
transparent_ = transparent;
setParameter(std::string("Transparent"), transparent ? "true" : "false");
}
std::string Create2dAvatarRequest::getCallbackParams() const {
return callbackParams_;
}
void Create2dAvatarRequest::setCallbackParams(const std::string &callbackParams) {
callbackParams_ = callbackParams;
setParameter(std::string("CallbackParams"), callbackParams);
}
long Create2dAvatarRequest::getTenantId() const {
return tenantId_;
}
void Create2dAvatarRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setParameter(std::string("TenantId"), std::to_string(tenantId));
}
std::string Create2dAvatarRequest::getName() const {
return name_;
}
void Create2dAvatarRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
std::string Create2dAvatarRequest::getExtParams_CLS() const {
return extParams_CLS_;
}
void Create2dAvatarRequest::setExtParams_CLS(const std::string &extParams_CLS) {
extParams_CLS_ = extParams_CLS;
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
}
bool Create2dAvatarRequest::getCallback() const {
return callback_;
}
void Create2dAvatarRequest::setCallback(bool callback) {
callback_ = callback;
setParameter(std::string("Callback"), callback ? "true" : "false");
}
std::string Create2dAvatarRequest::getCallbackParams_CLS() const {
return callbackParams_CLS_;
}
void Create2dAvatarRequest::setCallbackParams_CLS(const std::string &callbackParams_CLS) {
callbackParams_CLS_ = callbackParams_CLS;
setParameter(std::string("CallbackParams_CLS"), callbackParams_CLS);
}

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/avatar/model/Create2dAvatarResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Avatar;
using namespace AlibabaCloud::Avatar::Model;
Create2dAvatarResult::Create2dAvatarResult() :
ServiceResult()
{}
Create2dAvatarResult::Create2dAvatarResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
Create2dAvatarResult::~Create2dAvatarResult()
{}
void Create2dAvatarResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["Code"].isNull())
data_.code = dataNode["Code"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string Create2dAvatarResult::getMessage()const
{
return message_;
}
Create2dAvatarResult::Data Create2dAvatarResult::getData()const
{
return data_;
}
std::string Create2dAvatarResult::getCode()const
{
return code_;
}
bool Create2dAvatarResult::getSuccess()const
{
return success_;
}

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.
*/
#include <alibabacloud/avatar/model/DeleteAvatarRequest.h>
using AlibabaCloud::Avatar::Model::DeleteAvatarRequest;
DeleteAvatarRequest::DeleteAvatarRequest()
: RpcServiceRequest("avatar", "2022-01-30", "DeleteAvatar") {
setMethod(HttpRequest::Method::Post);
}
DeleteAvatarRequest::~DeleteAvatarRequest() {}
std::string DeleteAvatarRequest::getCode() const {
return code_;
}
void DeleteAvatarRequest::setCode(const std::string &code) {
code_ = code;
setParameter(std::string("Code"), code);
}
long DeleteAvatarRequest::getTenantId() const {
return tenantId_;
}
void DeleteAvatarRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setParameter(std::string("TenantId"), std::to_string(tenantId));
}
std::string DeleteAvatarRequest::getExtParams_CLS() const {
return extParams_CLS_;
}
void DeleteAvatarRequest::setExtParams_CLS(const std::string &extParams_CLS) {
extParams_CLS_ = extParams_CLS;
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
}
std::string DeleteAvatarRequest::getExtParams() const {
return extParams_;
}
void DeleteAvatarRequest::setExtParams(const std::string &extParams) {
extParams_ = extParams;
setParameter(std::string("ExtParams"), extParams);
}

View File

@@ -14,52 +14,52 @@
* limitations under the License.
*/
#include <alibabacloud/dts/model/ShieldPrecheckResult.h>
#include <alibabacloud/avatar/model/DeleteAvatarResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dts;
using namespace AlibabaCloud::Dts::Model;
using namespace AlibabaCloud::Avatar;
using namespace AlibabaCloud::Avatar::Model;
ShieldPrecheckResult::ShieldPrecheckResult() :
DeleteAvatarResult::DeleteAvatarResult() :
ServiceResult()
{}
ShieldPrecheckResult::ShieldPrecheckResult(const std::string &payload) :
DeleteAvatarResult::DeleteAvatarResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ShieldPrecheckResult::~ShieldPrecheckResult()
DeleteAvatarResult::~DeleteAvatarResult()
{}
void ShieldPrecheckResult::parse(const std::string &payload)
void DeleteAvatarResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
}
std::string ShieldPrecheckResult::getErrMessage()const
std::string DeleteAvatarResult::getMessage()const
{
return errMessage_;
return message_;
}
bool ShieldPrecheckResult::getSuccess()const
std::string DeleteAvatarResult::getCode()const
{
return code_;
}
bool DeleteAvatarResult::getSuccess()const
{
return success_;
}
std::string ShieldPrecheckResult::getErrCode()const
{
return errCode_;
}

View File

@@ -61,6 +61,8 @@ void GetVideoTaskInfoResult::parse(const std::string &payload)
data_.taskResult.failCode = taskResultNode["FailCode"].asString();
if(!taskResultNode["VideoDuration"].isNull())
data_.taskResult.videoDuration = std::stoi(taskResultNode["VideoDuration"].asString());
if(!taskResultNode["AlphaUrl"].isNull())
data_.taskResult.alphaUrl = taskResultNode["AlphaUrl"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())

View File

@@ -61,3 +61,21 @@ void QueryAvatarListRequest::setPageSize(int pageSize) {
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
std::string QueryAvatarListRequest::getExtParams_CLS() const {
return extParams_CLS_;
}
void QueryAvatarListRequest::setExtParams_CLS(const std::string &extParams_CLS) {
extParams_CLS_ = extParams_CLS;
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
}
std::string QueryAvatarListRequest::getExtParams() const {
return extParams_;
}
void QueryAvatarListRequest::setExtParams(const std::string &extParams) {
extParams_ = extParams;
setParameter(std::string("ExtParams"), extParams);
}

View File

@@ -66,6 +66,10 @@ void QueryAvatarListResult::parse(const std::string &payload)
listItemObject.avatarType = dataNodeListlistItem["AvatarType"].asString();
if(!dataNodeListlistItem["ModelType"].isNull())
listItemObject.modelType = dataNodeListlistItem["ModelType"].asString();
if(!dataNodeListlistItem["MakeStatus"].isNull())
listItemObject.makeStatus = dataNodeListlistItem["MakeStatus"].asString();
if(!dataNodeListlistItem["MakeFailReason"].isNull())
listItemObject.makeFailReason = dataNodeListlistItem["MakeFailReason"].asString();
auto supportedResolutionsNode = value["SupportedResolutions"];
auto allOfflineNode = supportedResolutionsNode["Offline"]["offlineItem"];
for (auto supportedResolutionsNodeOfflineofflineItem : allOfflineNode)

View File

@@ -20,7 +20,7 @@ using AlibabaCloud::Avatar::Model::QueryAvatarRequest;
QueryAvatarRequest::QueryAvatarRequest()
: RpcServiceRequest("avatar", "2022-01-30", "QueryAvatar") {
setMethod(HttpRequest::Method::Get);
setMethod(HttpRequest::Method::Post);
}
QueryAvatarRequest::~QueryAvatarRequest() {}
@@ -43,3 +43,21 @@ void QueryAvatarRequest::setTenantId(long tenantId) {
setParameter(std::string("TenantId"), std::to_string(tenantId));
}
std::string QueryAvatarRequest::getExtParams_CLS() const {
return extParams_CLS_;
}
void QueryAvatarRequest::setExtParams_CLS(const std::string &extParams_CLS) {
extParams_CLS_ = extParams_CLS;
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
}
std::string QueryAvatarRequest::getExtParams() const {
return extParams_;
}
void QueryAvatarRequest::setExtParams(const std::string &extParams) {
extParams_ = extParams;
setParameter(std::string("ExtParams"), extParams);
}

View File

@@ -52,6 +52,10 @@ void QueryAvatarResult::parse(const std::string &payload)
data_.modelType = dataNode["ModelType"].asString();
if(!dataNode["AvatarType"].isNull())
data_.avatarType = dataNode["AvatarType"].asString();
if(!dataNode["MakeStatus"].isNull())
data_.makeStatus = dataNode["MakeStatus"].asString();
if(!dataNode["MakeFailReason"].isNull())
data_.makeFailReason = dataNode["MakeFailReason"].asString();
auto supportedResolutionsNode = dataNode["SupportedResolutions"];
auto allOfflineNode = supportedResolutionsNode["Offline"]["offlineItem"];
for (auto supportedResolutionsNodeOfflineofflineItem : allOfflineNode)

View File

@@ -42,12 +42,12 @@ void SubmitAudioTo2DAvatarVideoTaskResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["TaskUuid"].isNull())
data_.taskUuid = dataNode["TaskUuid"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
}
@@ -66,7 +66,7 @@ std::string SubmitAudioTo2DAvatarVideoTaskResult::getCode()const
return code_;
}
std::string SubmitAudioTo2DAvatarVideoTaskResult::getSuccess()const
bool SubmitAudioTo2DAvatarVideoTaskResult::getSuccess()const
{
return success_;
}

View File

@@ -42,12 +42,12 @@ void SubmitAudioTo3DAvatarVideoTaskResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["TaskUuid"].isNull())
data_.taskUuid = dataNode["TaskUuid"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
}
@@ -66,7 +66,7 @@ std::string SubmitAudioTo3DAvatarVideoTaskResult::getCode()const
return code_;
}
std::string SubmitAudioTo3DAvatarVideoTaskResult::getSuccess()const
bool SubmitAudioTo3DAvatarVideoTaskResult::getSuccess()const
{
return success_;
}

View File

@@ -82,6 +82,7 @@ void SubmitTextTo2DAvatarVideoTaskRequest::setVideoInfo(const SubmitTextTo2DAvat
setParameter(std::string("VideoInfo") + ".IsAlpha", videoInfo.isAlpha ? "true" : "false");
setParameter(std::string("VideoInfo") + ".BackgroundImageUrl", videoInfo.backgroundImageUrl);
setParameter(std::string("VideoInfo") + ".IsSubtitles", videoInfo.isSubtitles ? "true" : "false");
setParameter(std::string("VideoInfo") + ".SubtitleEmbedded", videoInfo.subtitleEmbedded ? "true" : "false");
setParameter(std::string("VideoInfo") + ".Resolution", std::to_string(videoInfo.resolution));
setParameter(std::string("VideoInfo") + ".AlphaFormat", std::to_string(videoInfo.alphaFormat));
}

View File

@@ -42,12 +42,12 @@ void SubmitTextTo2DAvatarVideoTaskResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["TaskUuid"].isNull())
data_.taskUuid = dataNode["TaskUuid"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -85,6 +85,7 @@ void SubmitTextTo3DAvatarVideoTaskRequest::setVideoInfo(const SubmitTextTo3DAvat
setParameter(std::string("VideoInfo") + ".IsAlpha", videoInfo.isAlpha ? "true" : "false");
setParameter(std::string("VideoInfo") + ".BackgroundImageUrl", videoInfo.backgroundImageUrl);
setParameter(std::string("VideoInfo") + ".IsSubtitles", videoInfo.isSubtitles ? "true" : "false");
setParameter(std::string("VideoInfo") + ".SubtitleEmbedded", videoInfo.subtitleEmbedded ? "true" : "false");
setParameter(std::string("VideoInfo") + ".Resolution", std::to_string(videoInfo.resolution));
setParameter(std::string("VideoInfo") + ".AlphaFormat", std::to_string(videoInfo.alphaFormat));
}

View File

@@ -42,12 +42,12 @@ void SubmitTextTo3DAvatarVideoTaskResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["TaskUuid"].isNull())
data_.taskUuid = dataNode["TaskUuid"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -0,0 +1,153 @@
/*
* 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/avatar/model/Update2dAvatarRequest.h>
using AlibabaCloud::Avatar::Model::Update2dAvatarRequest;
Update2dAvatarRequest::Update2dAvatarRequest()
: RpcServiceRequest("avatar", "2022-01-30", "Update2dAvatar") {
setMethod(HttpRequest::Method::Post);
}
Update2dAvatarRequest::~Update2dAvatarRequest() {}
std::string Update2dAvatarRequest::getImage() const {
return image_;
}
void Update2dAvatarRequest::setImage(const std::string &image) {
image_ = image;
setParameter(std::string("Image"), image);
}
int Update2dAvatarRequest::getOrientation() const {
return orientation_;
}
void Update2dAvatarRequest::setOrientation(int orientation) {
orientation_ = orientation;
setParameter(std::string("Orientation"), std::to_string(orientation));
}
std::string Update2dAvatarRequest::getCode() const {
return code_;
}
void Update2dAvatarRequest::setCode(const std::string &code) {
code_ = code;
setParameter(std::string("Code"), code);
}
std::string Update2dAvatarRequest::getDescription() const {
return description_;
}
void Update2dAvatarRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string Update2dAvatarRequest::getVideo() const {
return video_;
}
void Update2dAvatarRequest::setVideo(const std::string &video) {
video_ = video;
setParameter(std::string("Video"), video);
}
std::string Update2dAvatarRequest::getPortrait() const {
return portrait_;
}
void Update2dAvatarRequest::setPortrait(const std::string &portrait) {
portrait_ = portrait;
setParameter(std::string("Portrait"), portrait);
}
std::string Update2dAvatarRequest::getExtParams() const {
return extParams_;
}
void Update2dAvatarRequest::setExtParams(const std::string &extParams) {
extParams_ = extParams;
setParameter(std::string("ExtParams"), extParams);
}
bool Update2dAvatarRequest::getTransparent() const {
return transparent_;
}
void Update2dAvatarRequest::setTransparent(bool transparent) {
transparent_ = transparent;
setParameter(std::string("Transparent"), transparent ? "true" : "false");
}
std::string Update2dAvatarRequest::getCallbackParams() const {
return callbackParams_;
}
void Update2dAvatarRequest::setCallbackParams(const std::string &callbackParams) {
callbackParams_ = callbackParams;
setParameter(std::string("CallbackParams"), callbackParams);
}
long Update2dAvatarRequest::getTenantId() const {
return tenantId_;
}
void Update2dAvatarRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setParameter(std::string("TenantId"), std::to_string(tenantId));
}
std::string Update2dAvatarRequest::getName() const {
return name_;
}
void Update2dAvatarRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
std::string Update2dAvatarRequest::getExtParams_CLS() const {
return extParams_CLS_;
}
void Update2dAvatarRequest::setExtParams_CLS(const std::string &extParams_CLS) {
extParams_CLS_ = extParams_CLS;
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
}
bool Update2dAvatarRequest::getCallback() const {
return callback_;
}
void Update2dAvatarRequest::setCallback(bool callback) {
callback_ = callback;
setParameter(std::string("Callback"), callback ? "true" : "false");
}
std::string Update2dAvatarRequest::getCallbackParams_CLS() const {
return callbackParams_CLS_;
}
void Update2dAvatarRequest::setCallbackParams_CLS(const std::string &callbackParams_CLS) {
callbackParams_CLS_ = callbackParams_CLS;
setParameter(std::string("CallbackParams_CLS"), callbackParams_CLS);
}

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/avatar/model/Update2dAvatarResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Avatar;
using namespace AlibabaCloud::Avatar::Model;
Update2dAvatarResult::Update2dAvatarResult() :
ServiceResult()
{}
Update2dAvatarResult::Update2dAvatarResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
Update2dAvatarResult::~Update2dAvatarResult()
{}
void Update2dAvatarResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["Code"].isNull())
data_.code = dataNode["Code"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string Update2dAvatarResult::getMessage()const
{
return message_;
}
Update2dAvatarResult::Data Update2dAvatarResult::getData()const
{
return data_;
}
std::string Update2dAvatarResult::getCode()const
{
return code_;
}
bool Update2dAvatarResult::getSuccess()const
{
return success_;
}

View File

@@ -36,8 +36,12 @@ public:
void setCenId(const std::string &cenId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getNetworkInterfaceName() const;
void setNetworkInterfaceName(const std::string &networkInterfaceName);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
@@ -50,18 +54,29 @@ public:
void setVSwitchId(const std::string &vSwitchId);
std::string getVpcId() const;
void setVpcId(const std::string &vpcId);
long getMaxResults() const;
void setMaxResults(long maxResults);
std::string getPrimaryIpAddress() const;
void setPrimaryIpAddress(const std::string &primaryIpAddress);
std::vector<std::string> getNetworkInterfaceId() const;
void setNetworkInterfaceId(const std::vector<std::string> &networkInterfaceId);
private:
long resourceOwnerId_;
std::string cenId_;
int pageNumber_;
std::string nextToken_;
int pageSize_;
std::string networkInterfaceName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string version_;
std::string vSwitchId_;
std::string vpcId_;
long maxResults_;
std::string primaryIpAddress_;
std::vector<std::string> networkInterfaceId_;
};
} // namespace Model
} // namespace Cbn

View File

@@ -38,6 +38,8 @@ namespace AlibabaCloud
bool transitRouterFlag;
std::string vpcId;
std::string vSwitchId;
std::string networkInterfaceName;
std::string primaryIpAddress;
std::string networkInterfaceId;
};
@@ -46,12 +48,16 @@ namespace AlibabaCloud
explicit ListGrantVSwitchEnisResult(const std::string &payload);
~ListGrantVSwitchEnisResult();
std::string getTotalCount()const;
std::string getNextToken()const;
long getMaxResults()const;
std::vector<GrantVSwitchEni> getGrantVSwitchEnis()const;
protected:
void parse(const std::string &payload);
private:
std::string totalCount_;
std::string nextToken_;
long maxResults_;
std::vector<GrantVSwitchEni> grantVSwitchEnis_;
};

View File

@@ -52,6 +52,15 @@ void ListGrantVSwitchEnisRequest::setPageNumber(int pageNumber) {
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
std::string ListGrantVSwitchEnisRequest::getNextToken() const {
return nextToken_;
}
void ListGrantVSwitchEnisRequest::setNextToken(const std::string &nextToken) {
nextToken_ = nextToken;
setParameter(std::string("NextToken"), nextToken);
}
int ListGrantVSwitchEnisRequest::getPageSize() const {
return pageSize_;
}
@@ -61,6 +70,15 @@ void ListGrantVSwitchEnisRequest::setPageSize(int pageSize) {
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
std::string ListGrantVSwitchEnisRequest::getNetworkInterfaceName() const {
return networkInterfaceName_;
}
void ListGrantVSwitchEnisRequest::setNetworkInterfaceName(const std::string &networkInterfaceName) {
networkInterfaceName_ = networkInterfaceName;
setParameter(std::string("NetworkInterfaceName"), networkInterfaceName);
}
std::string ListGrantVSwitchEnisRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
@@ -115,3 +133,32 @@ void ListGrantVSwitchEnisRequest::setVpcId(const std::string &vpcId) {
setParameter(std::string("VpcId"), vpcId);
}
long ListGrantVSwitchEnisRequest::getMaxResults() const {
return maxResults_;
}
void ListGrantVSwitchEnisRequest::setMaxResults(long maxResults) {
maxResults_ = maxResults;
setParameter(std::string("MaxResults"), std::to_string(maxResults));
}
std::string ListGrantVSwitchEnisRequest::getPrimaryIpAddress() const {
return primaryIpAddress_;
}
void ListGrantVSwitchEnisRequest::setPrimaryIpAddress(const std::string &primaryIpAddress) {
primaryIpAddress_ = primaryIpAddress;
setParameter(std::string("PrimaryIpAddress"), primaryIpAddress);
}
std::vector<ListGrantVSwitchEnisRequest::std::string> ListGrantVSwitchEnisRequest::getNetworkInterfaceId() const {
return networkInterfaceId_;
}
void ListGrantVSwitchEnisRequest::setNetworkInterfaceId(const std::vector<ListGrantVSwitchEnisRequest::std::string> &networkInterfaceId) {
networkInterfaceId_ = networkInterfaceId;
for(int dep1 = 0; dep1 != networkInterfaceId.size(); dep1++) {
setParameter(std::string("NetworkInterfaceId") + "." + std::to_string(dep1 + 1), networkInterfaceId[dep1]);
}
}

View File

@@ -53,10 +53,18 @@ void ListGrantVSwitchEnisResult::parse(const std::string &payload)
grantVSwitchEnisObject.description = valueGrantVSwitchEnisGrantVSwitchEni["Description"].asString();
if(!valueGrantVSwitchEnisGrantVSwitchEni["TransitRouterFlag"].isNull())
grantVSwitchEnisObject.transitRouterFlag = valueGrantVSwitchEnisGrantVSwitchEni["TransitRouterFlag"].asString() == "true";
if(!valueGrantVSwitchEnisGrantVSwitchEni["NetworkInterfaceName"].isNull())
grantVSwitchEnisObject.networkInterfaceName = valueGrantVSwitchEnisGrantVSwitchEni["NetworkInterfaceName"].asString();
if(!valueGrantVSwitchEnisGrantVSwitchEni["PrimaryIpAddress"].isNull())
grantVSwitchEnisObject.primaryIpAddress = valueGrantVSwitchEnisGrantVSwitchEni["PrimaryIpAddress"].asString();
grantVSwitchEnis_.push_back(grantVSwitchEnisObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = value["TotalCount"].asString();
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
if(!value["MaxResults"].isNull())
maxResults_ = std::stol(value["MaxResults"].asString());
}
@@ -65,6 +73,16 @@ std::string ListGrantVSwitchEnisResult::getTotalCount()const
return totalCount_;
}
std::string ListGrantVSwitchEnisResult::getNextToken()const
{
return nextToken_;
}
long ListGrantVSwitchEnisResult::getMaxResults()const
{
return maxResults_;
}
std::vector<ListGrantVSwitchEnisResult::GrantVSwitchEni> ListGrantVSwitchEnisResult::getGrantVSwitchEnis()const
{
return grantVSwitchEnis_;

View File

@@ -21,113 +21,561 @@ set(config_public_header
include/alibabacloud/config/ConfigExport.h )
set(config_public_header_model
include/alibabacloud/config/model/ActiveAggregateConfigRulesRequest.h
include/alibabacloud/config/model/ActiveAggregateConfigRulesResult.h
include/alibabacloud/config/model/ActiveConfigRulesRequest.h
include/alibabacloud/config/model/ActiveConfigRulesResult.h
include/alibabacloud/config/model/AttachAggregateConfigRuleToCompliancePackRequest.h
include/alibabacloud/config/model/AttachAggregateConfigRuleToCompliancePackResult.h
include/alibabacloud/config/model/AttachConfigRuleToCompliancePackRequest.h
include/alibabacloud/config/model/AttachConfigRuleToCompliancePackResult.h
include/alibabacloud/config/model/CopyCompliancePacksRequest.h
include/alibabacloud/config/model/CopyCompliancePacksResult.h
include/alibabacloud/config/model/CopyConfigRulesRequest.h
include/alibabacloud/config/model/CopyConfigRulesResult.h
include/alibabacloud/config/model/CreateAdvancedSearchFileRequest.h
include/alibabacloud/config/model/CreateAdvancedSearchFileResult.h
include/alibabacloud/config/model/CreateAggregateAdvancedSearchFileRequest.h
include/alibabacloud/config/model/CreateAggregateAdvancedSearchFileResult.h
include/alibabacloud/config/model/CreateAggregateCompliancePackRequest.h
include/alibabacloud/config/model/CreateAggregateCompliancePackResult.h
include/alibabacloud/config/model/CreateAggregateConfigDeliveryChannelRequest.h
include/alibabacloud/config/model/CreateAggregateConfigDeliveryChannelResult.h
include/alibabacloud/config/model/CreateAggregateConfigRuleRequest.h
include/alibabacloud/config/model/CreateAggregateConfigRuleResult.h
include/alibabacloud/config/model/CreateAggregateRemediationRequest.h
include/alibabacloud/config/model/CreateAggregateRemediationResult.h
include/alibabacloud/config/model/CreateAggregatorRequest.h
include/alibabacloud/config/model/CreateAggregatorResult.h
include/alibabacloud/config/model/CreateCompliancePackRequest.h
include/alibabacloud/config/model/CreateCompliancePackResult.h
include/alibabacloud/config/model/CreateConfigDeliveryChannelRequest.h
include/alibabacloud/config/model/CreateConfigDeliveryChannelResult.h
include/alibabacloud/config/model/CreateConfigRuleRequest.h
include/alibabacloud/config/model/CreateConfigRuleResult.h
include/alibabacloud/config/model/CreateDeliveryChannelRequest.h
include/alibabacloud/config/model/CreateDeliveryChannelResult.h
include/alibabacloud/config/model/CreateRemediationRequest.h
include/alibabacloud/config/model/CreateRemediationResult.h
include/alibabacloud/config/model/DeactiveAggregateConfigRulesRequest.h
include/alibabacloud/config/model/DeactiveAggregateConfigRulesResult.h
include/alibabacloud/config/model/DeactiveConfigRulesRequest.h
include/alibabacloud/config/model/DeactiveConfigRulesResult.h
include/alibabacloud/config/model/DeleteAggregateCompliancePacksRequest.h
include/alibabacloud/config/model/DeleteAggregateCompliancePacksResult.h
include/alibabacloud/config/model/DeleteAggregateConfigDeliveryChannelRequest.h
include/alibabacloud/config/model/DeleteAggregateConfigDeliveryChannelResult.h
include/alibabacloud/config/model/DeleteAggregateConfigRulesRequest.h
include/alibabacloud/config/model/DeleteAggregateConfigRulesResult.h
include/alibabacloud/config/model/DeleteAggregateRemediationsRequest.h
include/alibabacloud/config/model/DeleteAggregateRemediationsResult.h
include/alibabacloud/config/model/DeleteAggregatorsRequest.h
include/alibabacloud/config/model/DeleteAggregatorsResult.h
include/alibabacloud/config/model/DeleteCompliancePacksRequest.h
include/alibabacloud/config/model/DeleteCompliancePacksResult.h
include/alibabacloud/config/model/DeleteConfigDeliveryChannelRequest.h
include/alibabacloud/config/model/DeleteConfigDeliveryChannelResult.h
include/alibabacloud/config/model/DeleteConfigRulesRequest.h
include/alibabacloud/config/model/DeleteConfigRulesResult.h
include/alibabacloud/config/model/DescribeComplianceRequest.h
include/alibabacloud/config/model/DescribeComplianceResult.h
include/alibabacloud/config/model/DescribeComplianceSummaryRequest.h
include/alibabacloud/config/model/DescribeComplianceSummaryResult.h
include/alibabacloud/config/model/DescribeConfigRuleRequest.h
include/alibabacloud/config/model/DescribeConfigRuleResult.h
include/alibabacloud/config/model/DescribeConfigurationRecorderRequest.h
include/alibabacloud/config/model/DescribeConfigurationRecorderResult.h
include/alibabacloud/config/model/DescribeDeliveryChannelsRequest.h
include/alibabacloud/config/model/DescribeDeliveryChannelsResult.h
include/alibabacloud/config/model/DescribeDiscoveredResourceRequest.h
include/alibabacloud/config/model/DescribeDiscoveredResourceResult.h
include/alibabacloud/config/model/DescribeEvaluationResultsRequest.h
include/alibabacloud/config/model/DescribeEvaluationResultsResult.h
include/alibabacloud/config/model/DeleteRemediationsRequest.h
include/alibabacloud/config/model/DeleteRemediationsResult.h
include/alibabacloud/config/model/DetachAggregateConfigRuleToCompliancePackRequest.h
include/alibabacloud/config/model/DetachAggregateConfigRuleToCompliancePackResult.h
include/alibabacloud/config/model/DetachConfigRuleToCompliancePackRequest.h
include/alibabacloud/config/model/DetachConfigRuleToCompliancePackResult.h
include/alibabacloud/config/model/EvaluatePreConfigRulesRequest.h
include/alibabacloud/config/model/EvaluatePreConfigRulesResult.h
include/alibabacloud/config/model/GenerateAggregateCompliancePackReportRequest.h
include/alibabacloud/config/model/GenerateAggregateCompliancePackReportResult.h
include/alibabacloud/config/model/GenerateAggregateConfigRulesReportRequest.h
include/alibabacloud/config/model/GenerateAggregateConfigRulesReportResult.h
include/alibabacloud/config/model/GenerateAggregateResourceInventoryRequest.h
include/alibabacloud/config/model/GenerateAggregateResourceInventoryResult.h
include/alibabacloud/config/model/GenerateCompliancePackReportRequest.h
include/alibabacloud/config/model/GenerateCompliancePackReportResult.h
include/alibabacloud/config/model/GenerateConfigRulesReportRequest.h
include/alibabacloud/config/model/GenerateConfigRulesReportResult.h
include/alibabacloud/config/model/GenerateResourceInventoryRequest.h
include/alibabacloud/config/model/GenerateResourceInventoryResult.h
include/alibabacloud/config/model/GetAdvancedSearchFileRequest.h
include/alibabacloud/config/model/GetAdvancedSearchFileResult.h
include/alibabacloud/config/model/GetAggregateAccountComplianceByPackRequest.h
include/alibabacloud/config/model/GetAggregateAccountComplianceByPackResult.h
include/alibabacloud/config/model/GetAggregateAdvancedSearchFileRequest.h
include/alibabacloud/config/model/GetAggregateAdvancedSearchFileResult.h
include/alibabacloud/config/model/GetAggregateCompliancePackRequest.h
include/alibabacloud/config/model/GetAggregateCompliancePackResult.h
include/alibabacloud/config/model/GetAggregateCompliancePackReportRequest.h
include/alibabacloud/config/model/GetAggregateCompliancePackReportResult.h
include/alibabacloud/config/model/GetAggregateComplianceSummaryRequest.h
include/alibabacloud/config/model/GetAggregateComplianceSummaryResult.h
include/alibabacloud/config/model/GetAggregateConfigDeliveryChannelRequest.h
include/alibabacloud/config/model/GetAggregateConfigDeliveryChannelResult.h
include/alibabacloud/config/model/GetAggregateConfigRuleRequest.h
include/alibabacloud/config/model/GetAggregateConfigRuleResult.h
include/alibabacloud/config/model/GetAggregateConfigRuleComplianceByPackRequest.h
include/alibabacloud/config/model/GetAggregateConfigRuleComplianceByPackResult.h
include/alibabacloud/config/model/GetAggregateConfigRuleSummaryByRiskLevelRequest.h
include/alibabacloud/config/model/GetAggregateConfigRuleSummaryByRiskLevelResult.h
include/alibabacloud/config/model/GetAggregateConfigRulesReportRequest.h
include/alibabacloud/config/model/GetAggregateConfigRulesReportResult.h
include/alibabacloud/config/model/GetAggregateDiscoveredResourceRequest.h
include/alibabacloud/config/model/GetAggregateDiscoveredResourceResult.h
include/alibabacloud/config/model/GetDiscoveredResourceCountsRequest.h
include/alibabacloud/config/model/GetDiscoveredResourceCountsResult.h
include/alibabacloud/config/model/GetDiscoveredResourceSummaryRequest.h
include/alibabacloud/config/model/GetDiscoveredResourceSummaryResult.h
include/alibabacloud/config/model/GetAggregateResourceComplianceByConfigRuleRequest.h
include/alibabacloud/config/model/GetAggregateResourceComplianceByConfigRuleResult.h
include/alibabacloud/config/model/GetAggregateResourceComplianceByPackRequest.h
include/alibabacloud/config/model/GetAggregateResourceComplianceByPackResult.h
include/alibabacloud/config/model/GetAggregateResourceComplianceGroupByRegionRequest.h
include/alibabacloud/config/model/GetAggregateResourceComplianceGroupByRegionResult.h
include/alibabacloud/config/model/GetAggregateResourceComplianceGroupByResourceTypeRequest.h
include/alibabacloud/config/model/GetAggregateResourceComplianceGroupByResourceTypeResult.h
include/alibabacloud/config/model/GetAggregateResourceComplianceTimelineRequest.h
include/alibabacloud/config/model/GetAggregateResourceComplianceTimelineResult.h
include/alibabacloud/config/model/GetAggregateResourceConfigurationTimelineRequest.h
include/alibabacloud/config/model/GetAggregateResourceConfigurationTimelineResult.h
include/alibabacloud/config/model/GetAggregateResourceCountsGroupByRegionRequest.h
include/alibabacloud/config/model/GetAggregateResourceCountsGroupByRegionResult.h
include/alibabacloud/config/model/GetAggregateResourceCountsGroupByResourceTypeRequest.h
include/alibabacloud/config/model/GetAggregateResourceCountsGroupByResourceTypeResult.h
include/alibabacloud/config/model/GetAggregateResourceInventoryRequest.h
include/alibabacloud/config/model/GetAggregateResourceInventoryResult.h
include/alibabacloud/config/model/GetAggregatorRequest.h
include/alibabacloud/config/model/GetAggregatorResult.h
include/alibabacloud/config/model/GetCompliancePackRequest.h
include/alibabacloud/config/model/GetCompliancePackResult.h
include/alibabacloud/config/model/GetCompliancePackReportRequest.h
include/alibabacloud/config/model/GetCompliancePackReportResult.h
include/alibabacloud/config/model/GetComplianceSummaryRequest.h
include/alibabacloud/config/model/GetComplianceSummaryResult.h
include/alibabacloud/config/model/GetConfigDeliveryChannelRequest.h
include/alibabacloud/config/model/GetConfigDeliveryChannelResult.h
include/alibabacloud/config/model/GetConfigRuleRequest.h
include/alibabacloud/config/model/GetConfigRuleResult.h
include/alibabacloud/config/model/GetConfigRuleComplianceByPackRequest.h
include/alibabacloud/config/model/GetConfigRuleComplianceByPackResult.h
include/alibabacloud/config/model/GetConfigRuleSummaryByRiskLevelRequest.h
include/alibabacloud/config/model/GetConfigRuleSummaryByRiskLevelResult.h
include/alibabacloud/config/model/GetConfigRulesReportRequest.h
include/alibabacloud/config/model/GetConfigRulesReportResult.h
include/alibabacloud/config/model/GetConfigurationRecorderRequest.h
include/alibabacloud/config/model/GetConfigurationRecorderResult.h
include/alibabacloud/config/model/GetDiscoveredResourceRequest.h
include/alibabacloud/config/model/GetDiscoveredResourceResult.h
include/alibabacloud/config/model/GetDiscoveredResourceCountsGroupByRegionRequest.h
include/alibabacloud/config/model/GetDiscoveredResourceCountsGroupByRegionResult.h
include/alibabacloud/config/model/GetDiscoveredResourceCountsGroupByResourceTypeRequest.h
include/alibabacloud/config/model/GetDiscoveredResourceCountsGroupByResourceTypeResult.h
include/alibabacloud/config/model/GetIntegratedServiceStatusRequest.h
include/alibabacloud/config/model/GetIntegratedServiceStatusResult.h
include/alibabacloud/config/model/GetManagedRuleRequest.h
include/alibabacloud/config/model/GetManagedRuleResult.h
include/alibabacloud/config/model/GetRemediationTemplateRequest.h
include/alibabacloud/config/model/GetRemediationTemplateResult.h
include/alibabacloud/config/model/GetResourceComplianceByConfigRuleRequest.h
include/alibabacloud/config/model/GetResourceComplianceByConfigRuleResult.h
include/alibabacloud/config/model/GetResourceComplianceByPackRequest.h
include/alibabacloud/config/model/GetResourceComplianceByPackResult.h
include/alibabacloud/config/model/GetResourceComplianceGroupByRegionRequest.h
include/alibabacloud/config/model/GetResourceComplianceGroupByRegionResult.h
include/alibabacloud/config/model/GetResourceComplianceGroupByResourceTypeRequest.h
include/alibabacloud/config/model/GetResourceComplianceGroupByResourceTypeResult.h
include/alibabacloud/config/model/GetResourceComplianceTimelineRequest.h
include/alibabacloud/config/model/GetResourceComplianceTimelineResult.h
include/alibabacloud/config/model/GetResourceConfigurationTimelineRequest.h
include/alibabacloud/config/model/GetResourceConfigurationTimelineResult.h
include/alibabacloud/config/model/GetSupportedResourceTypesRequest.h
include/alibabacloud/config/model/GetSupportedResourceTypesResult.h
include/alibabacloud/config/model/GetResourceInventoryRequest.h
include/alibabacloud/config/model/GetResourceInventoryResult.h
include/alibabacloud/config/model/GetSupportedResourceRelationConfigRequest.h
include/alibabacloud/config/model/GetSupportedResourceRelationConfigResult.h
include/alibabacloud/config/model/IgnoreAggregateEvaluationResultsRequest.h
include/alibabacloud/config/model/IgnoreAggregateEvaluationResultsResult.h
include/alibabacloud/config/model/IgnoreEvaluationResultsRequest.h
include/alibabacloud/config/model/IgnoreEvaluationResultsResult.h
include/alibabacloud/config/model/ListAggregateCompliancePacksRequest.h
include/alibabacloud/config/model/ListAggregateCompliancePacksResult.h
include/alibabacloud/config/model/ListAggregateConfigDeliveryChannelsRequest.h
include/alibabacloud/config/model/ListAggregateConfigDeliveryChannelsResult.h
include/alibabacloud/config/model/ListAggregateConfigRuleEvaluationResultsRequest.h
include/alibabacloud/config/model/ListAggregateConfigRuleEvaluationResultsResult.h
include/alibabacloud/config/model/ListAggregateConfigRuleEvaluationStatisticsRequest.h
include/alibabacloud/config/model/ListAggregateConfigRuleEvaluationStatisticsResult.h
include/alibabacloud/config/model/ListAggregateConfigRulesRequest.h
include/alibabacloud/config/model/ListAggregateConfigRulesResult.h
include/alibabacloud/config/model/ListAggregateDiscoveredResourcesRequest.h
include/alibabacloud/config/model/ListAggregateDiscoveredResourcesResult.h
include/alibabacloud/config/model/ListAggregateRemediationExecutionsRequest.h
include/alibabacloud/config/model/ListAggregateRemediationExecutionsResult.h
include/alibabacloud/config/model/ListAggregateRemediationsRequest.h
include/alibabacloud/config/model/ListAggregateRemediationsResult.h
include/alibabacloud/config/model/ListAggregateResourceEvaluationResultsRequest.h
include/alibabacloud/config/model/ListAggregateResourceEvaluationResultsResult.h
include/alibabacloud/config/model/ListAggregateResourceRelationsRequest.h
include/alibabacloud/config/model/ListAggregateResourceRelationsResult.h
include/alibabacloud/config/model/ListAggregateResourcesByAdvancedSearchRequest.h
include/alibabacloud/config/model/ListAggregateResourcesByAdvancedSearchResult.h
include/alibabacloud/config/model/ListAggregatorsRequest.h
include/alibabacloud/config/model/ListAggregatorsResult.h
include/alibabacloud/config/model/ListCompliancePackTemplatesRequest.h
include/alibabacloud/config/model/ListCompliancePackTemplatesResult.h
include/alibabacloud/config/model/ListCompliancePacksRequest.h
include/alibabacloud/config/model/ListCompliancePacksResult.h
include/alibabacloud/config/model/ListConfigDeliveryChannelsRequest.h
include/alibabacloud/config/model/ListConfigDeliveryChannelsResult.h
include/alibabacloud/config/model/ListConfigRuleEvaluationResultsRequest.h
include/alibabacloud/config/model/ListConfigRuleEvaluationResultsResult.h
include/alibabacloud/config/model/ListConfigRuleEvaluationStatisticsRequest.h
include/alibabacloud/config/model/ListConfigRuleEvaluationStatisticsResult.h
include/alibabacloud/config/model/ListConfigRulesRequest.h
include/alibabacloud/config/model/ListConfigRulesResult.h
include/alibabacloud/config/model/ListDiscoveredResourcesRequest.h
include/alibabacloud/config/model/ListDiscoveredResourcesResult.h
include/alibabacloud/config/model/ListIntegratedServiceRequest.h
include/alibabacloud/config/model/ListIntegratedServiceResult.h
include/alibabacloud/config/model/ListManagedRulesRequest.h
include/alibabacloud/config/model/ListManagedRulesResult.h
include/alibabacloud/config/model/ListPreManagedRulesRequest.h
include/alibabacloud/config/model/ListPreManagedRulesResult.h
include/alibabacloud/config/model/ListRemediationExecutionsRequest.h
include/alibabacloud/config/model/ListRemediationExecutionsResult.h
include/alibabacloud/config/model/ListRemediationTemplatesRequest.h
include/alibabacloud/config/model/ListRemediationTemplatesResult.h
include/alibabacloud/config/model/PutConfigRuleRequest.h
include/alibabacloud/config/model/PutConfigRuleResult.h
include/alibabacloud/config/model/PutConfigurationRecorderRequest.h
include/alibabacloud/config/model/PutConfigurationRecorderResult.h
include/alibabacloud/config/model/PutDeliveryChannelRequest.h
include/alibabacloud/config/model/PutDeliveryChannelResult.h
include/alibabacloud/config/model/ListRemediationsRequest.h
include/alibabacloud/config/model/ListRemediationsResult.h
include/alibabacloud/config/model/ListResourceEvaluationResultsRequest.h
include/alibabacloud/config/model/ListResourceEvaluationResultsResult.h
include/alibabacloud/config/model/ListResourceRelationsRequest.h
include/alibabacloud/config/model/ListResourceRelationsResult.h
include/alibabacloud/config/model/ListResourcesByAdvancedSearchRequest.h
include/alibabacloud/config/model/ListResourcesByAdvancedSearchResult.h
include/alibabacloud/config/model/ListSupportedProductsRequest.h
include/alibabacloud/config/model/ListSupportedProductsResult.h
include/alibabacloud/config/model/ListTagResourcesRequest.h
include/alibabacloud/config/model/ListTagResourcesResult.h
include/alibabacloud/config/model/PutEvaluationsRequest.h
include/alibabacloud/config/model/PutEvaluationsResult.h
include/alibabacloud/config/model/RevertAggregateEvaluationResultsRequest.h
include/alibabacloud/config/model/RevertAggregateEvaluationResultsResult.h
include/alibabacloud/config/model/RevertEvaluationResultsRequest.h
include/alibabacloud/config/model/RevertEvaluationResultsResult.h
include/alibabacloud/config/model/StartAggregateConfigRuleEvaluationRequest.h
include/alibabacloud/config/model/StartAggregateConfigRuleEvaluationResult.h
include/alibabacloud/config/model/StartAggregateRemediationRequest.h
include/alibabacloud/config/model/StartAggregateRemediationResult.h
include/alibabacloud/config/model/StartConfigRuleEvaluationRequest.h
include/alibabacloud/config/model/StartConfigRuleEvaluationResult.h
include/alibabacloud/config/model/StartConfigurationRecorderRequest.h
include/alibabacloud/config/model/StartConfigurationRecorderResult.h
include/alibabacloud/config/model/StopConfigRulesRequest.h
include/alibabacloud/config/model/StopConfigRulesResult.h )
include/alibabacloud/config/model/StartRemediationRequest.h
include/alibabacloud/config/model/StartRemediationResult.h
include/alibabacloud/config/model/StopConfigurationRecorderRequest.h
include/alibabacloud/config/model/StopConfigurationRecorderResult.h
include/alibabacloud/config/model/TagResourcesRequest.h
include/alibabacloud/config/model/TagResourcesResult.h
include/alibabacloud/config/model/UntagResourcesRequest.h
include/alibabacloud/config/model/UntagResourcesResult.h
include/alibabacloud/config/model/UpdateAggregateCompliancePackRequest.h
include/alibabacloud/config/model/UpdateAggregateCompliancePackResult.h
include/alibabacloud/config/model/UpdateAggregateConfigDeliveryChannelRequest.h
include/alibabacloud/config/model/UpdateAggregateConfigDeliveryChannelResult.h
include/alibabacloud/config/model/UpdateAggregateConfigRuleRequest.h
include/alibabacloud/config/model/UpdateAggregateConfigRuleResult.h
include/alibabacloud/config/model/UpdateAggregateRemediationRequest.h
include/alibabacloud/config/model/UpdateAggregateRemediationResult.h
include/alibabacloud/config/model/UpdateAggregatorRequest.h
include/alibabacloud/config/model/UpdateAggregatorResult.h
include/alibabacloud/config/model/UpdateCompliancePackRequest.h
include/alibabacloud/config/model/UpdateCompliancePackResult.h
include/alibabacloud/config/model/UpdateConfigDeliveryChannelRequest.h
include/alibabacloud/config/model/UpdateConfigDeliveryChannelResult.h
include/alibabacloud/config/model/UpdateConfigRuleRequest.h
include/alibabacloud/config/model/UpdateConfigRuleResult.h
include/alibabacloud/config/model/UpdateConfigurationRecorderRequest.h
include/alibabacloud/config/model/UpdateConfigurationRecorderResult.h
include/alibabacloud/config/model/UpdateDeliveryChannelRequest.h
include/alibabacloud/config/model/UpdateDeliveryChannelResult.h
include/alibabacloud/config/model/UpdateIntegratedServiceStatusRequest.h
include/alibabacloud/config/model/UpdateIntegratedServiceStatusResult.h
include/alibabacloud/config/model/UpdateRemediationRequest.h
include/alibabacloud/config/model/UpdateRemediationResult.h )
set(config_src
src/ConfigClient.cc
src/model/ActiveAggregateConfigRulesRequest.cc
src/model/ActiveAggregateConfigRulesResult.cc
src/model/ActiveConfigRulesRequest.cc
src/model/ActiveConfigRulesResult.cc
src/model/AttachAggregateConfigRuleToCompliancePackRequest.cc
src/model/AttachAggregateConfigRuleToCompliancePackResult.cc
src/model/AttachConfigRuleToCompliancePackRequest.cc
src/model/AttachConfigRuleToCompliancePackResult.cc
src/model/CopyCompliancePacksRequest.cc
src/model/CopyCompliancePacksResult.cc
src/model/CopyConfigRulesRequest.cc
src/model/CopyConfigRulesResult.cc
src/model/CreateAdvancedSearchFileRequest.cc
src/model/CreateAdvancedSearchFileResult.cc
src/model/CreateAggregateAdvancedSearchFileRequest.cc
src/model/CreateAggregateAdvancedSearchFileResult.cc
src/model/CreateAggregateCompliancePackRequest.cc
src/model/CreateAggregateCompliancePackResult.cc
src/model/CreateAggregateConfigDeliveryChannelRequest.cc
src/model/CreateAggregateConfigDeliveryChannelResult.cc
src/model/CreateAggregateConfigRuleRequest.cc
src/model/CreateAggregateConfigRuleResult.cc
src/model/CreateAggregateRemediationRequest.cc
src/model/CreateAggregateRemediationResult.cc
src/model/CreateAggregatorRequest.cc
src/model/CreateAggregatorResult.cc
src/model/CreateCompliancePackRequest.cc
src/model/CreateCompliancePackResult.cc
src/model/CreateConfigDeliveryChannelRequest.cc
src/model/CreateConfigDeliveryChannelResult.cc
src/model/CreateConfigRuleRequest.cc
src/model/CreateConfigRuleResult.cc
src/model/CreateDeliveryChannelRequest.cc
src/model/CreateDeliveryChannelResult.cc
src/model/CreateRemediationRequest.cc
src/model/CreateRemediationResult.cc
src/model/DeactiveAggregateConfigRulesRequest.cc
src/model/DeactiveAggregateConfigRulesResult.cc
src/model/DeactiveConfigRulesRequest.cc
src/model/DeactiveConfigRulesResult.cc
src/model/DeleteAggregateCompliancePacksRequest.cc
src/model/DeleteAggregateCompliancePacksResult.cc
src/model/DeleteAggregateConfigDeliveryChannelRequest.cc
src/model/DeleteAggregateConfigDeliveryChannelResult.cc
src/model/DeleteAggregateConfigRulesRequest.cc
src/model/DeleteAggregateConfigRulesResult.cc
src/model/DeleteAggregateRemediationsRequest.cc
src/model/DeleteAggregateRemediationsResult.cc
src/model/DeleteAggregatorsRequest.cc
src/model/DeleteAggregatorsResult.cc
src/model/DeleteCompliancePacksRequest.cc
src/model/DeleteCompliancePacksResult.cc
src/model/DeleteConfigDeliveryChannelRequest.cc
src/model/DeleteConfigDeliveryChannelResult.cc
src/model/DeleteConfigRulesRequest.cc
src/model/DeleteConfigRulesResult.cc
src/model/DescribeComplianceRequest.cc
src/model/DescribeComplianceResult.cc
src/model/DescribeComplianceSummaryRequest.cc
src/model/DescribeComplianceSummaryResult.cc
src/model/DescribeConfigRuleRequest.cc
src/model/DescribeConfigRuleResult.cc
src/model/DescribeConfigurationRecorderRequest.cc
src/model/DescribeConfigurationRecorderResult.cc
src/model/DescribeDeliveryChannelsRequest.cc
src/model/DescribeDeliveryChannelsResult.cc
src/model/DescribeDiscoveredResourceRequest.cc
src/model/DescribeDiscoveredResourceResult.cc
src/model/DescribeEvaluationResultsRequest.cc
src/model/DescribeEvaluationResultsResult.cc
src/model/DeleteRemediationsRequest.cc
src/model/DeleteRemediationsResult.cc
src/model/DetachAggregateConfigRuleToCompliancePackRequest.cc
src/model/DetachAggregateConfigRuleToCompliancePackResult.cc
src/model/DetachConfigRuleToCompliancePackRequest.cc
src/model/DetachConfigRuleToCompliancePackResult.cc
src/model/EvaluatePreConfigRulesRequest.cc
src/model/EvaluatePreConfigRulesResult.cc
src/model/GenerateAggregateCompliancePackReportRequest.cc
src/model/GenerateAggregateCompliancePackReportResult.cc
src/model/GenerateAggregateConfigRulesReportRequest.cc
src/model/GenerateAggregateConfigRulesReportResult.cc
src/model/GenerateAggregateResourceInventoryRequest.cc
src/model/GenerateAggregateResourceInventoryResult.cc
src/model/GenerateCompliancePackReportRequest.cc
src/model/GenerateCompliancePackReportResult.cc
src/model/GenerateConfigRulesReportRequest.cc
src/model/GenerateConfigRulesReportResult.cc
src/model/GenerateResourceInventoryRequest.cc
src/model/GenerateResourceInventoryResult.cc
src/model/GetAdvancedSearchFileRequest.cc
src/model/GetAdvancedSearchFileResult.cc
src/model/GetAggregateAccountComplianceByPackRequest.cc
src/model/GetAggregateAccountComplianceByPackResult.cc
src/model/GetAggregateAdvancedSearchFileRequest.cc
src/model/GetAggregateAdvancedSearchFileResult.cc
src/model/GetAggregateCompliancePackRequest.cc
src/model/GetAggregateCompliancePackResult.cc
src/model/GetAggregateCompliancePackReportRequest.cc
src/model/GetAggregateCompliancePackReportResult.cc
src/model/GetAggregateComplianceSummaryRequest.cc
src/model/GetAggregateComplianceSummaryResult.cc
src/model/GetAggregateConfigDeliveryChannelRequest.cc
src/model/GetAggregateConfigDeliveryChannelResult.cc
src/model/GetAggregateConfigRuleRequest.cc
src/model/GetAggregateConfigRuleResult.cc
src/model/GetAggregateConfigRuleComplianceByPackRequest.cc
src/model/GetAggregateConfigRuleComplianceByPackResult.cc
src/model/GetAggregateConfigRuleSummaryByRiskLevelRequest.cc
src/model/GetAggregateConfigRuleSummaryByRiskLevelResult.cc
src/model/GetAggregateConfigRulesReportRequest.cc
src/model/GetAggregateConfigRulesReportResult.cc
src/model/GetAggregateDiscoveredResourceRequest.cc
src/model/GetAggregateDiscoveredResourceResult.cc
src/model/GetDiscoveredResourceCountsRequest.cc
src/model/GetDiscoveredResourceCountsResult.cc
src/model/GetDiscoveredResourceSummaryRequest.cc
src/model/GetDiscoveredResourceSummaryResult.cc
src/model/GetAggregateResourceComplianceByConfigRuleRequest.cc
src/model/GetAggregateResourceComplianceByConfigRuleResult.cc
src/model/GetAggregateResourceComplianceByPackRequest.cc
src/model/GetAggregateResourceComplianceByPackResult.cc
src/model/GetAggregateResourceComplianceGroupByRegionRequest.cc
src/model/GetAggregateResourceComplianceGroupByRegionResult.cc
src/model/GetAggregateResourceComplianceGroupByResourceTypeRequest.cc
src/model/GetAggregateResourceComplianceGroupByResourceTypeResult.cc
src/model/GetAggregateResourceComplianceTimelineRequest.cc
src/model/GetAggregateResourceComplianceTimelineResult.cc
src/model/GetAggregateResourceConfigurationTimelineRequest.cc
src/model/GetAggregateResourceConfigurationTimelineResult.cc
src/model/GetAggregateResourceCountsGroupByRegionRequest.cc
src/model/GetAggregateResourceCountsGroupByRegionResult.cc
src/model/GetAggregateResourceCountsGroupByResourceTypeRequest.cc
src/model/GetAggregateResourceCountsGroupByResourceTypeResult.cc
src/model/GetAggregateResourceInventoryRequest.cc
src/model/GetAggregateResourceInventoryResult.cc
src/model/GetAggregatorRequest.cc
src/model/GetAggregatorResult.cc
src/model/GetCompliancePackRequest.cc
src/model/GetCompliancePackResult.cc
src/model/GetCompliancePackReportRequest.cc
src/model/GetCompliancePackReportResult.cc
src/model/GetComplianceSummaryRequest.cc
src/model/GetComplianceSummaryResult.cc
src/model/GetConfigDeliveryChannelRequest.cc
src/model/GetConfigDeliveryChannelResult.cc
src/model/GetConfigRuleRequest.cc
src/model/GetConfigRuleResult.cc
src/model/GetConfigRuleComplianceByPackRequest.cc
src/model/GetConfigRuleComplianceByPackResult.cc
src/model/GetConfigRuleSummaryByRiskLevelRequest.cc
src/model/GetConfigRuleSummaryByRiskLevelResult.cc
src/model/GetConfigRulesReportRequest.cc
src/model/GetConfigRulesReportResult.cc
src/model/GetConfigurationRecorderRequest.cc
src/model/GetConfigurationRecorderResult.cc
src/model/GetDiscoveredResourceRequest.cc
src/model/GetDiscoveredResourceResult.cc
src/model/GetDiscoveredResourceCountsGroupByRegionRequest.cc
src/model/GetDiscoveredResourceCountsGroupByRegionResult.cc
src/model/GetDiscoveredResourceCountsGroupByResourceTypeRequest.cc
src/model/GetDiscoveredResourceCountsGroupByResourceTypeResult.cc
src/model/GetIntegratedServiceStatusRequest.cc
src/model/GetIntegratedServiceStatusResult.cc
src/model/GetManagedRuleRequest.cc
src/model/GetManagedRuleResult.cc
src/model/GetRemediationTemplateRequest.cc
src/model/GetRemediationTemplateResult.cc
src/model/GetResourceComplianceByConfigRuleRequest.cc
src/model/GetResourceComplianceByConfigRuleResult.cc
src/model/GetResourceComplianceByPackRequest.cc
src/model/GetResourceComplianceByPackResult.cc
src/model/GetResourceComplianceGroupByRegionRequest.cc
src/model/GetResourceComplianceGroupByRegionResult.cc
src/model/GetResourceComplianceGroupByResourceTypeRequest.cc
src/model/GetResourceComplianceGroupByResourceTypeResult.cc
src/model/GetResourceComplianceTimelineRequest.cc
src/model/GetResourceComplianceTimelineResult.cc
src/model/GetResourceConfigurationTimelineRequest.cc
src/model/GetResourceConfigurationTimelineResult.cc
src/model/GetSupportedResourceTypesRequest.cc
src/model/GetSupportedResourceTypesResult.cc
src/model/GetResourceInventoryRequest.cc
src/model/GetResourceInventoryResult.cc
src/model/GetSupportedResourceRelationConfigRequest.cc
src/model/GetSupportedResourceRelationConfigResult.cc
src/model/IgnoreAggregateEvaluationResultsRequest.cc
src/model/IgnoreAggregateEvaluationResultsResult.cc
src/model/IgnoreEvaluationResultsRequest.cc
src/model/IgnoreEvaluationResultsResult.cc
src/model/ListAggregateCompliancePacksRequest.cc
src/model/ListAggregateCompliancePacksResult.cc
src/model/ListAggregateConfigDeliveryChannelsRequest.cc
src/model/ListAggregateConfigDeliveryChannelsResult.cc
src/model/ListAggregateConfigRuleEvaluationResultsRequest.cc
src/model/ListAggregateConfigRuleEvaluationResultsResult.cc
src/model/ListAggregateConfigRuleEvaluationStatisticsRequest.cc
src/model/ListAggregateConfigRuleEvaluationStatisticsResult.cc
src/model/ListAggregateConfigRulesRequest.cc
src/model/ListAggregateConfigRulesResult.cc
src/model/ListAggregateDiscoveredResourcesRequest.cc
src/model/ListAggregateDiscoveredResourcesResult.cc
src/model/ListAggregateRemediationExecutionsRequest.cc
src/model/ListAggregateRemediationExecutionsResult.cc
src/model/ListAggregateRemediationsRequest.cc
src/model/ListAggregateRemediationsResult.cc
src/model/ListAggregateResourceEvaluationResultsRequest.cc
src/model/ListAggregateResourceEvaluationResultsResult.cc
src/model/ListAggregateResourceRelationsRequest.cc
src/model/ListAggregateResourceRelationsResult.cc
src/model/ListAggregateResourcesByAdvancedSearchRequest.cc
src/model/ListAggregateResourcesByAdvancedSearchResult.cc
src/model/ListAggregatorsRequest.cc
src/model/ListAggregatorsResult.cc
src/model/ListCompliancePackTemplatesRequest.cc
src/model/ListCompliancePackTemplatesResult.cc
src/model/ListCompliancePacksRequest.cc
src/model/ListCompliancePacksResult.cc
src/model/ListConfigDeliveryChannelsRequest.cc
src/model/ListConfigDeliveryChannelsResult.cc
src/model/ListConfigRuleEvaluationResultsRequest.cc
src/model/ListConfigRuleEvaluationResultsResult.cc
src/model/ListConfigRuleEvaluationStatisticsRequest.cc
src/model/ListConfigRuleEvaluationStatisticsResult.cc
src/model/ListConfigRulesRequest.cc
src/model/ListConfigRulesResult.cc
src/model/ListDiscoveredResourcesRequest.cc
src/model/ListDiscoveredResourcesResult.cc
src/model/ListIntegratedServiceRequest.cc
src/model/ListIntegratedServiceResult.cc
src/model/ListManagedRulesRequest.cc
src/model/ListManagedRulesResult.cc
src/model/ListPreManagedRulesRequest.cc
src/model/ListPreManagedRulesResult.cc
src/model/ListRemediationExecutionsRequest.cc
src/model/ListRemediationExecutionsResult.cc
src/model/ListRemediationTemplatesRequest.cc
src/model/ListRemediationTemplatesResult.cc
src/model/PutConfigRuleRequest.cc
src/model/PutConfigRuleResult.cc
src/model/PutConfigurationRecorderRequest.cc
src/model/PutConfigurationRecorderResult.cc
src/model/PutDeliveryChannelRequest.cc
src/model/PutDeliveryChannelResult.cc
src/model/ListRemediationsRequest.cc
src/model/ListRemediationsResult.cc
src/model/ListResourceEvaluationResultsRequest.cc
src/model/ListResourceEvaluationResultsResult.cc
src/model/ListResourceRelationsRequest.cc
src/model/ListResourceRelationsResult.cc
src/model/ListResourcesByAdvancedSearchRequest.cc
src/model/ListResourcesByAdvancedSearchResult.cc
src/model/ListSupportedProductsRequest.cc
src/model/ListSupportedProductsResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/PutEvaluationsRequest.cc
src/model/PutEvaluationsResult.cc
src/model/RevertAggregateEvaluationResultsRequest.cc
src/model/RevertAggregateEvaluationResultsResult.cc
src/model/RevertEvaluationResultsRequest.cc
src/model/RevertEvaluationResultsResult.cc
src/model/StartAggregateConfigRuleEvaluationRequest.cc
src/model/StartAggregateConfigRuleEvaluationResult.cc
src/model/StartAggregateRemediationRequest.cc
src/model/StartAggregateRemediationResult.cc
src/model/StartConfigRuleEvaluationRequest.cc
src/model/StartConfigRuleEvaluationResult.cc
src/model/StartConfigurationRecorderRequest.cc
src/model/StartConfigurationRecorderResult.cc
src/model/StopConfigRulesRequest.cc
src/model/StopConfigRulesResult.cc )
src/model/StartRemediationRequest.cc
src/model/StartRemediationResult.cc
src/model/StopConfigurationRecorderRequest.cc
src/model/StopConfigurationRecorderResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc
src/model/UpdateAggregateCompliancePackRequest.cc
src/model/UpdateAggregateCompliancePackResult.cc
src/model/UpdateAggregateConfigDeliveryChannelRequest.cc
src/model/UpdateAggregateConfigDeliveryChannelResult.cc
src/model/UpdateAggregateConfigRuleRequest.cc
src/model/UpdateAggregateConfigRuleResult.cc
src/model/UpdateAggregateRemediationRequest.cc
src/model/UpdateAggregateRemediationResult.cc
src/model/UpdateAggregatorRequest.cc
src/model/UpdateAggregatorResult.cc
src/model/UpdateCompliancePackRequest.cc
src/model/UpdateCompliancePackResult.cc
src/model/UpdateConfigDeliveryChannelRequest.cc
src/model/UpdateConfigDeliveryChannelResult.cc
src/model/UpdateConfigRuleRequest.cc
src/model/UpdateConfigRuleResult.cc
src/model/UpdateConfigurationRecorderRequest.cc
src/model/UpdateConfigurationRecorderResult.cc
src/model/UpdateDeliveryChannelRequest.cc
src/model/UpdateDeliveryChannelResult.cc
src/model/UpdateIntegratedServiceStatusRequest.cc
src/model/UpdateIntegratedServiceStatusResult.cc
src/model/UpdateRemediationRequest.cc
src/model/UpdateRemediationResult.cc )
add_library(config ${LIB_TYPE}
${config_public_header}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_ACTIVEAGGREGATECONFIGRULESREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_ACTIVEAGGREGATECONFIGRULESREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT ActiveAggregateConfigRulesRequest : public RpcServiceRequest {
public:
ActiveAggregateConfigRulesRequest();
~ActiveAggregateConfigRulesRequest();
std::string getConfigRuleIds() const;
void setConfigRuleIds(const std::string &configRuleIds);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
private:
std::string configRuleIds_;
std::string aggregatorId_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_ACTIVEAGGREGATECONFIGRULESREQUEST_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_CONFIG_MODEL_ACTIVEAGGREGATECONFIGRULESRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_ACTIVEAGGREGATECONFIGRULESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT ActiveAggregateConfigRulesResult : public ServiceResult
{
public:
struct OperateRuleResult
{
struct OperateRuleItem
{
std::string configRuleId;
std::string errorCode;
bool success;
};
std::vector<OperateRuleItem> operateRuleItemList;
};
ActiveAggregateConfigRulesResult();
explicit ActiveAggregateConfigRulesResult(const std::string &payload);
~ActiveAggregateConfigRulesResult();
OperateRuleResult getOperateRuleResult()const;
protected:
void parse(const std::string &payload);
private:
OperateRuleResult operateRuleResult_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_ACTIVEAGGREGATECONFIGRULESRESULT_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_CONFIG_MODEL_ATTACHAGGREGATECONFIGRULETOCOMPLIANCEPACKREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_ATTACHAGGREGATECONFIGRULETOCOMPLIANCEPACKREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT AttachAggregateConfigRuleToCompliancePackRequest : public RpcServiceRequest {
public:
AttachAggregateConfigRuleToCompliancePackRequest();
~AttachAggregateConfigRuleToCompliancePackRequest();
std::string getConfigRuleIds() const;
void setConfigRuleIds(const std::string &configRuleIds);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::string getCompliancePackId() const;
void setCompliancePackId(const std::string &compliancePackId);
private:
std::string configRuleIds_;
std::string aggregatorId_;
std::string compliancePackId_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_ATTACHAGGREGATECONFIGRULETOCOMPLIANCEPACKREQUEST_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_CONFIG_MODEL_ATTACHAGGREGATECONFIGRULETOCOMPLIANCEPACKRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_ATTACHAGGREGATECONFIGRULETOCOMPLIANCEPACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT AttachAggregateConfigRuleToCompliancePackResult : public ServiceResult
{
public:
struct OperateRuleResult
{
struct OperateRuleItem
{
std::string configRuleId;
std::string errorCode;
bool success;
};
std::vector<OperateRuleItem> operateRuleItemList;
};
AttachAggregateConfigRuleToCompliancePackResult();
explicit AttachAggregateConfigRuleToCompliancePackResult(const std::string &payload);
~AttachAggregateConfigRuleToCompliancePackResult();
OperateRuleResult getOperateRuleResult()const;
protected:
void parse(const std::string &payload);
private:
OperateRuleResult operateRuleResult_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_ATTACHAGGREGATECONFIGRULETOCOMPLIANCEPACKRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_ATTACHCONFIGRULETOCOMPLIANCEPACKREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_ATTACHCONFIGRULETOCOMPLIANCEPACKREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT AttachConfigRuleToCompliancePackRequest : public RpcServiceRequest {
public:
AttachConfigRuleToCompliancePackRequest();
~AttachConfigRuleToCompliancePackRequest();
std::string getConfigRuleIds() const;
void setConfigRuleIds(const std::string &configRuleIds);
std::string getCompliancePackId() const;
void setCompliancePackId(const std::string &compliancePackId);
private:
std::string configRuleIds_;
std::string compliancePackId_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_ATTACHCONFIGRULETOCOMPLIANCEPACKREQUEST_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_CONFIG_MODEL_ATTACHCONFIGRULETOCOMPLIANCEPACKRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_ATTACHCONFIGRULETOCOMPLIANCEPACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT AttachConfigRuleToCompliancePackResult : public ServiceResult
{
public:
struct OperateRuleResult
{
struct OperateRuleItem
{
std::string configRuleId;
std::string errorCode;
bool success;
};
std::vector<OperateRuleItem> operateRuleItemList;
};
AttachConfigRuleToCompliancePackResult();
explicit AttachConfigRuleToCompliancePackResult(const std::string &payload);
~AttachConfigRuleToCompliancePackResult();
OperateRuleResult getOperateRuleResult()const;
protected:
void parse(const std::string &payload);
private:
OperateRuleResult operateRuleResult_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_ATTACHCONFIGRULETOCOMPLIANCEPACKRESULT_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_CONFIG_MODEL_COPYCOMPLIANCEPACKSREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_COPYCOMPLIANCEPACKSREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CopyCompliancePacksRequest : public RpcServiceRequest {
public:
CopyCompliancePacksRequest();
~CopyCompliancePacksRequest();
std::string getDesAggregatorIds() const;
void setDesAggregatorIds(const std::string &desAggregatorIds);
std::string getSrcAggregatorId() const;
void setSrcAggregatorId(const std::string &srcAggregatorId);
std::string getSrcCompliancePackIds() const;
void setSrcCompliancePackIds(const std::string &srcCompliancePackIds);
private:
std::string desAggregatorIds_;
std::string srcAggregatorId_;
std::string srcCompliancePackIds_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_COPYCOMPLIANCEPACKSREQUEST_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_CONFIG_MODEL_COPYCOMPLIANCEPACKSRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_COPYCOMPLIANCEPACKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CopyCompliancePacksResult : public ServiceResult
{
public:
CopyCompliancePacksResult();
explicit CopyCompliancePacksResult(const std::string &payload);
~CopyCompliancePacksResult();
bool getCopyRulesResult()const;
protected:
void parse(const std::string &payload);
private:
bool copyRulesResult_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_COPYCOMPLIANCEPACKSRESULT_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_CONFIG_MODEL_COPYCONFIGRULESREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_COPYCONFIGRULESREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CopyConfigRulesRequest : public RpcServiceRequest {
public:
CopyConfigRulesRequest();
~CopyConfigRulesRequest();
std::string getDesAggregatorIds() const;
void setDesAggregatorIds(const std::string &desAggregatorIds);
std::string getSrcConfigRuleIds() const;
void setSrcConfigRuleIds(const std::string &srcConfigRuleIds);
std::string getSrcAggregatorId() const;
void setSrcAggregatorId(const std::string &srcAggregatorId);
private:
std::string desAggregatorIds_;
std::string srcConfigRuleIds_;
std::string srcAggregatorId_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_COPYCONFIGRULESREQUEST_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_CONFIG_MODEL_COPYCONFIGRULESRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_COPYCONFIGRULESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CopyConfigRulesResult : public ServiceResult
{
public:
CopyConfigRulesResult();
explicit CopyConfigRulesResult(const std::string &payload);
~CopyConfigRulesResult();
bool getCopyRulesResult()const;
protected:
void parse(const std::string &payload);
private:
bool copyRulesResult_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_COPYCONFIGRULESRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_CREATEADVANCEDSEARCHFILEREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEADVANCEDSEARCHFILEREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateAdvancedSearchFileRequest : public RpcServiceRequest {
public:
CreateAdvancedSearchFileRequest();
~CreateAdvancedSearchFileRequest();
std::string getSql() const;
void setSql(const std::string &sql);
bool getOnlyBaseLine() const;
void setOnlyBaseLine(bool onlyBaseLine);
private:
std::string sql_;
bool onlyBaseLine_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEADVANCEDSEARCHFILEREQUEST_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_CONFIG_MODEL_CREATEADVANCEDSEARCHFILERESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEADVANCEDSEARCHFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateAdvancedSearchFileResult : public ServiceResult
{
public:
CreateAdvancedSearchFileResult();
explicit CreateAdvancedSearchFileResult(const std::string &payload);
~CreateAdvancedSearchFileResult();
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEADVANCEDSEARCHFILERESULT_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_CONFIG_MODEL_CREATEAGGREGATEADVANCEDSEARCHFILEREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATEADVANCEDSEARCHFILEREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateAdvancedSearchFileRequest : public RpcServiceRequest {
public:
CreateAggregateAdvancedSearchFileRequest();
~CreateAggregateAdvancedSearchFileRequest();
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::string getSql() const;
void setSql(const std::string &sql);
bool getOnlyBaseLine() const;
void setOnlyBaseLine(bool onlyBaseLine);
private:
std::string aggregatorId_;
std::string sql_;
bool onlyBaseLine_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATEADVANCEDSEARCHFILEREQUEST_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_CONFIG_MODEL_CREATEAGGREGATEADVANCEDSEARCHFILERESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATEADVANCEDSEARCHFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateAdvancedSearchFileResult : public ServiceResult
{
public:
CreateAggregateAdvancedSearchFileResult();
explicit CreateAggregateAdvancedSearchFileResult(const std::string &payload);
~CreateAggregateAdvancedSearchFileResult();
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATEADVANCEDSEARCHFILERESULT_H_

View File

@@ -0,0 +1,91 @@
/*
* 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_CONFIG_MODEL_CREATEAGGREGATECOMPLIANCEPACKREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECOMPLIANCEPACKREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateCompliancePackRequest : public RpcServiceRequest {
public:
struct ConfigRules {
std::string managedRuleIdentifier;
struct ConfigRuleParametersItem {
std::string parameterValue;
std::string parameterName;
};
ConfigRuleParametersItem configRuleParametersItem;
std::vector<ConfigRuleParametersItem> configRuleParameters;
std::string configRuleId;
std::string configRuleName;
std::string description;
int riskLevel;
};
CreateAggregateCompliancePackRequest();
~CreateAggregateCompliancePackRequest();
std::string getTagKeyScope() const;
void setTagKeyScope(const std::string &tagKeyScope);
std::string getCompliancePackName() const;
void setCompliancePackName(const std::string &compliancePackName);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getCompliancePackTemplateId() const;
void setCompliancePackTemplateId(const std::string &compliancePackTemplateId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::string getTagValueScope() const;
void setTagValueScope(const std::string &tagValueScope);
std::string getRegionIdsScope() const;
void setRegionIdsScope(const std::string &regionIdsScope);
bool getDefaultEnable() const;
void setDefaultEnable(bool defaultEnable);
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
std::string getResourceGroupIdsScope() const;
void setResourceGroupIdsScope(const std::string &resourceGroupIdsScope);
std::string getExcludeResourceIdsScope() const;
void setExcludeResourceIdsScope(const std::string &excludeResourceIdsScope);
private:
std::string tagKeyScope_;
std::string compliancePackName_;
std::string clientToken_;
std::string compliancePackTemplateId_;
std::string description_;
std::string aggregatorId_;
std::string tagValueScope_;
std::string regionIdsScope_;
bool defaultEnable_;
std::vector<ConfigRules> configRules_;
int riskLevel_;
std::string resourceGroupIdsScope_;
std::string excludeResourceIdsScope_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECOMPLIANCEPACKREQUEST_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_CONFIG_MODEL_CREATEAGGREGATECOMPLIANCEPACKRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECOMPLIANCEPACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateCompliancePackResult : public ServiceResult
{
public:
CreateAggregateCompliancePackResult();
explicit CreateAggregateCompliancePackResult(const std::string &payload);
~CreateAggregateCompliancePackResult();
std::string getCompliancePackId()const;
protected:
void parse(const std::string &payload);
private:
std::string compliancePackId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECOMPLIANCEPACKRESULT_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_CONFIG_MODEL_CREATEAGGREGATECONFIGDELIVERYCHANNELREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGDELIVERYCHANNELREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateConfigDeliveryChannelRequest : public RpcServiceRequest {
public:
CreateAggregateConfigDeliveryChannelRequest();
~CreateAggregateConfigDeliveryChannelRequest();
bool getNonCompliantNotification() const;
void setNonCompliantNotification(bool nonCompliantNotification);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
bool getConfigurationSnapshot() const;
void setConfigurationSnapshot(bool configurationSnapshot);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::string getDeliveryChannelTargetArn() const;
void setDeliveryChannelTargetArn(const std::string &deliveryChannelTargetArn);
std::string getDeliveryChannelCondition() const;
void setDeliveryChannelCondition(const std::string &deliveryChannelCondition);
bool getConfigurationItemChangeNotification() const;
void setConfigurationItemChangeNotification(bool configurationItemChangeNotification);
std::string getDeliveryChannelName() const;
void setDeliveryChannelName(const std::string &deliveryChannelName);
std::string getDeliverySnapshotTime() const;
void setDeliverySnapshotTime(const std::string &deliverySnapshotTime);
std::string getOversizedDataOSSTargetArn() const;
void setOversizedDataOSSTargetArn(const std::string &oversizedDataOSSTargetArn);
std::string getDeliveryChannelType() const;
void setDeliveryChannelType(const std::string &deliveryChannelType);
private:
bool nonCompliantNotification_;
std::string clientToken_;
bool configurationSnapshot_;
std::string description_;
std::string aggregatorId_;
std::string deliveryChannelTargetArn_;
std::string deliveryChannelCondition_;
bool configurationItemChangeNotification_;
std::string deliveryChannelName_;
std::string deliverySnapshotTime_;
std::string oversizedDataOSSTargetArn_;
std::string deliveryChannelType_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGDELIVERYCHANNELREQUEST_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_CONFIG_MODEL_CREATEAGGREGATECONFIGDELIVERYCHANNELRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGDELIVERYCHANNELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateConfigDeliveryChannelResult : public ServiceResult
{
public:
CreateAggregateConfigDeliveryChannelResult();
explicit CreateAggregateConfigDeliveryChannelResult(const std::string &payload);
~CreateAggregateConfigDeliveryChannelResult();
std::string getDeliveryChannelId()const;
protected:
void parse(const std::string &payload);
private:
std::string deliveryChannelId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGDELIVERYCHANNELRESULT_H_

View File

@@ -0,0 +1,99 @@
/*
* 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_CONFIG_MODEL_CREATEAGGREGATECONFIGRULEREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGRULEREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateConfigRuleRequest : public RpcServiceRequest {
public:
CreateAggregateConfigRuleRequest();
~CreateAggregateConfigRuleRequest();
std::string getTagKeyScope() const;
void setTagKeyScope(const std::string &tagKeyScope);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::vector<std::string> getResourceTypesScope() const;
void setResourceTypesScope(const std::vector<std::string> &resourceTypesScope);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::string getConfigRuleTriggerTypes() const;
void setConfigRuleTriggerTypes(const std::string &configRuleTriggerTypes);
std::string getSourceIdentifier() const;
void setSourceIdentifier(const std::string &sourceIdentifier);
std::string getTagValueScope() const;
void setTagValueScope(const std::string &tagValueScope);
std::string getExcludeAccountIdsScope() const;
void setExcludeAccountIdsScope(const std::string &excludeAccountIdsScope);
std::string getRegionIdsScope() const;
void setRegionIdsScope(const std::string &regionIdsScope);
std::string getExcludeFolderIdsScope() const;
void setExcludeFolderIdsScope(const std::string &excludeFolderIdsScope);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
std::string getSourceOwner() const;
void setSourceOwner(const std::string &sourceOwner);
std::string getResourceGroupIdsScope() const;
void setResourceGroupIdsScope(const std::string &resourceGroupIdsScope);
std::string getInputParameters() const;
void setInputParameters(const std::string &inputParameters);
std::string getConfigRuleName() const;
void setConfigRuleName(const std::string &configRuleName);
std::string getTagKeyLogicScope() const;
void setTagKeyLogicScope(const std::string &tagKeyLogicScope);
std::string getMaximumExecutionFrequency() const;
void setMaximumExecutionFrequency(const std::string &maximumExecutionFrequency);
std::string getFolderIdsScope() const;
void setFolderIdsScope(const std::string &folderIdsScope);
std::string getExcludeResourceIdsScope() const;
void setExcludeResourceIdsScope(const std::string &excludeResourceIdsScope);
private:
std::string tagKeyScope_;
std::string clientToken_;
std::vector<std::string> resourceTypesScope_;
std::string description_;
std::string aggregatorId_;
std::string configRuleTriggerTypes_;
std::string sourceIdentifier_;
std::string tagValueScope_;
std::string excludeAccountIdsScope_;
std::string regionIdsScope_;
std::string excludeFolderIdsScope_;
int riskLevel_;
std::string sourceOwner_;
std::string resourceGroupIdsScope_;
std::string inputParameters_;
std::string configRuleName_;
std::string tagKeyLogicScope_;
std::string maximumExecutionFrequency_;
std::string folderIdsScope_;
std::string excludeResourceIdsScope_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGRULEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESRESULT_H_
#ifndef ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGRULERESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGRULERESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT GetSupportedResourceTypesResult : public ServiceResult
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateConfigRuleResult : public ServiceResult
{
public:
GetSupportedResourceTypesResult();
explicit GetSupportedResourceTypesResult(const std::string &payload);
~GetSupportedResourceTypesResult();
std::vector<std::string> getResourceTypes()const;
CreateAggregateConfigRuleResult();
explicit CreateAggregateConfigRuleResult(const std::string &payload);
~CreateAggregateConfigRuleResult();
std::string getConfigRuleId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> resourceTypes_;
std::string configRuleId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESRESULT_H_
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATECONFIGRULERESULT_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_CONFIG_MODEL_CREATEAGGREGATEREMEDIATIONREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATEREMEDIATIONREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateRemediationRequest : public RpcServiceRequest {
public:
CreateAggregateRemediationRequest();
~CreateAggregateRemediationRequest();
std::string getConfigRuleId() const;
void setConfigRuleId(const std::string &configRuleId);
std::string getRemediationType() const;
void setRemediationType(const std::string &remediationType);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::string getSourceType() const;
void setSourceType(const std::string &sourceType);
std::string getRemediationTemplateId() const;
void setRemediationTemplateId(const std::string &remediationTemplateId);
std::string getParams() const;
void setParams(const std::string &params);
std::string getInvokeType() const;
void setInvokeType(const std::string &invokeType);
private:
std::string configRuleId_;
std::string remediationType_;
std::string clientToken_;
std::string aggregatorId_;
std::string sourceType_;
std::string remediationTemplateId_;
std::string params_;
std::string invokeType_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATEREMEDIATIONREQUEST_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_CONFIG_MODEL_CREATEAGGREGATEREMEDIATIONRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATEREMEDIATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregateRemediationResult : public ServiceResult
{
public:
CreateAggregateRemediationResult();
explicit CreateAggregateRemediationResult(const std::string &payload);
~CreateAggregateRemediationResult();
std::string getRemediationId()const;
protected:
void parse(const std::string &payload);
private:
std::string remediationId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATEREMEDIATIONRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_CONFIG_MODEL_CREATEAGGREGATORREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATORREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregatorRequest : public RpcServiceRequest {
public:
struct AggregatorAccounts {
long accountId;
std::string accountName;
std::string accountType;
};
CreateAggregatorRequest();
~CreateAggregatorRequest();
std::string getAggregatorType() const;
void setAggregatorType(const std::string &aggregatorType);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getAggregatorName() const;
void setAggregatorName(const std::string &aggregatorName);
std::string getDescription() const;
void setDescription(const std::string &description);
std::vector<AggregatorAccounts> getAggregatorAccounts() const;
void setAggregatorAccounts(const std::vector<AggregatorAccounts> &aggregatorAccounts);
private:
std::string aggregatorType_;
std::string clientToken_;
std::string aggregatorName_;
std::string description_;
std::vector<AggregatorAccounts> aggregatorAccounts_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATORREQUEST_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_CONFIG_MODEL_CREATEAGGREGATORRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATORRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateAggregatorResult : public ServiceResult
{
public:
CreateAggregatorResult();
explicit CreateAggregatorResult(const std::string &payload);
~CreateAggregatorResult();
std::string getAggregatorId()const;
protected:
void parse(const std::string &payload);
private:
std::string aggregatorId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEAGGREGATORRESULT_H_

View File

@@ -0,0 +1,88 @@
/*
* 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_CONFIG_MODEL_CREATECOMPLIANCEPACKREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATECOMPLIANCEPACKREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateCompliancePackRequest : public RpcServiceRequest {
public:
struct ConfigRules {
std::string managedRuleIdentifier;
struct ConfigRuleParametersItem {
std::string parameterValue;
std::string parameterName;
};
ConfigRuleParametersItem configRuleParametersItem;
std::vector<ConfigRuleParametersItem> configRuleParameters;
std::string configRuleId;
std::string configRuleName;
std::string description;
int riskLevel;
};
CreateCompliancePackRequest();
~CreateCompliancePackRequest();
std::string getTagKeyScope() const;
void setTagKeyScope(const std::string &tagKeyScope);
std::string getCompliancePackName() const;
void setCompliancePackName(const std::string &compliancePackName);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getCompliancePackTemplateId() const;
void setCompliancePackTemplateId(const std::string &compliancePackTemplateId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getTagValueScope() const;
void setTagValueScope(const std::string &tagValueScope);
std::string getRegionIdsScope() const;
void setRegionIdsScope(const std::string &regionIdsScope);
bool getDefaultEnable() const;
void setDefaultEnable(bool defaultEnable);
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
std::string getResourceGroupIdsScope() const;
void setResourceGroupIdsScope(const std::string &resourceGroupIdsScope);
std::string getExcludeResourceIdsScope() const;
void setExcludeResourceIdsScope(const std::string &excludeResourceIdsScope);
private:
std::string tagKeyScope_;
std::string compliancePackName_;
std::string clientToken_;
std::string compliancePackTemplateId_;
std::string description_;
std::string tagValueScope_;
std::string regionIdsScope_;
bool defaultEnable_;
std::vector<ConfigRules> configRules_;
int riskLevel_;
std::string resourceGroupIdsScope_;
std::string excludeResourceIdsScope_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATECOMPLIANCEPACKREQUEST_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_CONFIG_MODEL_CREATECOMPLIANCEPACKRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATECOMPLIANCEPACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateCompliancePackResult : public ServiceResult
{
public:
CreateCompliancePackResult();
explicit CreateCompliancePackResult(const std::string &payload);
~CreateCompliancePackResult();
std::string getCompliancePackId()const;
protected:
void parse(const std::string &payload);
private:
std::string compliancePackId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATECOMPLIANCEPACKRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_CONFIG_MODEL_CREATECONFIGDELIVERYCHANNELREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGDELIVERYCHANNELREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateConfigDeliveryChannelRequest : public RpcServiceRequest {
public:
CreateConfigDeliveryChannelRequest();
~CreateConfigDeliveryChannelRequest();
bool getNonCompliantNotification() const;
void setNonCompliantNotification(bool nonCompliantNotification);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
bool getConfigurationSnapshot() const;
void setConfigurationSnapshot(bool configurationSnapshot);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getDeliveryChannelTargetArn() const;
void setDeliveryChannelTargetArn(const std::string &deliveryChannelTargetArn);
std::string getDeliveryChannelCondition() const;
void setDeliveryChannelCondition(const std::string &deliveryChannelCondition);
bool getConfigurationItemChangeNotification() const;
void setConfigurationItemChangeNotification(bool configurationItemChangeNotification);
std::string getDeliveryChannelName() const;
void setDeliveryChannelName(const std::string &deliveryChannelName);
std::string getDeliverySnapshotTime() const;
void setDeliverySnapshotTime(const std::string &deliverySnapshotTime);
std::string getOversizedDataOSSTargetArn() const;
void setOversizedDataOSSTargetArn(const std::string &oversizedDataOSSTargetArn);
std::string getDeliveryChannelType() const;
void setDeliveryChannelType(const std::string &deliveryChannelType);
private:
bool nonCompliantNotification_;
std::string clientToken_;
bool configurationSnapshot_;
std::string description_;
std::string deliveryChannelTargetArn_;
std::string deliveryChannelCondition_;
bool configurationItemChangeNotification_;
std::string deliveryChannelName_;
std::string deliverySnapshotTime_;
std::string oversizedDataOSSTargetArn_;
std::string deliveryChannelType_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGDELIVERYCHANNELREQUEST_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_CONFIG_MODEL_CREATECONFIGDELIVERYCHANNELRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGDELIVERYCHANNELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateConfigDeliveryChannelResult : public ServiceResult
{
public:
CreateConfigDeliveryChannelResult();
explicit CreateConfigDeliveryChannelResult(const std::string &payload);
~CreateConfigDeliveryChannelResult();
std::string getDeliveryChannelId()const;
protected:
void parse(const std::string &payload);
private:
std::string deliveryChannelId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGDELIVERYCHANNELRESULT_H_

View File

@@ -0,0 +1,87 @@
/*
* 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_CONFIG_MODEL_CREATECONFIGRULEREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGRULEREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateConfigRuleRequest : public RpcServiceRequest {
public:
CreateConfigRuleRequest();
~CreateConfigRuleRequest();
std::string getTagKeyScope() const;
void setTagKeyScope(const std::string &tagKeyScope);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::vector<std::string> getResourceTypesScope() const;
void setResourceTypesScope(const std::vector<std::string> &resourceTypesScope);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getConfigRuleTriggerTypes() const;
void setConfigRuleTriggerTypes(const std::string &configRuleTriggerTypes);
std::string getSourceIdentifier() const;
void setSourceIdentifier(const std::string &sourceIdentifier);
std::string getTagValueScope() const;
void setTagValueScope(const std::string &tagValueScope);
std::string getRegionIdsScope() const;
void setRegionIdsScope(const std::string &regionIdsScope);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
std::string getSourceOwner() const;
void setSourceOwner(const std::string &sourceOwner);
std::string getResourceGroupIdsScope() const;
void setResourceGroupIdsScope(const std::string &resourceGroupIdsScope);
std::string getInputParameters() const;
void setInputParameters(const std::string &inputParameters);
std::string getConfigRuleName() const;
void setConfigRuleName(const std::string &configRuleName);
std::string getTagKeyLogicScope() const;
void setTagKeyLogicScope(const std::string &tagKeyLogicScope);
std::string getMaximumExecutionFrequency() const;
void setMaximumExecutionFrequency(const std::string &maximumExecutionFrequency);
std::string getExcludeResourceIdsScope() const;
void setExcludeResourceIdsScope(const std::string &excludeResourceIdsScope);
private:
std::string tagKeyScope_;
std::string clientToken_;
std::vector<std::string> resourceTypesScope_;
std::string description_;
std::string configRuleTriggerTypes_;
std::string sourceIdentifier_;
std::string tagValueScope_;
std::string regionIdsScope_;
int riskLevel_;
std::string sourceOwner_;
std::string resourceGroupIdsScope_;
std::string inputParameters_;
std::string configRuleName_;
std::string tagKeyLogicScope_;
std::string maximumExecutionFrequency_;
std::string excludeResourceIdsScope_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGRULEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGRULERESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGRULERESULT_H_
#ifndef ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGRULERESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGRULERESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT PutConfigRuleResult : public ServiceResult
class ALIBABACLOUD_CONFIG_EXPORT CreateConfigRuleResult : public ServiceResult
{
public:
PutConfigRuleResult();
explicit PutConfigRuleResult(const std::string &payload);
~PutConfigRuleResult();
CreateConfigRuleResult();
explicit CreateConfigRuleResult(const std::string &payload);
~CreateConfigRuleResult();
std::string getConfigRuleId()const;
protected:
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGRULERESULT_H_
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATECONFIGRULERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELREQUEST_H_
#ifndef ALIBABACLOUD_CONFIG_MODEL_CREATEDELIVERYCHANNELREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEDELIVERYCHANNELREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,41 +26,47 @@
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT PutDeliveryChannelRequest : public RpcServiceRequest {
class ALIBABACLOUD_CONFIG_EXPORT CreateDeliveryChannelRequest : public RpcServiceRequest {
public:
PutDeliveryChannelRequest();
~PutDeliveryChannelRequest();
CreateDeliveryChannelRequest();
~CreateDeliveryChannelRequest();
bool getNonCompliantNotification() const;
void setNonCompliantNotification(bool nonCompliantNotification);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
bool getConfigurationSnapshot() const;
void setConfigurationSnapshot(bool configurationSnapshot);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getDeliveryChannelTargetArn() const;
void setDeliveryChannelTargetArn(const std::string &deliveryChannelTargetArn);
std::string getDeliveryChannelCondition() const;
void setDeliveryChannelCondition(const std::string &deliveryChannelCondition);
bool getConfigurationItemChangeNotification() const;
void setConfigurationItemChangeNotification(bool configurationItemChangeNotification);
std::string getDeliveryChannelAssumeRoleArn() const;
void setDeliveryChannelAssumeRoleArn(const std::string &deliveryChannelAssumeRoleArn);
std::string getDeliveryChannelName() const;
void setDeliveryChannelName(const std::string &deliveryChannelName);
std::string getDeliveryChannelId() const;
void setDeliveryChannelId(const std::string &deliveryChannelId);
std::string getOversizedDataOSSTargetArn() const;
void setOversizedDataOSSTargetArn(const std::string &oversizedDataOSSTargetArn);
std::string getDeliveryChannelType() const;
void setDeliveryChannelType(const std::string &deliveryChannelType);
int getStatus() const;
void setStatus(int status);
private:
bool nonCompliantNotification_;
std::string clientToken_;
bool configurationSnapshot_;
std::string description_;
std::string deliveryChannelTargetArn_;
std::string deliveryChannelCondition_;
bool configurationItemChangeNotification_;
std::string deliveryChannelAssumeRoleArn_;
std::string deliveryChannelName_;
std::string deliveryChannelId_;
std::string oversizedDataOSSTargetArn_;
std::string deliveryChannelType_;
int status_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELREQUEST_H_
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEDELIVERYCHANNELREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELRESULT_H_
#ifndef ALIBABACLOUD_CONFIG_MODEL_CREATEDELIVERYCHANNELRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEDELIVERYCHANNELRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT PutDeliveryChannelResult : public ServiceResult
class ALIBABACLOUD_CONFIG_EXPORT CreateDeliveryChannelResult : public ServiceResult
{
public:
PutDeliveryChannelResult();
explicit PutDeliveryChannelResult(const std::string &payload);
~PutDeliveryChannelResult();
CreateDeliveryChannelResult();
explicit CreateDeliveryChannelResult(const std::string &payload);
~CreateDeliveryChannelResult();
std::string getDeliveryChannelId()const;
protected:
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELRESULT_H_
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEDELIVERYCHANNELRESULT_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_CONFIG_MODEL_CREATEREMEDIATIONREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEREMEDIATIONREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT CreateRemediationRequest : public RpcServiceRequest {
public:
CreateRemediationRequest();
~CreateRemediationRequest();
std::string getConfigRuleId() const;
void setConfigRuleId(const std::string &configRuleId);
std::string getRemediationType() const;
void setRemediationType(const std::string &remediationType);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getSourceType() const;
void setSourceType(const std::string &sourceType);
std::string getRemediationTemplateId() const;
void setRemediationTemplateId(const std::string &remediationTemplateId);
std::string getParams() const;
void setParams(const std::string &params);
std::string getInvokeType() const;
void setInvokeType(const std::string &invokeType);
private:
std::string configRuleId_;
std::string remediationType_;
std::string clientToken_;
std::string sourceType_;
std::string remediationTemplateId_;
std::string params_;
std::string invokeType_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEREMEDIATIONREQUEST_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_CONFIG_MODEL_CREATEREMEDIATIONRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_CREATEREMEDIATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT CreateRemediationResult : public ServiceResult
{
public:
CreateRemediationResult();
explicit CreateRemediationResult(const std::string &payload);
~CreateRemediationResult();
std::string getRemediationId()const;
protected:
void parse(const std::string &payload);
private:
std::string remediationId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_CREATEREMEDIATIONRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYREQUEST_H_
#ifndef ALIBABACLOUD_CONFIG_MODEL_DEACTIVEAGGREGATECONFIGRULESREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_DEACTIVEAGGREGATECONFIGRULESREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,20 +26,20 @@
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT GetDiscoveredResourceSummaryRequest : public RpcServiceRequest {
class ALIBABACLOUD_CONFIG_EXPORT DeactiveAggregateConfigRulesRequest : public RpcServiceRequest {
public:
GetDiscoveredResourceSummaryRequest();
~GetDiscoveredResourceSummaryRequest();
bool getMultiAccount() const;
void setMultiAccount(bool multiAccount);
long getMemberId() const;
void setMemberId(long memberId);
DeactiveAggregateConfigRulesRequest();
~DeactiveAggregateConfigRulesRequest();
std::string getConfigRuleIds() const;
void setConfigRuleIds(const std::string &configRuleIds);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
private:
bool multiAccount_;
long memberId_;
std::string configRuleIds_;
std::string aggregatorId_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYREQUEST_H_
#endif // !ALIBABACLOUD_CONFIG_MODEL_DEACTIVEAGGREGATECONFIGRULESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYRESULT_H_
#ifndef ALIBABACLOUD_CONFIG_MODEL_DEACTIVEAGGREGATECONFIGRULESRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_DEACTIVEAGGREGATECONFIGRULESRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,33 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT GetDiscoveredResourceSummaryResult : public ServiceResult
class ALIBABACLOUD_CONFIG_EXPORT DeactiveAggregateConfigRulesResult : public ServiceResult
{
public:
struct DiscoveredResourceSummary
struct OperateRuleResult
{
int resourceTypeCount;
int regionCount;
int resourceCount;
struct OperateRuleItem
{
std::string configRuleId;
std::string errorCode;
bool success;
};
std::vector<OperateRuleItem> operateRuleItemList;
};
GetDiscoveredResourceSummaryResult();
explicit GetDiscoveredResourceSummaryResult(const std::string &payload);
~GetDiscoveredResourceSummaryResult();
DiscoveredResourceSummary getDiscoveredResourceSummary()const;
DeactiveAggregateConfigRulesResult();
explicit DeactiveAggregateConfigRulesResult(const std::string &payload);
~DeactiveAggregateConfigRulesResult();
OperateRuleResult getOperateRuleResult()const;
protected:
void parse(const std::string &payload);
private:
DiscoveredResourceSummary discoveredResourceSummary_;
OperateRuleResult operateRuleResult_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYRESULT_H_
#endif // !ALIBABACLOUD_CONFIG_MODEL_DEACTIVEAGGREGATECONFIGRULESRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESREQUEST_H_
#ifndef ALIBABACLOUD_CONFIG_MODEL_DEACTIVECONFIGRULESREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_DEACTIVECONFIGRULESREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,10 +26,10 @@
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT StopConfigRulesRequest : public RpcServiceRequest {
class ALIBABACLOUD_CONFIG_EXPORT DeactiveConfigRulesRequest : public RpcServiceRequest {
public:
StopConfigRulesRequest();
~StopConfigRulesRequest();
DeactiveConfigRulesRequest();
~DeactiveConfigRulesRequest();
std::string getConfigRuleIds() const;
void setConfigRuleIds(const std::string &configRuleIds);
@@ -39,4 +39,4 @@ private:
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESREQUEST_H_
#endif // !ALIBABACLOUD_CONFIG_MODEL_DEACTIVECONFIGRULESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESRESULT_H_
#ifndef ALIBABACLOUD_CONFIG_MODEL_DEACTIVECONFIGRULESRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_DEACTIVECONFIGRULESRESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT StopConfigRulesResult : public ServiceResult
class ALIBABACLOUD_CONFIG_EXPORT DeactiveConfigRulesResult : public ServiceResult
{
public:
struct OperateRuleResult
@@ -44,9 +44,9 @@ namespace AlibabaCloud
};
StopConfigRulesResult();
explicit StopConfigRulesResult(const std::string &payload);
~StopConfigRulesResult();
DeactiveConfigRulesResult();
explicit DeactiveConfigRulesResult(const std::string &payload);
~DeactiveConfigRulesResult();
OperateRuleResult getOperateRuleResult()const;
protected:
@@ -58,4 +58,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESRESULT_H_
#endif // !ALIBABACLOUD_CONFIG_MODEL_DEACTIVECONFIGRULESRESULT_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_CONFIG_MODEL_DELETEAGGREGATECOMPLIANCEPACKSREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECOMPLIANCEPACKSREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT DeleteAggregateCompliancePacksRequest : public RpcServiceRequest {
public:
DeleteAggregateCompliancePacksRequest();
~DeleteAggregateCompliancePacksRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::string getCompliancePackIds() const;
void setCompliancePackIds(const std::string &compliancePackIds);
bool getDeleteRule() const;
void setDeleteRule(bool deleteRule);
private:
std::string clientToken_;
std::string aggregatorId_;
std::string compliancePackIds_;
bool deleteRule_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECOMPLIANCEPACKSREQUEST_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_CONFIG_MODEL_DELETEAGGREGATECOMPLIANCEPACKSRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECOMPLIANCEPACKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT DeleteAggregateCompliancePacksResult : public ServiceResult
{
public:
struct OperateCompliancePacksResult
{
struct OperateCompliancePacksItem
{
std::string compliancePackId;
std::string errorCode;
bool success;
};
std::vector<OperateCompliancePacksItem> operateCompliancePacks;
};
DeleteAggregateCompliancePacksResult();
explicit DeleteAggregateCompliancePacksResult(const std::string &payload);
~DeleteAggregateCompliancePacksResult();
OperateCompliancePacksResult getOperateCompliancePacksResult()const;
protected:
void parse(const std::string &payload);
private:
OperateCompliancePacksResult operateCompliancePacksResult_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECOMPLIANCEPACKSRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGDELIVERYCHANNELREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGDELIVERYCHANNELREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT DeleteAggregateConfigDeliveryChannelRequest : public RpcServiceRequest {
public:
DeleteAggregateConfigDeliveryChannelRequest();
~DeleteAggregateConfigDeliveryChannelRequest();
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::string getDeliveryChannelId() const;
void setDeliveryChannelId(const std::string &deliveryChannelId);
private:
std::string aggregatorId_;
std::string deliveryChannelId_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGDELIVERYCHANNELREQUEST_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_CONFIG_MODEL_DELETEAGGREGATECONFIGDELIVERYCHANNELRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGDELIVERYCHANNELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT DeleteAggregateConfigDeliveryChannelResult : public ServiceResult
{
public:
DeleteAggregateConfigDeliveryChannelResult();
explicit DeleteAggregateConfigDeliveryChannelResult(const std::string &payload);
~DeleteAggregateConfigDeliveryChannelResult();
std::string getDeliveryChannelId()const;
protected:
void parse(const std::string &payload);
private:
std::string deliveryChannelId_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGDELIVERYCHANNELRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGRULESREQUEST_H_
#define ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGRULESREQUEST_H_
#include <alibabacloud/config/ConfigExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Config {
namespace Model {
class ALIBABACLOUD_CONFIG_EXPORT DeleteAggregateConfigRulesRequest : public RpcServiceRequest {
public:
DeleteAggregateConfigRulesRequest();
~DeleteAggregateConfigRulesRequest();
std::string getConfigRuleIds() const;
void setConfigRuleIds(const std::string &configRuleIds);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
private:
std::string configRuleIds_;
std::string aggregatorId_;
};
} // namespace Model
} // namespace Config
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGRULESREQUEST_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_CONFIG_MODEL_DELETEAGGREGATECONFIGRULESRESULT_H_
#define ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGRULESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/config/ConfigExport.h>
namespace AlibabaCloud
{
namespace Config
{
namespace Model
{
class ALIBABACLOUD_CONFIG_EXPORT DeleteAggregateConfigRulesResult : public ServiceResult
{
public:
struct OperateRuleResult
{
struct OperateRuleItem
{
std::string configRuleId;
std::string errorCode;
bool success;
};
std::vector<OperateRuleItem> operateRuleItemList;
};
DeleteAggregateConfigRulesResult();
explicit DeleteAggregateConfigRulesResult(const std::string &payload);
~DeleteAggregateConfigRulesResult();
OperateRuleResult getOperateRuleResult()const;
protected:
void parse(const std::string &payload);
private:
OperateRuleResult operateRuleResult_;
};
}
}
}
#endif // !ALIBABACLOUD_CONFIG_MODEL_DELETEAGGREGATECONFIGRULESRESULT_H_

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