Revert to 2015-09-01.

This commit is contained in:
sdk-team
2019-08-30 15:07:15 +08:00
parent 695aa4ad06
commit ea79682ddf
144 changed files with 2675 additions and 4285 deletions

View File

@@ -14,12 +14,12 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_LISTSTACKRESOURCESREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_LISTSTACKRESOURCESREQUEST_H_
#ifndef ALIBABACLOUD_ROS_MODEL_ABANDONSTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_ABANDONSTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,24 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListStackResourcesRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT AbandonStackRequest : public RoaServiceRequest
{
public:
ListStackResourcesRequest();
~ListStackResourcesRequest();
AbandonStackRequest();
~AbandonStackRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKRESOURCESREQUEST_H_
#endif // !ALIBABACLOUD_ROS_MODEL_ABANDONSTACKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_CREATESTACKRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_CREATESTACKRESULT_H_
#ifndef ALIBABACLOUD_ROS_MODEL_ABANDONSTACKRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_ABANDONSTACKRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CreateStackResult : public ServiceResult
class ALIBABACLOUD_ROS_EXPORT AbandonStackResult : public ServiceResult
{
public:
CreateStackResult();
explicit CreateStackResult(const std::string &payload);
~CreateStackResult();
std::string getStackId()const;
AbandonStackResult();
explicit AbandonStackResult(const std::string &payload);
~AbandonStackResult();
protected:
void parse(const std::string &payload);
private:
std::string stackId_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_CREATESTACKRESULT_H_
#endif // !ALIBABACLOUD_ROS_MODEL_ABANDONSTACKRESULT_H_

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,24 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CancelUpdateStackRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT CancelUpdateStackRequest : public RoaServiceRequest
{
public:
CancelUpdateStackRequest();
~CancelUpdateStackRequest();
std::string getCancelType()const;
void setCancelType(const std::string& cancelType);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string cancelType_;
std::string regionId_;
std::string stackId_;
std::string stackName_;
};
}

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,24 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ContinueCreateStackRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT ContinueCreateStackRequest : public RoaServiceRequest
{
public:
ContinueCreateStackRequest();
~ContinueCreateStackRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::vector<std::string> getRecreatingResources()const;
void setRecreatingResources(const std::vector<std::string>& recreatingResources);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string stackId_;
std::vector<std::string> recreatingResources_;
std::string stackName_;
};
}

View File

@@ -37,12 +37,10 @@ namespace AlibabaCloud
ContinueCreateStackResult();
explicit ContinueCreateStackResult(const std::string &payload);
~ContinueCreateStackResult();
std::string getStackId()const;
protected:
void parse(const std::string &payload);
private:
std::string stackId_;
};
}

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,86 +28,15 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CreateChangeSetRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT CreateChangeSetRequest : public RoaServiceRequest
{
struct Parameters
{
std::string parameterValue;
std::string parameterKey;
};
public:
CreateChangeSetRequest();
~CreateChangeSetRequest();
std::string getStackPolicyDuringUpdateURL()const;
void setStackPolicyDuringUpdateURL(const std::string& stackPolicyDuringUpdateURL);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTemplateBody()const;
void setTemplateBody(const std::string& templateBody);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getChangeSetType()const;
void setChangeSetType(const std::string& changeSetType);
std::string getDescription()const;
void setDescription(const std::string& description);
bool getDisableRollback()const;
void setDisableRollback(bool disableRollback);
std::string getUpdateAllowPolicy()const;
void setUpdateAllowPolicy(const std::string& updateAllowPolicy);
long getTimeoutInMinutes()const;
void setTimeoutInMinutes(long timeoutInMinutes);
bool getUsePreviousParameters()const;
void setUsePreviousParameters(bool usePreviousParameters);
std::string getTemplateURL()const;
void setTemplateURL(const std::string& templateURL);
std::string getOrderSource()const;
void setOrderSource(const std::string& orderSource);
std::string getActivityId()const;
void setActivityId(const std::string& activityId);
std::string getStackPolicyDuringUpdateBody()const;
void setStackPolicyDuringUpdateBody(const std::string& stackPolicyDuringUpdateBody);
std::vector<std::string> getNotificationURLs()const;
void setNotificationURLs(const std::vector<std::string>& notificationURLs);
std::string getStackPolicyURL()const;
void setStackPolicyURL(const std::string& stackPolicyURL);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getChangeSetName()const;
void setChangeSetName(const std::string& changeSetName);
std::string getStackName()const;
void setStackName(const std::string& stackName);
std::vector<Parameters> getParameters()const;
void setParameters(const std::vector<Parameters>& parameters);
std::string getStackPolicyBody()const;
void setStackPolicyBody(const std::string& stackPolicyBody);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
private:
std::string stackPolicyDuringUpdateURL_;
std::string clientToken_;
std::string templateBody_;
std::string stackId_;
std::string changeSetType_;
std::string description_;
bool disableRollback_;
std::string updateAllowPolicy_;
long timeoutInMinutes_;
bool usePreviousParameters_;
std::string templateURL_;
std::string orderSource_;
std::string activityId_;
std::string stackPolicyDuringUpdateBody_;
std::vector<std::string> notificationURLs_;
std::string stackPolicyURL_;
std::string regionId_;
std::string changeSetName_;
std::string stackName_;
std::vector<Parameters> parameters_;
std::string stackPolicyBody_;
std::string channelId_;
};
}

View File

@@ -37,14 +37,12 @@ namespace AlibabaCloud
CreateChangeSetResult();
explicit CreateChangeSetResult(const std::string &payload);
~CreateChangeSetResult();
std::string getChangeSetId()const;
std::string getStackId()const;
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string changeSetId_;
std::string stackId_;
std::string dummy_;
};
}

View File

