Compare commits

..

14 Commits

Author SHA1 Message Date
sdk-team
f5798365ea Add RAM ID in resonse of listUsers API. 2021-12-21 04:44:00 +00:00
sdk-team
aa08d51cee Fix array params. 2021-12-21 04:40:47 +00:00
sdk-team
42e485b31a Supported Designate Workers. 2021-12-21 04:13:21 +00:00
sdk-team
52cbb112ba Add Request Param Ipv6AddressCount For API CreateLaunchTemplate AND CreateLaunchTemplateVersion. 2021-12-20 12:20:55 +00:00
sdk-team
85b4b44446 Generated 2016-04-08 for Emr. 2021-12-20 08:59:11 +00:00
sdk-team
b7f51abaa3 Support Endpoint Protect. 2021-12-17 08:57:17 +00:00
sdk-team
3a799926cc Supported ACL for SMB. 2021-12-17 07:01:56 +00:00
sdk-team
f640148ecc Release for sprint 2_2_0. 2021-12-16 14:19:17 +00:00
sdk-team
541be1be3e Update OTA API, including CreateOTADynamicUpgradeJob,CreateOTAStaticUpgradeJob,QueryOTAJob. 2021-12-16 08:52:58 +00:00
sdk-team
706b0f8216 Support query resourceType. 2021-12-14 09:42:22 +00:00
sdk-team
892c369789 Generated 2019-09-10 for waf-openapi. 2021-12-14 07:56:52 +00:00
sdk-team
f9c588487c CreateServerlessDBInstance Add CapacityUnit. 2021-12-13 15:23:02 +00:00
sdk-team
feb2350da9 Openapi support querydisplay. 2021-12-13 11:17:26 +00:00
sdk-team
0c4ce878a8 Support query resourceType. 2021-12-13 07:31:45 +00:00
1083 changed files with 38706 additions and 44216 deletions

View File

@@ -1,3 +1,47 @@
2021-12-21 Version: 1.36.989
- Add RAM ID in resonse of listUsers API.
2021-12-21 Version: 1.36.988
- Fix array params.
2021-12-21 Version: 1.36.987
- Supported Designate Workers.
- Supported Get WorkFlow.
2021-12-20 Version: 1.36.986
- Add Request Param Ipv6AddressCount For API CreateLaunchTemplate AND CreateLaunchTemplateVersion.
- Add Response Data Ipv6AddressCount For API DescribeLaunchTemplateVersions.
2021-12-20 Version: 1.36.985
- Generated 2016-04-08 for `Emr`.
2021-12-17 Version: 1.36.984
- Support Endpoint Protect.
2021-12-17 Version: 1.36.983
- Supported ACL for SMB.
2021-12-16 Version: 1.36.982
- Release for sprint 2_2_0.
2021-12-16 Version: 1.36.981
- Update OTA API, including CreateOTADynamicUpgradeJob,CreateOTAStaticUpgradeJob,QueryOTAJob.
2021-12-14 Version: 1.36.980
- Support query resourceType.
2021-12-14 Version: 1.36.979
- Generated 2019-09-10 for `waf-openapi`.
2021-12-13 Version: 1.36.978
- CreateServerlessDBInstance Add CapacityUnit.
2021-12-13 Version: 1.36.977
- Openapi support querydisplay.
2021-12-13 Version: 1.36.976
- Support query resourceType.
2021-12-13 Version: 1.36.975
- Support query resourceType.

View File

@@ -1 +1 @@
1.36.975
1.36.989

View File

@@ -42,8 +42,8 @@ namespace AlibabaCloud
std::string channelState;
std::string releaseInitiator;
std::string callType;
std::string associatedData;
std::string skillGroupId;
std::string associatedData;
std::string channelId;
long timestamp;
std::string releaseReason;
@@ -60,16 +60,16 @@ namespace AlibabaCloud
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
std::string jobId;
long reserved;
};
UserContext userContext;

View File

@@ -95,6 +95,7 @@ namespace AlibabaCloud
std::string releaseInitiator;
std::string instanceId;
long startTime;
std::string earlyMediaState;
long callDuration;
std::vector<QueueEventsItem> queueEvents;
std::string calleeLocation;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getEarlyMediaStateList()const;
void setEarlyMediaStateList(const std::string& earlyMediaStateList);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getSatisfactionList()const;
@@ -78,6 +80,7 @@ namespace AlibabaCloud
std::string orderByField_;
long startTime_;
int pageNumber_;
std::string earlyMediaStateList_;
std::string calledNumber_;
std::string satisfactionList_;
int pageSize_;

View File

@@ -53,6 +53,7 @@ namespace AlibabaCloud
std::string releaseInitiator;
std::string instanceId;
long startTime;
std::string earlyMediaState;
long ringTime;
std::string callDuration;
std::string calleeLocation;

View File

@@ -51,16 +51,17 @@ namespace AlibabaCloud
std::string skillGroupId;
};
std::string loginName;
std::string roleName;
std::string email;
std::string userId;
std::vector<UserDetail::UserSkillLevel> skillLevelList;
bool primaryAccount;
std::string displayName;
long ramId;
std::vector<UserDetail::PhoneNumber> personalOutboundNumberList;
std::string displayId;
std::string mobile;
std::string roleId;
std::string roleName;
std::string userId;
std::string displayName;
std::string workMode;
};
int totalCount;

View File

@@ -41,8 +41,8 @@ namespace AlibabaCloud
std::string destination;
std::string channelState;
std::string releaseReason;
std::string originator;
std::string releaseInitiator;
std::string originator;
std::string userId;
std::string callType;
std::string userExtension;
@@ -60,12 +60,12 @@ namespace AlibabaCloud
std::string extension;
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string userId;
std::string breakCode;
bool outboundScenario;
std::string jobId;
std::string workMode;
std::string jobId;
std::vector<std::string> signedSkillGroupIdList;
};
UserContext userContext;

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
std::string extension;
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string userId;
std::string breakCode;
bool outboundScenario;
std::string jobId;
std::string workMode;
std::string jobId;
std::vector<std::string> signedSkillGroupIdList;
};

View File

@@ -42,8 +42,8 @@ namespace AlibabaCloud
std::string channelState;
std::string releaseInitiator;
std::string callType;
std::string associatedData;
std::string skillGroupId;
std::string associatedData;
std::string channelId;
long timestamp;
std::string releaseReason;
@@ -61,16 +61,16 @@ namespace AlibabaCloud
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
std::string jobId;
long reserved;
};
UserContext userContext;

View File

@@ -43,8 +43,8 @@ namespace AlibabaCloud
std::string releaseInitiator;
std::string callType;
int index;
std::string associatedData;
std::string skillGroupId;
std::string associatedData;
std::string channelId;
long timestamp;
std::string releaseReason;
@@ -63,16 +63,16 @@ namespace AlibabaCloud
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
std::string jobId;
long reserved;
};
UserContext userContext;

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
std::string extension;
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string userId;
std::string breakCode;
bool outboundScenario;
std::string jobId;
std::string workMode;
std::string jobId;
std::vector<std::string> signedSkillGroupIdList;
};

View File

@@ -36,16 +36,16 @@ namespace AlibabaCloud
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
std::string jobId;
long reserved;
};

View File

@@ -61,18 +61,18 @@ namespace AlibabaCloud
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::string uri;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string deviceState;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
std::string jobId;
long reserved;
};
UserContext userContext;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setCaller(const std::string& caller);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
private:
std::string contactFlowId_;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
int timeoutSeconds_;
std::string caller_;
std::string instanceId_;
std::string skillGroupId_;
};
}

View File

@@ -36,16 +36,16 @@ namespace AlibabaCloud
{
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string breakCode;
bool outboundScenario;
std::string mobile;
std::vector<std::string> signedSkillGroupIdList;
std::string extension;
std::string userId;
long heartbeat;
std::string jobId;
std::string workMode;
std::string jobId;
long reserved;
};

View File

@@ -43,8 +43,8 @@ namespace AlibabaCloud
std::string releaseInitiator;
std::string callType;
int index;
std::string associatedData;
std::string skillGroupId;
std::string associatedData;
std::string channelId;
long timestamp;
std::string releaseReason;
@@ -64,14 +64,14 @@ namespace AlibabaCloud
std::string extension;
std::string userState;
std::string instanceId;
std::string breakCode;
std::string deviceId;
std::string userId;
std::string breakCode;
long heartbeat;
bool outboundScenario;
std::string mobile;
std::string jobId;
std::string workMode;
std::string jobId;
std::vector<std::string> signedSkillGroupIdList;
};
UserContext userContext;

View File