@@ -1,92 +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_ROS_MODEL_CREATESTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_CREATESTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CreateStackRequest : public RpcServiceRequest
{
struct Parameters
{
std::string parameterValue;
std::string parameterKey;
};
public:
CreateStackRequest();
~CreateStackRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTemplateBody()const;
void setTemplateBody(const std::string& templateBody);
bool getDisableRollback()const;
void setDisableRollback(bool disableRollback);
long getTimeoutInMinutes()const;
void setTimeoutInMinutes(long timeoutInMinutes);
std::string getOrderSource()const;
void setOrderSource(const std::string& orderSource);
std::string getTemplateURL()const;
void setTemplateURL(const std::string& templateURL);
std::string getActivityId()const;
void setActivityId(const std::string& activityId);
std::vector<std::string> getNotificationURLs()const;
void setNotificationURLs(const std::vector<std::string>& notificationURLs);
std::string getStackPolicyURL()const;
void setStackPolicyURL(const std::string& stackPolicyURL);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
std::vector<Parameters> getParameters()const;
void setParameters(const std::vector<Parameters>& parameters);
std::string getStackPolicyBody()const;
void setStackPolicyBody(const std::string& stackPolicyBody);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
private:
std::string clientToken_;
std::string templateBody_;
bool disableRollback_;
long timeoutInMinutes_;
std::string orderSource_;
std::string templateURL_;
std::string activityId_;
std::vector<std::string> notificationURLs_;
std::string stackPolicyURL_;
std::string regionId_;
std::string stackName_;
std::vector<Parameters> parameters_;
std::string stackPolicyBody_;
std::string channelId_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_CREATESTACKREQUEST_H_

View File

@@ -14,12 +14,12 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_LISTRESOURCETYPESREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_LISTRESOURCETYPESREQUEST_H_
#ifndef ALIBABACLOUD_ROS_MODEL_CREATESTACKSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_CREATESTACKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListResourceTypesRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT CreateStacksRequest : public RoaServiceRequest
{
public:
ListResourceTypesRequest();
~ListResourceTypesRequest();
CreateStacksRequest();
~CreateStacksRequest();
private:
@@ -42,4 +42,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTRESOURCETYPESREQUEST_H_
#endif // !ALIBABACLOUD_ROS_MODEL_CREATESTACKSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_GETTEMPLATERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_GETTEMPLATERESULT_H_
#ifndef ALIBABACLOUD_ROS_MODEL_CREATESTACKSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_CREATESTACKSRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetTemplateResult : public ServiceResult
class ALIBABACLOUD_ROS_EXPORT CreateStacksResult : public ServiceResult
{
public:
GetTemplateResult();
explicit GetTemplateResult(const std::string &payload);
~GetTemplateResult();
std::string getTemplateBody()const;
CreateStacksResult();
explicit CreateStacksResult(const std::string &payload);
~CreateStacksResult();
protected:
void parse(const std::string &payload);
private:
std::string templateBody_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETTEMPLATERESULT_H_
#endif // !ALIBABACLOUD_ROS_MODEL_CREATESTACKSRESULT_H_

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,21 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DeleteChangeSetRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT DeleteChangeSetRequest : public RoaServiceRequest
{
public:
DeleteChangeSetRequest();
~DeleteChangeSetRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getChangeSetId()const;
void setChangeSetId(const std::string& changeSetId);
std::string getChangeSetName()const;
void setChangeSetName(const std::string& changeSetName);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string changeSetId_;
std::string changeSetName_;
std::string stackId_;
std::string stackName_;
};
}

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
DeleteChangeSetResult();
explicit DeleteChangeSetResult(const std::string &payload);
~DeleteChangeSetResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string dummy_;
};
}

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,7 +28,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DeleteStackRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT DeleteStackRequest : public RoaServiceRequest
{
public:
@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getRetainAllResources()const;
void setRetainAllResources(bool retainAllResources);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
bool retainAllResources_;
std::string stackId_;
std::string stackName_;
};
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeChangeSetDetailRequest : public RoaServiceRequest
{
public:
DescribeChangeSetDetailRequest();
~DescribeChangeSetDetailRequest();
std::string getChangeSetName()const;
void setChangeSetName(const std::string& changeSetName);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string changeSetName_;
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_GETTEMPLATEESTIMATECOSTRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_GETTEMPLATEESTIMATECOSTRESULT_H_
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetTemplateEstimateCostResult : public ServiceResult
class ALIBABACLOUD_ROS_EXPORT DescribeChangeSetDetailResult : public ServiceResult
{
public:
GetTemplateEstimateCostResult();
explicit GetTemplateEstimateCostResult(const std::string &payload);
~GetTemplateEstimateCostResult();
std::string getResources()const;
DescribeChangeSetDetailResult();
explicit DescribeChangeSetDetailResult(const std::string &payload);
~DescribeChangeSetDetailResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string resources_;
std::string dummy_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETTEMPLATEESTIMATECOSTRESULT_H_
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILRESULT_H_

View File

@@ -14,12 +14,12 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_GETSTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_GETSTACKREQUEST_H_
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,27 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetStackRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT DescribeChangeSetsRequest : public RoaServiceRequest
{
public:
GetStackRequest();
~GetStackRequest();
DescribeChangeSetsRequest();
~DescribeChangeSetsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string clientToken_;
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETSTACKREQUEST_H_
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeChangeSetsResult : public ServiceResult
{
public:
DescribeChangeSetsResult();
explicit DescribeChangeSetsResult(const std::string &payload);
~DescribeChangeSetsResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string dummy_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeEventsRequest : public RoaServiceRequest
{
public:
DescribeEventsRequest();
~DescribeEventsRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getStackName()const;
void setStackName(const std::string& stackName);
std::string getResourceName()const;
void setResourceName(const std::string& resourceName);
std::string getResourceStatus()const;
void setResourceStatus(const std::string& resourceStatus);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
std::string stackId_;
int pageSize_;
std::string stackName_;
std::string resourceName_;
std::string resourceStatus_;
std::string resourceType_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_SIGNALRESOURCERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_SIGNALRESOURCERESULT_H_
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT SignalResourceResult : public ServiceResult
class ALIBABACLOUD_ROS_EXPORT DescribeEventsResult : public ServiceResult
{
public:
SignalResourceResult();
explicit SignalResourceResult(const std::string &payload);
~SignalResourceResult();
DescribeEventsResult();
explicit DescribeEventsResult(const std::string &payload);
~DescribeEventsResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_SIGNALRESOURCERESULT_H_
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSRESULT_H_

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,18 +28,15 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeRegionsRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT DescribeRegionsRequest : public RoaServiceRequest
{
public:
DescribeRegionsRequest();
~DescribeRegionsRequest();
std::string getAcceptLanguage()const;
void setAcceptLanguage(const std::string& acceptLanguage);
private:
std::string acceptLanguage_;
};
}

View File

@@ -32,23 +32,15 @@ namespace AlibabaCloud
class ALIBABACLOUD_ROS_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
struct Region
{
std::string regionId;
std::string regionEndpoint;
std::string localName;
};
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
std::vector<Region> getRegions()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Region> regions_;
};
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceDetailRequest : public RoaServiceRequest
{
public:
DescribeResourceDetailRequest();
~DescribeResourceDetailRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
std::string getResourceName()const;
void setResourceName(const std::string& resourceName);
private:
std::string stackId_;
std::string stackName_;
std::string resourceName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceDetailResult : public ServiceResult
{
public:
DescribeResourceDetailResult();
explicit DescribeResourceDetailResult(const std::string &payload);
~DescribeResourceDetailResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypeDetailRequest : public RoaServiceRequest
{
public:
DescribeResourceTypeDetailRequest();
~DescribeResourceTypeDetailRequest();
std::string getTypeName()const;
void setTypeName(const std::string& typeName);
private:
std::string typeName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypeDetailResult : public ServiceResult
{
public:
DescribeResourceTypeDetailResult();
explicit DescribeResourceTypeDetailResult(const std::string &payload);
~DescribeResourceTypeDetailResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypeTemplateRequest : public RoaServiceRequest
{
public:
DescribeResourceTypeTemplateRequest();
~DescribeResourceTypeTemplateRequest();
std::string getTypeName()const;
void setTypeName(const std::string& typeName);
private:
std::string typeName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypeTemplateResult : public ServiceResult
{
public:
DescribeResourceTypeTemplateResult();
explicit DescribeResourceTypeTemplateResult(const std::string &payload);
~DescribeResourceTypeTemplateResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATERESULT_H_

View File

@@ -14,12 +14,12 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPETEMPLATEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPETEMPLATEREQUEST_H_
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetResourceTypeTemplateRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypesRequest : public RoaServiceRequest
{
public:
GetResourceTypeTemplateRequest();
~GetResourceTypeTemplateRequest();
DescribeResourceTypesRequest();
~DescribeResourceTypesRequest();
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getSupportStatus()const;
void setSupportStatus(const std::string& supportStatus);
private:
std::string resourceType_;
std::string supportStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPETEMPLATEREQUEST_H_
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypesResult : public ServiceResult
{
public:
DescribeResourceTypesResult();
explicit DescribeResourceTypesResult(const std::string &payload);
~DescribeResourceTypesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESRESULT_H_

View File

@@ -14,12 +14,12 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_GETTEMPLATEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_GETTEMPLATEREQUEST_H_
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,27 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetTemplateRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT DescribeResourcesRequest : public RoaServiceRequest
{
public:
GetTemplateRequest();
~GetTemplateRequest();
DescribeResourcesRequest();
~DescribeResourcesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getChangeSetId()const;
void setChangeSetId(const std::string& changeSetId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string stackId_;
std::string changeSetId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETTEMPLATEREQUEST_H_
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_LISTRESOURCETYPESRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_LISTRESOURCETYPESRESULT_H_
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListResourceTypesResult : public ServiceResult
class ALIBABACLOUD_ROS_EXPORT DescribeResourcesResult : public ServiceResult
{
public:
ListResourceTypesResult();
explicit ListResourceTypesResult(const std::string &payload);
~ListResourceTypesResult();
std::vector<std::string> getResourceTypes()const;
DescribeResourcesResult();
explicit DescribeResourcesResult(const std::string &payload);
~DescribeResourcesResult();
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> resourceTypes_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTRESOURCETYPESRESULT_H_
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeStackDetailRequest : public RoaServiceRequest
{
public:
DescribeStackDetailRequest();
~DescribeStackDetailRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeStackDetailResult : public ServiceResult
{
public:
DescribeStackDetailResult();
explicit DescribeStackDetailResult(const std::string &payload);
~DescribeStackDetailResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILRESULT_H_

View File

@@ -14,12 +14,12 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_SIGNALRESOURCEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_SIGNALRESOURCEREQUEST_H_
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,39 +28,33 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT SignalResourceRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT DescribeStacksRequest : public RoaServiceRequest
{
public:
SignalResourceRequest();
~SignalResourceRequest();
DescribeStacksRequest();
~DescribeStacksRequest();
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getLogicalResourceId()const;
void setLogicalResourceId(const std::string& logicalResourceId);
std::string getUniqueId()const;
void setUniqueId(const std::string& uniqueId);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string data_;
std::string regionId_;
std::string clientToken_;
std::string stackId_;
std::string logicalResourceId_;
std::string uniqueId_;
std::string name_;
int pageSize_;
int pageNumber_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_SIGNALRESOURCEREQUEST_H_
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeStacksResult : public ServiceResult
{
public:
DescribeStacksResult();
explicit DescribeStacksResult(const std::string &payload);
~DescribeStacksResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeTemplateRequest : public RoaServiceRequest
{
public:
DescribeTemplateRequest();
~DescribeTemplateRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeTemplateResult : public ServiceResult
{
public:
DescribeTemplateResult();
explicit DescribeTemplateResult(const std::string &payload);
~DescribeTemplateResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DOACTIONSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DOACTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DoActionsRequest : public RoaServiceRequest
{
public:
DoActionsRequest();
~DoActionsRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DOACTIONSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DOACTIONSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DOACTIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DoActionsResult : public ServiceResult
{
public:
DoActionsResult();
explicit DoActionsResult(const std::string &payload);
~DoActionsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DOACTIONSRESULT_H_

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,21 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ExecuteChangeSetRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT ExecuteChangeSetRequest : public RoaServiceRequest
{
public:
ExecuteChangeSetRequest();
~ExecuteChangeSetRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getChangeSetId()const;
void setChangeSetId(const std::string& changeSetId);
std::string getChangeSetName()const;
void setChangeSetName(const std::string& changeSetName);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string changeSetId_;
std::string changeSetName_;
std::string stackId_;
std::string stackName_;
};
}

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
ExecuteChangeSetResult();
explicit ExecuteChangeSetResult(const std::string &payload);
~ExecuteChangeSetResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string dummy_;
};
}

View File

@@ -1,54 +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_ROS_MODEL_GETCHANGESETREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_GETCHANGESETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetChangeSetRequest : public RpcServiceRequest
{
public:
GetChangeSetRequest();
~GetChangeSetRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getChangeSetId()const;
void setChangeSetId(const std::string& changeSetId);
bool getShowTemplate()const;
void setShowTemplate(bool showTemplate);
private:
std::string regionId_;
std::string changeSetId_;
bool showTemplate_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETCHANGESETREQUEST_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_ROS_MODEL_GETCHANGESETRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_GETCHANGESETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetChangeSetResult : public ServiceResult
{
public:
struct Parameter
{
std::string parameterValue;
std::string parameterKey;
};
GetChangeSetResult();
explicit GetChangeSetResult(const std::string &payload);
~GetChangeSetResult();
std::vector<std::string> getChanges()const;
std::string getStatus()const;
std::vector<Parameter> getParameters()const;
std::string getDescription()const;
std::string getCreateTime()const;
std::string getTemplateBody()const;
std::string getChangeSetName()const;
std::string getChangeSetId()const;
std::string getExecutionStatus()const;
std::string getChangeSetType()const;
std::string getRegionId()const;
bool getDisableRollback()const;
std::string getStackName()const;
std::string getStackId()const;
int getTimeoutInMinutes()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> changes_;
std::string status_;
std::vector<Parameter> parameters_;
std::string description_;
std::string createTime_;
std::string templateBody_;
std::string changeSetName_;
std::string changeSetId_;
std::string executionStatus_;
std::string changeSetType_;
std::string regionId_;
bool disableRollback_;
std::string stackName_;
std::string stackId_;
int timeoutInMinutes_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETCHANGESETRESULT_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_ROS_MODEL_GETRESOURCETYPERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetResourceTypeResult : public ServiceResult
{
public:
GetResourceTypeResult();
explicit GetResourceTypeResult(const std::string &payload);
~GetResourceTypeResult();
std::string getAttributes()const;
std::string getResourceType()const;
std::string getProperties()const;
protected:
void parse(const std::string &payload);
private:
std::string attributes_;
std::string resourceType_;
std::string properties_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPERESULT_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_ROS_MODEL_GETRESOURCETYPETEMPLATERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPETEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetResourceTypeTemplateResult : public ServiceResult
{
public:
GetResourceTypeTemplateResult();
explicit GetResourceTypeTemplateResult(const std::string &payload);
~GetResourceTypeTemplateResult();
std::string getTemplateBody()const;
protected:
void parse(const std::string &payload);
private:
std::string templateBody_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPETEMPLATERESULT_H_

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetStackPolicyRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT GetStackPolicyRequest : public RoaServiceRequest
{
public:
GetStackPolicyRequest();
~GetStackPolicyRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string stackId_;
std::string stackName_;
};
}

View File

@@ -37,12 +37,10 @@ namespace AlibabaCloud
GetStackPolicyResult();
explicit GetStackPolicyResult(const std::string &payload);
~GetStackPolicyResult();
std::string getStackPolicyBody()const;
protected:
void parse(const std::string &payload);
private:
std::string stackPolicyBody_;
};
}

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_ROS_MODEL_GETSTACKRESOURCEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_GETSTACKRESOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetStackResourceRequest : public RpcServiceRequest
{
public:
GetStackResourceRequest();
~GetStackResourceRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getLogicalResourceId()const;
void setLogicalResourceId(const std::string& logicalResourceId);
bool getShowResourceAttributes()const;
void setShowResourceAttributes(bool showResourceAttributes);
private:
std::string clientToken_;
std::string regionId_;
std::string stackId_;
std::string logicalResourceId_;
bool showResourceAttributes_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETSTACKRESOURCEREQUEST_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_ROS_MODEL_GETSTACKRESOURCERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_GETSTACKRESOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetStackResourceResult : public ServiceResult
{
public:
GetStackResourceResult();
explicit GetStackResourceResult(const std::string &payload);
~GetStackResourceResult();
std::string getStatus()const;
std::string getLogicalResourceId()const;
std::string getDescription()const;
std::string getPhysicalResourceId()const;
std::string getStatusReason()const;
std::string getCreateTime()const;
std::string getMetadata()const;
std::string getUpdateTime()const;
std::string getResourceType()const;
std::vector<std::string> getResourceAttributes()const;
std::string getStackName()const;
std::string getStackId()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string logicalResourceId_;
std::string description_;
std::string physicalResourceId_;
std::string statusReason_;
std::string createTime_;
std::string metadata_;
std::string updateTime_;
std::string resourceType_;
std::vector<std::string> resourceAttributes_;
std::string stackName_;
std::string stackId_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETSTACKRESOURCERESULT_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_ROS_MODEL_GETSTACKRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_GETSTACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetStackResult : public ServiceResult
{
public:
struct Parameter
{
std::string parameterValue;
std::string parameterKey;
};
GetStackResult();
explicit GetStackResult(const std::string &payload);
~GetStackResult();
std::string getStatus()const;
std::vector<Parameter> getParameters()const;
std::string getDescription()const;
std::string getStatusReason()const;
std::string getParentStackId()const;
std::string getCreateTime()const;
std::string getTemplateDescription()const;
std::vector<std::string> getOutputs()const;
std::string getUpdateTime()const;
std::string getRegionId()const;
std::vector<std::string> getNotificationURLs()const;
bool getDisableRollback()const;
std::string getStackName()const;
std::string getStackId()const;
int getTimeoutInMinutes()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::vector<Parameter> parameters_;
std::string description_;
std::string statusReason_;
std::string parentStackId_;
std::string createTime_;
std::string templateDescription_;
std::vector<std::string> outputs_;
std::string updateTime_;
std::string regionId_;
std::vector<std::string> notificationURLs_;
bool disableRollback_;
std::string stackName_;
std::string stackId_;
int timeoutInMinutes_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETSTACKRESULT_H_

View File

@@ -1,65 +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_ROS_MODEL_GETTEMPLATEESTIMATECOSTREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_GETTEMPLATEESTIMATECOSTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetTemplateEstimateCostRequest : public RpcServiceRequest
{
struct Parameters
{
std::string parameterValue;
std::string parameterKey;
};
public:
GetTemplateEstimateCostRequest();
~GetTemplateEstimateCostRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTemplateBody()const;
void setTemplateBody(const std::string& templateBody);
std::vector<Parameters> getParameters()const;
void setParameters(const std::vector<Parameters>& parameters);
std::string getTemplateURL()const;
void setTemplateURL(const std::string& templateURL);
private:
std::string regionId_;
std::string clientToken_;
std::string templateBody_;
std::vector<Parameters> parameters_;
std::string templateURL_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETTEMPLATEESTIMATECOSTREQUEST_H_

View File

@@ -14,12 +14,12 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPEREQUEST_H_
#ifndef ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,21 +28,18 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetResourceTypeRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT InquiryStackRequest : public RoaServiceRequest
{
public:
GetResourceTypeRequest();
~GetResourceTypeRequest();
InquiryStackRequest();
~InquiryStackRequest();
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETRESOURCETYPEREQUEST_H_
#endif // !ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT InquiryStackResult : public ServiceResult
{
public:
InquiryStackResult();
explicit InquiryStackResult(const std::string &payload);
~InquiryStackResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKRESULT_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_ROS_MODEL_LISTCHANGESETSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_LISTCHANGESETSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListChangeSetsRequest : public RpcServiceRequest
{
public:
ListChangeSetsRequest();
~ListChangeSetsRequest();
std::vector<std::string> getExecutionStatus()const;
void setExecutionStatus(const std::vector<std::string>& executionStatus);
std::vector<std::string> getChangeSetName()const;
void setChangeSetName(const std::vector<std::string>& changeSetName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
long getPageSize()const;
void setPageSize(long pageSize);
long getPageNumber()const;
void setPageNumber(long pageNumber);
std::vector<std::string> getStatus()const;
void setStatus(const std::vector<std::string>& status);
private:
std::vector<std::string> executionStatus_;
std::vector<std::string> changeSetName_;
std::string regionId_;
std::string stackId_;
long pageSize_;
long pageNumber_;
std::vector<std::string> status_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTCHANGESETSREQUEST_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_ROS_MODEL_LISTCHANGESETSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_LISTCHANGESETSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListChangeSetsResult : public ServiceResult
{
public:
struct ChangeSet
{
std::string status;
std::string changeSetId;
std::string description;
std::string executionStatus;
std::string createTime;
std::string changeSetType;
std::string regionId;
std::string changeSetName;
std::string stackName;
std::string stackId;
};
ListChangeSetsResult();
explicit ListChangeSetsResult(const std::string &payload);
~ListChangeSetsResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ChangeSet> getChangeSets()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ChangeSet> changeSets_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTCHANGESETSRESULT_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_ROS_MODEL_LISTSTACKEVENTSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_LISTSTACKEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListStackEventsRequest : public RpcServiceRequest
{
public:
ListStackEventsRequest();
~ListStackEventsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
long getPageSize()const;
void setPageSize(long pageSize);
std::vector<std::string> getLogicalResourceId()const;
void setLogicalResourceId(const std::vector<std::string>& logicalResourceId);
std::vector<std::string> getResourceType()const;
void setResourceType(const std::vector<std::string>& resourceType);
long getPageNumber()const;
void setPageNumber(long pageNumber);
std::vector<std::string> getStatus()const;
void setStatus(const std::vector<std::string>& status);
private:
std::string regionId_;
std::string stackId_;
long pageSize_;
std::vector<std::string> logicalResourceId_;
std::vector<std::string> resourceType_;
long pageNumber_;
std::vector<std::string> status_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKEVENTSREQUEST_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_ROS_MODEL_LISTSTACKEVENTSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_LISTSTACKEVENTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListStackEventsResult : public ServiceResult
{
public:
struct Event
{
std::string status;
std::string logicalResourceId;
std::string physicalResourceId;
std::string statusReason;
std::string createTime;
std::string eventId;
std::string resourceType;
std::string stackName;
std::string stackId;
};
ListStackEventsResult();
explicit ListStackEventsResult(const std::string &payload);
~ListStackEventsResult();
int getTotalCount()const;
int getPageSize()const;
std::vector<Event> getEvents()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
std::vector<Event> events_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKEVENTSRESULT_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_ROS_MODEL_LISTSTACKRESOURCESRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_LISTSTACKRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListStackResourcesResult : public ServiceResult
{
public:
struct Resource
{
std::string status;
std::string logicalResourceId;
std::string physicalResourceId;
std::string statusReason;
std::string createTime;
std::string updateTime;
std::string resourceType;
std::string stackName;
std::string stackId;
};
ListStackResourcesResult();
explicit ListStackResourcesResult(const std::string &payload);
~ListStackResourcesResult();
std::vector<Resource> getResources()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Resource> resources_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKRESOURCESRESULT_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_ROS_MODEL_LISTSTACKSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_LISTSTACKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListStacksRequest : public RpcServiceRequest
{
public:
ListStacksRequest();
~ListStacksRequest();
std::string getParentStackId()const;
void setParentStackId(const std::string& parentStackId);
bool getShowNestedStack()const;
void setShowNestedStack(bool showNestedStack);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getPageSize()const;
void setPageSize(long pageSize);
std::vector<std::string> getStackName()const;
void setStackName(const std::vector<std::string>& stackName);
long getPageNumber()const;
void setPageNumber(long pageNumber);
std::vector<std::string> getStatus()const;
void setStatus(const std::vector<std::string>& status);
private:
std::string parentStackId_;
bool showNestedStack_;
std::string regionId_;
long pageSize_;
std::vector<std::string> stackName_;
long pageNumber_;
std::vector<std::string> status_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKSREQUEST_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_ROS_MODEL_LISTSTACKSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_LISTSTACKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ListStacksResult : public ServiceResult
{
public:
struct Stack
{
std::string status;
std::string statusReason;
std::string parentStackId;
std::string createTime;
std::string updateTime;
std::string regionId;
bool disableRollback;
std::string stackName;
std::string stackId;
int timeoutInMinutes;
};
ListStacksResult();
explicit ListStacksResult(const std::string &payload);
~ListStacksResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<Stack> getStacks()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<Stack> stacks_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKSRESULT_H_

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,50 +28,15 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT PreviewStackRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT PreviewStackRequest : public RoaServiceRequest
{
struct Parameters
{
std::string parameterValue;
std::string parameterKey;
};
public:
PreviewStackRequest();
~PreviewStackRequest();
std::string getStackPolicyURL()const;
void setStackPolicyURL(const std::string& stackPolicyURL);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTemplateBody()const;
void setTemplateBody(const std::string& templateBody);
bool getDisableRollback()const;
void setDisableRollback(bool disableRollback);
std::string getStackName()const;
void setStackName(const std::string& stackName);
std::vector<Parameters> getParameters()const;
void setParameters(const std::vector<Parameters>& parameters);
std::string getStackPolicyBody()const;
void setStackPolicyBody(const std::string& stackPolicyBody);
long getTimeoutInMinutes()const;
void setTimeoutInMinutes(long timeoutInMinutes);
std::string getTemplateURL()const;
void setTemplateURL(const std::string& templateURL);
private:
std::string stackPolicyURL_;
std::string regionId_;
std::string clientToken_;
std::string templateBody_;
bool disableRollback_;
std::string stackName_;
std::vector<Parameters> parameters_;
std::string stackPolicyBody_;
long timeoutInMinutes_;
std::string templateURL_;
};
}

View File

@@ -37,12 +37,10 @@ namespace AlibabaCloud
PreviewStackResult();
explicit PreviewStackResult(const std::string &payload);
~PreviewStackResult();
std::string getStack()const;
protected:
void parse(const std::string &payload);
private:
std::string stack_;
};
}

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,27 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT SetStackPolicyRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT SetStackPolicyRequest : public RoaServiceRequest
{
public:
SetStackPolicyRequest();
~SetStackPolicyRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackPolicyURL()const;
void setStackPolicyURL(const std::string& stackPolicyURL);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackPolicyBody()const;
void setStackPolicyBody(const std::string& stackPolicyBody);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string stackPolicyURL_;
std::string stackId_;
std::string stackPolicyBody_;
std::string stackName_;
};
}

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,65 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT UpdateStackRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT UpdateStackRequest : public RoaServiceRequest
{
struct Parameters
{
std::string parameterValue;
std::string parameterKey;
};
public:
UpdateStackRequest();
~UpdateStackRequest();
std::string getStackPolicyDuringUpdateURL()const;
void setStackPolicyDuringUpdateURL(const std::string& stackPolicyDuringUpdateURL);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTemplateBody()const;
void setTemplateBody(const std::string& templateBody);
std::string getStackId()const;
void setStackId(const std::string& stackId);
bool getDisableRollback()const;
void setDisableRollback(bool disableRollback);
bool getEnableRecover()const;
void setEnableRecover(bool enableRecover);
std::string getUpdateAllowPolicy()const;
void setUpdateAllowPolicy(const std::string& updateAllowPolicy);
long getTimeoutInMinutes()const;
void setTimeoutInMinutes(long timeoutInMinutes);
bool getUsePreviousParameters()const;
void setUsePreviousParameters(bool usePreviousParameters);
std::string getTemplateURL()const;
void setTemplateURL(const std::string& templateURL);
std::string getStackPolicyDuringUpdateBody()const;
void setStackPolicyDuringUpdateBody(const std::string& stackPolicyDuringUpdateBody);
std::string getStackPolicyURL()const;
void setStackPolicyURL(const std::string& stackPolicyURL);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<Parameters> getParameters()const;
void setParameters(const std::vector<Parameters>& parameters);
std::string getStackPolicyBody()const;
void setStackPolicyBody(const std::string& stackPolicyBody);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackPolicyDuringUpdateURL_;
std::string clientToken_;
std::string templateBody_;
std::string stackId_;
bool disableRollback_;
bool enableRecover_;
std::string updateAllowPolicy_;
long timeoutInMinutes_;
bool usePreviousParameters_;
std::string templateURL_;
std::string stackPolicyDuringUpdateBody_;
std::string stackPolicyURL_;
std::string regionId_;
std::vector<Parameters> parameters_;
std::string stackPolicyBody_;
std::string stackName_;
};
}

View File

@@ -37,12 +37,10 @@ namespace AlibabaCloud
UpdateStackResult();
explicit UpdateStackResult(const std::string &payload);
~UpdateStackResult();
std::string getStackId()const;
protected:
void parse(const std::string &payload);
private:
std::string stackId_;
};
}

View File

@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
@@ -28,24 +28,15 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ValidateTemplateRequest : public RpcServiceRequest
class ALIBABACLOUD_ROS_EXPORT ValidateTemplateRequest : public RoaServiceRequest
{
public:
ValidateTemplateRequest();
~ValidateTemplateRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getTemplateBody()const;
void setTemplateBody(const std::string& templateBody);
std::string getTemplateURL()const;
void setTemplateURL(const std::string& templateURL);
private:
std::string regionId_;
std::string templateBody_;
std::string templateURL_;
};
}

View File

@@ -37,14 +37,10 @@ namespace AlibabaCloud
ValidateTemplateResult();
explicit ValidateTemplateResult(const std::string &payload);
~ValidateTemplateResult();
std::vector<std::string> getParameters()const;
std::string getDescription()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> parameters_;
std::string description_;
};
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT WaitConditionsRequest : public RoaServiceRequest
{
public:
WaitConditionsRequest();
~WaitConditionsRequest();
std::string getResource()const;
void setResource(const std::string& resource);
std::string getSignature()const;
void setSignature(const std::string& signature);
std::string getStackid()const;
void setStackid(const std::string& stackid);
std::string getExpire()const;
void setExpire(const std::string& expire);
std::string getStackname()const;
void setStackname(const std::string& stackname);
private:
std::string resource_;
std::string signature_;
std::string stackid_;
std::string expire_;
std::string stackname_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT WaitConditionsResult : public ServiceResult
{
public:
WaitConditionsResult();
explicit WaitConditionsResult(const std::string &payload);
~WaitConditionsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSRESULT_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/AbandonStackRequest.h>
using AlibabaCloud::ROS::Model::AbandonStackRequest;
AbandonStackRequest::AbandonStackRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
AbandonStackRequest::~AbandonStackRequest()
{}
std::string AbandonStackRequest::getStackId()const
{
return stackId_;
}
void AbandonStackRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string AbandonStackRequest::getStackName()const
{
return stackName_;
}
void AbandonStackRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/ros/model/GetTemplateResult.h>
#include <alibabacloud/ros/model/AbandonStackResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
GetTemplateResult::GetTemplateResult() :
AbandonStackResult::AbandonStackResult() :
ServiceResult()
{}
GetTemplateResult::GetTemplateResult(const std::string &payload) :
AbandonStackResult::AbandonStackResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetTemplateResult::~GetTemplateResult()
AbandonStackResult::~AbandonStackResult()
{}
void GetTemplateResult::parse(const std::string &payload)
void AbandonStackResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
@@ -43,13 +43,6 @@ void GetTemplateResult::parse(const std::string &payload)
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["TemplateBody"].isNull())
templateBody_ = value["TemplateBody"].asString();
}
std::string GetTemplateResult::getTemplateBody()const
{
return templateBody_;
}

View File

@@ -19,34 +19,12 @@
using AlibabaCloud::ROS::Model::CancelUpdateStackRequest;
CancelUpdateStackRequest::CancelUpdateStackRequest() :
RpcServiceRequest("ros", "2019-09-10", "CancelUpdateStack")
RoaServiceRequest("ros", "2015-09-01")
{}
CancelUpdateStackRequest::~CancelUpdateStackRequest()
{}
std::string CancelUpdateStackRequest::getCancelType()const
{
return cancelType_;
}
void CancelUpdateStackRequest::setCancelType(const std::string& cancelType)
{
cancelType_ = cancelType;
setCoreParameter("CancelType", cancelType);
}
std::string CancelUpdateStackRequest::getRegionId()const
{
return regionId_;
}
void CancelUpdateStackRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string CancelUpdateStackRequest::getStackId()const
{
return stackId_;
@@ -58,3 +36,14 @@ void CancelUpdateStackRequest::setStackId(const std::string& stackId)
setCoreParameter("StackId", stackId);
}
std::string CancelUpdateStackRequest::getStackName()const
{
return stackName_;
}
void CancelUpdateStackRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -19,23 +19,12 @@
using AlibabaCloud::ROS::Model::ContinueCreateStackRequest;
ContinueCreateStackRequest::ContinueCreateStackRequest() :
RpcServiceRequest("ros", "2019-09-10", "ContinueCreateStack")
RoaServiceRequest("ros", "2015-09-01")
{}
ContinueCreateStackRequest::~ContinueCreateStackRequest()
{}
std::string ContinueCreateStackRequest::getRegionId()const
{
return regionId_;
}
void ContinueCreateStackRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string ContinueCreateStackRequest::getStackId()const
{
return stackId_;
@@ -47,15 +36,14 @@ void ContinueCreateStackRequest::setStackId(const std::string& stackId)
setCoreParameter("StackId", stackId);
}
std::vector<std::string> ContinueCreateStackRequest::getRecreatingResources()const
std::string ContinueCreateStackRequest::getStackName()const
{
return recreatingResources_;
return stackName_;
}
void ContinueCreateStackRequest::setRecreatingResources(const std::vector<std::string>& recreatingResources)
void ContinueCreateStackRequest::setStackName(const std::string& stackName)
{
recreatingResources_ = recreatingResources;
for(int i = 0; i!= recreatingResources.size(); i++)
setCoreParameter("RecreatingResources."+ std::to_string(i), recreatingResources.at(i));
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -43,13 +43,6 @@ void ContinueCreateStackResult::parse(const std::string &payload)
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["StackId"].isNull())
stackId_ = value["StackId"].asString();
}
std::string ContinueCreateStackResult::getStackId()const
{
return stackId_;
}

View File

@@ -19,258 +19,9 @@
using AlibabaCloud::ROS::Model::CreateChangeSetRequest;
CreateChangeSetRequest::CreateChangeSetRequest() :
RpcServiceRequest("ros", "2019-09-10", "CreateChangeSet")
RoaServiceRequest("ros", "2015-09-01")
{}
CreateChangeSetRequest::~CreateChangeSetRequest()
{}
std::string CreateChangeSetRequest::getStackPolicyDuringUpdateURL()const
{
return stackPolicyDuringUpdateURL_;
}
void CreateChangeSetRequest::setStackPolicyDuringUpdateURL(const std::string& stackPolicyDuringUpdateURL)
{
stackPolicyDuringUpdateURL_ = stackPolicyDuringUpdateURL;
setCoreParameter("StackPolicyDuringUpdateURL", stackPolicyDuringUpdateURL);
}
std::string CreateChangeSetRequest::getClientToken()const
{
return clientToken_;
}
void CreateChangeSetRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string CreateChangeSetRequest::getTemplateBody()const
{
return templateBody_;
}
void CreateChangeSetRequest::setTemplateBody(const std::string& templateBody)
{
templateBody_ = templateBody;
setCoreParameter("TemplateBody", templateBody);
}
std::string CreateChangeSetRequest::getStackId()const
{
return stackId_;
}
void CreateChangeSetRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string CreateChangeSetRequest::getChangeSetType()const
{
return changeSetType_;
}
void CreateChangeSetRequest::setChangeSetType(const std::string& changeSetType)
{
changeSetType_ = changeSetType;
setCoreParameter("ChangeSetType", changeSetType);
}
std::string CreateChangeSetRequest::getDescription()const
{
return description_;
}
void CreateChangeSetRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
bool CreateChangeSetRequest::getDisableRollback()const
{
return disableRollback_;
}
void CreateChangeSetRequest::setDisableRollback(bool disableRollback)
{
disableRollback_ = disableRollback;
setCoreParameter("DisableRollback", disableRollback ? "true" : "false");
}
std::string CreateChangeSetRequest::getUpdateAllowPolicy()const
{
return updateAllowPolicy_;
}
void CreateChangeSetRequest::setUpdateAllowPolicy(const std::string& updateAllowPolicy)
{
updateAllowPolicy_ = updateAllowPolicy;
setCoreParameter("UpdateAllowPolicy", updateAllowPolicy);
}
long CreateChangeSetRequest::getTimeoutInMinutes()const
{
return timeoutInMinutes_;
}
void CreateChangeSetRequest::setTimeoutInMinutes(long timeoutInMinutes)
{
timeoutInMinutes_ = timeoutInMinutes;
setCoreParameter("TimeoutInMinutes", std::to_string(timeoutInMinutes));
}
bool CreateChangeSetRequest::getUsePreviousParameters()const
{
return usePreviousParameters_;
}
void CreateChangeSetRequest::setUsePreviousParameters(bool usePreviousParameters)
{
usePreviousParameters_ = usePreviousParameters;
setCoreParameter("UsePreviousParameters", usePreviousParameters ? "true" : "false");
}
std::string CreateChangeSetRequest::getTemplateURL()const
{
return templateURL_;
}
void CreateChangeSetRequest::setTemplateURL(const std::string& templateURL)
{
templateURL_ = templateURL;
setCoreParameter("TemplateURL", templateURL);
}
std::string CreateChangeSetRequest::getOrderSource()const
{
return orderSource_;
}
void CreateChangeSetRequest::setOrderSource(const std::string& orderSource)
{
orderSource_ = orderSource;
setCoreParameter("OrderSource", orderSource);
}
std::string CreateChangeSetRequest::getActivityId()const
{
return activityId_;
}
void CreateChangeSetRequest::setActivityId(const std::string& activityId)
{
activityId_ = activityId;
setCoreParameter("ActivityId", activityId);
}
std::string CreateChangeSetRequest::getStackPolicyDuringUpdateBody()const
{
return stackPolicyDuringUpdateBody_;
}
void CreateChangeSetRequest::setStackPolicyDuringUpdateBody(const std::string& stackPolicyDuringUpdateBody)
{
stackPolicyDuringUpdateBody_ = stackPolicyDuringUpdateBody;
setCoreParameter("StackPolicyDuringUpdateBody", stackPolicyDuringUpdateBody);
}
std::vector<std::string> CreateChangeSetRequest::getNotificationURLs()const
{
return notificationURLs_;
}
void CreateChangeSetRequest::setNotificationURLs(const std::vector<std::string>& notificationURLs)
{
notificationURLs_ = notificationURLs;
for(int i = 0; i!= notificationURLs.size(); i++)
setCoreParameter("NotificationURLs."+ std::to_string(i), notificationURLs.at(i));
}
std::string CreateChangeSetRequest::getStackPolicyURL()const
{
return stackPolicyURL_;
}
void CreateChangeSetRequest::setStackPolicyURL(const std::string& stackPolicyURL)
{
stackPolicyURL_ = stackPolicyURL;
setCoreParameter("StackPolicyURL", stackPolicyURL);
}
std::string CreateChangeSetRequest::getRegionId()const
{
return regionId_;
}
void CreateChangeSetRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string CreateChangeSetRequest::getChangeSetName()const
{
return changeSetName_;
}
void CreateChangeSetRequest::setChangeSetName(const std::string& changeSetName)
{
changeSetName_ = changeSetName;
setCoreParameter("ChangeSetName", changeSetName);
}
std::string CreateChangeSetRequest::getStackName()const
{
return stackName_;
}
void CreateChangeSetRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}
std::vector<CreateChangeSetRequest::Parameters> CreateChangeSetRequest::getParameters()const
{
return parameters_;
}
void CreateChangeSetRequest::setParameters(const std::vector<Parameters>& parameters)
{
parameters_ = parameters;
int i = 0;
for(int i = 0; i!= parameters.size(); i++) {
auto obj = parameters.at(i);
std::string str ="Parameters."+ std::to_string(i);
setCoreParameter(str + ".ParameterValue", obj.parameterValue);
setCoreParameter(str + ".ParameterKey", obj.parameterKey);
}
}
std::string CreateChangeSetRequest::getStackPolicyBody()const
{
return stackPolicyBody_;
}
void CreateChangeSetRequest::setStackPolicyBody(const std::string& stackPolicyBody)
{
stackPolicyBody_ = stackPolicyBody;
setCoreParameter("StackPolicyBody", stackPolicyBody);
}
std::string CreateChangeSetRequest::getChannelId()const
{
return channelId_;
}
void CreateChangeSetRequest::setChannelId(const std::string& channelId)
{
channelId_ = channelId;
setCoreParameter("ChannelId", channelId);
}

View File

@@ -43,20 +43,13 @@ void CreateChangeSetResult::parse(const std::string &payload)
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["ChangeSetId"].isNull())
changeSetId_ = value["ChangeSetId"].asString();
if(!value["StackId"].isNull())
stackId_ = value["StackId"].asString();
if(!value["Dummy"].isNull())
dummy_ = value["Dummy"].asString();
}
std::string CreateChangeSetResult::getChangeSetId()const
std::string CreateChangeSetResult::getDummy()const
{
return changeSetId_;
}
std::string CreateChangeSetResult::getStackId()const
{
return stackId_;
return dummy_;
}

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.
*/
#include <alibabacloud/ros/model/CreateStackRequest.h>
using AlibabaCloud::ROS::Model::CreateStackRequest;
CreateStackRequest::CreateStackRequest() :
RpcServiceRequest("ros", "2019-09-10", "CreateStack")
{}
CreateStackRequest::~CreateStackRequest()
{}
std::string CreateStackRequest::getClientToken()const
{
return clientToken_;
}
void CreateStackRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string CreateStackRequest::getTemplateBody()const
{
return templateBody_;
}
void CreateStackRequest::setTemplateBody(const std::string& templateBody)
{
templateBody_ = templateBody;
setCoreParameter("TemplateBody", templateBody);
}
bool CreateStackRequest::getDisableRollback()const
{
return disableRollback_;
}
void CreateStackRequest::setDisableRollback(bool disableRollback)
{
disableRollback_ = disableRollback;
setCoreParameter("DisableRollback", disableRollback ? "true" : "false");
}
long CreateStackRequest::getTimeoutInMinutes()const
{
return timeoutInMinutes_;
}
void CreateStackRequest::setTimeoutInMinutes(long timeoutInMinutes)
{
timeoutInMinutes_ = timeoutInMinutes;
setCoreParameter("TimeoutInMinutes", std::to_string(timeoutInMinutes));
}
std::string CreateStackRequest::getOrderSource()const
{
return orderSource_;
}
void CreateStackRequest::setOrderSource(const std::string& orderSource)
{
orderSource_ = orderSource;
setCoreParameter("OrderSource", orderSource);
}
std::string CreateStackRequest::getTemplateURL()const
{
return templateURL_;
}
void CreateStackRequest::setTemplateURL(const std::string& templateURL)
{
templateURL_ = templateURL;
setCoreParameter("TemplateURL", templateURL);
}
std::string CreateStackRequest::getActivityId()const
{
return activityId_;
}
void CreateStackRequest::setActivityId(const std::string& activityId)
{
activityId_ = activityId;
setCoreParameter("ActivityId", activityId);
}
std::vector<std::string> CreateStackRequest::getNotificationURLs()const
{
return notificationURLs_;
}
void CreateStackRequest::setNotificationURLs(const std::vector<std::string>& notificationURLs)
{
notificationURLs_ = notificationURLs;
for(int i = 0; i!= notificationURLs.size(); i++)
setCoreParameter("NotificationURLs."+ std::to_string(i), notificationURLs.at(i));
}
std::string CreateStackRequest::getStackPolicyURL()const
{
return stackPolicyURL_;
}
void CreateStackRequest::setStackPolicyURL(const std::string& stackPolicyURL)
{
stackPolicyURL_ = stackPolicyURL;
setCoreParameter("StackPolicyURL", stackPolicyURL);
}
std::string CreateStackRequest::getRegionId()const
{
return regionId_;
}
void CreateStackRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string CreateStackRequest::getStackName()const
{
return stackName_;
}
void CreateStackRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}
std::vector<CreateStackRequest::Parameters> CreateStackRequest::getParameters()const
{
return parameters_;
}
void CreateStackRequest::setParameters(const std::vector<Parameters>& parameters)
{
parameters_ = parameters;
int i = 0;
for(int i = 0; i!= parameters.size(); i++) {
auto obj = parameters.at(i);
std::string str ="Parameters."+ std::to_string(i);
setCoreParameter(str + ".ParameterValue", obj.parameterValue);
setCoreParameter(str + ".ParameterKey", obj.parameterKey);
}
}
std::string CreateStackRequest::getStackPolicyBody()const
{
return stackPolicyBody_;
}
void CreateStackRequest::setStackPolicyBody(const std::string& stackPolicyBody)
{
stackPolicyBody_ = stackPolicyBody;
setCoreParameter("StackPolicyBody", stackPolicyBody);
}
std::string CreateStackRequest::getChannelId()const
{
return channelId_;
}
void CreateStackRequest::setChannelId(const std::string& channelId)
{
channelId_ = channelId;
setCoreParameter("ChannelId", channelId);
}

View File

@@ -14,14 +14,14 @@
* limitations under the License.
*/
#include <alibabacloud/ros/model/ListResourceTypesRequest.h>
#include <alibabacloud/ros/model/CreateStacksRequest.h>
using AlibabaCloud::ROS::Model::ListResourceTypesRequest;
using AlibabaCloud::ROS::Model::CreateStacksRequest;
ListResourceTypesRequest::ListResourceTypesRequest() :
RpcServiceRequest("ros", "2019-09-10", "ListResourceTypes")
CreateStacksRequest::CreateStacksRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
ListResourceTypesRequest::~ListResourceTypesRequest()
CreateStacksRequest::~CreateStacksRequest()
{}

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/CreateStacksResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
CreateStacksResult::CreateStacksResult() :
ServiceResult()
{}
CreateStacksResult::CreateStacksResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateStacksResult::~CreateStacksResult()
{}
void CreateStacksResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -19,31 +19,42 @@
using AlibabaCloud::ROS::Model::DeleteChangeSetRequest;
DeleteChangeSetRequest::DeleteChangeSetRequest() :
RpcServiceRequest("ros", "2019-09-10", "DeleteChangeSet")
RoaServiceRequest("ros", "2015-09-01")
{}
DeleteChangeSetRequest::~DeleteChangeSetRequest()
{}
std::string DeleteChangeSetRequest::getRegionId()const
std::string DeleteChangeSetRequest::getChangeSetName()const
{
return regionId_;
return changeSetName_;
}
void DeleteChangeSetRequest::setRegionId(const std::string& regionId)
void DeleteChangeSetRequest::setChangeSetName(const std::string& changeSetName)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
changeSetName_ = changeSetName;
setCoreParameter("ChangeSetName", changeSetName);
}
std::string DeleteChangeSetRequest::getChangeSetId()const
std::string DeleteChangeSetRequest::getStackId()const
{
return changeSetId_;
return stackId_;
}
void DeleteChangeSetRequest::setChangeSetId(const std::string& changeSetId)
void DeleteChangeSetRequest::setStackId(const std::string& stackId)
{
changeSetId_ = changeSetId;
setCoreParameter("ChangeSetId", changeSetId);
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DeleteChangeSetRequest::getStackName()const
{
return stackName_;
}
void DeleteChangeSetRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -43,6 +43,13 @@ void DeleteChangeSetResult::parse(const std::string &payload)
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["Dummy"].isNull())
dummy_ = value["Dummy"].asString();
}
std::string DeleteChangeSetResult::getDummy()const
{
return dummy_;
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::ROS::Model::DeleteStackRequest;
DeleteStackRequest::DeleteStackRequest() :
RpcServiceRequest("ros", "2019-09-10", "DeleteStack")
RoaServiceRequest("ros", "2015-09-01")
{}
DeleteStackRequest::~DeleteStackRequest()
@@ -36,17 +36,6 @@ void DeleteStackRequest::setRegionId(const std::string& regionId)
setCoreParameter("RegionId", regionId);
}
bool DeleteStackRequest::getRetainAllResources()const
{
return retainAllResources_;
}
void DeleteStackRequest::setRetainAllResources(bool retainAllResources)
{
retainAllResources_ = retainAllResources;
setCoreParameter("RetainAllResources", retainAllResources ? "true" : "false");
}
std::string DeleteStackRequest::getStackId()const
{
return stackId_;
@@ -58,3 +47,14 @@ void DeleteStackRequest::setStackId(const std::string& stackId)
setCoreParameter("StackId", stackId);
}
std::string DeleteStackRequest::getStackName()const
{
return stackName_;
}
void DeleteStackRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeChangeSetDetailRequest.h>
using AlibabaCloud::ROS::Model::DescribeChangeSetDetailRequest;
DescribeChangeSetDetailRequest::DescribeChangeSetDetailRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeChangeSetDetailRequest::~DescribeChangeSetDetailRequest()
{}
std::string DescribeChangeSetDetailRequest::getChangeSetName()const
{
return changeSetName_;
}
void DescribeChangeSetDetailRequest::setChangeSetName(const std::string& changeSetName)
{
changeSetName_ = changeSetName;
setCoreParameter("ChangeSetName", changeSetName);
}
std::string DescribeChangeSetDetailRequest::getStackId()const
{
return stackId_;
}
void DescribeChangeSetDetailRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DescribeChangeSetDetailRequest::getStackName()const
{
return stackName_;
}
void DescribeChangeSetDetailRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/ros/model/GetTemplateEstimateCostResult.h>
#include <alibabacloud/ros/model/DescribeChangeSetDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
GetTemplateEstimateCostResult::GetTemplateEstimateCostResult() :
DescribeChangeSetDetailResult::DescribeChangeSetDetailResult() :
ServiceResult()
{}
GetTemplateEstimateCostResult::GetTemplateEstimateCostResult(const std::string &payload) :
DescribeChangeSetDetailResult::DescribeChangeSetDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetTemplateEstimateCostResult::~GetTemplateEstimateCostResult()
DescribeChangeSetDetailResult::~DescribeChangeSetDetailResult()
{}
void GetTemplateEstimateCostResult::parse(const std::string &payload)
void DescribeChangeSetDetailResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
@@ -43,13 +43,13 @@ void GetTemplateEstimateCostResult::parse(const std::string &payload)
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["Resources"].isNull())
resources_ = value["Resources"].asString();
if(!value["Dummy"].isNull())
dummy_ = value["Dummy"].asString();
}
std::string GetTemplateEstimateCostResult::getResources()const
std::string DescribeChangeSetDetailResult::getDummy()const
{
return resources_;
return dummy_;
}

View File

@@ -14,36 +14,36 @@
* limitations under the License.
*/
#include <alibabacloud/ros/model/ListStackResourcesRequest.h>
#include <alibabacloud/ros/model/DescribeChangeSetsRequest.h>
using AlibabaCloud::ROS::Model::ListStackResourcesRequest;
using AlibabaCloud::ROS::Model::DescribeChangeSetsRequest;
ListStackResourcesRequest::ListStackResourcesRequest() :
RpcServiceRequest("ros", "2019-09-10", "ListStackResources")
DescribeChangeSetsRequest::DescribeChangeSetsRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
ListStackResourcesRequest::~ListStackResourcesRequest()
DescribeChangeSetsRequest::~DescribeChangeSetsRequest()
{}
std::string ListStackResourcesRequest::getRegionId()const
{
return regionId_;
}
void ListStackResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string ListStackResourcesRequest::getStackId()const
std::string DescribeChangeSetsRequest::getStackId()const
{
return stackId_;
}
void ListStackResourcesRequest::setStackId(const std::string& stackId)
void DescribeChangeSetsRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DescribeChangeSetsRequest::getStackName()const
{
return stackName_;
}
void DescribeChangeSetsRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeChangeSetsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeChangeSetsResult::DescribeChangeSetsResult() :
ServiceResult()
{}
DescribeChangeSetsResult::DescribeChangeSetsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeChangeSetsResult::~DescribeChangeSetsResult()
{}
void DescribeChangeSetsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["Dummy"].isNull())
dummy_ = value["Dummy"].asString();
}
std::string DescribeChangeSetsResult::getDummy()const
{
return dummy_;
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeEventsRequest.h>
using AlibabaCloud::ROS::Model::DescribeEventsRequest;
DescribeEventsRequest::DescribeEventsRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeEventsRequest::~DescribeEventsRequest()
{}
std::string DescribeEventsRequest::getStackId()const
{
return stackId_;
}
void DescribeEventsRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
int DescribeEventsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeEventsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeEventsRequest::getStackName()const
{
return stackName_;
}
void DescribeEventsRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}
std::string DescribeEventsRequest::getResourceName()const
{
return resourceName_;
}
void DescribeEventsRequest::setResourceName(const std::string& resourceName)
{
resourceName_ = resourceName;
setCoreParameter("ResourceName", resourceName);
}
std::string DescribeEventsRequest::getResourceStatus()const
{
return resourceStatus_;
}
void DescribeEventsRequest::setResourceStatus(const std::string& resourceStatus)
{
resourceStatus_ = resourceStatus;
setCoreParameter("ResourceStatus", resourceStatus);
}
std::string DescribeEventsRequest::getResourceType()const
{
return resourceType_;
}
void DescribeEventsRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
}
int DescribeEventsRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeEventsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setCoreParameter("PageNumber", std::to_string(pageNumber));
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/ros/model/SignalResourceResult.h>
#include <alibabacloud/ros/model/DescribeEventsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
SignalResourceResult::SignalResourceResult() :
DescribeEventsResult::DescribeEventsResult() :
ServiceResult()
{}
SignalResourceResult::SignalResourceResult(const std::string &payload) :
DescribeEventsResult::DescribeEventsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SignalResourceResult::~SignalResourceResult()
DescribeEventsResult::~DescribeEventsResult()
{}
void SignalResourceResult::parse(const std::string &payload)
void DescribeEventsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();

View File

@@ -19,20 +19,9 @@
using AlibabaCloud::ROS::Model::DescribeRegionsRequest;
DescribeRegionsRequest::DescribeRegionsRequest() :
RpcServiceRequest("ros", "2019-09-10", "DescribeRegions")
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeRegionsRequest::~DescribeRegionsRequest()
{}
std::string DescribeRegionsRequest::getAcceptLanguage()const
{
return acceptLanguage_;
}
void DescribeRegionsRequest::setAcceptLanguage(const std::string& acceptLanguage)
{
acceptLanguage_ = acceptLanguage;
setCoreParameter("AcceptLanguage", acceptLanguage);
}

View File

@@ -43,23 +43,6 @@ void DescribeRegionsResult::parse(const std::string &payload)
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allRegions = value["Regions"]["Region"];
for (auto value : allRegions)
{
Region regionsObject;
if(!value["RegionId"].isNull())
regionsObject.regionId = value["RegionId"].asString();
if(!value["LocalName"].isNull())
regionsObject.localName = value["LocalName"].asString();
if(!value["RegionEndpoint"].isNull())
regionsObject.regionEndpoint = value["RegionEndpoint"].asString();
regions_.push_back(regionsObject);
}
}
std::vector<DescribeRegionsResult::Region> DescribeRegionsResult::getRegions()const
{
return regions_;
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeResourceDetailRequest.h>
using AlibabaCloud::ROS::Model::DescribeResourceDetailRequest;
DescribeResourceDetailRequest::DescribeResourceDetailRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeResourceDetailRequest::~DescribeResourceDetailRequest()
{}
std::string DescribeResourceDetailRequest::getStackId()const
{
return stackId_;
}
void DescribeResourceDetailRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DescribeResourceDetailRequest::getStackName()const
{
return stackName_;
}
void DescribeResourceDetailRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}
std::string DescribeResourceDetailRequest::getResourceName()const
{
return resourceName_;
}
void DescribeResourceDetailRequest::setResourceName(const std::string& resourceName)
{
resourceName_ = resourceName;
setCoreParameter("ResourceName", resourceName);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/ros/model/CreateStackResult.h>
#include <alibabacloud/ros/model/DescribeResourceDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
CreateStackResult::CreateStackResult() :
DescribeResourceDetailResult::DescribeResourceDetailResult() :
ServiceResult()
{}
CreateStackResult::CreateStackResult(const std::string &payload) :
DescribeResourceDetailResult::DescribeResourceDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateStackResult::~CreateStackResult()
DescribeResourceDetailResult::~DescribeResourceDetailResult()
{}
void CreateStackResult::parse(const std::string &payload)
void DescribeResourceDetailResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
@@ -43,13 +43,6 @@ void CreateStackResult::parse(const std::string &payload)
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["StackId"].isNull())
stackId_ = value["StackId"].asString();
}
std::string CreateStackResult::getStackId()const
{
return stackId_;
}

View File

@@ -14,25 +14,25 @@
* limitations under the License.
*/
#include <alibabacloud/ros/model/GetResourceTypeTemplateRequest.h>
#include <alibabacloud/ros/model/DescribeResourceTypeDetailRequest.h>
using AlibabaCloud::ROS::Model::GetResourceTypeTemplateRequest;
using AlibabaCloud::ROS::Model::DescribeResourceTypeDetailRequest;
GetResourceTypeTemplateRequest::GetResourceTypeTemplateRequest() :
RpcServiceRequest("ros", "2019-09-10", "GetResourceTypeTemplate")
DescribeResourceTypeDetailRequest::DescribeResourceTypeDetailRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
GetResourceTypeTemplateRequest::~GetResourceTypeTemplateRequest()
DescribeResourceTypeDetailRequest::~DescribeResourceTypeDetailRequest()
{}
std::string GetResourceTypeTemplateRequest::getResourceType()const
std::string DescribeResourceTypeDetailRequest::getTypeName()const
{
return resourceType_;
return typeName_;
}
void GetResourceTypeTemplateRequest::setResourceType(const std::string& resourceType)
void DescribeResourceTypeDetailRequest::setTypeName(const std::string& typeName)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
typeName_ = typeName;
setCoreParameter("TypeName", typeName);
}

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeResourceTypeDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeResourceTypeDetailResult::DescribeResourceTypeDetailResult() :
ServiceResult()
{}
DescribeResourceTypeDetailResult::DescribeResourceTypeDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeResourceTypeDetailResult::~DescribeResourceTypeDetailResult()
{}
void DescribeResourceTypeDetailResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeResourceTypeTemplateRequest.h>
using AlibabaCloud::ROS::Model::DescribeResourceTypeTemplateRequest;
DescribeResourceTypeTemplateRequest::DescribeResourceTypeTemplateRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeResourceTypeTemplateRequest::~DescribeResourceTypeTemplateRequest()
{}
std::string DescribeResourceTypeTemplateRequest::getTypeName()const
{
return typeName_;
}
void DescribeResourceTypeTemplateRequest::setTypeName(const std::string& typeName)
{
typeName_ = typeName;
setCoreParameter("TypeName", typeName);
}

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeResourceTypeTemplateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeResourceTypeTemplateResult::DescribeResourceTypeTemplateResult() :
ServiceResult()
{}
DescribeResourceTypeTemplateResult::DescribeResourceTypeTemplateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeResourceTypeTemplateResult::~DescribeResourceTypeTemplateResult()
{}
void DescribeResourceTypeTemplateResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeResourceTypesRequest.h>
using AlibabaCloud::ROS::Model::DescribeResourceTypesRequest;
DescribeResourceTypesRequest::DescribeResourceTypesRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeResourceTypesRequest::~DescribeResourceTypesRequest()
{}
std::string DescribeResourceTypesRequest::getSupportStatus()const
{
return supportStatus_;
}
void DescribeResourceTypesRequest::setSupportStatus(const std::string& supportStatus)
{
supportStatus_ = supportStatus;
setCoreParameter("SupportStatus", supportStatus);
}

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeResourceTypesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeResourceTypesResult::DescribeResourceTypesResult() :
ServiceResult()
{}
DescribeResourceTypesResult::DescribeResourceTypesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeResourceTypesResult::~DescribeResourceTypesResult()
{}
void DescribeResourceTypesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeResourcesRequest.h>
using AlibabaCloud::ROS::Model::DescribeResourcesRequest;
DescribeResourcesRequest::DescribeResourcesRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeResourcesRequest::~DescribeResourcesRequest()
{}
std::string DescribeResourcesRequest::getStackId()const
{
return stackId_;
}
void DescribeResourcesRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DescribeResourcesRequest::getStackName()const
{
return stackName_;
}
void DescribeResourcesRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeResourcesResult::DescribeResourcesResult() :
ServiceResult()
{}
DescribeResourcesResult::DescribeResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeResourcesResult::~DescribeResourcesResult()
{}
void DescribeResourcesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

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