@@ -31,21 +31,21 @@ CCCClient::CCCClient(const Credentials &credentials, const ClientConfiguration &
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
CCCClient::CCCClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
CCCClient::CCCClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
CCCClient::~CCCClient()

View File

@@ -43,67 +43,67 @@ void AnswerCallResult::parse(const std::string &payload)
if(!dataNode["ContextId"].isNull())
data_.contextId = std::stol(dataNode["ContextId"].asString());
auto callContextNode = dataNode["CallContext"];
if(!callContextNode["InstanceId"].isNull())
data_.callContext.instanceId = callContextNode["InstanceId"].asString();
if(!callContextNode["JobId"].isNull())
data_.callContext.jobId = callContextNode["JobId"].asString();
if(!callContextNode["InstanceId"].isNull())
data_.callContext.instanceId = callContextNode["InstanceId"].asString();
auto allChannelContextsNode = callContextNode["ChannelContexts"]["ChannelContext"];
for (auto callContextNodeChannelContextsChannelContext : allChannelContextsNode)
{
Data::CallContext::ChannelContext channelContextObject;
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelState"].isNull())
channelContextObject.channelState = callContextNodeChannelContextsChannelContext["ChannelState"].asString();
if(!callContextNodeChannelContextsChannelContext["Destination"].isNull())
channelContextObject.destination = callContextNodeChannelContextsChannelContext["Destination"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
if(!callContextNodeChannelContextsChannelContext["SkillGroupId"].isNull())
channelContextObject.skillGroupId = callContextNodeChannelContextsChannelContext["SkillGroupId"].asString();
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
data_.callContext.channelContexts.push_back(channelContextObject);
}
auto userContextNode = dataNode["UserContext"];
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["Extension"].isNull())
data_.userContext.extension = userContextNode["Extension"].asString();
if(!userContextNode["Heartbeat"].isNull())
data_.userContext.heartbeat = std::stol(userContextNode["Heartbeat"].asString());
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["Reserved"].isNull())
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
if(!userContextNode["WorkMode"].isNull())
data_.userContext.workMode = userContextNode["WorkMode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["Reserved"].isNull())
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
auto allSignedSkillGroupIdList = userContextNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.userContext.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -82,6 +82,8 @@ void GetCallDetailRecordResult::parse(const std::string &payload)
data_.callerLocation = dataNode["CallerLocation"].asString();
if(!dataNode["CalleeLocation"].isNull())
data_.calleeLocation = dataNode["CalleeLocation"].asString();
if(!dataNode["EarlyMediaState"].isNull())
data_.earlyMediaState = dataNode["EarlyMediaState"].asString();
auto allAgentEventsNode = dataNode["AgentEvents"]["AgentEventsItem"];
for (auto dataNodeAgentEventsAgentEventsItem : allAgentEventsNode)
{

View File

@@ -82,6 +82,17 @@ void ListCallDetailRecordsRequest::setPageNumber(int pageNumber)
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListCallDetailRecordsRequest::getEarlyMediaStateList()const
{
return earlyMediaStateList_;
}
void ListCallDetailRecordsRequest::setEarlyMediaStateList(const std::string& earlyMediaStateList)
{
earlyMediaStateList_ = earlyMediaStateList;
setParameter("EarlyMediaStateList", earlyMediaStateList);
}
std::string ListCallDetailRecordsRequest::getCalledNumber()const
{
return calledNumber_;

View File

@@ -108,6 +108,8 @@ void ListCallDetailRecordsResult::parse(const std::string &payload)
callDetailRecordObject.callerLocation = dataNodeListCallDetailRecord["CallerLocation"].asString();
if(!dataNodeListCallDetailRecord["CalleeLocation"].isNull())
callDetailRecordObject.calleeLocation = dataNodeListCallDetailRecord["CalleeLocation"].asString();
if(!dataNodeListCallDetailRecord["EarlyMediaState"].isNull())
callDetailRecordObject.earlyMediaState = dataNodeListCallDetailRecord["EarlyMediaState"].asString();
data_.list.push_back(callDetailRecordObject);
}
if(!value["Code"].isNull())

View File

@@ -70,6 +70,8 @@ void ListUsersResult::parse(const std::string &payload)
userDetailObject.roleId = dataNodeListUserDetail["RoleId"].asString();
if(!dataNodeListUserDetail["PrimaryAccount"].isNull())
userDetailObject.primaryAccount = dataNodeListUserDetail["PrimaryAccount"].asString() == "true";
if(!dataNodeListUserDetail["RamId"].isNull())
userDetailObject.ramId = std::stol(dataNodeListUserDetail["RamId"].asString());
auto allPersonalOutboundNumberListNode = dataNodeListUserDetail["PersonalOutboundNumberList"]["PhoneNumber"];
for (auto dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber : allPersonalOutboundNumberListNode)
{

View File

@@ -39,14 +39,14 @@ void ModifyUserLevelsOfSkillGroupResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}

View File

@@ -41,59 +41,59 @@ void ReleaseCallResult::parse(const std::string &payload)
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
auto callContextNode = dataNode["CallContext"];
if(!callContextNode["InstanceId"].isNull())
data_.callContext.instanceId = callContextNode["InstanceId"].asString();
if(!callContextNode["JobId"].isNull())
data_.callContext.jobId = callContextNode["JobId"].asString();
if(!callContextNode["InstanceId"].isNull())
data_.callContext.instanceId = callContextNode["InstanceId"].asString();
auto allChannelContextsNode = callContextNode["ChannelContexts"]["ChannelContext"];
for (auto callContextNodeChannelContextsChannelContext : allChannelContextsNode)
{
Data::CallContext::ChannelContext channelContextObject;
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelState"].isNull())
channelContextObject.channelState = callContextNodeChannelContextsChannelContext["ChannelState"].asString();
if(!callContextNodeChannelContextsChannelContext["Destination"].isNull())
channelContextObject.destination = callContextNodeChannelContextsChannelContext["Destination"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
data_.callContext.channelContexts.push_back(channelContextObject);
}
auto userContextNode = dataNode["UserContext"];
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["Extension"].isNull())
data_.userContext.extension = userContextNode["Extension"].asString();
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
if(!userContextNode["WorkMode"].isNull())
data_.userContext.workMode = userContextNode["WorkMode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
auto allSignedSkillGroupIdList = userContextNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.userContext.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -39,20 +39,20 @@ void RemovePhoneNumbersResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allParams = value["Params"]["Param"];
for (const auto &item : allParams)
params_.push_back(item.asString());
auto allFailureList = value["FailureList"]["Failure"];
for (const auto &item : allFailureList)
failureList_.push_back(item.asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
auto allParams = value["Params"]["Param"];
for (const auto &item : allParams)
params_.push_back(item.asString());
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}

View File

@@ -39,14 +39,14 @@ void RemoveSkillGroupsFromUserResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}

View File

@@ -40,24 +40,24 @@ void ResetAgentStateResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["BreakCode"].isNull())
data_.breakCode = dataNode["BreakCode"].asString();
if(!dataNode["DeviceId"].isNull())
data_.deviceId = dataNode["DeviceId"].asString();
if(!dataNode["Extension"].isNull())
data_.extension = dataNode["Extension"].asString();
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["JobId"].isNull())
data_.jobId = dataNode["JobId"].asString();
if(!dataNode["OutboundScenario"].isNull())
data_.outboundScenario = dataNode["OutboundScenario"].asString() == "true";
if(!dataNode["UserId"].isNull())
data_.userId = dataNode["UserId"].asString();
if(!dataNode["UserState"].isNull())
data_.userState = dataNode["UserState"].asString();
if(!dataNode["WorkMode"].isNull())
data_.workMode = dataNode["WorkMode"].asString();
if(!dataNode["DeviceId"].isNull())
data_.deviceId = dataNode["DeviceId"].asString();
if(!dataNode["JobId"].isNull())
data_.jobId = dataNode["JobId"].asString();
if(!dataNode["UserId"].isNull())
data_.userId = dataNode["UserId"].asString();
if(!dataNode["BreakCode"].isNull())
data_.breakCode = dataNode["BreakCode"].asString();
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["OutboundScenario"].isNull())
data_.outboundScenario = dataNode["OutboundScenario"].asString() == "true";
if(!dataNode["UserState"].isNull())
data_.userState = dataNode["UserState"].asString();
auto allSignedSkillGroupIdList = dataNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -51,59 +51,59 @@ void RetrieveCallResult::parse(const std::string &payload)
for (auto callContextNodeChannelContextsChannelContext : allChannelContextsNode)
{
Data::CallContext::ChannelContext channelContextObject;
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelState"].isNull())
channelContextObject.channelState = callContextNodeChannelContextsChannelContext["ChannelState"].asString();
if(!callContextNodeChannelContextsChannelContext["Destination"].isNull())
channelContextObject.destination = callContextNodeChannelContextsChannelContext["Destination"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
if(!callContextNodeChannelContextsChannelContext["SkillGroupId"].isNull())
channelContextObject.skillGroupId = callContextNodeChannelContextsChannelContext["SkillGroupId"].asString();
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
data_.callContext.channelContexts.push_back(channelContextObject);
}
auto userContextNode = dataNode["UserContext"];
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["Extension"].isNull())
data_.userContext.extension = userContextNode["Extension"].asString();
if(!userContextNode["Heartbeat"].isNull())
data_.userContext.heartbeat = std::stol(userContextNode["Heartbeat"].asString());
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["Reserved"].isNull())
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
if(!userContextNode["WorkMode"].isNull())
data_.userContext.workMode = userContextNode["WorkMode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["Reserved"].isNull())
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
auto allSignedSkillGroupIdList = userContextNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.userContext.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -51,63 +51,63 @@ void SendDtmfSignalingResult::parse(const std::string &payload)
for (auto callContextNodeChannelContextsChannelContext : allChannelContextsNode)
{
Data::CallContext::ChannelContext channelContextObject;
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelFlags"].isNull())
channelContextObject.channelFlags = callContextNodeChannelContextsChannelContext["ChannelFlags"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["Index"].isNull())
channelContextObject.index = std::stoi(callContextNodeChannelContextsChannelContext["Index"].asString());
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelState"].isNull())
channelContextObject.channelState = callContextNodeChannelContextsChannelContext["ChannelState"].asString();
if(!callContextNodeChannelContextsChannelContext["Destination"].isNull())
channelContextObject.destination = callContextNodeChannelContextsChannelContext["Destination"].asString();
if(!callContextNodeChannelContextsChannelContext["Index"].isNull())
channelContextObject.index = std::stoi(callContextNodeChannelContextsChannelContext["Index"].asString());
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelFlags"].isNull())
channelContextObject.channelFlags = callContextNodeChannelContextsChannelContext["ChannelFlags"].asString();
if(!callContextNodeChannelContextsChannelContext["SkillGroupId"].isNull())
channelContextObject.skillGroupId = callContextNodeChannelContextsChannelContext["SkillGroupId"].asString();
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
data_.callContext.channelContexts.push_back(channelContextObject);
}
auto userContextNode = dataNode["UserContext"];
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["Extension"].isNull())
data_.userContext.extension = userContextNode["Extension"].asString();
if(!userContextNode["Heartbeat"].isNull())
data_.userContext.heartbeat = std::stol(userContextNode["Heartbeat"].asString());
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["Reserved"].isNull())
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
if(!userContextNode["WorkMode"].isNull())
data_.userContext.workMode = userContextNode["WorkMode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["Reserved"].isNull())
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
auto allSignedSkillGroupIdList = userContextNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.userContext.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -40,24 +40,24 @@ void SignInGroupResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["BreakCode"].isNull())
data_.breakCode = dataNode["BreakCode"].asString();
if(!dataNode["DeviceId"].isNull())
data_.deviceId = dataNode["DeviceId"].asString();
if(!dataNode["Extension"].isNull())
data_.extension = dataNode["Extension"].asString();
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["JobId"].isNull())
data_.jobId = dataNode["JobId"].asString();
if(!dataNode["OutboundScenario"].isNull())
data_.outboundScenario = dataNode["OutboundScenario"].asString() == "true";
if(!dataNode["UserId"].isNull())
data_.userId = dataNode["UserId"].asString();
if(!dataNode["UserState"].isNull())
data_.userState = dataNode["UserState"].asString();
if(!dataNode["WorkMode"].isNull())
data_.workMode = dataNode["WorkMode"].asString();
if(!dataNode["DeviceId"].isNull())
data_.deviceId = dataNode["DeviceId"].asString();
if(!dataNode["JobId"].isNull())
data_.jobId = dataNode["JobId"].asString();
if(!dataNode["UserId"].isNull())
data_.userId = dataNode["UserId"].asString();
if(!dataNode["BreakCode"].isNull())
data_.breakCode = dataNode["BreakCode"].asString();
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["OutboundScenario"].isNull())
data_.outboundScenario = dataNode["OutboundScenario"].asString() == "true";
if(!dataNode["UserState"].isNull())
data_.userState = dataNode["UserState"].asString();
auto allSignedSkillGroupIdList = dataNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -40,30 +40,30 @@ void SignOutGroupResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["BreakCode"].isNull())
data_.breakCode = dataNode["BreakCode"].asString();
if(!dataNode["DeviceId"].isNull())
data_.deviceId = dataNode["DeviceId"].asString();
if(!dataNode["Extension"].isNull())
data_.extension = dataNode["Extension"].asString();
if(!dataNode["Heartbeat"].isNull())
data_.heartbeat = std::stol(dataNode["Heartbeat"].asString());
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["JobId"].isNull())
data_.jobId = dataNode["JobId"].asString();
if(!dataNode["Mobile"].isNull())
data_.mobile = dataNode["Mobile"].asString();
if(!dataNode["OutboundScenario"].isNull())
data_.outboundScenario = dataNode["OutboundScenario"].asString() == "true";
if(!dataNode["Reserved"].isNull())
data_.reserved = std::stol(dataNode["Reserved"].asString());
if(!dataNode["UserId"].isNull())
data_.userId = dataNode["UserId"].asString();
if(!dataNode["UserState"].isNull())
data_.userState = dataNode["UserState"].asString();
if(!dataNode["WorkMode"].isNull())
data_.workMode = dataNode["WorkMode"].asString();
if(!dataNode["DeviceId"].isNull())
data_.deviceId = dataNode["DeviceId"].asString();
if(!dataNode["UserId"].isNull())
data_.userId = dataNode["UserId"].asString();
if(!dataNode["Reserved"].isNull())
data_.reserved = std::stol(dataNode["Reserved"].asString());
if(!dataNode["BreakCode"].isNull())
data_.breakCode = dataNode["BreakCode"].asString();
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["OutboundScenario"].isNull())
data_.outboundScenario = dataNode["OutboundScenario"].asString() == "true";
if(!dataNode["Mobile"].isNull())
data_.mobile = dataNode["Mobile"].asString();
if(!dataNode["JobId"].isNull())
data_.jobId = dataNode["JobId"].asString();
if(!dataNode["UserState"].isNull())
data_.userState = dataNode["UserState"].asString();
auto allSignedSkillGroupIdList = dataNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -51,63 +51,63 @@ void StartBack2BackCallResult::parse(const std::string &payload)
for (auto callContextNodeChannelContextsChannelContext : allChannelContextsNode)
{
Data::CallContext::ChannelContext channelContextObject;
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelFlags"].isNull())
channelContextObject.channelFlags = callContextNodeChannelContextsChannelContext["ChannelFlags"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelState"].isNull())
channelContextObject.channelState = callContextNodeChannelContextsChannelContext["ChannelState"].asString();
if(!callContextNodeChannelContextsChannelContext["Destination"].isNull())
channelContextObject.destination = callContextNodeChannelContextsChannelContext["Destination"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelFlags"].isNull())
channelContextObject.channelFlags = callContextNodeChannelContextsChannelContext["ChannelFlags"].asString();
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
data_.callContext.channelContexts.push_back(channelContextObject);
}
auto userContextNode = dataNode["UserContext"];
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["DeviceState"].isNull())
data_.userContext.deviceState = userContextNode["DeviceState"].asString();
if(!userContextNode["Extension"].isNull())
data_.userContext.extension = userContextNode["Extension"].asString();
if(!userContextNode["Heartbeat"].isNull())
data_.userContext.heartbeat = std::stol(userContextNode["Heartbeat"].asString());
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["Reserved"].isNull())
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
if(!userContextNode["Uri"].isNull())
data_.userContext.uri = userContextNode["Uri"].asString();
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
if(!userContextNode["WorkMode"].isNull())
data_.userContext.workMode = userContextNode["WorkMode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["Reserved"].isNull())
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["Uri"].isNull())
data_.userContext.uri = userContextNode["Uri"].asString();
if(!userContextNode["DeviceState"].isNull())
data_.userContext.deviceState = userContextNode["DeviceState"].asString();
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
auto allSignedSkillGroupIdList = userContextNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.userContext.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -115,3 +115,14 @@ void StartPredictiveCallRequest::setInstanceId(const std::string& instanceId)
setParameter("InstanceId", instanceId);
}
std::string StartPredictiveCallRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void StartPredictiveCallRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setParameter("SkillGroupId", skillGroupId);
}

View File

@@ -40,30 +40,30 @@ void TakeBreakResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["BreakCode"].isNull())
data_.breakCode = dataNode["BreakCode"].asString();
if(!dataNode["DeviceId"].isNull())
data_.deviceId = dataNode["DeviceId"].asString();
if(!dataNode["Extension"].isNull())
data_.extension = dataNode["Extension"].asString();
if(!dataNode["Heartbeat"].isNull())
data_.heartbeat = std::stol(dataNode["Heartbeat"].asString());
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["JobId"].isNull())
data_.jobId = dataNode["JobId"].asString();
if(!dataNode["Mobile"].isNull())
data_.mobile = dataNode["Mobile"].asString();
if(!dataNode["OutboundScenario"].isNull())
data_.outboundScenario = dataNode["OutboundScenario"].asString() == "true";
if(!dataNode["Reserved"].isNull())
data_.reserved = std::stol(dataNode["Reserved"].asString());
if(!dataNode["UserId"].isNull())
data_.userId = dataNode["UserId"].asString();
if(!dataNode["UserState"].isNull())
data_.userState = dataNode["UserState"].asString();
if(!dataNode["WorkMode"].isNull())
data_.workMode = dataNode["WorkMode"].asString();
if(!dataNode["DeviceId"].isNull())
data_.deviceId = dataNode["DeviceId"].asString();
if(!dataNode["UserId"].isNull())
data_.userId = dataNode["UserId"].asString();
if(!dataNode["Reserved"].isNull())
data_.reserved = std::stol(dataNode["Reserved"].asString());
if(!dataNode["BreakCode"].isNull())
data_.breakCode = dataNode["BreakCode"].asString();
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["OutboundScenario"].isNull())
data_.outboundScenario = dataNode["OutboundScenario"].asString() == "true";
if(!dataNode["Mobile"].isNull())
data_.mobile = dataNode["Mobile"].asString();
if(!dataNode["JobId"].isNull())
data_.jobId = dataNode["JobId"].asString();
if(!dataNode["UserState"].isNull())
data_.userState = dataNode["UserState"].asString();
auto allSignedSkillGroupIdList = dataNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -51,61 +51,61 @@ void UnmuteCallResult::parse(const std::string &payload)
for (auto callContextNodeChannelContextsChannelContext : allChannelContextsNode)
{
Data::CallContext::ChannelContext channelContextObject;
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelFlags"].isNull())
channelContextObject.channelFlags = callContextNodeChannelContextsChannelContext["ChannelFlags"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["Index"].isNull())
channelContextObject.index = std::stoi(callContextNodeChannelContextsChannelContext["Index"].asString());
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelState"].isNull())
channelContextObject.channelState = callContextNodeChannelContextsChannelContext["ChannelState"].asString();
if(!callContextNodeChannelContextsChannelContext["Destination"].isNull())
channelContextObject.destination = callContextNodeChannelContextsChannelContext["Destination"].asString();
if(!callContextNodeChannelContextsChannelContext["Index"].isNull())
channelContextObject.index = std::stoi(callContextNodeChannelContextsChannelContext["Index"].asString());
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelFlags"].isNull())
channelContextObject.channelFlags = callContextNodeChannelContextsChannelContext["ChannelFlags"].asString();
if(!callContextNodeChannelContextsChannelContext["SkillGroupId"].isNull())
channelContextObject.skillGroupId = callContextNodeChannelContextsChannelContext["SkillGroupId"].asString();
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
data_.callContext.channelContexts.push_back(channelContextObject);
}
auto userContextNode = dataNode["UserContext"];
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["Extension"].isNull())
data_.userContext.extension = userContextNode["Extension"].asString();
if(!userContextNode["Heartbeat"].isNull())
data_.userContext.heartbeat = std::stol(userContextNode["Heartbeat"].asString());
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
if(!userContextNode["Extension"].isNull())
data_.userContext.extension = userContextNode["Extension"].asString();
if(!userContextNode["WorkMode"].isNull())
data_.userContext.workMode = userContextNode["WorkMode"].asString();
if(!userContextNode["Mobile"].isNull())
data_.userContext.mobile = userContextNode["Mobile"].asString();
if(!userContextNode["DeviceId"].isNull())
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
if(!userContextNode["JobId"].isNull())
data_.userContext.jobId = userContextNode["JobId"].asString();
if(!userContextNode["UserId"].isNull())
data_.userContext.userId = userContextNode["UserId"].asString();
if(!userContextNode["BreakCode"].isNull())
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
if(!userContextNode["InstanceId"].isNull())
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
if(!userContextNode["OutboundScenario"].isNull())
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
if(!userContextNode["UserState"].isNull())
data_.userContext.userState = userContextNode["UserState"].asString();
auto allSignedSkillGroupIdList = userContextNode["SignedSkillGroupIdList"]["SkillGroupId"];
for (auto value : allSignedSkillGroupIdList)
data_.userContext.signedSkillGroupIdList.push_back(value.asString());

View File

@@ -43,8 +43,6 @@ public:
};
CreateAggregateCompliancePackRequest();
~CreateAggregateCompliancePackRequest();
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
std::string getCompliancePackName() const;
void setCompliancePackName(const std::string &compliancePackName);
std::string getClientToken() const;
@@ -55,16 +53,18 @@ public:
void setDescription(const std::string &description);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
private:
std::vector<ConfigRules> configRules_;
std::string compliancePackName_;
std::string clientToken_;
std::string compliancePackTemplateId_;
std::string description_;
std::string aggregatorId_;
std::vector<ConfigRules> configRules_;
int riskLevel_;
};
} // namespace Model

View File

@@ -43,8 +43,6 @@ public:
};
CreateCompliancePackRequest();
~CreateCompliancePackRequest();
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
std::string getCompliancePackName() const;
void setCompliancePackName(const std::string &compliancePackName);
std::string getClientToken() const;
@@ -53,15 +51,17 @@ public:
void setCompliancePackTemplateId(const std::string &compliancePackTemplateId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
private:
std::vector<ConfigRules> configRules_;
std::string compliancePackName_;
std::string clientToken_;
std::string compliancePackTemplateId_;
std::string description_;
std::vector<ConfigRules> configRules_;
int riskLevel_;
};
} // namespace Model

View File

@@ -43,8 +43,6 @@ public:
};
UpdateAggregateCompliancePackRequest();
~UpdateAggregateCompliancePackRequest();
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
std::string getCompliancePackName() const;
void setCompliancePackName(const std::string &compliancePackName);
std::string getClientToken() const;
@@ -53,19 +51,21 @@ public:
void setDescription(const std::string &description);
std::string getAggregatorId() const;
void setAggregatorId(const std::string &aggregatorId);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
std::string getCompliancePackId() const;
void setCompliancePackId(const std::string &compliancePackId);
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
private:
std::vector<ConfigRules> configRules_;
std::string compliancePackName_;
std::string clientToken_;
std::string description_;
std::string aggregatorId_;
int riskLevel_;
std::string compliancePackId_;
std::vector<ConfigRules> configRules_;
int riskLevel_;
};
} // namespace Model
} // namespace Config

View File

@@ -43,26 +43,26 @@ public:
};
UpdateCompliancePackRequest();
~UpdateCompliancePackRequest();
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
std::string getCompliancePackName() const;
void setCompliancePackName(const std::string &compliancePackName);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getDescription() const;
void setDescription(const std::string &description);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
std::string getCompliancePackId() const;
void setCompliancePackId(const std::string &compliancePackId);
std::vector<ConfigRules> getConfigRules() const;
void setConfigRules(const std::vector<ConfigRules> &configRules);
int getRiskLevel() const;
void setRiskLevel(int riskLevel);
private:
std::vector<ConfigRules> configRules_;
std::string compliancePackName_;
std::string clientToken_;
std::string description_;
int riskLevel_;
std::string compliancePackId_;
std::vector<ConfigRules> configRules_;
int riskLevel_;
};
} // namespace Model
} // namespace Config

View File

@@ -25,25 +25,6 @@ CreateAggregateCompliancePackRequest::CreateAggregateCompliancePackRequest()
CreateAggregateCompliancePackRequest::~CreateAggregateCompliancePackRequest() {}
std::vector<CreateAggregateCompliancePackRequest::ConfigRules> CreateAggregateCompliancePackRequest::getConfigRules() const {
return configRules_;
}
void CreateAggregateCompliancePackRequest::setConfigRules(const std::vector<CreateAggregateCompliancePackRequest::ConfigRules> &configRules) {
configRules_ = configRules;
for(int dep1 = 0; dep1 != configRules.size(); dep1++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ManagedRuleIdentifier", configRules[dep1].managedRuleIdentifier);
for(int dep2 = 0; dep2 != configRules[dep1].configRuleParameters.size(); dep2++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterValue", configRules[dep1].configRuleParameters[dep2].parameterValue);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterName", configRules[dep1].configRuleParameters[dep2].parameterName);
}
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleId", configRules[dep1].configRuleId);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleName", configRules[dep1].configRuleName);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".Description", configRules[dep1].description);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".RiskLevel", std::to_string(configRules[dep1].riskLevel));
}
}
std::string CreateAggregateCompliancePackRequest::getCompliancePackName() const {
return compliancePackName_;
}
@@ -89,6 +70,25 @@ void CreateAggregateCompliancePackRequest::setAggregatorId(const std::string &ag
setBodyParameter(std::string("AggregatorId"), aggregatorId);
}
std::vector<CreateAggregateCompliancePackRequest::ConfigRules> CreateAggregateCompliancePackRequest::getConfigRules() const {
return configRules_;
}
void CreateAggregateCompliancePackRequest::setConfigRules(const std::vector<CreateAggregateCompliancePackRequest::ConfigRules> &configRules) {
configRules_ = configRules;
for(int dep1 = 0; dep1 != configRules.size(); dep1++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ManagedRuleIdentifier", configRules[dep1].managedRuleIdentifier);
for(int dep2 = 0; dep2 != configRules[dep1].configRuleParameters.size(); dep2++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterValue", configRules[dep1].configRuleParameters[dep2].parameterValue);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterName", configRules[dep1].configRuleParameters[dep2].parameterName);
}
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleId", configRules[dep1].configRuleId);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleName", configRules[dep1].configRuleName);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".Description", configRules[dep1].description);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".RiskLevel", std::to_string(configRules[dep1].riskLevel));
}
}
int CreateAggregateCompliancePackRequest::getRiskLevel() const {
return riskLevel_;
}

View File

@@ -25,25 +25,6 @@ CreateCompliancePackRequest::CreateCompliancePackRequest()
CreateCompliancePackRequest::~CreateCompliancePackRequest() {}
std::vector<CreateCompliancePackRequest::ConfigRules> CreateCompliancePackRequest::getConfigRules() const {
return configRules_;
}
void CreateCompliancePackRequest::setConfigRules(const std::vector<CreateCompliancePackRequest::ConfigRules> &configRules) {
configRules_ = configRules;
for(int dep1 = 0; dep1 != configRules.size(); dep1++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ManagedRuleIdentifier", configRules[dep1].managedRuleIdentifier);
for(int dep2 = 0; dep2 != configRules[dep1].configRuleParameters.size(); dep2++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterValue", configRules[dep1].configRuleParameters[dep2].parameterValue);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterName", configRules[dep1].configRuleParameters[dep2].parameterName);
}
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleId", configRules[dep1].configRuleId);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleName", configRules[dep1].configRuleName);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".Description", configRules[dep1].description);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".RiskLevel", std::to_string(configRules[dep1].riskLevel));
}
}
std::string CreateCompliancePackRequest::getCompliancePackName() const {
return compliancePackName_;
}
@@ -80,6 +61,25 @@ void CreateCompliancePackRequest::setDescription(const std::string &description)
setBodyParameter(std::string("Description"), description);
}
std::vector<CreateCompliancePackRequest::ConfigRules> CreateCompliancePackRequest::getConfigRules() const {
return configRules_;
}
void CreateCompliancePackRequest::setConfigRules(const std::vector<CreateCompliancePackRequest::ConfigRules> &configRules) {
configRules_ = configRules;
for(int dep1 = 0; dep1 != configRules.size(); dep1++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ManagedRuleIdentifier", configRules[dep1].managedRuleIdentifier);
for(int dep2 = 0; dep2 != configRules[dep1].configRuleParameters.size(); dep2++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterValue", configRules[dep1].configRuleParameters[dep2].parameterValue);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterName", configRules[dep1].configRuleParameters[dep2].parameterName);
}
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleId", configRules[dep1].configRuleId);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleName", configRules[dep1].configRuleName);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".Description", configRules[dep1].description);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".RiskLevel", std::to_string(configRules[dep1].riskLevel));
}
}
int CreateCompliancePackRequest::getRiskLevel() const {
return riskLevel_;
}

View File

@@ -25,25 +25,6 @@ UpdateAggregateCompliancePackRequest::UpdateAggregateCompliancePackRequest()
UpdateAggregateCompliancePackRequest::~UpdateAggregateCompliancePackRequest() {}
std::vector<UpdateAggregateCompliancePackRequest::ConfigRules> UpdateAggregateCompliancePackRequest::getConfigRules() const {
return configRules_;
}
void UpdateAggregateCompliancePackRequest::setConfigRules(const std::vector<UpdateAggregateCompliancePackRequest::ConfigRules> &configRules) {
configRules_ = configRules;
for(int dep1 = 0; dep1 != configRules.size(); dep1++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ManagedRuleIdentifier", configRules[dep1].managedRuleIdentifier);
for(int dep2 = 0; dep2 != configRules[dep1].configRuleParameters.size(); dep2++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterValue", configRules[dep1].configRuleParameters[dep2].parameterValue);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterName", configRules[dep1].configRuleParameters[dep2].parameterName);
}
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleId", configRules[dep1].configRuleId);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleName", configRules[dep1].configRuleName);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".Description", configRules[dep1].description);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".RiskLevel", std::to_string(configRules[dep1].riskLevel));
}
}
std::string UpdateAggregateCompliancePackRequest::getCompliancePackName() const {
return compliancePackName_;
}
@@ -80,15 +61,6 @@ void UpdateAggregateCompliancePackRequest::setAggregatorId(const std::string &ag
setBodyParameter(std::string("AggregatorId"), aggregatorId);
}
int UpdateAggregateCompliancePackRequest::getRiskLevel() const {
return riskLevel_;
}
void UpdateAggregateCompliancePackRequest::setRiskLevel(int riskLevel) {
riskLevel_ = riskLevel;
setBodyParameter(std::string("RiskLevel"), std::to_string(riskLevel));
}
std::string UpdateAggregateCompliancePackRequest::getCompliancePackId() const {
return compliancePackId_;
}
@@ -98,3 +70,31 @@ void UpdateAggregateCompliancePackRequest::setCompliancePackId(const std::string
setBodyParameter(std::string("CompliancePackId"), compliancePackId);
}
std::vector<UpdateAggregateCompliancePackRequest::ConfigRules> UpdateAggregateCompliancePackRequest::getConfigRules() const {
return configRules_;
}
void UpdateAggregateCompliancePackRequest::setConfigRules(const std::vector<UpdateAggregateCompliancePackRequest::ConfigRules> &configRules) {
configRules_ = configRules;
for(int dep1 = 0; dep1 != configRules.size(); dep1++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ManagedRuleIdentifier", configRules[dep1].managedRuleIdentifier);
for(int dep2 = 0; dep2 != configRules[dep1].configRuleParameters.size(); dep2++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterValue", configRules[dep1].configRuleParameters[dep2].parameterValue);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterName", configRules[dep1].configRuleParameters[dep2].parameterName);
}
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleId", configRules[dep1].configRuleId);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleName", configRules[dep1].configRuleName);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".Description", configRules[dep1].description);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".RiskLevel", std::to_string(configRules[dep1].riskLevel));
}
}
int UpdateAggregateCompliancePackRequest::getRiskLevel() const {
return riskLevel_;
}
void UpdateAggregateCompliancePackRequest::setRiskLevel(int riskLevel) {
riskLevel_ = riskLevel;
setBodyParameter(std::string("RiskLevel"), std::to_string(riskLevel));
}

View File

@@ -25,25 +25,6 @@ UpdateCompliancePackRequest::UpdateCompliancePackRequest()
UpdateCompliancePackRequest::~UpdateCompliancePackRequest() {}
std::vector<UpdateCompliancePackRequest::ConfigRules> UpdateCompliancePackRequest::getConfigRules() const {
return configRules_;
}
void UpdateCompliancePackRequest::setConfigRules(const std::vector<UpdateCompliancePackRequest::ConfigRules> &configRules) {
configRules_ = configRules;
for(int dep1 = 0; dep1 != configRules.size(); dep1++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ManagedRuleIdentifier", configRules[dep1].managedRuleIdentifier);
for(int dep2 = 0; dep2 != configRules[dep1].configRuleParameters.size(); dep2++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterValue", configRules[dep1].configRuleParameters[dep2].parameterValue);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterName", configRules[dep1].configRuleParameters[dep2].parameterName);
}
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleId", configRules[dep1].configRuleId);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleName", configRules[dep1].configRuleName);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".Description", configRules[dep1].description);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".RiskLevel", std::to_string(configRules[dep1].riskLevel));
}
}
std::string UpdateCompliancePackRequest::getCompliancePackName() const {
return compliancePackName_;
}
@@ -71,15 +52,6 @@ void UpdateCompliancePackRequest::setDescription(const std::string &description)
setBodyParameter(std::string("Description"), description);
}
int UpdateCompliancePackRequest::getRiskLevel() const {
return riskLevel_;
}
void UpdateCompliancePackRequest::setRiskLevel(int riskLevel) {
riskLevel_ = riskLevel;
setBodyParameter(std::string("RiskLevel"), std::to_string(riskLevel));
}
std::string UpdateCompliancePackRequest::getCompliancePackId() const {
return compliancePackId_;
}
@@ -89,3 +61,31 @@ void UpdateCompliancePackRequest::setCompliancePackId(const std::string &complia
setBodyParameter(std::string("CompliancePackId"), compliancePackId);
}
std::vector<UpdateCompliancePackRequest::ConfigRules> UpdateCompliancePackRequest::getConfigRules() const {
return configRules_;
}
void UpdateCompliancePackRequest::setConfigRules(const std::vector<UpdateCompliancePackRequest::ConfigRules> &configRules) {
configRules_ = configRules;
for(int dep1 = 0; dep1 != configRules.size(); dep1++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ManagedRuleIdentifier", configRules[dep1].managedRuleIdentifier);
for(int dep2 = 0; dep2 != configRules[dep1].configRuleParameters.size(); dep2++) {
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterValue", configRules[dep1].configRuleParameters[dep2].parameterValue);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleParameters." + std::to_string(dep2 + 1) + ".ParameterName", configRules[dep1].configRuleParameters[dep2].parameterName);
}
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleId", configRules[dep1].configRuleId);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".ConfigRuleName", configRules[dep1].configRuleName);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".Description", configRules[dep1].description);
setBodyParameter(std::string("ConfigRules") + "." + std::to_string(dep1 + 1) + ".RiskLevel", std::to_string(configRules[dep1].riskLevel));
}
}
int UpdateCompliancePackRequest::getRiskLevel() const {
return riskLevel_;
}
void UpdateCompliancePackRequest::setRiskLevel(int riskLevel) {
riskLevel_ = riskLevel;
setBodyParameter(std::string("RiskLevel"), std::to_string(riskLevel));
}

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
CreateServerlessDBInstanceRequest();
~CreateServerlessDBInstanceRequest();
std::string getCapacityUnit()const;
void setCapacityUnit(const std::string& capacityUnit);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getDBInstanceStorage()const;
@@ -85,6 +87,7 @@ namespace AlibabaCloud
void setChargeType(const std::string& chargeType);
private:
std::string capacityUnit_;
long resourceOwnerId_;
int dBInstanceStorage_;
std::string clientToken_;

View File

@@ -37,10 +37,14 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getReadonlyReplicas()const;
void setReadonlyReplicas(const std::string& readonlyReplicas);
std::string getEngineVersion()const;
void setEngineVersion(const std::string& engineVersion);
std::string getShardsInfo()const;
void setShardsInfo(const std::string& shardsInfo);
std::string getReplicationFactor()const;
void setReplicationFactor(const std::string& replicationFactor);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
@@ -64,8 +68,10 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string readonlyReplicas_;
std::string engineVersion_;
std::string shardsInfo_;
std::string replicationFactor_;
std::string accessKeyId_;
std::string securityToken_;
std::string regionId_;

View File

@@ -27,6 +27,17 @@ CreateServerlessDBInstanceRequest::CreateServerlessDBInstanceRequest() :
CreateServerlessDBInstanceRequest::~CreateServerlessDBInstanceRequest()
{}
std::string CreateServerlessDBInstanceRequest::getCapacityUnit()const
{
return capacityUnit_;
}
void CreateServerlessDBInstanceRequest::setCapacityUnit(const std::string& capacityUnit)
{
capacityUnit_ = capacityUnit;
setParameter("CapacityUnit", capacityUnit);
}
long CreateServerlessDBInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -38,6 +38,17 @@ void EvaluateResourceRequest::setResourceOwnerId(long resourceOwnerId)
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string EvaluateResourceRequest::getReadonlyReplicas()const
{
return readonlyReplicas_;
}
void EvaluateResourceRequest::setReadonlyReplicas(const std::string& readonlyReplicas)
{
readonlyReplicas_ = readonlyReplicas;
setParameter("ReadonlyReplicas", readonlyReplicas);
}
std::string EvaluateResourceRequest::getEngineVersion()const
{
return engineVersion_;
@@ -60,6 +71,17 @@ void EvaluateResourceRequest::setShardsInfo(const std::string& shardsInfo)
setParameter("ShardsInfo", shardsInfo);
}
std::string EvaluateResourceRequest::getReplicationFactor()const
{
return replicationFactor_;
}
void EvaluateResourceRequest::setReplicationFactor(const std::string& replicationFactor)
{
replicationFactor_ = replicationFactor;
setParameter("ReplicationFactor", replicationFactor);
}
std::string EvaluateResourceRequest::getAccessKeyId()const
{
return accessKeyId_;

View File

@@ -39,12 +39,12 @@ void EvaluateResourceResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Engine"].isNull())
engine_ = value["Engine"].asString();
if(!value["EngineVersion"].isNull())
engineVersion_ = value["EngineVersion"].asString();
if(!value["DBInstanceAvailable"].isNull())
dBInstanceAvailable_ = value["DBInstanceAvailable"].asString();
if(!value["EngineVersion"].isNull())
engineVersion_ = value["EngineVersion"].asString();
if(!value["Engine"].isNull())
engine_ = value["Engine"].asString();
}

View File

@@ -82,6 +82,8 @@ public:
void setTag(const std::vector<Tag> &tag);
int getPeriod() const;
void setPeriod(int period);
int getIpv6AddressCount() const;
void setIpv6AddressCount(int ipv6AddressCount);
std::string getTemplateResourceGroupId() const;
void setTemplateResourceGroupId(const std::string &templateResourceGroupId);
long getOwnerId() const;
@@ -171,6 +173,7 @@ private:
std::vector<TemplateTag> templateTag_;
std::vector<Tag> tag_;
int period_;
int ipv6AddressCount_;
std::string templateResourceGroupId_;
long ownerId_;
std::string vSwitchId_;

View File

@@ -78,6 +78,8 @@ public:
void setPeriod(int period);
std::string getLaunchTemplateId() const;
void setLaunchTemplateId(const std::string &launchTemplateId);
int getIpv6AddressCount() const;
void setIpv6AddressCount(int ipv6AddressCount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getVSwitchId() const;
@@ -165,6 +167,7 @@ private:
std::vector<Tag> tag_;
int period_;
std::string launchTemplateId_;
int ipv6AddressCount_;
long ownerId_;
std::string vSwitchId_;
std::string spotStrategy_;

View File

@@ -75,6 +75,7 @@ namespace AlibabaCloud
std::string ramRoleName;
std::string systemDiskPerformanceLevel;
std::string networkType;
int ipv6AddressCount;
std::vector<NetworkInterface> networkInterfaces;
std::string imageId;
std::string systemDiskDiskName;

View File

@@ -152,6 +152,15 @@ void CreateLaunchTemplateRequest::setPeriod(int period) {
setParameter(std::string("Period"), std::to_string(period));
}
int CreateLaunchTemplateRequest::getIpv6AddressCount() const {
return ipv6AddressCount_;
}
void CreateLaunchTemplateRequest::setIpv6AddressCount(int ipv6AddressCount) {
ipv6AddressCount_ = ipv6AddressCount;
setParameter(std::string("Ipv6AddressCount"), std::to_string(ipv6AddressCount));
}
std::string CreateLaunchTemplateRequest::getTemplateResourceGroupId() const {
return templateResourceGroupId_;
}

View File

@@ -147,6 +147,15 @@ void CreateLaunchTemplateVersionRequest::setLaunchTemplateId(const std::string &
setParameter(std::string("LaunchTemplateId"), launchTemplateId);
}
int CreateLaunchTemplateVersionRequest::getIpv6AddressCount() const {
return ipv6AddressCount_;
}
void CreateLaunchTemplateVersionRequest::setIpv6AddressCount(int ipv6AddressCount) {
ipv6AddressCount_ = ipv6AddressCount;
setParameter(std::string("Ipv6AddressCount"), std::to_string(ipv6AddressCount));
}
long CreateLaunchTemplateVersionRequest::getOwnerId() const {
return ownerId_;
}

View File

@@ -134,6 +134,8 @@ void DescribeLaunchTemplateVersionsResult::parse(const std::string &payload)
launchTemplateVersionSetsObject.launchTemplateData.internetChargeType = launchTemplateDataNode["InternetChargeType"].asString();
if(!launchTemplateDataNode["ZoneId"].isNull())
launchTemplateVersionSetsObject.launchTemplateData.zoneId = launchTemplateDataNode["ZoneId"].asString();
if(!launchTemplateDataNode["Ipv6AddressCount"].isNull())
launchTemplateVersionSetsObject.launchTemplateData.ipv6AddressCount = std::stoi(launchTemplateDataNode["Ipv6AddressCount"].asString());
auto allDataDisksNode = launchTemplateDataNode["DataDisks"]["DataDisk"];
for (auto launchTemplateDataNodeDataDisksDataDisk : allDataDisksNode)
{

View File

@@ -25,32 +25,16 @@ set(emr_public_header_model
include/alibabacloud/emr/model/AddClusterServiceResult.h
include/alibabacloud/emr/model/AddScalingConfigItemV2Request.h
include/alibabacloud/emr/model/AddScalingConfigItemV2Result.h
include/alibabacloud/emr/model/AuthorizeSecurityGroupRequest.h
include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h
include/alibabacloud/emr/model/CancelOrderRequest.h
include/alibabacloud/emr/model/CancelOrderResult.h
include/alibabacloud/emr/model/CloneFlowRequest.h
include/alibabacloud/emr/model/CloneFlowResult.h
include/alibabacloud/emr/model/CloneFlowJobRequest.h
include/alibabacloud/emr/model/CloneFlowJobResult.h
include/alibabacloud/emr/model/CreateBackupRequest.h
include/alibabacloud/emr/model/CreateBackupResult.h
include/alibabacloud/emr/model/CreateBackupPlanRequest.h
include/alibabacloud/emr/model/CreateBackupPlanResult.h
include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h
include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h
include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h
include/alibabacloud/emr/model/CreateClusterHostGroupResult.h
include/alibabacloud/emr/model/CreateClusterTemplateRequest.h
include/alibabacloud/emr/model/CreateClusterTemplateResult.h
include/alibabacloud/emr/model/CreateClusterV2Request.h
include/alibabacloud/emr/model/CreateClusterV2Result.h
include/alibabacloud/emr/model/CreateClusterWithTemplateRequest.h
include/alibabacloud/emr/model/CreateClusterWithTemplateResult.h
include/alibabacloud/emr/model/CreateDataSourceRequest.h
include/alibabacloud/emr/model/CreateDataSourceResult.h
include/alibabacloud/emr/model/CreateExecutionPlanRequest.h
include/alibabacloud/emr/model/CreateExecutionPlanResult.h
include/alibabacloud/emr/model/CreateFlowRequest.h
include/alibabacloud/emr/model/CreateFlowResult.h
include/alibabacloud/emr/model/CreateFlowCategoryRequest.h
@@ -65,32 +49,14 @@ set(emr_public_header_model
include/alibabacloud/emr/model/CreateFlowProjectClusterSettingResult.h
include/alibabacloud/emr/model/CreateFlowProjectUserRequest.h
include/alibabacloud/emr/model/CreateFlowProjectUserResult.h
include/alibabacloud/emr/model/CreateJobRequest.h
include/alibabacloud/emr/model/CreateJobResult.h
include/alibabacloud/emr/model/CreateLibraryRequest.h
include/alibabacloud/emr/model/CreateLibraryResult.h
include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h
include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h
include/alibabacloud/emr/model/CreateResourcePoolRequest.h
include/alibabacloud/emr/model/CreateResourcePoolResult.h
include/alibabacloud/emr/model/CreateResourceQueueRequest.h
include/alibabacloud/emr/model/CreateResourceQueueResult.h
include/alibabacloud/emr/model/CreateScalingGroupV2Request.h
include/alibabacloud/emr/model/CreateScalingGroupV2Result.h
include/alibabacloud/emr/model/CreateScalingRuleRequest.h
include/alibabacloud/emr/model/CreateScalingRuleResult.h
include/alibabacloud/emr/model/CreateTagRequest.h
include/alibabacloud/emr/model/CreateTagResult.h
include/alibabacloud/emr/model/CreateUserRequest.h
include/alibabacloud/emr/model/CreateUserResult.h
include/alibabacloud/emr/model/CreateUsersRequest.h
include/alibabacloud/emr/model/CreateUsersResult.h
include/alibabacloud/emr/model/DecommissionHostComponentRequest.h
include/alibabacloud/emr/model/DecommissionHostComponentResult.h
include/alibabacloud/emr/model/DeleteClusterTemplateRequest.h
include/alibabacloud/emr/model/DeleteClusterTemplateResult.h
include/alibabacloud/emr/model/DeleteExecutionPlanRequest.h
include/alibabacloud/emr/model/DeleteExecutionPlanResult.h
include/alibabacloud/emr/model/DeleteFlowRequest.h
include/alibabacloud/emr/model/DeleteFlowResult.h
include/alibabacloud/emr/model/DeleteFlowCategoryRequest.h
@@ -103,24 +69,12 @@ set(emr_public_header_model
include/alibabacloud/emr/model/DeleteFlowProjectClusterSettingResult.h
include/alibabacloud/emr/model/DeleteFlowProjectUserRequest.h
include/alibabacloud/emr/model/DeleteFlowProjectUserResult.h
include/alibabacloud/emr/model/DeleteJobRequest.h
include/alibabacloud/emr/model/DeleteJobResult.h
include/alibabacloud/emr/model/DeleteLibrariesRequest.h
include/alibabacloud/emr/model/DeleteLibrariesResult.h
include/alibabacloud/emr/model/DeleteResourcePoolRequest.h
include/alibabacloud/emr/model/DeleteResourcePoolResult.h
include/alibabacloud/emr/model/DeleteResourceQueueRequest.h
include/alibabacloud/emr/model/DeleteResourceQueueResult.h
include/alibabacloud/emr/model/DeleteScalingRuleRequest.h
include/alibabacloud/emr/model/DeleteScalingRuleResult.h
include/alibabacloud/emr/model/DeleteTagRequest.h
include/alibabacloud/emr/model/DeleteTagResult.h
include/alibabacloud/emr/model/DeleteUserRequest.h
include/alibabacloud/emr/model/DeleteUserResult.h
include/alibabacloud/emr/model/DescribeClusterBasicInfoRequest.h
include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h
include/alibabacloud/emr/model/DescribeClusterMetaCollectRequest.h
include/alibabacloud/emr/model/DescribeClusterMetaCollectResult.h
include/alibabacloud/emr/model/DescribeClusterOperationHostTaskLogRequest.h
include/alibabacloud/emr/model/DescribeClusterOperationHostTaskLogResult.h
include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeRequest.h
@@ -129,22 +83,12 @@ set(emr_public_header_model
include/alibabacloud/emr/model/DescribeClusterServiceResult.h
include/alibabacloud/emr/model/DescribeClusterServiceConfigRequest.h
include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h
include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryRequest.h
include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryResult.h
include/alibabacloud/emr/model/DescribeClusterServiceConfigTagRequest.h
include/alibabacloud/emr/model/DescribeClusterServiceConfigTagResult.h
include/alibabacloud/emr/model/DescribeClusterTemplateRequest.h
include/alibabacloud/emr/model/DescribeClusterTemplateResult.h
include/alibabacloud/emr/model/DescribeClusterV2Request.h
include/alibabacloud/emr/model/DescribeClusterV2Result.h
include/alibabacloud/emr/model/DescribeDataSourceRequest.h
include/alibabacloud/emr/model/DescribeDataSourceResult.h
include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h
include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h
include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h
include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h
include/alibabacloud/emr/model/DescribeExecutionPlanRequest.h
include/alibabacloud/emr/model/DescribeExecutionPlanResult.h
include/alibabacloud/emr/model/DescribeFlowRequest.h
include/alibabacloud/emr/model/DescribeFlowResult.h
include/alibabacloud/emr/model/DescribeFlowCategoryRequest.h
@@ -165,16 +109,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/DescribeFlowProjectResult.h
include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingRequest.h
include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingResult.h
include/alibabacloud/emr/model/DescribeJobRequest.h
include/alibabacloud/emr/model/DescribeJobResult.h
include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h
include/alibabacloud/emr/model/DescribeLibraryDetailResult.h
include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h
include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h
include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h
include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskResult.h
include/alibabacloud/emr/model/DescribeScalingActivityRequest.h
include/alibabacloud/emr/model/DescribeScalingActivityResult.h
include/alibabacloud/emr/model/DescribeScalingCommonConfigRequest.h
include/alibabacloud/emr/model/DescribeScalingCommonConfigResult.h
include/alibabacloud/emr/model/DescribeScalingConfigItemV2Request.h
@@ -183,44 +117,12 @@ set(emr_public_header_model
include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Result.h
include/alibabacloud/emr/model/DescribeScalingGroupV2Request.h
include/alibabacloud/emr/model/DescribeScalingGroupV2Result.h
include/alibabacloud/emr/model/DescribeScalingRuleRequest.h
include/alibabacloud/emr/model/DescribeScalingRuleResult.h
include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h
include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h
include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h
include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h
include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoRequest.h
include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoResult.h
include/alibabacloud/emr/model/GetJobInputStatisticInfoRequest.h
include/alibabacloud/emr/model/GetJobInputStatisticInfoResult.h
include/alibabacloud/emr/model/GetJobOutputStatisticInfoRequest.h
include/alibabacloud/emr/model/GetJobOutputStatisticInfoResult.h
include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoRequest.h
include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoResult.h
include/alibabacloud/emr/model/GetQueueInputStatisticInfoRequest.h
include/alibabacloud/emr/model/GetQueueInputStatisticInfoResult.h
include/alibabacloud/emr/model/GetQueueOutputStatisticInfoRequest.h
include/alibabacloud/emr/model/GetQueueOutputStatisticInfoResult.h
include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoRequest.h
include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoResult.h
include/alibabacloud/emr/model/GetUserInputStatisticInfoRequest.h
include/alibabacloud/emr/model/GetUserInputStatisticInfoResult.h
include/alibabacloud/emr/model/GetUserOutputStatisticInfoRequest.h
include/alibabacloud/emr/model/GetUserOutputStatisticInfoResult.h
include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoRequest.h
include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoResult.h
include/alibabacloud/emr/model/InstallLibrariesRequest.h
include/alibabacloud/emr/model/InstallLibrariesResult.h
include/alibabacloud/emr/model/JoinResourceGroupRequest.h
include/alibabacloud/emr/model/JoinResourceGroupResult.h
include/alibabacloud/emr/model/KillFlowJobRequest.h
include/alibabacloud/emr/model/KillFlowJobResult.h
include/alibabacloud/emr/model/ListAdviceActionRequest.h
include/alibabacloud/emr/model/ListAdviceActionResult.h
include/alibabacloud/emr/model/ListApmApplicationRequest.h
include/alibabacloud/emr/model/ListApmApplicationResult.h
include/alibabacloud/emr/model/ListBackupsRequest.h
include/alibabacloud/emr/model/ListBackupsResult.h
include/alibabacloud/emr/model/ListClusterHostRequest.h
include/alibabacloud/emr/model/ListClusterHostResult.h
include/alibabacloud/emr/model/ListClusterHostComponentRequest.h
@@ -251,18 +153,12 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ListClusterTemplatesResult.h
include/alibabacloud/emr/model/ListClustersRequest.h
include/alibabacloud/emr/model/ListClustersResult.h
include/alibabacloud/emr/model/ListDataSourceRequest.h
include/alibabacloud/emr/model/ListDataSourceResult.h
include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h
include/alibabacloud/emr/model/ListDiskOpsEventsResult.h
include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h
include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h
include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h
include/alibabacloud/emr/model/ListEmrAvailableResourceResult.h
include/alibabacloud/emr/model/ListEmrMainVersionRequest.h
include/alibabacloud/emr/model/ListEmrMainVersionResult.h
include/alibabacloud/emr/model/ListExecutionPlanInstancesRequest.h
include/alibabacloud/emr/model/ListExecutionPlanInstancesResult.h
include/alibabacloud/emr/model/ListFlowRequest.h
include/alibabacloud/emr/model/ListFlowResult.h
include/alibabacloud/emr/model/ListFlowCategoryRequest.h
@@ -293,72 +189,30 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ListFlowProjectClusterSettingResult.h
include/alibabacloud/emr/model/ListFlowProjectUserRequest.h
include/alibabacloud/emr/model/ListFlowProjectUserResult.h
include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h
include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h
include/alibabacloud/emr/model/ListJobsRequest.h
include/alibabacloud/emr/model/ListJobsResult.h
include/alibabacloud/emr/model/ListLibrariesRequest.h
include/alibabacloud/emr/model/ListLibrariesResult.h
include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h
include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h
include/alibabacloud/emr/model/ListLibraryStatusRequest.h
include/alibabacloud/emr/model/ListLibraryStatusResult.h
include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h
include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h
include/alibabacloud/emr/model/ListResourcePoolRequest.h
include/alibabacloud/emr/model/ListResourcePoolResult.h
include/alibabacloud/emr/model/ListRolesRequest.h
include/alibabacloud/emr/model/ListRolesResult.h
include/alibabacloud/emr/model/ListScalingActivityV2Request.h
include/alibabacloud/emr/model/ListScalingActivityV2Result.h
include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h
include/alibabacloud/emr/model/ListScalingConfigItemV2Result.h
include/alibabacloud/emr/model/ListScalingGroupV2Request.h
include/alibabacloud/emr/model/ListScalingGroupV2Result.h
include/alibabacloud/emr/model/ListSecurityGroupRequest.h
include/alibabacloud/emr/model/ListSecurityGroupResult.h
include/alibabacloud/emr/model/ListStackRequest.h
include/alibabacloud/emr/model/ListStackResult.h
include/alibabacloud/emr/model/ListTagKeysRequest.h
include/alibabacloud/emr/model/ListTagKeysResult.h
include/alibabacloud/emr/model/ListTagResourcesRequest.h
include/alibabacloud/emr/model/ListTagResourcesResult.h
include/alibabacloud/emr/model/ListTagValuesRequest.h
include/alibabacloud/emr/model/ListTagValuesResult.h
include/alibabacloud/emr/model/ListUsersRequest.h
include/alibabacloud/emr/model/ListUsersResult.h
include/alibabacloud/emr/model/ListVswitchRequest.h
include/alibabacloud/emr/model/ListVswitchResult.h
include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h
include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h
include/alibabacloud/emr/model/ModifyClusterHostGroupRequest.h
include/alibabacloud/emr/model/ModifyClusterHostGroupResult.h
include/alibabacloud/emr/model/ModifyClusterMetaCollectRequest.h
include/alibabacloud/emr/model/ModifyClusterMetaCollectResult.h
include/alibabacloud/emr/model/ModifyClusterNameRequest.h
include/alibabacloud/emr/model/ModifyClusterNameResult.h
include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h
include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h
include/alibabacloud/emr/model/ModifyClusterServiceConfigRequest.h
include/alibabacloud/emr/model/ModifyClusterServiceConfigResult.h
include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h
include/alibabacloud/emr/model/ModifyClusterTemplateResult.h
include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h
include/alibabacloud/emr/model/ModifyExecutionPlanResult.h
include/alibabacloud/emr/model/ModifyFlowRequest.h
include/alibabacloud/emr/model/ModifyFlowResult.h
include/alibabacloud/emr/model/ModifyFlowCategoryRequest.h
include/alibabacloud/emr/model/ModifyFlowCategoryResult.h
include/alibabacloud/emr/model/ModifyFlowForWebRequest.h
include/alibabacloud/emr/model/ModifyFlowForWebResult.h
include/alibabacloud/emr/model/ModifyFlowJobRequest.h
include/alibabacloud/emr/model/ModifyFlowJobResult.h
include/alibabacloud/emr/model/ModifyFlowProjectRequest.h
include/alibabacloud/emr/model/ModifyFlowProjectResult.h
include/alibabacloud/emr/model/ModifyFlowProjectClusterSettingRequest.h
include/alibabacloud/emr/model/ModifyFlowProjectClusterSettingResult.h
include/alibabacloud/emr/model/ModifyJobRequest.h
include/alibabacloud/emr/model/ModifyJobResult.h
include/alibabacloud/emr/model/ModifyResourcePoolRequest.h
include/alibabacloud/emr/model/ModifyResourcePoolResult.h
include/alibabacloud/emr/model/ModifyResourcePoolSchedulerTypeRequest.h
@@ -369,14 +223,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ModifyScalingConfigItemV2Result.h
include/alibabacloud/emr/model/ModifyScalingGroupV2Request.h
include/alibabacloud/emr/model/ModifyScalingGroupV2Result.h
include/alibabacloud/emr/model/ModifyScalingRuleRequest.h
include/alibabacloud/emr/model/ModifyScalingRuleResult.h
include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h
include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h
include/alibabacloud/emr/model/QueryEntityRequest.h
include/alibabacloud/emr/model/QueryEntityResult.h
include/alibabacloud/emr/model/QueryTagRequest.h
include/alibabacloud/emr/model/QueryTagResult.h
include/alibabacloud/emr/model/RefreshClusterResourcePoolRequest.h
include/alibabacloud/emr/model/RefreshClusterResourcePoolResult.h
include/alibabacloud/emr/model/ReleaseClusterRequest.h
@@ -389,46 +235,24 @@ set(emr_public_header_model
include/alibabacloud/emr/model/RerunFlowResult.h
include/alibabacloud/emr/model/ResizeClusterV2Request.h
include/alibabacloud/emr/model/ResizeClusterV2Result.h
include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h
include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h
include/alibabacloud/emr/model/ResumeFlowRequest.h
include/alibabacloud/emr/model/ResumeFlowResult.h
include/alibabacloud/emr/model/RetryOperationRequest.h
include/alibabacloud/emr/model/RetryOperationResult.h
include/alibabacloud/emr/model/RunClusterServiceActionRequest.h
include/alibabacloud/emr/model/RunClusterServiceActionResult.h
include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h
include/alibabacloud/emr/model/RunDiskOpsActivityResult.h
include/alibabacloud/emr/model/RunExecutionPlanRequest.h
include/alibabacloud/emr/model/RunExecutionPlanResult.h
include/alibabacloud/emr/model/RunScalingActionV2Request.h
include/alibabacloud/emr/model/RunScalingActionV2Result.h
include/alibabacloud/emr/model/SearchLogRequest.h
include/alibabacloud/emr/model/SearchLogResult.h
include/alibabacloud/emr/model/StartFlowRequest.h
include/alibabacloud/emr/model/StartFlowResult.h
include/alibabacloud/emr/model/SubmitFlowRequest.h
include/alibabacloud/emr/model/SubmitFlowResult.h
include/alibabacloud/emr/model/SubmitFlowJobRequest.h
include/alibabacloud/emr/model/SubmitFlowJobResult.h
include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerRequest.h
include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerResult.h
include/alibabacloud/emr/model/SuspendFlowRequest.h
include/alibabacloud/emr/model/SuspendFlowResult.h
include/alibabacloud/emr/model/TagResourcesRequest.h
include/alibabacloud/emr/model/TagResourcesResult.h
include/alibabacloud/emr/model/UninstallLibrariesRequest.h
include/alibabacloud/emr/model/UninstallLibrariesResult.h
include/alibabacloud/emr/model/UntagResourcesRequest.h
include/alibabacloud/emr/model/UntagResourcesResult.h
include/alibabacloud/emr/model/UpdateDataSourceRequest.h
include/alibabacloud/emr/model/UpdateDataSourceResult.h
include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h
include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h
include/alibabacloud/emr/model/UpdateTagRequest.h
include/alibabacloud/emr/model/UpdateTagResult.h
include/alibabacloud/emr/model/UpdateUserRequest.h
include/alibabacloud/emr/model/UpdateUserResult.h )
include/alibabacloud/emr/model/UntagResourcesResult.h )
set(emr_src
src/EmrClient.cc
@@ -436,32 +260,16 @@ set(emr_src
src/model/AddClusterServiceResult.cc
src/model/AddScalingConfigItemV2Request.cc
src/model/AddScalingConfigItemV2Result.cc
src/model/AuthorizeSecurityGroupRequest.cc
src/model/AuthorizeSecurityGroupResult.cc
src/model/CancelOrderRequest.cc
src/model/CancelOrderResult.cc
src/model/CloneFlowRequest.cc
src/model/CloneFlowResult.cc
src/model/CloneFlowJobRequest.cc
src/model/CloneFlowJobResult.cc
src/model/CreateBackupRequest.cc
src/model/CreateBackupResult.cc
src/model/CreateBackupPlanRequest.cc
src/model/CreateBackupPlanResult.cc
src/model/CreateClusterBootstrapActionRequest.cc
src/model/CreateClusterBootstrapActionResult.cc
src/model/CreateClusterHostGroupRequest.cc
src/model/CreateClusterHostGroupResult.cc
src/model/CreateClusterTemplateRequest.cc
src/model/CreateClusterTemplateResult.cc
src/model/CreateClusterV2Request.cc
src/model/CreateClusterV2Result.cc
src/model/CreateClusterWithTemplateRequest.cc
src/model/CreateClusterWithTemplateResult.cc
src/model/CreateDataSourceRequest.cc
src/model/CreateDataSourceResult.cc
src/model/CreateExecutionPlanRequest.cc
src/model/CreateExecutionPlanResult.cc
src/model/CreateFlowRequest.cc
src/model/CreateFlowResult.cc
src/model/CreateFlowCategoryRequest.cc
@@ -476,32 +284,14 @@ set(emr_src
src/model/CreateFlowProjectClusterSettingResult.cc
src/model/CreateFlowProjectUserRequest.cc
src/model/CreateFlowProjectUserResult.cc
src/model/CreateJobRequest.cc
src/model/CreateJobResult.cc
src/model/CreateLibraryRequest.cc
src/model/CreateLibraryResult.cc
src/model/CreateMetaTablePreviewTaskRequest.cc
src/model/CreateMetaTablePreviewTaskResult.cc
src/model/CreateResourcePoolRequest.cc
src/model/CreateResourcePoolResult.cc
src/model/CreateResourceQueueRequest.cc
src/model/CreateResourceQueueResult.cc
src/model/CreateScalingGroupV2Request.cc
src/model/CreateScalingGroupV2Result.cc
src/model/CreateScalingRuleRequest.cc
src/model/CreateScalingRuleResult.cc
src/model/CreateTagRequest.cc
src/model/CreateTagResult.cc
src/model/CreateUserRequest.cc
src/model/CreateUserResult.cc
src/model/CreateUsersRequest.cc
src/model/CreateUsersResult.cc
src/model/DecommissionHostComponentRequest.cc
src/model/DecommissionHostComponentResult.cc
src/model/DeleteClusterTemplateRequest.cc
src/model/DeleteClusterTemplateResult.cc
src/model/DeleteExecutionPlanRequest.cc
src/model/DeleteExecutionPlanResult.cc
src/model/DeleteFlowRequest.cc
src/model/DeleteFlowResult.cc
src/model/DeleteFlowCategoryRequest.cc
@@ -514,24 +304,12 @@ set(emr_src
src/model/DeleteFlowProjectClusterSettingResult.cc
src/model/DeleteFlowProjectUserRequest.cc
src/model/DeleteFlowProjectUserResult.cc
src/model/DeleteJobRequest.cc
src/model/DeleteJobResult.cc
src/model/DeleteLibrariesRequest.cc
src/model/DeleteLibrariesResult.cc
src/model/DeleteResourcePoolRequest.cc
src/model/DeleteResourcePoolResult.cc
src/model/DeleteResourceQueueRequest.cc
src/model/DeleteResourceQueueResult.cc
src/model/DeleteScalingRuleRequest.cc
src/model/DeleteScalingRuleResult.cc
src/model/DeleteTagRequest.cc
src/model/DeleteTagResult.cc
src/model/DeleteUserRequest.cc
src/model/DeleteUserResult.cc
src/model/DescribeClusterBasicInfoRequest.cc
src/model/DescribeClusterBasicInfoResult.cc
src/model/DescribeClusterMetaCollectRequest.cc
src/model/DescribeClusterMetaCollectResult.cc
src/model/DescribeClusterOperationHostTaskLogRequest.cc
src/model/DescribeClusterOperationHostTaskLogResult.cc
src/model/DescribeClusterResourcePoolSchedulerTypeRequest.cc
@@ -540,22 +318,12 @@ set(emr_src
src/model/DescribeClusterServiceResult.cc
src/model/DescribeClusterServiceConfigRequest.cc
src/model/DescribeClusterServiceConfigResult.cc
src/model/DescribeClusterServiceConfigHistoryRequest.cc
src/model/DescribeClusterServiceConfigHistoryResult.cc
src/model/DescribeClusterServiceConfigTagRequest.cc
src/model/DescribeClusterServiceConfigTagResult.cc
src/model/DescribeClusterTemplateRequest.cc
src/model/DescribeClusterTemplateResult.cc
src/model/DescribeClusterV2Request.cc
src/model/DescribeClusterV2Result.cc
src/model/DescribeDataSourceRequest.cc
src/model/DescribeDataSourceResult.cc
src/model/DescribeDiskOpsActivityRequest.cc
src/model/DescribeDiskOpsActivityResult.cc
src/model/DescribeEmrMainVersionRequest.cc
src/model/DescribeEmrMainVersionResult.cc
src/model/DescribeExecutionPlanRequest.cc
src/model/DescribeExecutionPlanResult.cc
src/model/DescribeFlowRequest.cc
src/model/DescribeFlowResult.cc
src/model/DescribeFlowCategoryRequest.cc
@@ -576,16 +344,6 @@ set(emr_src
src/model/DescribeFlowProjectResult.cc
src/model/DescribeFlowProjectClusterSettingRequest.cc
src/model/DescribeFlowProjectClusterSettingResult.cc
src/model/DescribeJobRequest.cc
src/model/DescribeJobResult.cc
src/model/DescribeLibraryDetailRequest.cc
src/model/DescribeLibraryDetailResult.cc
src/model/DescribeLibraryInstallTaskDetailRequest.cc
src/model/DescribeLibraryInstallTaskDetailResult.cc
src/model/DescribeMetaTablePreviewTaskRequest.cc
src/model/DescribeMetaTablePreviewTaskResult.cc
src/model/DescribeScalingActivityRequest.cc
src/model/DescribeScalingActivityResult.cc
src/model/DescribeScalingCommonConfigRequest.cc
src/model/DescribeScalingCommonConfigResult.cc
src/model/DescribeScalingConfigItemV2Request.cc
@@ -594,44 +352,12 @@ set(emr_src
src/model/DescribeScalingGroupInstanceV2Result.cc
src/model/DescribeScalingGroupV2Request.cc
src/model/DescribeScalingGroupV2Result.cc
src/model/DescribeScalingRuleRequest.cc
src/model/DescribeScalingRuleResult.cc
src/model/DescribeSecurityGroupAttributeRequest.cc
src/model/DescribeSecurityGroupAttributeResult.cc
src/model/DetachAndReleaseClusterEniRequest.cc
src/model/DetachAndReleaseClusterEniResult.cc
src/model/GetHdfsCapacityStatisticInfoRequest.cc
src/model/GetHdfsCapacityStatisticInfoResult.cc
src/model/GetJobInputStatisticInfoRequest.cc
src/model/GetJobInputStatisticInfoResult.cc
src/model/GetJobOutputStatisticInfoRequest.cc
src/model/GetJobOutputStatisticInfoResult.cc
src/model/GetJobRunningTimeStatisticInfoRequest.cc
src/model/GetJobRunningTimeStatisticInfoResult.cc
src/model/GetQueueInputStatisticInfoRequest.cc
src/model/GetQueueInputStatisticInfoResult.cc
src/model/GetQueueOutputStatisticInfoRequest.cc
src/model/GetQueueOutputStatisticInfoResult.cc
src/model/GetQueueSubmissionStatisticInfoRequest.cc
src/model/GetQueueSubmissionStatisticInfoResult.cc
src/model/GetUserInputStatisticInfoRequest.cc
src/model/GetUserInputStatisticInfoResult.cc
src/model/GetUserOutputStatisticInfoRequest.cc
src/model/GetUserOutputStatisticInfoResult.cc
src/model/GetUserSubmissionStatisticInfoRequest.cc
src/model/GetUserSubmissionStatisticInfoResult.cc
src/model/InstallLibrariesRequest.cc
src/model/InstallLibrariesResult.cc
src/model/JoinResourceGroupRequest.cc
src/model/JoinResourceGroupResult.cc
src/model/KillFlowJobRequest.cc
src/model/KillFlowJobResult.cc
src/model/ListAdviceActionRequest.cc
src/model/ListAdviceActionResult.cc
src/model/ListApmApplicationRequest.cc
src/model/ListApmApplicationResult.cc
src/model/ListBackupsRequest.cc
src/model/ListBackupsResult.cc
src/model/ListClusterHostRequest.cc
src/model/ListClusterHostResult.cc
src/model/ListClusterHostComponentRequest.cc
@@ -662,18 +388,12 @@ set(emr_src
src/model/ListClusterTemplatesResult.cc
src/model/ListClustersRequest.cc
src/model/ListClustersResult.cc
src/model/ListDataSourceRequest.cc
src/model/ListDataSourceResult.cc
src/model/ListDiskOpsEventsRequest.cc
src/model/ListDiskOpsEventsResult.cc
src/model/ListEmrAvailableConfigRequest.cc
src/model/ListEmrAvailableConfigResult.cc
src/model/ListEmrAvailableResourceRequest.cc
src/model/ListEmrAvailableResourceResult.cc
src/model/ListEmrMainVersionRequest.cc
src/model/ListEmrMainVersionResult.cc
src/model/ListExecutionPlanInstancesRequest.cc
src/model/ListExecutionPlanInstancesResult.cc
src/model/ListFlowRequest.cc
src/model/ListFlowResult.cc
src/model/ListFlowCategoryRequest.cc
@@ -704,72 +424,30 @@ set(emr_src
src/model/ListFlowProjectClusterSettingResult.cc
src/model/ListFlowProjectUserRequest.cc
src/model/ListFlowProjectUserResult.cc
src/model/ListJobExecutionInstancesRequest.cc
src/model/ListJobExecutionInstancesResult.cc
src/model/ListJobsRequest.cc
src/model/ListJobsResult.cc
src/model/ListLibrariesRequest.cc
src/model/ListLibrariesResult.cc
src/model/ListLibraryInstallTasksRequest.cc
src/model/ListLibraryInstallTasksResult.cc
src/model/ListLibraryStatusRequest.cc
src/model/ListLibraryStatusResult.cc
src/model/ListLocalDiskComponentInfoRequest.cc
src/model/ListLocalDiskComponentInfoResult.cc
src/model/ListResourcePoolRequest.cc
src/model/ListResourcePoolResult.cc
src/model/ListRolesRequest.cc
src/model/ListRolesResult.cc
src/model/ListScalingActivityV2Request.cc
src/model/ListScalingActivityV2Result.cc
src/model/ListScalingConfigItemV2Request.cc
src/model/ListScalingConfigItemV2Result.cc
src/model/ListScalingGroupV2Request.cc
src/model/ListScalingGroupV2Result.cc
src/model/ListSecurityGroupRequest.cc
src/model/ListSecurityGroupResult.cc
src/model/ListStackRequest.cc
src/model/ListStackResult.cc
src/model/ListTagKeysRequest.cc
src/model/ListTagKeysResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ListTagValuesRequest.cc
src/model/ListTagValuesResult.cc
src/model/ListUsersRequest.cc
src/model/ListUsersResult.cc
src/model/ListVswitchRequest.cc
src/model/ListVswitchResult.cc
src/model/ModifyClusterBootstrapActionRequest.cc
src/model/ModifyClusterBootstrapActionResult.cc
src/model/ModifyClusterHostGroupRequest.cc
src/model/ModifyClusterHostGroupResult.cc
src/model/ModifyClusterMetaCollectRequest.cc
src/model/ModifyClusterMetaCollectResult.cc
src/model/ModifyClusterNameRequest.cc
src/model/ModifyClusterNameResult.cc
src/model/ModifyClusterSecurityGroupRuleRequest.cc
src/model/ModifyClusterSecurityGroupRuleResult.cc
src/model/ModifyClusterServiceConfigRequest.cc
src/model/ModifyClusterServiceConfigResult.cc
src/model/ModifyClusterTemplateRequest.cc
src/model/ModifyClusterTemplateResult.cc
src/model/ModifyExecutionPlanRequest.cc
src/model/ModifyExecutionPlanResult.cc
src/model/ModifyFlowRequest.cc
src/model/ModifyFlowResult.cc
src/model/ModifyFlowCategoryRequest.cc
src/model/ModifyFlowCategoryResult.cc
src/model/ModifyFlowForWebRequest.cc
src/model/ModifyFlowForWebResult.cc
src/model/ModifyFlowJobRequest.cc
src/model/ModifyFlowJobResult.cc
src/model/ModifyFlowProjectRequest.cc
src/model/ModifyFlowProjectResult.cc
src/model/ModifyFlowProjectClusterSettingRequest.cc
src/model/ModifyFlowProjectClusterSettingResult.cc
src/model/ModifyJobRequest.cc
src/model/ModifyJobResult.cc
src/model/ModifyResourcePoolRequest.cc
src/model/ModifyResourcePoolResult.cc
src/model/ModifyResourcePoolSchedulerTypeRequest.cc
@@ -780,14 +458,6 @@ set(emr_src
src/model/ModifyScalingConfigItemV2Result.cc
src/model/ModifyScalingGroupV2Request.cc
src/model/ModifyScalingGroupV2Result.cc
src/model/ModifyScalingRuleRequest.cc
src/model/ModifyScalingRuleResult.cc
src/model/ModifyScalingTaskGroupRequest.cc
src/model/ModifyScalingTaskGroupResult.cc
src/model/QueryEntityRequest.cc
src/model/QueryEntityResult.cc
src/model/QueryTagRequest.cc
src/model/QueryTagResult.cc
src/model/RefreshClusterResourcePoolRequest.cc
src/model/RefreshClusterResourcePoolResult.cc
src/model/ReleaseClusterRequest.cc
@@ -800,46 +470,24 @@ set(emr_src
src/model/RerunFlowResult.cc
src/model/ResizeClusterV2Request.cc
src/model/ResizeClusterV2Result.cc
src/model/ResumeExecutionPlanSchedulerRequest.cc
src/model/ResumeExecutionPlanSchedulerResult.cc
src/model/ResumeFlowRequest.cc
src/model/ResumeFlowResult.cc
src/model/RetryOperationRequest.cc
src/model/RetryOperationResult.cc
src/model/RunClusterServiceActionRequest.cc
src/model/RunClusterServiceActionResult.cc
src/model/RunDiskOpsActivityRequest.cc
src/model/RunDiskOpsActivityResult.cc
src/model/RunExecutionPlanRequest.cc
src/model/RunExecutionPlanResult.cc
src/model/RunScalingActionV2Request.cc
src/model/RunScalingActionV2Result.cc
src/model/SearchLogRequest.cc
src/model/SearchLogResult.cc
src/model/StartFlowRequest.cc
src/model/StartFlowResult.cc
src/model/SubmitFlowRequest.cc
src/model/SubmitFlowResult.cc
src/model/SubmitFlowJobRequest.cc
src/model/SubmitFlowJobResult.cc
src/model/SuspendExecutionPlanSchedulerRequest.cc
src/model/SuspendExecutionPlanSchedulerResult.cc
src/model/SuspendFlowRequest.cc
src/model/SuspendFlowResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UninstallLibrariesRequest.cc
src/model/UninstallLibrariesResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc
src/model/UpdateDataSourceRequest.cc
src/model/UpdateDataSourceResult.cc
src/model/UpdateLibraryInstallTaskStatusRequest.cc
src/model/UpdateLibraryInstallTaskStatusResult.cc
src/model/UpdateTagRequest.cc
src/model/UpdateTagResult.cc
src/model/UpdateUserRequest.cc
src/model/UpdateUserResult.cc )
src/model/UntagResourcesResult.cc )
add_library(emr ${LIB_TYPE}
${emr_public_header}

File diff suppressed because it is too large Load Diff

View File

@@ -1,63 +0,0 @@
/*
* 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_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AuthorizeSecurityGroupRequest : public RpcServiceRequest
{
public:
AuthorizeSecurityGroupRequest();
~AuthorizeSecurityGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getBizType()const;
void setBizType(const std::string& bizType);
std::string getBizContent()const;
void setBizContent(const std::string& bizContent);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string accessKeyId_;
std::string bizType_;
std::string bizContent_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_

View File

@@ -1,66 +0,0 @@
/*
* 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_EMR_MODEL_CREATEBACKUPPLANREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateBackupPlanRequest : public RpcServiceRequest
{
public:
CreateBackupPlanRequest();
~CreateBackupPlanRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getRootPath()const;
void setRootPath(const std::string& rootPath);
private:
long resourceOwnerId_;
std::string description_;
std::string clusterId_;
std::string accessKeyId_;
std::string regionId_;
std::string name_;
std::string rootPath_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPPLANREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* 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_EMR_MODEL_CREATEBACKUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateBackupRequest : public RpcServiceRequest
{
public:
CreateBackupRequest();
~CreateBackupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getMetadataType()const;
void setMetadataType(const std::string& metadataType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
long resourceOwnerId_;
std::string backupPlanId_;
std::string metadataType_;
std::string accessKeyId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPREQUEST_H_

View File

@@ -1,81 +0,0 @@
/*
* 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_EMR_MODEL_CREATEBACKUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateBackupResult : public ServiceResult
{
public:
CreateBackupResult();
explicit CreateBackupResult(const std::string &payload);
~CreateBackupResult();
std::string getTriggerType()const;
long getEndTime()const;
long getStartTime()const;
long getGmtModified()const;
std::string getTaskStatus()const;
std::string getTaskDetail()const;
std::string getTriggerUser()const;
long getGmtCreate()const;
int getTaskProcess()const;
std::string getClusterBizId()const;
std::string getTaskType()const;
std::string getBizId()const;
long getDataSourceId()const;
std::string getHostName()const;
long getEcmTaskId()const;
std::string getTaskResultDetail()const;
protected:
void parse(const std::string &payload);
private:
std::string triggerType_;
long endTime_;
long startTime_;
long gmtModified_;
std::string taskStatus_;
std::string taskDetail_;
std::string triggerUser_;
long gmtCreate_;
int taskProcess_;
std::string clusterBizId_;
std::string taskType_;
std::string bizId_;
long dataSourceId_;
std::string hostName_;
long ecmTaskId_;
std::string taskResultDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRESULT_H_

View File

@@ -1,70 +0,0 @@
/*
* 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_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterBootstrapActionRequest : public RpcServiceRequest
{
public:
struct BootstrapAction
{
std::string path;
std::string executionTarget;
std::string executionMoment;
std::string arg;
std::string name;
std::string executionFailStrategy;
};
public:
CreateClusterBootstrapActionRequest();
~CreateClusterBootstrapActionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::vector<BootstrapAction> getBootstrapAction()const;
void setBootstrapAction(const std::vector<BootstrapAction>& bootstrapAction);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string accessKeyId_;
std::vector<BootstrapAction> bootstrapAction_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_

View File

@@ -1,78 +0,0 @@
/*
* 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_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupRequest : public RpcServiceRequest
{
public:
CreateClusterHostGroupRequest();
~CreateClusterHostGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getHostGroupParams()const;
void setHostGroupParams(const std::string& hostGroupParams);
std::string getSecurityGroupId()const;
void setSecurityGroupId(const std::string& securityGroupId);
std::string getHostGroupName()const;
void setHostGroupName(const std::string& hostGroupName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getVswitchId()const;
void setVswitchId(const std::string& vswitchId);
std::string getComment()const;
void setComment(const std::string& comment);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::string getHostGroupType()const;
void setHostGroupType(const std::string& hostGroupType);
private:
long resourceOwnerId_;
std::string hostGroupParams_;
std::string securityGroupId_;
std::string hostGroupName_;
std::string accessKeyId_;
std::string regionId_;
std::string clusterId_;
std::string vswitchId_;
std::string comment_;
std::string payType_;
std::string hostGroupType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_

View File

@@ -1,75 +0,0 @@
/*
* 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_EMR_MODEL_CREATEDATASOURCEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateDataSourceRequest : public RpcServiceRequest
{
public:
CreateDataSourceRequest();
~CreateDataSourceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getNavParentId()const;
void setNavParentId(const std::string& navParentId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getConf()const;
void setConf(const std::string& conf);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
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 getName()const;
void setName(const std::string& name);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
private:
long resourceOwnerId_;
std::string navParentId_;
std::string description_;
std::string conf_;
std::string clusterId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string name_;
std::string sourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCEREQUEST_H_

View File

@@ -1,188 +0,0 @@
/*
* 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_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateExecutionPlanRequest : public RpcServiceRequest
{
public:
struct BootstrapAction
{
std::string path;
std::string executionTarget;
std::string executionMoment;
std::string arg;
std::string name;
std::string executionFailStrategy;
};
struct EcsOrder
{
std::string nodeType;
int diskCount;
int nodeCount;
int diskCapacity;
int index;
std::string instanceType;
std::string diskType;
};
struct Config
{
std::string configKey;
std::string fileName;
std::string encrypt;
std::string replace;
std::string configValue;
std::string serviceName;
};
public:
CreateExecutionPlanRequest();
~CreateExecutionPlanRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getTimeInterval()const;
void setTimeInterval(int timeInterval);
std::string getLogPath()const;
void setLogPath(const std::string& logPath);
std::string getClusterName()const;
void setClusterName(const std::string& clusterName);
std::string getConfigurations()const;
void setConfigurations(const std::string& configurations);
bool getCreateClusterOnDemand()const;
void setCreateClusterOnDemand(bool createClusterOnDemand);
long getStartTime()const;
void setStartTime(long startTime);
std::vector<BootstrapAction> getBootstrapAction()const;
void setBootstrapAction(const std::vector<BootstrapAction>& bootstrapAction);
std::string getEmrVer()const;
void setEmrVer(const std::string& emrVer);
bool getIsOpenPublicIp()const;
void setIsOpenPublicIp(bool isOpenPublicIp);
std::string getInstanceGeneration()const;
void setInstanceGeneration(const std::string& instanceGeneration);
std::string getClusterType()const;
void setClusterType(const std::string& clusterType);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::vector<std::string> getOptionSoftWareList()const;
void setOptionSoftWareList(const std::vector<std::string>& optionSoftWareList);
std::string getNetType()const;
void setNetType(const std::string& netType);
std::vector<EcsOrder> getEcsOrder()const;
void setEcsOrder(const std::vector<EcsOrder>& ecsOrder);
std::string getName()const;
void setName(const std::string& name);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
bool getUseCustomHiveMetaDB()const;
void setUseCustomHiveMetaDB(bool useCustomHiveMetaDB);
bool getInitCustomHiveMetaDB()const;
void setInitCustomHiveMetaDB(bool initCustomHiveMetaDB);
bool getIoOptimized()const;
void setIoOptimized(bool ioOptimized);
std::string getSecurityGroupId()const;
void setSecurityGroupId(const std::string& securityGroupId);
bool getEasEnable()const;
void setEasEnable(bool easEnable);
std::vector<std::string> getJobIdList()const;
void setJobIdList(const std::vector<std::string>& jobIdList);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDayOfMonth()const;
void setDayOfMonth(const std::string& dayOfMonth);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getUseLocalMetaDb()const;
void setUseLocalMetaDb(bool useLocalMetaDb);
std::string getUserDefinedEmrEcsRole()const;
void setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getTimeUnit()const;
void setTimeUnit(const std::string& timeUnit);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getWorkflowDefinition()const;
void setWorkflowDefinition(const std::string& workflowDefinition);
std::string getDayOfWeek()const;
void setDayOfWeek(const std::string& dayOfWeek);
std::string getStrategy()const;
void setStrategy(const std::string& strategy);
std::vector<Config> getConfig()const;
void setConfig(const std::vector<Config>& config);
bool getHighAvailabilityEnable()const;
void setHighAvailabilityEnable(bool highAvailabilityEnable);
bool getLogEnable()const;
void setLogEnable(bool logEnable);
private:
long resourceOwnerId_;
int timeInterval_;
std::string logPath_;
std::string clusterName_;
std::string configurations_;
bool createClusterOnDemand_;
long startTime_;
std::vector<BootstrapAction> bootstrapAction_;
std::string emrVer_;
bool isOpenPublicIp_;
std::string instanceGeneration_;
std::string clusterType_;
std::string vSwitchId_;
std::vector<std::string> optionSoftWareList_;
std::string netType_;
std::vector<EcsOrder> ecsOrder_;
std::string name_;
std::string zoneId_;
bool useCustomHiveMetaDB_;
bool initCustomHiveMetaDB_;
bool ioOptimized_;
std::string securityGroupId_;
bool easEnable_;
std::vector<std::string> jobIdList_;
std::string accessKeyId_;
std::string dayOfMonth_;
std::string regionId_;
bool useLocalMetaDb_;
std::string userDefinedEmrEcsRole_;
std::string clusterId_;
std::string timeUnit_;
std::string vpcId_;
std::string workflowDefinition_;
std::string dayOfWeek_;
std::string strategy_;
std::vector<Config> config_;
bool highAvailabilityEnable_;
bool logEnable_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_

View File

@@ -1,75 +0,0 @@
/*
* 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_EMR_MODEL_CREATEJOBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateJobRequest : public RpcServiceRequest
{
public:
CreateJobRequest();
~CreateJobRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getType()const;
void setType(const std::string& type);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getFailAct()const;
void setFailAct(const std::string& failAct);
std::string getRunParameter()const;
void setRunParameter(const std::string& runParameter);
int getRetryInterval()const;
void setRetryInterval(int retryInterval);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
int getMaxRetry()const;
void setMaxRetry(int maxRetry);
private:
long resourceOwnerId_;
std::string type_;
std::string accessKeyId_;
std::string failAct_;
std::string runParameter_;
int retryInterval_;
std::string resourceGroupId_;
std::string regionId_;
std::string name_;
int maxRetry_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEJOBREQUEST_H_

View File

@@ -1,75 +0,0 @@
/*
* 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_EMR_MODEL_CREATELIBRARYREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateLibraryRequest : public RpcServiceRequest
{
public:
CreateLibraryRequest();
~CreateLibraryRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getLibraryVersion()const;
void setLibraryVersion(const std::string& libraryVersion);
std::string getType()const;
void setType(const std::string& type);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getScope()const;
void setScope(const std::string& scope);
std::string getName()const;
void setName(const std::string& name);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
std::string getProperties()const;
void setProperties(const std::string& properties);
std::string getSourceLocation()const;
void setSourceLocation(const std::string& sourceLocation);
private:
long resourceOwnerId_;
std::string libraryVersion_;
std::string type_;
std::string accessKeyId_;
std::string regionId_;
std::string scope_;
std::string name_;
std::string sourceType_;
std::string properties_;
std::string sourceLocation_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_

View File

@@ -1,72 +0,0 @@
/*
* 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_EMR_MODEL_CREATEMETATABLEPREVIEWTASKREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEMETATABLEPREVIEWTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateMetaTablePreviewTaskRequest : public RpcServiceRequest
{
public:
CreateMetaTablePreviewTaskRequest();
~CreateMetaTablePreviewTaskRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getTableId()const;
void setTableId(const std::string& tableId);
std::string getDatabaseId()const;
void setDatabaseId(const std::string& databaseId);
std::string getUser()const;
void setUser(const std::string& user);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string password_;
std::string regionId_;
std::string tableId_;
std::string databaseId_;
std::string user_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEMETATABLEPREVIEWTASKREQUEST_H_

View File

@@ -1,120 +0,0 @@
/*
* 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_EMR_MODEL_CREATESCALINGRULEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateScalingRuleRequest : public RpcServiceRequest
{
public:
struct CloudWatchTrigger
{
int period;
std::string evaluationCount;
std::string threshold;
std::string metricName;
std::string comparisonOperator;
std::string statistics;
};
struct SchedulerTrigger
{
std::string launchTime;
int launchExpirationTime;
std::string recurrenceValue;
std::string recurrenceEndTime;
std::string recurrenceType;
};
public:
CreateScalingRuleRequest();
~CreateScalingRuleRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getRecurrenceEndTime()const;
void setRecurrenceEndTime(const std::string& recurrenceEndTime);
std::vector<CloudWatchTrigger> getCloudWatchTrigger()const;
void setCloudWatchTrigger(const std::vector<CloudWatchTrigger>& cloudWatchTrigger);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
long getTimeoutWithGrace()const;
void setTimeoutWithGrace(long timeoutWithGrace);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getCooldown()const;
void setCooldown(int cooldown);
std::string getLaunchTime()const;
void setLaunchTime(const std::string& launchTime);
bool getWithGrace()const;
void setWithGrace(bool withGrace);
std::string getRuleCategory()const;
void setRuleCategory(const std::string& ruleCategory);
int getAdjustmentValue()const;
void setAdjustmentValue(int adjustmentValue);
std::string getAdjustmentType()const;
void setAdjustmentType(const std::string& adjustmentType);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
int getLaunchExpirationTime()const;
void setLaunchExpirationTime(int launchExpirationTime);
std::string getRecurrenceValue()const;
void setRecurrenceValue(const std::string& recurrenceValue);
std::string getHostGroupId()const;
void setHostGroupId(const std::string& hostGroupId);
std::vector<SchedulerTrigger> getSchedulerTrigger()const;
void setSchedulerTrigger(const std::vector<SchedulerTrigger>& schedulerTrigger);
std::string getRecurrenceType()const;
void setRecurrenceType(const std::string& recurrenceType);
private:
long resourceOwnerId_;
std::string ruleName_;
std::string recurrenceEndTime_;
std::vector<CloudWatchTrigger> cloudWatchTrigger_;
std::string accessKeyId_;
long timeoutWithGrace_;
std::string regionId_;
int cooldown_;
std::string launchTime_;
bool withGrace_;
std::string ruleCategory_;
int adjustmentValue_;
std::string adjustmentType_;
std::string clusterId_;
int launchExpirationTime_;
std::string recurrenceValue_;
std::string hostGroupId_;
std::vector<SchedulerTrigger> schedulerTrigger_;
std::string recurrenceType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULEREQUEST_H_

View File

@@ -1,66 +0,0 @@
/*
* 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_EMR_MODEL_CREATETAGREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATETAGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateTagRequest : public RpcServiceRequest
{
public:
CreateTagRequest();
~CreateTagRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
long getId()const;
void setId(long id);
std::string getCategory()const;
void setCategory(const std::string& category);
private:
long resourceOwnerId_;
std::string description_;
std::string accessKeyId_;
std::string regionId_;
std::string name_;
long id_;
std::string category_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATETAGREQUEST_H_

View File

@@ -1,85 +0,0 @@
/*
* 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_EMR_MODEL_CREATEUSERREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUserRequest : public RpcServiceRequest
{
public:
struct UserAccountParamList
{
std::string accountType;
std::string authType;
std::string accountPassword;
};
public:
CreateUserRequest();
~CreateUserRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getUserType()const;
void setUserType(const std::string& userType);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::vector<UserAccountParamList> getUserAccountParamList()const;
void setUserAccountParamList(const std::vector<UserAccountParamList>& userAccountParamList);
std::vector<long> getGroupIdList()const;
void setGroupIdList(const std::vector<long>& groupIdList);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<long> getRoleIdList()const;
void setRoleIdList(const std::vector<long>& roleIdList);
std::string getAliyunUserId()const;
void setAliyunUserId(const std::string& aliyunUserId);
std::string getUserName()const;
void setUserName(const std::string& userName);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
long resourceOwnerId_;
std::string userType_;
std::string description_;
std::string accessKeyId_;
std::vector<UserAccountParamList> userAccountParamList_;
std::vector<long> groupIdList_;
std::string regionId_;
std::vector<long> roleIdList_;
std::string aliyunUserId_;
std::string userName_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* 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_EMR_MODEL_CREATEUSERRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUserResult : public ServiceResult
{
public:
CreateUserResult();
explicit CreateUserResult(const std::string &payload);
~CreateUserResult();
bool getPaging()const;
bool getData()const;
protected:
void parse(const std::string &payload);
private:
bool paging_;
bool data_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERRESULT_H_

View File

@@ -1,67 +0,0 @@
/*
* 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_EMR_MODEL_CREATEUSERSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUsersRequest : public RpcServiceRequest
{
public:
struct UserInfo
{
std::string type;
std::string userId;
std::string userName;
};
public:
CreateUsersRequest();
~CreateUsersRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<UserInfo> getUserInfo()const;
void setUserInfo(const std::vector<UserInfo>& userInfo);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string accessKeyId_;
std::string regionId_;
std::vector<UserInfo> userInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSREQUEST_H_

View File

@@ -1,69 +0,0 @@
/*
* 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_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DecommissionHostComponentRequest : public RpcServiceRequest
{
public:
DecommissionHostComponentRequest();
~DecommissionHostComponentRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getHostInstanceId()const;
void setHostInstanceId(const std::string& hostInstanceId);
std::string getComponentName()const;
void setComponentName(const std::string& componentName);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
long getTimeoutSeconds()const;
void setTimeoutSeconds(long timeoutSeconds);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
long resourceOwnerId_;
std::string hostInstanceId_;
std::string componentName_;
std::string clusterId_;
std::string accessKeyId_;
long timeoutSeconds_;
std::string regionId_;
std::string serviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* 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_EMR_MODEL_DELETEJOBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteJobRequest : public RpcServiceRequest
{
public:
DeleteJobRequest();
~DeleteJobRequest();
long getResourceOwnerId()const;
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 getId()const;
void setId(const std::string& id);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEJOBREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_EMR_MODEL_DELETELIBRARIESREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteLibrariesRequest : public RpcServiceRequest
{
public:
DeleteLibrariesRequest();
~DeleteLibrariesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getLibraryBizIdList()const;
void setLibraryBizIdList(const std::vector<std::string>& libraryBizIdList);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::vector<std::string> libraryBizIdList_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* 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_EMR_MODEL_DELETELIBRARIESRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteLibrariesResult : public ServiceResult
{
public:
DeleteLibrariesResult();
explicit DeleteLibrariesResult(const std::string &payload);
~DeleteLibrariesResult();
bool getData()const;
protected:
void parse(const std::string &payload);
private:
bool data_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* 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_EMR_MODEL_DELETESCALINGRULEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETESCALINGRULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteScalingRuleRequest : public RpcServiceRequest
{
public:
DeleteScalingRuleRequest();
~DeleteScalingRuleRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getScalingRuleId()const;
void setScalingRuleId(const std::string& scalingRuleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getHostGroupId()const;
void setHostGroupId(const std::string& hostGroupId);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string scalingRuleId_;
std::string accessKeyId_;
std::string regionId_;
std::string hostGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETESCALINGRULEREQUEST_H_

View File

@@ -1,66 +0,0 @@
/*
* 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_EMR_MODEL_DELETETAGREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETETAGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteTagRequest : public RpcServiceRequest
{
public:
DeleteTagRequest();
~DeleteTagRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
long getId()const;
void setId(long id);
std::string getCategory()const;
void setCategory(const std::string& category);
private:
long resourceOwnerId_;
std::string description_;
std::string accessKeyId_;
std::string regionId_;
std::string name_;
long id_;
std::string category_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETETAGREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* 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_EMR_MODEL_DELETEUSERREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteUserRequest : public RpcServiceRequest
{
public:
DeleteUserRequest();
~DeleteUserRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getType()const;
void setType(const std::string& type);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string type_;
std::string userId_;
std::string accessKeyId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeClusterMetaCollectResult : public ServiceResult
{
public:
DescribeClusterMetaCollectResult();
explicit DescribeClusterMetaCollectResult(const std::string &payload);
~DescribeClusterMetaCollectResult();
std::string getStatus()const;
std::string getClusterId()const;
std::string getMetaStoreType()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string clusterId_;
std::string metaStoreType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeClusterServiceConfigHistoryRequest : public RpcServiceRequest
{
public:
DescribeClusterServiceConfigHistoryRequest();
~DescribeClusterServiceConfigHistoryRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getConfigVersion()const;
void setConfigVersion(const std::string& configVersion);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string accessKeyId_;
std::string configVersion_;
std::string regionId_;
std::string serviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYREQUEST_H_

View File

@@ -1,73 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeClusterServiceConfigHistoryResult : public ServiceResult
{
public:
struct Config
{
struct ConfigValue
{
struct ConfigItemValue
{
std::string changeType;
std::string oldValue;
std::string value;
std::string itemName;
};
std::string configName;
std::vector<ConfigValue::ConfigItemValue> configItemValueList;
};
std::string comment;
std::string serviceName;
std::string configVersion;
std::string createTime;
std::string author;
std::vector<ConfigValue> configValueList;
bool applied;
};
DescribeClusterServiceConfigHistoryResult();
explicit DescribeClusterServiceConfigHistoryResult(const std::string &payload);
~DescribeClusterServiceConfigHistoryResult();
Config getConfig()const;
protected:
void parse(const std::string &payload);
private:
Config config_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYRESULT_H_

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
std::string description;
bool isCustom;
std::string value;
std::string valueScope;
std::string itemName;
};
std::string configName;

View File

@@ -1,60 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEDATASOURCEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceRequest : public RpcServiceRequest
{
public:
DescribeDataSourceRequest();
~DescribeDataSourceRequest();
long getResourceOwnerId()const;
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 getId()const;
void setId(const std::string& id);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCEREQUEST_H_

View File

@@ -1,75 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEDATASOURCERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceResult : public ServiceResult
{
public:
DescribeDataSourceResult();
explicit DescribeDataSourceResult(const std::string &payload);
~DescribeDataSourceResult();
std::string getCategoryId()const;
std::string getStatus()const;
std::string getDescription()const;
std::string getConf()const;
std::string getClusterId()const;
std::string getSourceType()const;
long getGmtModified()const;
std::string getCreator()const;
std::string getCreateFrom()const;
std::string getName()const;
long getGmtCreate()const;
std::string getId()const;
std::string getModifier()const;
protected:
void parse(const std::string &payload);
private:
std::string categoryId_;
std::string status_;
std::string description_;
std::string conf_;
std::string clusterId_;
std::string sourceType_;
long gmtModified_;
std::string creator_;
std::string createFrom_;
std::string name_;
long gmtCreate_;
std::string id_;
std::string modifier_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCERESULT_H_

View File

@@ -1,72 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeDiskOpsActivityRequest : public RpcServiceRequest
{
public:
DescribeDiskOpsActivityRequest();
~DescribeDiskOpsActivityRequest();
std::string getEventId()const;
void setEventId(const std::string& eventId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCurrentStage()const;
void setCurrentStage(const std::string& currentStage);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDiskId()const;
void setDiskId(const std::string& diskId);
std::string getCurrentState()const;
void setCurrentState(const std::string& currentState);
private:
std::string eventId_;
long resourceOwnerId_;
std::string currentStage_;
std::string clusterId_;
std::string accessKeyId_;
std::string instanceId_;
std::string regionId_;
std::string diskId_;
std::string currentState_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_

View File

@@ -1,59 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeDiskOpsActivityResult : public ServiceResult
{
public:
DescribeDiskOpsActivityResult();
explicit DescribeDiskOpsActivityResult(const std::string &payload);
~DescribeDiskOpsActivityResult();
std::string getActivityState()const;
std::string getCurrentActivity()const;
std::string getClusterType()const;
bool getNeedReboot()const;
std::string getErrorMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string activityState_;
std::string currentActivity_;
std::string clusterType_;
bool needReboot_;
std::string errorMessage_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeEmrMainVersionRequest : public RpcServiceRequest
{
public:
DescribeEmrMainVersionRequest();
~DescribeEmrMainVersionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getEmrVersion()const;
void setEmrVersion(const std::string& emrVersion);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string emrVersion_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_

View File

@@ -1,84 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeEmrMainVersionResult : public ServiceResult
{
public:
struct EmrMainVersion
{
struct ClusterTypeInfo
{
struct ServiceInfo
{
std::string serviceName;
std::string serviceDisplayVersion;
std::string serviceVersion;
std::string serviceDisplayName;
bool mandatory;
bool display;
};
std::vector<ClusterTypeInfo::ServiceInfo> serviceInfoList;
std::string clusterType;
};
struct ClusterTypeWhiteUser
{
std::string userId;
std::string clusterType;
};
std::vector<ClusterTypeInfo> clusterTypeInfoList;
std::string imageId;
std::vector<ClusterTypeWhiteUser> clusterTypeWhiteUserList;
bool ecmVersion;
std::vector<std::string> whiteUserList;
std::string regionId;
std::string emrVersion;
std::string stackName;
std::string publishType;
bool display;
std::string stackVersion;
};
DescribeEmrMainVersionResult();
explicit DescribeEmrMainVersionResult(const std::string &payload);
~DescribeEmrMainVersionResult();
EmrMainVersion getEmrMainVersion()const;
protected:
void parse(const std::string &payload);
private:
EmrMainVersion emrMainVersion_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_

View File

@@ -1,154 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEEXECUTIONPLANRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEXECUTIONPLANRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeExecutionPlanResult : public ServiceResult
{
public:
struct ClusterInfo
{
struct SoftwareInfo
{
struct Software
{
int startTpe;
bool optional;
std::string version;
std::string displayName;
bool onlyDisplay;
std::string name;
};
std::vector<Software> softwares;
std::string emrVer;
std::string clusterType;
};
struct EcsOrderInfo
{
std::string diskType;
int diskCount;
int diskCapacity;
int nodeCount;
std::string nodeType;
int index;
std::string instanceType;
};
struct BootstrapAction
{
std::string path;
std::string arg;
std::string name;
};
struct Config
{
std::string configValue;
std::string configKey;
std::string serviceName;
std::string fileName;
std::string encrypt;
};
bool useLocalMetaDb;
bool ioOptimized;
std::string zoneId;
std::vector<BootstrapAction> bootstrapActionList;
std::string securityGroupId;
std::string vSwitchId;
bool logEnable;
std::string emrVer;
std::string clusterType;
std::vector<EcsOrderInfo> ecsOrders;
std::string name;
bool highAvailabilityEnable;
bool easEnable;
std::string vpcId;
bool useCustomHiveMetaDB;
std::string instanceGeneration;
std::string configurations;
std::string logPath;
std::string netType;
std::string userDefinedEmrEcsRole;
std::vector<Config> configList;
bool initCustomHiveMetaDB;
SoftwareInfo softwareInfo;
};
struct JobInfo
{
std::string failAct;
std::string type;
std::string runParameter;
std::string id;
std::string name;
};
DescribeExecutionPlanResult();
explicit DescribeExecutionPlanResult(const std::string &payload);
~DescribeExecutionPlanResult();
std::string getStatus()const;
std::string getWorkflowApp()const;
std::string getDayOfWeek()const;
int getTimeInterval()const;
std::string getClusterId()const;
std::string getDayOfMonth()const;
long getStartTime()const;
long getExecutionPlanVersion()const;
std::string getName()const;
std::vector<JobInfo> getJobInfoList()const;
ClusterInfo getClusterInfo()const;
std::string getStrategy()const;
std::string getTimeUnit()const;
std::string getClusterName()const;
std::string getId()const;
bool getCreateClusterOnDemand()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string workflowApp_;
std::string dayOfWeek_;
int timeInterval_;
std::string clusterId_;
std::string dayOfMonth_;
long startTime_;
long executionPlanVersion_;
std::string name_;
std::vector<JobInfo> jobInfoList_;
ClusterInfo clusterInfo_;
std::string strategy_;
std::string timeUnit_;
std::string clusterName_;
std::string id_;
bool createClusterOnDemand_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEXECUTIONPLANRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEJOBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeJobRequest : public RpcServiceRequest
{
public:
DescribeJobRequest();
~DescribeJobRequest();
long getResourceOwnerId()const;
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 getId()const;
void setId(const std::string& id);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEJOBRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeJobResult : public ServiceResult
{
public:
DescribeJobResult();
explicit DescribeJobResult(const std::string &payload);
~DescribeJobResult();
std::string getFailAct()const;
std::string getType()const;
std::string getRunParameter()const;
std::string getId()const;
int getMaxRetry()const;
int getRetryInterval()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string failAct_;
std::string type_;
std::string runParameter_;
std::string id_;
int maxRetry_;
int retryInterval_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeLibraryDetailRequest : public RpcServiceRequest
{
public:
DescribeLibraryDetailRequest();
~DescribeLibraryDetailRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getLibraryBizId()const;
void setLibraryBizId(const std::string& libraryBizId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
long resourceOwnerId_;
std::string libraryBizId_;
std::string accessKeyId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_

View File

@@ -1,69 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeLibraryDetailResult : public ServiceResult
{
public:
DescribeLibraryDetailResult();
explicit DescribeLibraryDetailResult(const std::string &payload);
~DescribeLibraryDetailResult();
std::string getSourceLocation()const;
std::string getType()const;
std::string getScope()const;
std::string getUserId()const;
long getCreateTime()const;
std::string getSourceType()const;
std::string getLibraryVersion()const;
std::string getProperties()const;
std::string getBizId()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string sourceLocation_;
std::string type_;
std::string scope_;
std::string userId_;
long createTime_;
std::string sourceType_;
std::string libraryVersion_;
std::string properties_;
std::string bizId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeLibraryInstallTaskDetailRequest : public RpcServiceRequest
{
public:
DescribeLibraryInstallTaskDetailRequest();
~DescribeLibraryInstallTaskDetailRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTaskBizId()const;
void setTaskBizId(const std::string& taskBizId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
long resourceOwnerId_;
std::string taskBizId_;
std::string accessKeyId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_

View File

@@ -1,73 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeLibraryInstallTaskDetailResult : public ServiceResult
{
public:
DescribeLibraryInstallTaskDetailResult();
explicit DescribeLibraryInstallTaskDetailResult(const std::string &payload);
~DescribeLibraryInstallTaskDetailResult();
std::string getTaskId()const;
std::string getLibraryBizId()const;
long getEndTime()const;
std::string getTaskGroupId()const;
long getExecuteTime()const;
int getTaskProcess()const;
std::string getClusterBizId()const;
std::string getTaskType()const;
long getStartTime()const;
std::string getHostname()const;
std::string getTaskStatus()const;
std::string getDetail()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string libraryBizId_;
long endTime_;
std::string taskGroupId_;
long executeTime_;
int taskProcess_;
std::string clusterBizId_;
std::string taskType_;
long startTime_;
std::string hostname_;
std::string taskStatus_;
std::string detail_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeMetaTablePreviewTaskRequest : public RpcServiceRequest
{
public:
DescribeMetaTablePreviewTaskRequest();
~DescribeMetaTablePreviewTaskRequest();
long getResourceOwnerId()const;
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 getTaskId()const;
void setTaskId(const std::string& taskId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKREQUEST_H_

View File

@@ -1,72 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeMetaTablePreviewTaskResult : public ServiceResult
{
public:
struct Data
{
struct Row
{
std::vector<std::string> columns;
};
std::vector<std::string> headers;
std::vector<Row> rows;
};
DescribeMetaTablePreviewTaskResult();
explicit DescribeMetaTablePreviewTaskResult(const std::string &payload);
~DescribeMetaTablePreviewTaskResult();
std::string getTaskId()const;
long getEndTime()const;
long getExecuteTime()const;
int getTaskProcess()const;
long getStartTime()const;
Data getData()const;
std::string getTaskStatus()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
long endTime_;
long executeTime_;
int taskProcess_;
long startTime_;
Data data_;
std::string taskStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* 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_EMR_MODEL_DESCRIBESCALINGACTIVITYREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGACTIVITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeScalingActivityRequest : public RpcServiceRequest
{
public:
DescribeScalingActivityRequest();
~DescribeScalingActivityRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getScalingActivityId()const;
void setScalingActivityId(const std::string& scalingActivityId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getHostGroupId()const;
void setHostGroupId(const std::string& hostGroupId);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string scalingActivityId_;
std::string accessKeyId_;
std::string regionId_;
std::string hostGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGACTIVITYREQUEST_H_

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