diff --git a/CHANGELOG b/CHANGELOG index e92a05323..2786064d5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-08-30 Version 1.36.103 +- Revert to 2015-09-01. + 2019-08-30 Version 1.36.102 - Release Apis of Version 2019-09-10. diff --git a/VERSION b/VERSION index a9829c0ac..27719e964 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.102 \ No newline at end of file +1.36.103 \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListStackResourcesRequest.h b/ros/include/alibabacloud/ros/model/AbandonStackRequest.h similarity index 65% rename from ros/include/alibabacloud/ros/model/ListStackResourcesRequest.h rename to ros/include/alibabacloud/ros/model/AbandonStackRequest.h index 2dda0a4b5..908182af0 100644 --- a/ros/include/alibabacloud/ros/model/ListStackResourcesRequest.h +++ b/ros/include/alibabacloud/ros/model/AbandonStackRequest.h @@ -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 #include -#include +#include #include 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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_ABANDONSTACKREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/CreateStackResult.h b/ros/include/alibabacloud/ros/model/AbandonStackResult.h similarity index 69% rename from ros/include/alibabacloud/ros/model/CreateStackResult.h rename to ros/include/alibabacloud/ros/model/AbandonStackResult.h index 0580e96a7..f6a4d0c5e 100644 --- a/ros/include/alibabacloud/ros/model/CreateStackResult.h +++ b/ros/include/alibabacloud/ros/model/AbandonStackResult.h @@ -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 #include @@ -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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_ABANDONSTACKRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/CancelUpdateStackRequest.h b/ros/include/alibabacloud/ros/model/CancelUpdateStackRequest.h index cd4c5425d..352cb157b 100644 --- a/ros/include/alibabacloud/ros/model/CancelUpdateStackRequest.h +++ b/ros/include/alibabacloud/ros/model/CancelUpdateStackRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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_; }; } diff --git a/ros/include/alibabacloud/ros/model/ContinueCreateStackRequest.h b/ros/include/alibabacloud/ros/model/ContinueCreateStackRequest.h index 13cec5cde..1df11f5e0 100644 --- a/ros/include/alibabacloud/ros/model/ContinueCreateStackRequest.h +++ b/ros/include/alibabacloud/ros/model/ContinueCreateStackRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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 getRecreatingResources()const; - void setRecreatingResources(const std::vector& recreatingResources); + std::string getStackName()const; + void setStackName(const std::string& stackName); private: - std::string regionId_; std::string stackId_; - std::vector recreatingResources_; + std::string stackName_; }; } diff --git a/ros/include/alibabacloud/ros/model/ContinueCreateStackResult.h b/ros/include/alibabacloud/ros/model/ContinueCreateStackResult.h index 6322be5af..e208a1a2d 100644 --- a/ros/include/alibabacloud/ros/model/ContinueCreateStackResult.h +++ b/ros/include/alibabacloud/ros/model/ContinueCreateStackResult.h @@ -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_; }; } diff --git a/ros/include/alibabacloud/ros/model/CreateChangeSetRequest.h b/ros/include/alibabacloud/ros/model/CreateChangeSetRequest.h index 945b16ca0..90b110c2d 100644 --- a/ros/include/alibabacloud/ros/model/CreateChangeSetRequest.h +++ b/ros/include/alibabacloud/ros/model/CreateChangeSetRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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 getNotificationURLs()const; - void setNotificationURLs(const std::vector& 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 getParameters()const; - void setParameters(const std::vector& 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 notificationURLs_; - std::string stackPolicyURL_; - std::string regionId_; - std::string changeSetName_; - std::string stackName_; - std::vector parameters_; - std::string stackPolicyBody_; - std::string channelId_; }; } diff --git a/ros/include/alibabacloud/ros/model/CreateChangeSetResult.h b/ros/include/alibabacloud/ros/model/CreateChangeSetResult.h index b46e9c02e..c30c08189 100644 --- a/ros/include/alibabacloud/ros/model/CreateChangeSetResult.h +++ b/ros/include/alibabacloud/ros/model/CreateChangeSetResult.h @@ -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_; }; } diff --git a/ros/include/alibabacloud/ros/model/CreateStackRequest.h b/ros/include/alibabacloud/ros/model/CreateStackRequest.h deleted file mode 100644 index 0168715c7..000000000 --- a/ros/include/alibabacloud/ros/model/CreateStackRequest.h +++ /dev/null @@ -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 -#include -#include -#include - -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 getNotificationURLs()const; - void setNotificationURLs(const std::vector& 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 getParameters()const; - void setParameters(const std::vector& 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 notificationURLs_; - std::string stackPolicyURL_; - std::string regionId_; - std::string stackName_; - std::vector parameters_; - std::string stackPolicyBody_; - std::string channelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_CREATESTACKREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListResourceTypesRequest.h b/ros/include/alibabacloud/ros/model/CreateStacksRequest.h similarity index 68% rename from ros/include/alibabacloud/ros/model/ListResourceTypesRequest.h rename to ros/include/alibabacloud/ros/model/CreateStacksRequest.h index 6efe6fdd3..ba9d58c8b 100644 --- a/ros/include/alibabacloud/ros/model/ListResourceTypesRequest.h +++ b/ros/include/alibabacloud/ros/model/CreateStacksRequest.h @@ -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 #include -#include +#include #include 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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_CREATESTACKSREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetTemplateResult.h b/ros/include/alibabacloud/ros/model/CreateStacksResult.h similarity index 69% rename from ros/include/alibabacloud/ros/model/GetTemplateResult.h rename to ros/include/alibabacloud/ros/model/CreateStacksResult.h index ec33debd3..a668a0ea0 100644 --- a/ros/include/alibabacloud/ros/model/GetTemplateResult.h +++ b/ros/include/alibabacloud/ros/model/CreateStacksResult.h @@ -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 #include @@ -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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_CREATESTACKSRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DeleteChangeSetRequest.h b/ros/include/alibabacloud/ros/model/DeleteChangeSetRequest.h index 41493f477..3594bb2f0 100644 --- a/ros/include/alibabacloud/ros/model/DeleteChangeSetRequest.h +++ b/ros/include/alibabacloud/ros/model/DeleteChangeSetRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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_; }; } diff --git a/ros/include/alibabacloud/ros/model/DeleteChangeSetResult.h b/ros/include/alibabacloud/ros/model/DeleteChangeSetResult.h index 3c0550fc5..30fdc2b4d 100644 --- a/ros/include/alibabacloud/ros/model/DeleteChangeSetResult.h +++ b/ros/include/alibabacloud/ros/model/DeleteChangeSetResult.h @@ -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_; }; } diff --git a/ros/include/alibabacloud/ros/model/DeleteStackRequest.h b/ros/include/alibabacloud/ros/model/DeleteStackRequest.h index 4599c2c46..3c1d6eaac 100644 --- a/ros/include/alibabacloud/ros/model/DeleteStackRequest.h +++ b/ros/include/alibabacloud/ros/model/DeleteStackRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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_; }; } diff --git a/ros/include/alibabacloud/ros/model/DescribeChangeSetDetailRequest.h b/ros/include/alibabacloud/ros/model/DescribeChangeSetDetailRequest.h new file mode 100644 index 000000000..2d18bd0f8 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeChangeSetDetailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetTemplateEstimateCostResult.h b/ros/include/alibabacloud/ros/model/DescribeChangeSetDetailResult.h similarity index 67% rename from ros/include/alibabacloud/ros/model/GetTemplateEstimateCostResult.h rename to ros/include/alibabacloud/ros/model/DescribeChangeSetDetailResult.h index 73b3823d6..c7327c54c 100644 --- a/ros/include/alibabacloud/ros/model/GetTemplateEstimateCostResult.h +++ b/ros/include/alibabacloud/ros/model/DescribeChangeSetDetailResult.h @@ -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 #include @@ -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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetStackRequest.h b/ros/include/alibabacloud/ros/model/DescribeChangeSetsRequest.h similarity index 62% rename from ros/include/alibabacloud/ros/model/GetStackRequest.h rename to ros/include/alibabacloud/ros/model/DescribeChangeSetsRequest.h index 27c443379..67b53c7da 100644 --- a/ros/include/alibabacloud/ros/model/GetStackRequest.h +++ b/ros/include/alibabacloud/ros/model/DescribeChangeSetsRequest.h @@ -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 #include -#include +#include #include 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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeChangeSetsResult.h b/ros/include/alibabacloud/ros/model/DescribeChangeSetsResult.h new file mode 100644 index 000000000..f45bbda7c --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeChangeSetsResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeEventsRequest.h b/ros/include/alibabacloud/ros/model/DescribeEventsRequest.h new file mode 100644 index 000000000..af01325c8 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeEventsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/SignalResourceResult.h b/ros/include/alibabacloud/ros/model/DescribeEventsResult.h similarity index 73% rename from ros/include/alibabacloud/ros/model/SignalResourceResult.h rename to ros/include/alibabacloud/ros/model/DescribeEventsResult.h index 273a85fdd..76204abd5 100644 --- a/ros/include/alibabacloud/ros/model/SignalResourceResult.h +++ b/ros/include/alibabacloud/ros/model/DescribeEventsResult.h @@ -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 #include @@ -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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeRegionsRequest.h b/ros/include/alibabacloud/ros/model/DescribeRegionsRequest.h index 51b020825..d827380da 100644 --- a/ros/include/alibabacloud/ros/model/DescribeRegionsRequest.h +++ b/ros/include/alibabacloud/ros/model/DescribeRegionsRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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_; }; } diff --git a/ros/include/alibabacloud/ros/model/DescribeRegionsResult.h b/ros/include/alibabacloud/ros/model/DescribeRegionsResult.h index 285b78c74..22fed11df 100644 --- a/ros/include/alibabacloud/ros/model/DescribeRegionsResult.h +++ b/ros/include/alibabacloud/ros/model/DescribeRegionsResult.h @@ -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 getRegions()const; protected: void parse(const std::string &payload); private: - std::vector regions_; }; } diff --git a/ros/include/alibabacloud/ros/model/DescribeResourceDetailRequest.h b/ros/include/alibabacloud/ros/model/DescribeResourceDetailRequest.h new file mode 100644 index 000000000..7d8a3860d --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeResourceDetailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeResourceDetailResult.h b/ros/include/alibabacloud/ros/model/DescribeResourceDetailResult.h new file mode 100644 index 000000000..f26ca9572 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeResourceDetailResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeResourceTypeDetailRequest.h b/ros/include/alibabacloud/ros/model/DescribeResourceTypeDetailRequest.h new file mode 100644 index 000000000..fad5c6d60 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeResourceTypeDetailRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeResourceTypeDetailResult.h b/ros/include/alibabacloud/ros/model/DescribeResourceTypeDetailResult.h new file mode 100644 index 000000000..897e45214 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeResourceTypeDetailResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeResourceTypeTemplateRequest.h b/ros/include/alibabacloud/ros/model/DescribeResourceTypeTemplateRequest.h new file mode 100644 index 000000000..aee18f5e4 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeResourceTypeTemplateRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeResourceTypeTemplateResult.h b/ros/include/alibabacloud/ros/model/DescribeResourceTypeTemplateResult.h new file mode 100644 index 000000000..4cb202dfa --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeResourceTypeTemplateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATERESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetResourceTypeTemplateRequest.h b/ros/include/alibabacloud/ros/model/DescribeResourceTypesRequest.h similarity index 60% rename from ros/include/alibabacloud/ros/model/GetResourceTypeTemplateRequest.h rename to ros/include/alibabacloud/ros/model/DescribeResourceTypesRequest.h index 3ba4077a1..d350f9f10 100644 --- a/ros/include/alibabacloud/ros/model/GetResourceTypeTemplateRequest.h +++ b/ros/include/alibabacloud/ros/model/DescribeResourceTypesRequest.h @@ -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 #include -#include +#include #include 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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeResourceTypesResult.h b/ros/include/alibabacloud/ros/model/DescribeResourceTypesResult.h new file mode 100644 index 000000000..6b9513f9b --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeResourceTypesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetTemplateRequest.h b/ros/include/alibabacloud/ros/model/DescribeResourcesRequest.h similarity index 61% rename from ros/include/alibabacloud/ros/model/GetTemplateRequest.h rename to ros/include/alibabacloud/ros/model/DescribeResourcesRequest.h index 81447e147..06fcd97be 100644 --- a/ros/include/alibabacloud/ros/model/GetTemplateRequest.h +++ b/ros/include/alibabacloud/ros/model/DescribeResourcesRequest.h @@ -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 #include -#include +#include #include 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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListResourceTypesResult.h b/ros/include/alibabacloud/ros/model/DescribeResourcesResult.h similarity index 67% rename from ros/include/alibabacloud/ros/model/ListResourceTypesResult.h rename to ros/include/alibabacloud/ros/model/DescribeResourcesResult.h index 592eef545..6f3c4bf63 100644 --- a/ros/include/alibabacloud/ros/model/ListResourceTypesResult.h +++ b/ros/include/alibabacloud/ros/model/DescribeResourcesResult.h @@ -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 #include @@ -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 getResourceTypes()const; + DescribeResourcesResult(); + explicit DescribeResourcesResult(const std::string &payload); + ~DescribeResourcesResult(); protected: void parse(const std::string &payload); private: - std::vector resourceTypes_; }; } } } -#endif // !ALIBABACLOUD_ROS_MODEL_LISTRESOURCETYPESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeStackDetailRequest.h b/ros/include/alibabacloud/ros/model/DescribeStackDetailRequest.h new file mode 100644 index 000000000..95b75a88d --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeStackDetailRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeStackDetailResult.h b/ros/include/alibabacloud/ros/model/DescribeStackDetailResult.h new file mode 100644 index 000000000..1bcffa7a0 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeStackDetailResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/SignalResourceRequest.h b/ros/include/alibabacloud/ros/model/DescribeStacksRequest.h similarity index 51% rename from ros/include/alibabacloud/ros/model/SignalResourceRequest.h rename to ros/include/alibabacloud/ros/model/DescribeStacksRequest.h index e3f3cf988..facb7b9e0 100644 --- a/ros/include/alibabacloud/ros/model/SignalResourceRequest.h +++ b/ros/include/alibabacloud/ros/model/DescribeStacksRequest.h @@ -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 #include -#include +#include #include 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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeStacksResult.h b/ros/include/alibabacloud/ros/model/DescribeStacksResult.h new file mode 100644 index 000000000..f10f53a0f --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeStacksResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeTemplateRequest.h b/ros/include/alibabacloud/ros/model/DescribeTemplateRequest.h new file mode 100644 index 000000000..f22f0d666 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeTemplateRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DescribeTemplateResult.h b/ros/include/alibabacloud/ros/model/DescribeTemplateResult.h new file mode 100644 index 000000000..17ab8c32e --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DescribeTemplateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATERESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DoActionsRequest.h b/ros/include/alibabacloud/ros/model/DoActionsRequest.h new file mode 100644 index 000000000..a8efda223 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DoActionsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DOACTIONSREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_DOACTIONSREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/DoActionsResult.h b/ros/include/alibabacloud/ros/model/DoActionsResult.h new file mode 100644 index 000000000..10ecdc1cf --- /dev/null +++ b/ros/include/alibabacloud/ros/model/DoActionsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_DOACTIONSRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_DOACTIONSRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ExecuteChangeSetRequest.h b/ros/include/alibabacloud/ros/model/ExecuteChangeSetRequest.h index 33eb7e3b8..1c5c4d506 100644 --- a/ros/include/alibabacloud/ros/model/ExecuteChangeSetRequest.h +++ b/ros/include/alibabacloud/ros/model/ExecuteChangeSetRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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_; }; } diff --git a/ros/include/alibabacloud/ros/model/ExecuteChangeSetResult.h b/ros/include/alibabacloud/ros/model/ExecuteChangeSetResult.h index 7995e3be8..f0fa05ea4 100644 --- a/ros/include/alibabacloud/ros/model/ExecuteChangeSetResult.h +++ b/ros/include/alibabacloud/ros/model/ExecuteChangeSetResult.h @@ -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_; }; } diff --git a/ros/include/alibabacloud/ros/model/GetChangeSetRequest.h b/ros/include/alibabacloud/ros/model/GetChangeSetRequest.h deleted file mode 100644 index 19cddab05..000000000 --- a/ros/include/alibabacloud/ros/model/GetChangeSetRequest.h +++ /dev/null @@ -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 -#include -#include -#include - -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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetChangeSetResult.h b/ros/include/alibabacloud/ros/model/GetChangeSetResult.h deleted file mode 100644 index fa37a1ac7..000000000 --- a/ros/include/alibabacloud/ros/model/GetChangeSetResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 getChanges()const; - std::string getStatus()const; - std::vector 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 changes_; - std::string status_; - std::vector 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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetResourceTypeResult.h b/ros/include/alibabacloud/ros/model/GetResourceTypeResult.h deleted file mode 100644 index e1a98b2c6..000000000 --- a/ros/include/alibabacloud/ros/model/GetResourceTypeResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetResourceTypeTemplateResult.h b/ros/include/alibabacloud/ros/model/GetResourceTypeTemplateResult.h deleted file mode 100644 index 66823a4cc..000000000 --- a/ros/include/alibabacloud/ros/model/GetResourceTypeTemplateResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetStackPolicyRequest.h b/ros/include/alibabacloud/ros/model/GetStackPolicyRequest.h index 0cf502611..ffc8e6ac0 100644 --- a/ros/include/alibabacloud/ros/model/GetStackPolicyRequest.h +++ b/ros/include/alibabacloud/ros/model/GetStackPolicyRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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_; }; } diff --git a/ros/include/alibabacloud/ros/model/GetStackPolicyResult.h b/ros/include/alibabacloud/ros/model/GetStackPolicyResult.h index 8c20f4e7d..85719c210 100644 --- a/ros/include/alibabacloud/ros/model/GetStackPolicyResult.h +++ b/ros/include/alibabacloud/ros/model/GetStackPolicyResult.h @@ -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_; }; } diff --git a/ros/include/alibabacloud/ros/model/GetStackResourceRequest.h b/ros/include/alibabacloud/ros/model/GetStackResourceRequest.h deleted file mode 100644 index b8025388f..000000000 --- a/ros/include/alibabacloud/ros/model/GetStackResourceRequest.h +++ /dev/null @@ -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 -#include -#include -#include - -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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetStackResourceResult.h b/ros/include/alibabacloud/ros/model/GetStackResourceResult.h deleted file mode 100644 index f340a1085..000000000 --- a/ros/include/alibabacloud/ros/model/GetStackResourceResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 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 resourceAttributes_; - std::string stackName_; - std::string stackId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_GETSTACKRESOURCERESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetStackResult.h b/ros/include/alibabacloud/ros/model/GetStackResult.h deleted file mode 100644 index 71f01e7b7..000000000 --- a/ros/include/alibabacloud/ros/model/GetStackResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 getParameters()const; - std::string getDescription()const; - std::string getStatusReason()const; - std::string getParentStackId()const; - std::string getCreateTime()const; - std::string getTemplateDescription()const; - std::vector getOutputs()const; - std::string getUpdateTime()const; - std::string getRegionId()const; - std::vector 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 parameters_; - std::string description_; - std::string statusReason_; - std::string parentStackId_; - std::string createTime_; - std::string templateDescription_; - std::vector outputs_; - std::string updateTime_; - std::string regionId_; - std::vector notificationURLs_; - bool disableRollback_; - std::string stackName_; - std::string stackId_; - int timeoutInMinutes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_GETSTACKRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetTemplateEstimateCostRequest.h b/ros/include/alibabacloud/ros/model/GetTemplateEstimateCostRequest.h deleted file mode 100644 index 82fda46b0..000000000 --- a/ros/include/alibabacloud/ros/model/GetTemplateEstimateCostRequest.h +++ /dev/null @@ -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 -#include -#include -#include - -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 getParameters()const; - void setParameters(const std::vector& parameters); - std::string getTemplateURL()const; - void setTemplateURL(const std::string& templateURL); - - private: - std::string regionId_; - std::string clientToken_; - std::string templateBody_; - std::vector parameters_; - std::string templateURL_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_GETTEMPLATEESTIMATECOSTREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/GetResourceTypeRequest.h b/ros/include/alibabacloud/ros/model/InquiryStackRequest.h similarity index 62% rename from ros/include/alibabacloud/ros/model/GetResourceTypeRequest.h rename to ros/include/alibabacloud/ros/model/InquiryStackRequest.h index 065d8195d..6144f72e4 100644 --- a/ros/include/alibabacloud/ros/model/GetResourceTypeRequest.h +++ b/ros/include/alibabacloud/ros/model/InquiryStackRequest.h @@ -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 #include -#include +#include #include 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_ \ No newline at end of file +#endif // !ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/InquiryStackResult.h b/ros/include/alibabacloud/ros/model/InquiryStackResult.h new file mode 100644 index 000000000..debce590f --- /dev/null +++ b/ros/include/alibabacloud/ros/model/InquiryStackResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_INQUIRYSTACKRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListChangeSetsRequest.h b/ros/include/alibabacloud/ros/model/ListChangeSetsRequest.h deleted file mode 100644 index e73ea06f6..000000000 --- a/ros/include/alibabacloud/ros/model/ListChangeSetsRequest.h +++ /dev/null @@ -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 -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ROS - { - namespace Model - { - class ALIBABACLOUD_ROS_EXPORT ListChangeSetsRequest : public RpcServiceRequest - { - - public: - ListChangeSetsRequest(); - ~ListChangeSetsRequest(); - - std::vector getExecutionStatus()const; - void setExecutionStatus(const std::vector& executionStatus); - std::vector getChangeSetName()const; - void setChangeSetName(const std::vector& 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 getStatus()const; - void setStatus(const std::vector& status); - - private: - std::vector executionStatus_; - std::vector changeSetName_; - std::string regionId_; - std::string stackId_; - long pageSize_; - long pageNumber_; - std::vector status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_LISTCHANGESETSREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListChangeSetsResult.h b/ros/include/alibabacloud/ros/model/ListChangeSetsResult.h deleted file mode 100644 index e64d4b8a7..000000000 --- a/ros/include/alibabacloud/ros/model/ListChangeSetsResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 getChangeSets()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector changeSets_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_LISTCHANGESETSRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListStackEventsRequest.h b/ros/include/alibabacloud/ros/model/ListStackEventsRequest.h deleted file mode 100644 index 841fb08ce..000000000 --- a/ros/include/alibabacloud/ros/model/ListStackEventsRequest.h +++ /dev/null @@ -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 -#include -#include -#include - -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 getLogicalResourceId()const; - void setLogicalResourceId(const std::vector& logicalResourceId); - std::vector getResourceType()const; - void setResourceType(const std::vector& resourceType); - long getPageNumber()const; - void setPageNumber(long pageNumber); - std::vector getStatus()const; - void setStatus(const std::vector& status); - - private: - std::string regionId_; - std::string stackId_; - long pageSize_; - std::vector logicalResourceId_; - std::vector resourceType_; - long pageNumber_; - std::vector status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKEVENTSREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListStackEventsResult.h b/ros/include/alibabacloud/ros/model/ListStackEventsResult.h deleted file mode 100644 index 22bffc5bf..000000000 --- a/ros/include/alibabacloud/ros/model/ListStackEventsResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 getEvents()const; - int getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::vector events_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKEVENTSRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListStackResourcesResult.h b/ros/include/alibabacloud/ros/model/ListStackResourcesResult.h deleted file mode 100644 index 0b8c77f32..000000000 --- a/ros/include/alibabacloud/ros/model/ListStackResourcesResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 getResources()const; - - protected: - void parse(const std::string &payload); - private: - std::vector resources_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKRESOURCESRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListStacksRequest.h b/ros/include/alibabacloud/ros/model/ListStacksRequest.h deleted file mode 100644 index 3e7ad8b89..000000000 --- a/ros/include/alibabacloud/ros/model/ListStacksRequest.h +++ /dev/null @@ -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 -#include -#include -#include - -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 getStackName()const; - void setStackName(const std::vector& stackName); - long getPageNumber()const; - void setPageNumber(long pageNumber); - std::vector getStatus()const; - void setStatus(const std::vector& status); - - private: - std::string parentStackId_; - bool showNestedStack_; - std::string regionId_; - long pageSize_; - std::vector stackName_; - long pageNumber_; - std::vector status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKSREQUEST_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/ListStacksResult.h b/ros/include/alibabacloud/ros/model/ListStacksResult.h deleted file mode 100644 index e53f86d3c..000000000 --- a/ros/include/alibabacloud/ros/model/ListStacksResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 getStacks()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector stacks_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ROS_MODEL_LISTSTACKSRESULT_H_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/PreviewStackRequest.h b/ros/include/alibabacloud/ros/model/PreviewStackRequest.h index 9de793b34..926cee821 100644 --- a/ros/include/alibabacloud/ros/model/PreviewStackRequest.h +++ b/ros/include/alibabacloud/ros/model/PreviewStackRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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 getParameters()const; - void setParameters(const std::vector& 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_; - std::string stackPolicyBody_; - long timeoutInMinutes_; - std::string templateURL_; }; } diff --git a/ros/include/alibabacloud/ros/model/PreviewStackResult.h b/ros/include/alibabacloud/ros/model/PreviewStackResult.h index d44cf105c..a7af8863f 100644 --- a/ros/include/alibabacloud/ros/model/PreviewStackResult.h +++ b/ros/include/alibabacloud/ros/model/PreviewStackResult.h @@ -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_; }; } diff --git a/ros/include/alibabacloud/ros/model/SetStackPolicyRequest.h b/ros/include/alibabacloud/ros/model/SetStackPolicyRequest.h index 6490bd6bb..8cb8b8d53 100644 --- a/ros/include/alibabacloud/ros/model/SetStackPolicyRequest.h +++ b/ros/include/alibabacloud/ros/model/SetStackPolicyRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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_; }; } diff --git a/ros/include/alibabacloud/ros/model/UpdateStackRequest.h b/ros/include/alibabacloud/ros/model/UpdateStackRequest.h index 30e83bb41..35405caa1 100644 --- a/ros/include/alibabacloud/ros/model/UpdateStackRequest.h +++ b/ros/include/alibabacloud/ros/model/UpdateStackRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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 getParameters()const; - void setParameters(const std::vector& 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_; - std::string stackPolicyBody_; + std::string stackName_; }; } diff --git a/ros/include/alibabacloud/ros/model/UpdateStackResult.h b/ros/include/alibabacloud/ros/model/UpdateStackResult.h index 2c179a630..d3f3d6d69 100644 --- a/ros/include/alibabacloud/ros/model/UpdateStackResult.h +++ b/ros/include/alibabacloud/ros/model/UpdateStackResult.h @@ -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_; }; } diff --git a/ros/include/alibabacloud/ros/model/ValidateTemplateRequest.h b/ros/include/alibabacloud/ros/model/ValidateTemplateRequest.h index 71d1ebbc4..d1c8b5acb 100644 --- a/ros/include/alibabacloud/ros/model/ValidateTemplateRequest.h +++ b/ros/include/alibabacloud/ros/model/ValidateTemplateRequest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include 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_; }; } diff --git a/ros/include/alibabacloud/ros/model/ValidateTemplateResult.h b/ros/include/alibabacloud/ros/model/ValidateTemplateResult.h index a2e4f61eb..bfa829cf9 100644 --- a/ros/include/alibabacloud/ros/model/ValidateTemplateResult.h +++ b/ros/include/alibabacloud/ros/model/ValidateTemplateResult.h @@ -37,14 +37,10 @@ namespace AlibabaCloud ValidateTemplateResult(); explicit ValidateTemplateResult(const std::string &payload); ~ValidateTemplateResult(); - std::vector getParameters()const; - std::string getDescription()const; protected: void parse(const std::string &payload); private: - std::vector parameters_; - std::string description_; }; } diff --git a/ros/include/alibabacloud/ros/model/WaitConditionsRequest.h b/ros/include/alibabacloud/ros/model/WaitConditionsRequest.h new file mode 100644 index 000000000..4457a94a9 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/WaitConditionsRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSREQUEST_H_ +#define ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSREQUEST_H_ + +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/include/alibabacloud/ros/model/WaitConditionsResult.h b/ros/include/alibabacloud/ros/model/WaitConditionsResult.h new file mode 100644 index 000000000..9085f05b2 --- /dev/null +++ b/ros/include/alibabacloud/ros/model/WaitConditionsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSRESULT_H_ +#define ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/ros/src/model/AbandonStackRequest.cc b/ros/src/model/AbandonStackRequest.cc new file mode 100644 index 000000000..3c0e06a75 --- /dev/null +++ b/ros/src/model/AbandonStackRequest.cc @@ -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 + +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); +} + diff --git a/ros/src/model/GetTemplateResult.cc b/ros/src/model/AbandonStackResult.cc similarity index 71% rename from ros/src/model/GetTemplateResult.cc rename to ros/src/model/AbandonStackResult.cc index 8dd1cfb10..4685b039e 100644 --- a/ros/src/model/GetTemplateResult.cc +++ b/ros/src/model/AbandonStackResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include 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_; -} - diff --git a/ros/src/model/CancelUpdateStackRequest.cc b/ros/src/model/CancelUpdateStackRequest.cc index fd412d03a..b0eee189b 100644 --- a/ros/src/model/CancelUpdateStackRequest.cc +++ b/ros/src/model/CancelUpdateStackRequest.cc @@ -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); +} + diff --git a/ros/src/model/ContinueCreateStackRequest.cc b/ros/src/model/ContinueCreateStackRequest.cc index 7258a51fc..6cbcb49b5 100644 --- a/ros/src/model/ContinueCreateStackRequest.cc +++ b/ros/src/model/ContinueCreateStackRequest.cc @@ -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 ContinueCreateStackRequest::getRecreatingResources()const +std::string ContinueCreateStackRequest::getStackName()const { - return recreatingResources_; + return stackName_; } -void ContinueCreateStackRequest::setRecreatingResources(const std::vector& 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); } diff --git a/ros/src/model/ContinueCreateStackResult.cc b/ros/src/model/ContinueCreateStackResult.cc index 5321f133b..80a96d697 100644 --- a/ros/src/model/ContinueCreateStackResult.cc +++ b/ros/src/model/ContinueCreateStackResult.cc @@ -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_; -} - diff --git a/ros/src/model/CreateChangeSetRequest.cc b/ros/src/model/CreateChangeSetRequest.cc index 0a1de8d6c..341dfe573 100644 --- a/ros/src/model/CreateChangeSetRequest.cc +++ b/ros/src/model/CreateChangeSetRequest.cc @@ -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 CreateChangeSetRequest::getNotificationURLs()const -{ - return notificationURLs_; -} - -void CreateChangeSetRequest::setNotificationURLs(const std::vector& 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::getParameters()const -{ - return parameters_; -} - -void CreateChangeSetRequest::setParameters(const std::vector& 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); -} - diff --git a/ros/src/model/CreateChangeSetResult.cc b/ros/src/model/CreateChangeSetResult.cc index 659472b1b..ccc917b5f 100644 --- a/ros/src/model/CreateChangeSetResult.cc +++ b/ros/src/model/CreateChangeSetResult.cc @@ -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_; } diff --git a/ros/src/model/CreateStackRequest.cc b/ros/src/model/CreateStackRequest.cc deleted file mode 100644 index 0fe964c86..000000000 --- a/ros/src/model/CreateStackRequest.cc +++ /dev/null @@ -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 - -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 CreateStackRequest::getNotificationURLs()const -{ - return notificationURLs_; -} - -void CreateStackRequest::setNotificationURLs(const std::vector& 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::getParameters()const -{ - return parameters_; -} - -void CreateStackRequest::setParameters(const std::vector& 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); -} - diff --git a/ros/src/model/ListResourceTypesRequest.cc b/ros/src/model/CreateStacksRequest.cc similarity index 68% rename from ros/src/model/ListResourceTypesRequest.cc rename to ros/src/model/CreateStacksRequest.cc index 4b10eee02..066adf896 100644 --- a/ros/src/model/ListResourceTypesRequest.cc +++ b/ros/src/model/CreateStacksRequest.cc @@ -14,14 +14,14 @@ * limitations under the License. */ -#include +#include -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() {} diff --git a/ros/src/model/CreateStacksResult.cc b/ros/src/model/CreateStacksResult.cc new file mode 100644 index 000000000..c4fa31a24 --- /dev/null +++ b/ros/src/model/CreateStacksResult.cc @@ -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 +#include + +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()); + +} + diff --git a/ros/src/model/DeleteChangeSetRequest.cc b/ros/src/model/DeleteChangeSetRequest.cc index 521077977..e393e8542 100644 --- a/ros/src/model/DeleteChangeSetRequest.cc +++ b/ros/src/model/DeleteChangeSetRequest.cc @@ -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); } diff --git a/ros/src/model/DeleteChangeSetResult.cc b/ros/src/model/DeleteChangeSetResult.cc index a1f08d633..93082c3d3 100644 --- a/ros/src/model/DeleteChangeSetResult.cc +++ b/ros/src/model/DeleteChangeSetResult.cc @@ -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_; +} + diff --git a/ros/src/model/DeleteStackRequest.cc b/ros/src/model/DeleteStackRequest.cc index bc0225dfb..181c417f0 100644 --- a/ros/src/model/DeleteStackRequest.cc +++ b/ros/src/model/DeleteStackRequest.cc @@ -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); +} + diff --git a/ros/src/model/DescribeChangeSetDetailRequest.cc b/ros/src/model/DescribeChangeSetDetailRequest.cc new file mode 100644 index 000000000..ae0fbde65 --- /dev/null +++ b/ros/src/model/DescribeChangeSetDetailRequest.cc @@ -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 + +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); +} + diff --git a/ros/src/model/GetTemplateEstimateCostResult.cc b/ros/src/model/DescribeChangeSetDetailResult.cc similarity index 70% rename from ros/src/model/GetTemplateEstimateCostResult.cc rename to ros/src/model/DescribeChangeSetDetailResult.cc index 52b9d4071..02541daf7 100644 --- a/ros/src/model/GetTemplateEstimateCostResult.cc +++ b/ros/src/model/DescribeChangeSetDetailResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include 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_; } diff --git a/ros/src/model/ListStackResourcesRequest.cc b/ros/src/model/DescribeChangeSetsRequest.cc similarity index 53% rename from ros/src/model/ListStackResourcesRequest.cc rename to ros/src/model/DescribeChangeSetsRequest.cc index fb536558f..254ff3d2e 100644 --- a/ros/src/model/ListStackResourcesRequest.cc +++ b/ros/src/model/DescribeChangeSetsRequest.cc @@ -14,36 +14,36 @@ * limitations under the License. */ -#include +#include -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); +} + diff --git a/ros/src/model/DescribeChangeSetsResult.cc b/ros/src/model/DescribeChangeSetsResult.cc new file mode 100644 index 000000000..a92e91242 --- /dev/null +++ b/ros/src/model/DescribeChangeSetsResult.cc @@ -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 +#include + +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_; +} + diff --git a/ros/src/model/DescribeEventsRequest.cc b/ros/src/model/DescribeEventsRequest.cc new file mode 100644 index 000000000..5903f490e --- /dev/null +++ b/ros/src/model/DescribeEventsRequest.cc @@ -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 + +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)); +} + diff --git a/ros/src/model/SignalResourceResult.cc b/ros/src/model/DescribeEventsResult.cc similarity index 79% rename from ros/src/model/SignalResourceResult.cc rename to ros/src/model/DescribeEventsResult.cc index 85352693b..5df5ee540 100644 --- a/ros/src/model/SignalResourceResult.cc +++ b/ros/src/model/DescribeEventsResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include 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(); diff --git a/ros/src/model/DescribeRegionsRequest.cc b/ros/src/model/DescribeRegionsRequest.cc index d1e14028d..6e4bb46a5 100644 --- a/ros/src/model/DescribeRegionsRequest.cc +++ b/ros/src/model/DescribeRegionsRequest.cc @@ -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); -} - diff --git a/ros/src/model/DescribeRegionsResult.cc b/ros/src/model/DescribeRegionsResult.cc index 2df98109d..9deda6e14 100644 --- a/ros/src/model/DescribeRegionsResult.cc +++ b/ros/src/model/DescribeRegionsResult.cc @@ -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::getRegions()const -{ - return regions_; -} - diff --git a/ros/src/model/DescribeResourceDetailRequest.cc b/ros/src/model/DescribeResourceDetailRequest.cc new file mode 100644 index 000000000..14b9da526 --- /dev/null +++ b/ros/src/model/DescribeResourceDetailRequest.cc @@ -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 + +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); +} + diff --git a/ros/src/model/CreateStackResult.cc b/ros/src/model/DescribeResourceDetailResult.cc similarity index 72% rename from ros/src/model/CreateStackResult.cc rename to ros/src/model/DescribeResourceDetailResult.cc index 0c8f60ed1..19f7b48b9 100644 --- a/ros/src/model/CreateStackResult.cc +++ b/ros/src/model/DescribeResourceDetailResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include 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_; -} - diff --git a/ros/src/model/GetResourceTypeTemplateRequest.cc b/ros/src/model/DescribeResourceTypeDetailRequest.cc similarity index 52% rename from ros/src/model/GetResourceTypeTemplateRequest.cc rename to ros/src/model/DescribeResourceTypeDetailRequest.cc index cbf700a9d..f17442219 100644 --- a/ros/src/model/GetResourceTypeTemplateRequest.cc +++ b/ros/src/model/DescribeResourceTypeDetailRequest.cc @@ -14,25 +14,25 @@ * limitations under the License. */ -#include +#include -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); } diff --git a/ros/src/model/DescribeResourceTypeDetailResult.cc b/ros/src/model/DescribeResourceTypeDetailResult.cc new file mode 100644 index 000000000..f016a4c61 --- /dev/null +++ b/ros/src/model/DescribeResourceTypeDetailResult.cc @@ -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 +#include + +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()); + +} + diff --git a/ros/src/model/DescribeResourceTypeTemplateRequest.cc b/ros/src/model/DescribeResourceTypeTemplateRequest.cc new file mode 100644 index 000000000..4f48793b0 --- /dev/null +++ b/ros/src/model/DescribeResourceTypeTemplateRequest.cc @@ -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 + +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); +} + diff --git a/ros/src/model/DescribeResourceTypeTemplateResult.cc b/ros/src/model/DescribeResourceTypeTemplateResult.cc new file mode 100644 index 000000000..22f2ecd67 --- /dev/null +++ b/ros/src/model/DescribeResourceTypeTemplateResult.cc @@ -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 +#include + +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()); + +} + diff --git a/ros/src/model/DescribeResourceTypesRequest.cc b/ros/src/model/DescribeResourceTypesRequest.cc new file mode 100644 index 000000000..fcea7933d --- /dev/null +++ b/ros/src/model/DescribeResourceTypesRequest.cc @@ -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 + +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); +} + diff --git a/ros/src/model/DescribeResourceTypesResult.cc b/ros/src/model/DescribeResourceTypesResult.cc new file mode 100644 index 000000000..db1e962c3 --- /dev/null +++ b/ros/src/model/DescribeResourceTypesResult.cc @@ -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 +#include + +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()); + +} + diff --git a/ros/src/model/DescribeResourcesRequest.cc b/ros/src/model/DescribeResourcesRequest.cc new file mode 100644 index 000000000..497a1b537 --- /dev/null +++ b/ros/src/model/DescribeResourcesRequest.cc @@ -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 + +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); +} + diff --git a/ros/src/model/DescribeResourcesResult.cc b/ros/src/model/DescribeResourcesResult.cc new file mode 100644 index 000000000..45fc5b27a --- /dev/null +++ b/ros/src/model/DescribeResourcesResult.cc @@ -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 +#include + +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()); + +} + diff --git a/ros/src/model/DescribeStackDetailRequest.cc b/ros/src/model/DescribeStackDetailRequest.cc new file mode 100644 index 000000000..1d7c4d2af --- /dev/null +++ b/ros/src/model/DescribeStackDetailRequest.cc @@ -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 + +using AlibabaCloud::ROS::Model::DescribeStackDetailRequest; + +DescribeStackDetailRequest::DescribeStackDetailRequest() : + RoaServiceRequest("ros", "2015-09-01") +{} + +DescribeStackDetailRequest::~DescribeStackDetailRequest() +{} + +std::string DescribeStackDetailRequest::getStackId()const +{ + return stackId_; +} + +void DescribeStackDetailRequest::setStackId(const std::string& stackId) +{ + stackId_ = stackId; + setCoreParameter("StackId", stackId); +} + +std::string DescribeStackDetailRequest::getStackName()const +{ + return stackName_; +} + +void DescribeStackDetailRequest::setStackName(const std::string& stackName) +{ + stackName_ = stackName; + setCoreParameter("StackName", stackName); +} + diff --git a/ros/src/model/DescribeStackDetailResult.cc b/ros/src/model/DescribeStackDetailResult.cc new file mode 100644 index 000000000..40890ff7f --- /dev/null +++ b/ros/src/model/DescribeStackDetailResult.cc @@ -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 +#include + +using namespace AlibabaCloud::ROS; +using namespace AlibabaCloud::ROS::Model; + +DescribeStackDetailResult::DescribeStackDetailResult() : + ServiceResult() +{} + +DescribeStackDetailResult::DescribeStackDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStackDetailResult::~DescribeStackDetailResult() +{} + +void DescribeStackDetailResult::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()); + +} + diff --git a/ros/src/model/DescribeStacksRequest.cc b/ros/src/model/DescribeStacksRequest.cc new file mode 100644 index 000000000..4152bc9bc --- /dev/null +++ b/ros/src/model/DescribeStacksRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::ROS::Model::DescribeStacksRequest; + +DescribeStacksRequest::DescribeStacksRequest() : + RoaServiceRequest("ros", "2015-09-01") +{} + +DescribeStacksRequest::~DescribeStacksRequest() +{} + +std::string DescribeStacksRequest::getStackId()const +{ + return stackId_; +} + +void DescribeStacksRequest::setStackId(const std::string& stackId) +{ + stackId_ = stackId; + setCoreParameter("StackId", stackId); +} + +std::string DescribeStacksRequest::getName()const +{ + return name_; +} + +void DescribeStacksRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +int DescribeStacksRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeStacksRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeStacksRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeStacksRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeStacksRequest::getStatus()const +{ + return status_; +} + +void DescribeStacksRequest::setStatus(const std::string& status) +{ + status_ = status; + setCoreParameter("Status", status); +} + diff --git a/ros/src/model/DescribeStacksResult.cc b/ros/src/model/DescribeStacksResult.cc new file mode 100644 index 000000000..74d14febb --- /dev/null +++ b/ros/src/model/DescribeStacksResult.cc @@ -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 +#include + +using namespace AlibabaCloud::ROS; +using namespace AlibabaCloud::ROS::Model; + +DescribeStacksResult::DescribeStacksResult() : + ServiceResult() +{} + +DescribeStacksResult::DescribeStacksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStacksResult::~DescribeStacksResult() +{} + +void DescribeStacksResult::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()); + +} + diff --git a/ros/src/model/DescribeTemplateRequest.cc b/ros/src/model/DescribeTemplateRequest.cc new file mode 100644 index 000000000..9a65fc847 --- /dev/null +++ b/ros/src/model/DescribeTemplateRequest.cc @@ -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 + +using AlibabaCloud::ROS::Model::DescribeTemplateRequest; + +DescribeTemplateRequest::DescribeTemplateRequest() : + RoaServiceRequest("ros", "2015-09-01") +{} + +DescribeTemplateRequest::~DescribeTemplateRequest() +{} + +std::string DescribeTemplateRequest::getStackId()const +{ + return stackId_; +} + +void DescribeTemplateRequest::setStackId(const std::string& stackId) +{ + stackId_ = stackId; + setCoreParameter("StackId", stackId); +} + +std::string DescribeTemplateRequest::getStackName()const +{ + return stackName_; +} + +void DescribeTemplateRequest::setStackName(const std::string& stackName) +{ + stackName_ = stackName; + setCoreParameter("StackName", stackName); +} + diff --git a/ros/src/model/DescribeTemplateResult.cc b/ros/src/model/DescribeTemplateResult.cc new file mode 100644 index 000000000..06250aa43 --- /dev/null +++ b/ros/src/model/DescribeTemplateResult.cc @@ -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 +#include + +using namespace AlibabaCloud::ROS; +using namespace AlibabaCloud::ROS::Model; + +DescribeTemplateResult::DescribeTemplateResult() : + ServiceResult() +{} + +DescribeTemplateResult::DescribeTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTemplateResult::~DescribeTemplateResult() +{} + +void DescribeTemplateResult::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()); + +} + diff --git a/ros/src/model/DoActionsRequest.cc b/ros/src/model/DoActionsRequest.cc new file mode 100644 index 000000000..6c00539ea --- /dev/null +++ b/ros/src/model/DoActionsRequest.cc @@ -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 + +using AlibabaCloud::ROS::Model::DoActionsRequest; + +DoActionsRequest::DoActionsRequest() : + RoaServiceRequest("ros", "2015-09-01") +{} + +DoActionsRequest::~DoActionsRequest() +{} + +std::string DoActionsRequest::getStackId()const +{ + return stackId_; +} + +void DoActionsRequest::setStackId(const std::string& stackId) +{ + stackId_ = stackId; + setCoreParameter("StackId", stackId); +} + +std::string DoActionsRequest::getStackName()const +{ + return stackName_; +} + +void DoActionsRequest::setStackName(const std::string& stackName) +{ + stackName_ = stackName; + setCoreParameter("StackName", stackName); +} + diff --git a/ros/src/model/DoActionsResult.cc b/ros/src/model/DoActionsResult.cc new file mode 100644 index 000000000..130eba86e --- /dev/null +++ b/ros/src/model/DoActionsResult.cc @@ -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 +#include + +using namespace AlibabaCloud::ROS; +using namespace AlibabaCloud::ROS::Model; + +DoActionsResult::DoActionsResult() : + ServiceResult() +{} + +DoActionsResult::DoActionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DoActionsResult::~DoActionsResult() +{} + +void DoActionsResult::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()); + +} + diff --git a/ros/src/model/ExecuteChangeSetRequest.cc b/ros/src/model/ExecuteChangeSetRequest.cc index 0ebe6e467..87b35739a 100644 --- a/ros/src/model/ExecuteChangeSetRequest.cc +++ b/ros/src/model/ExecuteChangeSetRequest.cc @@ -19,31 +19,42 @@ using AlibabaCloud::ROS::Model::ExecuteChangeSetRequest; ExecuteChangeSetRequest::ExecuteChangeSetRequest() : - RpcServiceRequest("ros", "2019-09-10", "ExecuteChangeSet") + RoaServiceRequest("ros", "2015-09-01") {} ExecuteChangeSetRequest::~ExecuteChangeSetRequest() {} -std::string ExecuteChangeSetRequest::getRegionId()const +std::string ExecuteChangeSetRequest::getChangeSetName()const { - return regionId_; + return changeSetName_; } -void ExecuteChangeSetRequest::setRegionId(const std::string& regionId) +void ExecuteChangeSetRequest::setChangeSetName(const std::string& changeSetName) { - regionId_ = regionId; - setCoreParameter("RegionId", regionId); + changeSetName_ = changeSetName; + setCoreParameter("ChangeSetName", changeSetName); } -std::string ExecuteChangeSetRequest::getChangeSetId()const +std::string ExecuteChangeSetRequest::getStackId()const { - return changeSetId_; + return stackId_; } -void ExecuteChangeSetRequest::setChangeSetId(const std::string& changeSetId) +void ExecuteChangeSetRequest::setStackId(const std::string& stackId) { - changeSetId_ = changeSetId; - setCoreParameter("ChangeSetId", changeSetId); + stackId_ = stackId; + setCoreParameter("StackId", stackId); +} + +std::string ExecuteChangeSetRequest::getStackName()const +{ + return stackName_; +} + +void ExecuteChangeSetRequest::setStackName(const std::string& stackName) +{ + stackName_ = stackName; + setCoreParameter("StackName", stackName); } diff --git a/ros/src/model/ExecuteChangeSetResult.cc b/ros/src/model/ExecuteChangeSetResult.cc index 4850d92c4..29a05bd92 100644 --- a/ros/src/model/ExecuteChangeSetResult.cc +++ b/ros/src/model/ExecuteChangeSetResult.cc @@ -43,6 +43,13 @@ void ExecuteChangeSetResult::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 ExecuteChangeSetResult::getDummy()const +{ + return dummy_; +} + diff --git a/ros/src/model/GetChangeSetRequest.cc b/ros/src/model/GetChangeSetRequest.cc deleted file mode 100644 index 1835f4d37..000000000 --- a/ros/src/model/GetChangeSetRequest.cc +++ /dev/null @@ -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. - */ - -#include - -using AlibabaCloud::ROS::Model::GetChangeSetRequest; - -GetChangeSetRequest::GetChangeSetRequest() : - RpcServiceRequest("ros", "2019-09-10", "GetChangeSet") -{} - -GetChangeSetRequest::~GetChangeSetRequest() -{} - -std::string GetChangeSetRequest::getRegionId()const -{ - return regionId_; -} - -void GetChangeSetRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetChangeSetRequest::getChangeSetId()const -{ - return changeSetId_; -} - -void GetChangeSetRequest::setChangeSetId(const std::string& changeSetId) -{ - changeSetId_ = changeSetId; - setCoreParameter("ChangeSetId", changeSetId); -} - -bool GetChangeSetRequest::getShowTemplate()const -{ - return showTemplate_; -} - -void GetChangeSetRequest::setShowTemplate(bool showTemplate) -{ - showTemplate_ = showTemplate; - setCoreParameter("ShowTemplate", showTemplate ? "true" : "false"); -} - diff --git a/ros/src/model/GetChangeSetResult.cc b/ros/src/model/GetChangeSetResult.cc deleted file mode 100644 index b7734e943..000000000 --- a/ros/src/model/GetChangeSetResult.cc +++ /dev/null @@ -1,162 +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 -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -GetChangeSetResult::GetChangeSetResult() : - ServiceResult() -{} - -GetChangeSetResult::GetChangeSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetChangeSetResult::~GetChangeSetResult() -{} - -void GetChangeSetResult::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()); - auto allParameters = value["Parameters"]["Parameter"]; - for (auto value : allParameters) - { - Parameter parametersObject; - if(!value["ParameterKey"].isNull()) - parametersObject.parameterKey = value["ParameterKey"].asString(); - if(!value["ParameterValue"].isNull()) - parametersObject.parameterValue = value["ParameterValue"].asString(); - parameters_.push_back(parametersObject); - } - auto allChanges = value["Changes"]["Change"]; - for (const auto &item : allChanges) - changes_.push_back(item.asString()); - if(!value["ChangeSetId"].isNull()) - changeSetId_ = value["ChangeSetId"].asString(); - if(!value["ChangeSetName"].isNull()) - changeSetName_ = value["ChangeSetName"].asString(); - if(!value["ChangeSetType"].isNull()) - changeSetType_ = value["ChangeSetType"].asString(); - if(!value["CreateTime"].isNull()) - createTime_ = value["CreateTime"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["DisableRollback"].isNull()) - disableRollback_ = value["DisableRollback"].asString() == "true"; - if(!value["ExecutionStatus"].isNull()) - executionStatus_ = value["ExecutionStatus"].asString(); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["StackId"].isNull()) - stackId_ = value["StackId"].asString(); - if(!value["StackName"].isNull()) - stackName_ = value["StackName"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["TemplateBody"].isNull()) - templateBody_ = value["TemplateBody"].asString(); - if(!value["TimeoutInMinutes"].isNull()) - timeoutInMinutes_ = std::stoi(value["TimeoutInMinutes"].asString()); - -} - -std::vector GetChangeSetResult::getChanges()const -{ - return changes_; -} - -std::string GetChangeSetResult::getStatus()const -{ - return status_; -} - -std::vector GetChangeSetResult::getParameters()const -{ - return parameters_; -} - -std::string GetChangeSetResult::getDescription()const -{ - return description_; -} - -std::string GetChangeSetResult::getCreateTime()const -{ - return createTime_; -} - -std::string GetChangeSetResult::getTemplateBody()const -{ - return templateBody_; -} - -std::string GetChangeSetResult::getChangeSetName()const -{ - return changeSetName_; -} - -std::string GetChangeSetResult::getChangeSetId()const -{ - return changeSetId_; -} - -std::string GetChangeSetResult::getExecutionStatus()const -{ - return executionStatus_; -} - -std::string GetChangeSetResult::getChangeSetType()const -{ - return changeSetType_; -} - -std::string GetChangeSetResult::getRegionId()const -{ - return regionId_; -} - -bool GetChangeSetResult::getDisableRollback()const -{ - return disableRollback_; -} - -std::string GetChangeSetResult::getStackName()const -{ - return stackName_; -} - -std::string GetChangeSetResult::getStackId()const -{ - return stackId_; -} - -int GetChangeSetResult::getTimeoutInMinutes()const -{ - return timeoutInMinutes_; -} - diff --git a/ros/src/model/GetResourceTypeResult.cc b/ros/src/model/GetResourceTypeResult.cc deleted file mode 100644 index f39cacaa6..000000000 --- a/ros/src/model/GetResourceTypeResult.cc +++ /dev/null @@ -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. - */ - -#include -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -GetResourceTypeResult::GetResourceTypeResult() : - ServiceResult() -{} - -GetResourceTypeResult::GetResourceTypeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetResourceTypeResult::~GetResourceTypeResult() -{} - -void GetResourceTypeResult::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["Attributes"].isNull()) - attributes_ = value["Attributes"].asString(); - if(!value["Properties"].isNull()) - properties_ = value["Properties"].asString(); - if(!value["ResourceType"].isNull()) - resourceType_ = value["ResourceType"].asString(); - -} - -std::string GetResourceTypeResult::getAttributes()const -{ - return attributes_; -} - -std::string GetResourceTypeResult::getResourceType()const -{ - return resourceType_; -} - -std::string GetResourceTypeResult::getProperties()const -{ - return properties_; -} - diff --git a/ros/src/model/GetResourceTypeTemplateResult.cc b/ros/src/model/GetResourceTypeTemplateResult.cc deleted file mode 100644 index 17abee461..000000000 --- a/ros/src/model/GetResourceTypeTemplateResult.cc +++ /dev/null @@ -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. - */ - -#include -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -GetResourceTypeTemplateResult::GetResourceTypeTemplateResult() : - ServiceResult() -{} - -GetResourceTypeTemplateResult::GetResourceTypeTemplateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetResourceTypeTemplateResult::~GetResourceTypeTemplateResult() -{} - -void GetResourceTypeTemplateResult::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["TemplateBody"].isNull()) - templateBody_ = value["TemplateBody"].asString(); - -} - -std::string GetResourceTypeTemplateResult::getTemplateBody()const -{ - return templateBody_; -} - diff --git a/ros/src/model/GetStackPolicyRequest.cc b/ros/src/model/GetStackPolicyRequest.cc index df2a17dc9..954df6a87 100644 --- a/ros/src/model/GetStackPolicyRequest.cc +++ b/ros/src/model/GetStackPolicyRequest.cc @@ -19,23 +19,12 @@ using AlibabaCloud::ROS::Model::GetStackPolicyRequest; GetStackPolicyRequest::GetStackPolicyRequest() : - RpcServiceRequest("ros", "2019-09-10", "GetStackPolicy") + RoaServiceRequest("ros", "2015-09-01") {} GetStackPolicyRequest::~GetStackPolicyRequest() {} -std::string GetStackPolicyRequest::getRegionId()const -{ - return regionId_; -} - -void GetStackPolicyRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - std::string GetStackPolicyRequest::getStackId()const { return stackId_; @@ -47,3 +36,14 @@ void GetStackPolicyRequest::setStackId(const std::string& stackId) setCoreParameter("StackId", stackId); } +std::string GetStackPolicyRequest::getStackName()const +{ + return stackName_; +} + +void GetStackPolicyRequest::setStackName(const std::string& stackName) +{ + stackName_ = stackName; + setCoreParameter("StackName", stackName); +} + diff --git a/ros/src/model/GetStackPolicyResult.cc b/ros/src/model/GetStackPolicyResult.cc index fabe2a089..087bb404b 100644 --- a/ros/src/model/GetStackPolicyResult.cc +++ b/ros/src/model/GetStackPolicyResult.cc @@ -43,13 +43,6 @@ void GetStackPolicyResult::parse(const std::string &payload) reader->parse(payload.data(), payload.data() + payload.size(), val, errs); value = *val; setRequestId(value["RequestId"].asString()); - if(!value["StackPolicyBody"].isNull()) - stackPolicyBody_ = value["StackPolicyBody"].asString(); } -std::string GetStackPolicyResult::getStackPolicyBody()const -{ - return stackPolicyBody_; -} - diff --git a/ros/src/model/GetStackRequest.cc b/ros/src/model/GetStackRequest.cc deleted file mode 100644 index 22e5a348d..000000000 --- a/ros/src/model/GetStackRequest.cc +++ /dev/null @@ -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. - */ - -#include - -using AlibabaCloud::ROS::Model::GetStackRequest; - -GetStackRequest::GetStackRequest() : - RpcServiceRequest("ros", "2019-09-10", "GetStack") -{} - -GetStackRequest::~GetStackRequest() -{} - -std::string GetStackRequest::getRegionId()const -{ - return regionId_; -} - -void GetStackRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetStackRequest::getClientToken()const -{ - return clientToken_; -} - -void GetStackRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setCoreParameter("ClientToken", clientToken); -} - -std::string GetStackRequest::getStackId()const -{ - return stackId_; -} - -void GetStackRequest::setStackId(const std::string& stackId) -{ - stackId_ = stackId; - setCoreParameter("StackId", stackId); -} - diff --git a/ros/src/model/GetStackResourceRequest.cc b/ros/src/model/GetStackResourceRequest.cc deleted file mode 100644 index b146af8a9..000000000 --- a/ros/src/model/GetStackResourceRequest.cc +++ /dev/null @@ -1,82 +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 - -using AlibabaCloud::ROS::Model::GetStackResourceRequest; - -GetStackResourceRequest::GetStackResourceRequest() : - RpcServiceRequest("ros", "2019-09-10", "GetStackResource") -{} - -GetStackResourceRequest::~GetStackResourceRequest() -{} - -std::string GetStackResourceRequest::getClientToken()const -{ - return clientToken_; -} - -void GetStackResourceRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setCoreParameter("ClientToken", clientToken); -} - -std::string GetStackResourceRequest::getRegionId()const -{ - return regionId_; -} - -void GetStackResourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetStackResourceRequest::getStackId()const -{ - return stackId_; -} - -void GetStackResourceRequest::setStackId(const std::string& stackId) -{ - stackId_ = stackId; - setCoreParameter("StackId", stackId); -} - -std::string GetStackResourceRequest::getLogicalResourceId()const -{ - return logicalResourceId_; -} - -void GetStackResourceRequest::setLogicalResourceId(const std::string& logicalResourceId) -{ - logicalResourceId_ = logicalResourceId; - setCoreParameter("LogicalResourceId", logicalResourceId); -} - -bool GetStackResourceRequest::getShowResourceAttributes()const -{ - return showResourceAttributes_; -} - -void GetStackResourceRequest::setShowResourceAttributes(bool showResourceAttributes) -{ - showResourceAttributes_ = showResourceAttributes; - setCoreParameter("ShowResourceAttributes", showResourceAttributes ? "true" : "false"); -} - diff --git a/ros/src/model/GetStackResourceResult.cc b/ros/src/model/GetStackResourceResult.cc deleted file mode 100644 index 5ac81d205..000000000 --- a/ros/src/model/GetStackResourceResult.cc +++ /dev/null @@ -1,133 +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 -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -GetStackResourceResult::GetStackResourceResult() : - ServiceResult() -{} - -GetStackResourceResult::GetStackResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetStackResourceResult::~GetStackResourceResult() -{} - -void GetStackResourceResult::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()); - auto allResourceAttributes = value["ResourceAttributes"]["ResourceAttribute"]; - for (const auto &item : allResourceAttributes) - resourceAttributes_.push_back(item.asString()); - if(!value["CreateTime"].isNull()) - createTime_ = value["CreateTime"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["LogicalResourceId"].isNull()) - logicalResourceId_ = value["LogicalResourceId"].asString(); - if(!value["Metadata"].isNull()) - metadata_ = value["Metadata"].asString(); - if(!value["PhysicalResourceId"].isNull()) - physicalResourceId_ = value["PhysicalResourceId"].asString(); - if(!value["ResourceType"].isNull()) - resourceType_ = value["ResourceType"].asString(); - if(!value["StackId"].isNull()) - stackId_ = value["StackId"].asString(); - if(!value["StackName"].isNull()) - stackName_ = value["StackName"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["StatusReason"].isNull()) - statusReason_ = value["StatusReason"].asString(); - if(!value["UpdateTime"].isNull()) - updateTime_ = value["UpdateTime"].asString(); - -} - -std::string GetStackResourceResult::getStatus()const -{ - return status_; -} - -std::string GetStackResourceResult::getLogicalResourceId()const -{ - return logicalResourceId_; -} - -std::string GetStackResourceResult::getDescription()const -{ - return description_; -} - -std::string GetStackResourceResult::getPhysicalResourceId()const -{ - return physicalResourceId_; -} - -std::string GetStackResourceResult::getStatusReason()const -{ - return statusReason_; -} - -std::string GetStackResourceResult::getCreateTime()const -{ - return createTime_; -} - -std::string GetStackResourceResult::getMetadata()const -{ - return metadata_; -} - -std::string GetStackResourceResult::getUpdateTime()const -{ - return updateTime_; -} - -std::string GetStackResourceResult::getResourceType()const -{ - return resourceType_; -} - -std::vector GetStackResourceResult::getResourceAttributes()const -{ - return resourceAttributes_; -} - -std::string GetStackResourceResult::getStackName()const -{ - return stackName_; -} - -std::string GetStackResourceResult::getStackId()const -{ - return stackId_; -} - diff --git a/ros/src/model/GetStackResult.cc b/ros/src/model/GetStackResult.cc deleted file mode 100644 index bcfeecbeb..000000000 --- a/ros/src/model/GetStackResult.cc +++ /dev/null @@ -1,163 +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 -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -GetStackResult::GetStackResult() : - ServiceResult() -{} - -GetStackResult::GetStackResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetStackResult::~GetStackResult() -{} - -void GetStackResult::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()); - auto allParameters = value["Parameters"]["Parameter"]; - for (auto value : allParameters) - { - Parameter parametersObject; - if(!value["ParameterKey"].isNull()) - parametersObject.parameterKey = value["ParameterKey"].asString(); - if(!value["ParameterValue"].isNull()) - parametersObject.parameterValue = value["ParameterValue"].asString(); - parameters_.push_back(parametersObject); - } - auto allOutputs = value["Outputs"]["Output"]; - for (const auto &item : allOutputs) - outputs_.push_back(item.asString()); - auto allNotificationURLs = value["NotificationURLs"]["NotificationURL"]; - for (const auto &item : allNotificationURLs) - notificationURLs_.push_back(item.asString()); - if(!value["CreateTime"].isNull()) - createTime_ = value["CreateTime"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["DisableRollback"].isNull()) - disableRollback_ = value["DisableRollback"].asString() == "true"; - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["StackId"].isNull()) - stackId_ = value["StackId"].asString(); - if(!value["StackName"].isNull()) - stackName_ = value["StackName"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["StatusReason"].isNull()) - statusReason_ = value["StatusReason"].asString(); - if(!value["TemplateDescription"].isNull()) - templateDescription_ = value["TemplateDescription"].asString(); - if(!value["TimeoutInMinutes"].isNull()) - timeoutInMinutes_ = std::stoi(value["TimeoutInMinutes"].asString()); - if(!value["UpdateTime"].isNull()) - updateTime_ = value["UpdateTime"].asString(); - if(!value["ParentStackId"].isNull()) - parentStackId_ = value["ParentStackId"].asString(); - -} - -std::string GetStackResult::getStatus()const -{ - return status_; -} - -std::vector GetStackResult::getParameters()const -{ - return parameters_; -} - -std::string GetStackResult::getDescription()const -{ - return description_; -} - -std::string GetStackResult::getStatusReason()const -{ - return statusReason_; -} - -std::string GetStackResult::getParentStackId()const -{ - return parentStackId_; -} - -std::string GetStackResult::getCreateTime()const -{ - return createTime_; -} - -std::string GetStackResult::getTemplateDescription()const -{ - return templateDescription_; -} - -std::vector GetStackResult::getOutputs()const -{ - return outputs_; -} - -std::string GetStackResult::getUpdateTime()const -{ - return updateTime_; -} - -std::string GetStackResult::getRegionId()const -{ - return regionId_; -} - -std::vector GetStackResult::getNotificationURLs()const -{ - return notificationURLs_; -} - -bool GetStackResult::getDisableRollback()const -{ - return disableRollback_; -} - -std::string GetStackResult::getStackName()const -{ - return stackName_; -} - -std::string GetStackResult::getStackId()const -{ - return stackId_; -} - -int GetStackResult::getTimeoutInMinutes()const -{ - return timeoutInMinutes_; -} - diff --git a/ros/src/model/GetTemplateEstimateCostRequest.cc b/ros/src/model/GetTemplateEstimateCostRequest.cc deleted file mode 100644 index 44c364176..000000000 --- a/ros/src/model/GetTemplateEstimateCostRequest.cc +++ /dev/null @@ -1,88 +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 - -using AlibabaCloud::ROS::Model::GetTemplateEstimateCostRequest; - -GetTemplateEstimateCostRequest::GetTemplateEstimateCostRequest() : - RpcServiceRequest("ros", "2019-09-10", "GetTemplateEstimateCost") -{} - -GetTemplateEstimateCostRequest::~GetTemplateEstimateCostRequest() -{} - -std::string GetTemplateEstimateCostRequest::getRegionId()const -{ - return regionId_; -} - -void GetTemplateEstimateCostRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetTemplateEstimateCostRequest::getClientToken()const -{ - return clientToken_; -} - -void GetTemplateEstimateCostRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setCoreParameter("ClientToken", clientToken); -} - -std::string GetTemplateEstimateCostRequest::getTemplateBody()const -{ - return templateBody_; -} - -void GetTemplateEstimateCostRequest::setTemplateBody(const std::string& templateBody) -{ - templateBody_ = templateBody; - setCoreParameter("TemplateBody", templateBody); -} - -std::vector GetTemplateEstimateCostRequest::getParameters()const -{ - return parameters_; -} - -void GetTemplateEstimateCostRequest::setParameters(const std::vector& 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 GetTemplateEstimateCostRequest::getTemplateURL()const -{ - return templateURL_; -} - -void GetTemplateEstimateCostRequest::setTemplateURL(const std::string& templateURL) -{ - templateURL_ = templateURL; - setCoreParameter("TemplateURL", templateURL); -} - diff --git a/ros/src/model/GetTemplateRequest.cc b/ros/src/model/GetTemplateRequest.cc deleted file mode 100644 index bcea4beb3..000000000 --- a/ros/src/model/GetTemplateRequest.cc +++ /dev/null @@ -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. - */ - -#include - -using AlibabaCloud::ROS::Model::GetTemplateRequest; - -GetTemplateRequest::GetTemplateRequest() : - RpcServiceRequest("ros", "2019-09-10", "GetTemplate") -{} - -GetTemplateRequest::~GetTemplateRequest() -{} - -std::string GetTemplateRequest::getRegionId()const -{ - return regionId_; -} - -void GetTemplateRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetTemplateRequest::getStackId()const -{ - return stackId_; -} - -void GetTemplateRequest::setStackId(const std::string& stackId) -{ - stackId_ = stackId; - setCoreParameter("StackId", stackId); -} - -std::string GetTemplateRequest::getChangeSetId()const -{ - return changeSetId_; -} - -void GetTemplateRequest::setChangeSetId(const std::string& changeSetId) -{ - changeSetId_ = changeSetId; - setCoreParameter("ChangeSetId", changeSetId); -} - diff --git a/ros/src/model/GetResourceTypeRequest.cc b/ros/src/model/InquiryStackRequest.cc similarity index 54% rename from ros/src/model/GetResourceTypeRequest.cc rename to ros/src/model/InquiryStackRequest.cc index 4eac18e7f..2f93074e7 100644 --- a/ros/src/model/GetResourceTypeRequest.cc +++ b/ros/src/model/InquiryStackRequest.cc @@ -14,25 +14,14 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::ROS::Model::GetResourceTypeRequest; +using AlibabaCloud::ROS::Model::InquiryStackRequest; -GetResourceTypeRequest::GetResourceTypeRequest() : - RpcServiceRequest("ros", "2019-09-10", "GetResourceType") +InquiryStackRequest::InquiryStackRequest() : + RoaServiceRequest("ros", "2015-09-01") {} -GetResourceTypeRequest::~GetResourceTypeRequest() +InquiryStackRequest::~InquiryStackRequest() {} -std::string GetResourceTypeRequest::getResourceType()const -{ - return resourceType_; -} - -void GetResourceTypeRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - diff --git a/ros/src/model/InquiryStackResult.cc b/ros/src/model/InquiryStackResult.cc new file mode 100644 index 000000000..a077a1504 --- /dev/null +++ b/ros/src/model/InquiryStackResult.cc @@ -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 +#include + +using namespace AlibabaCloud::ROS; +using namespace AlibabaCloud::ROS::Model; + +InquiryStackResult::InquiryStackResult() : + ServiceResult() +{} + +InquiryStackResult::InquiryStackResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InquiryStackResult::~InquiryStackResult() +{} + +void InquiryStackResult::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()); + +} + diff --git a/ros/src/model/ListChangeSetsRequest.cc b/ros/src/model/ListChangeSetsRequest.cc deleted file mode 100644 index 0ed4895db..000000000 --- a/ros/src/model/ListChangeSetsRequest.cc +++ /dev/null @@ -1,107 +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 - -using AlibabaCloud::ROS::Model::ListChangeSetsRequest; - -ListChangeSetsRequest::ListChangeSetsRequest() : - RpcServiceRequest("ros", "2019-09-10", "ListChangeSets") -{} - -ListChangeSetsRequest::~ListChangeSetsRequest() -{} - -std::vector ListChangeSetsRequest::getExecutionStatus()const -{ - return executionStatus_; -} - -void ListChangeSetsRequest::setExecutionStatus(const std::vector& executionStatus) -{ - executionStatus_ = executionStatus; - for(int i = 0; i!= executionStatus.size(); i++) - setCoreParameter("ExecutionStatus."+ std::to_string(i), executionStatus.at(i)); -} - -std::vector ListChangeSetsRequest::getChangeSetName()const -{ - return changeSetName_; -} - -void ListChangeSetsRequest::setChangeSetName(const std::vector& changeSetName) -{ - changeSetName_ = changeSetName; - for(int i = 0; i!= changeSetName.size(); i++) - setCoreParameter("ChangeSetName."+ std::to_string(i), changeSetName.at(i)); -} - -std::string ListChangeSetsRequest::getRegionId()const -{ - return regionId_; -} - -void ListChangeSetsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListChangeSetsRequest::getStackId()const -{ - return stackId_; -} - -void ListChangeSetsRequest::setStackId(const std::string& stackId) -{ - stackId_ = stackId; - setCoreParameter("StackId", stackId); -} - -long ListChangeSetsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListChangeSetsRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -long ListChangeSetsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListChangeSetsRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::vector ListChangeSetsRequest::getStatus()const -{ - return status_; -} - -void ListChangeSetsRequest::setStatus(const std::vector& status) -{ - status_ = status; - for(int i = 0; i!= status.size(); i++) - setCoreParameter("Status."+ std::to_string(i), status.at(i)); -} - diff --git a/ros/src/model/ListChangeSetsResult.cc b/ros/src/model/ListChangeSetsResult.cc deleted file mode 100644 index 6eaa4ea46..000000000 --- a/ros/src/model/ListChangeSetsResult.cc +++ /dev/null @@ -1,100 +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 -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -ListChangeSetsResult::ListChangeSetsResult() : - ServiceResult() -{} - -ListChangeSetsResult::ListChangeSetsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListChangeSetsResult::~ListChangeSetsResult() -{} - -void ListChangeSetsResult::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()); - auto allChangeSets = value["ChangeSets"]["ChangeSet"]; - for (auto value : allChangeSets) - { - ChangeSet changeSetsObject; - if(!value["ChangeSetId"].isNull()) - changeSetsObject.changeSetId = value["ChangeSetId"].asString(); - if(!value["ChangeSetName"].isNull()) - changeSetsObject.changeSetName = value["ChangeSetName"].asString(); - if(!value["ChangeSetType"].isNull()) - changeSetsObject.changeSetType = value["ChangeSetType"].asString(); - if(!value["CreateTime"].isNull()) - changeSetsObject.createTime = value["CreateTime"].asString(); - if(!value["Description"].isNull()) - changeSetsObject.description = value["Description"].asString(); - if(!value["ExecutionStatus"].isNull()) - changeSetsObject.executionStatus = value["ExecutionStatus"].asString(); - if(!value["RegionId"].isNull()) - changeSetsObject.regionId = value["RegionId"].asString(); - if(!value["StackId"].isNull()) - changeSetsObject.stackId = value["StackId"].asString(); - if(!value["StackName"].isNull()) - changeSetsObject.stackName = value["StackName"].asString(); - if(!value["Status"].isNull()) - changeSetsObject.status = value["Status"].asString(); - changeSets_.push_back(changeSetsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListChangeSetsResult::getTotalCount()const -{ - return totalCount_; -} - -int ListChangeSetsResult::getPageSize()const -{ - return pageSize_; -} - -int ListChangeSetsResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListChangeSetsResult::getChangeSets()const -{ - return changeSets_; -} - diff --git a/ros/src/model/ListResourceTypesResult.cc b/ros/src/model/ListResourceTypesResult.cc deleted file mode 100644 index bd9a0a406..000000000 --- a/ros/src/model/ListResourceTypesResult.cc +++ /dev/null @@ -1,56 +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 -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -ListResourceTypesResult::ListResourceTypesResult() : - ServiceResult() -{} - -ListResourceTypesResult::ListResourceTypesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListResourceTypesResult::~ListResourceTypesResult() -{} - -void ListResourceTypesResult::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()); - auto allResourceTypes = value["ResourceTypes"]["ResourceType"]; - for (const auto &item : allResourceTypes) - resourceTypes_.push_back(item.asString()); - -} - -std::vector ListResourceTypesResult::getResourceTypes()const -{ - return resourceTypes_; -} - diff --git a/ros/src/model/ListStackEventsRequest.cc b/ros/src/model/ListStackEventsRequest.cc deleted file mode 100644 index d83bac913..000000000 --- a/ros/src/model/ListStackEventsRequest.cc +++ /dev/null @@ -1,107 +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 - -using AlibabaCloud::ROS::Model::ListStackEventsRequest; - -ListStackEventsRequest::ListStackEventsRequest() : - RpcServiceRequest("ros", "2019-09-10", "ListStackEvents") -{} - -ListStackEventsRequest::~ListStackEventsRequest() -{} - -std::string ListStackEventsRequest::getRegionId()const -{ - return regionId_; -} - -void ListStackEventsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListStackEventsRequest::getStackId()const -{ - return stackId_; -} - -void ListStackEventsRequest::setStackId(const std::string& stackId) -{ - stackId_ = stackId; - setCoreParameter("StackId", stackId); -} - -long ListStackEventsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListStackEventsRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::vector ListStackEventsRequest::getLogicalResourceId()const -{ - return logicalResourceId_; -} - -void ListStackEventsRequest::setLogicalResourceId(const std::vector& logicalResourceId) -{ - logicalResourceId_ = logicalResourceId; - for(int i = 0; i!= logicalResourceId.size(); i++) - setCoreParameter("LogicalResourceId."+ std::to_string(i), logicalResourceId.at(i)); -} - -std::vector ListStackEventsRequest::getResourceType()const -{ - return resourceType_; -} - -void ListStackEventsRequest::setResourceType(const std::vector& resourceType) -{ - resourceType_ = resourceType; - for(int i = 0; i!= resourceType.size(); i++) - setCoreParameter("ResourceType."+ std::to_string(i), resourceType.at(i)); -} - -long ListStackEventsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListStackEventsRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::vector ListStackEventsRequest::getStatus()const -{ - return status_; -} - -void ListStackEventsRequest::setStatus(const std::vector& status) -{ - status_ = status; - for(int i = 0; i!= status.size(); i++) - setCoreParameter("Status."+ std::to_string(i), status.at(i)); -} - diff --git a/ros/src/model/ListStackEventsResult.cc b/ros/src/model/ListStackEventsResult.cc deleted file mode 100644 index 27829ec79..000000000 --- a/ros/src/model/ListStackEventsResult.cc +++ /dev/null @@ -1,98 +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 -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -ListStackEventsResult::ListStackEventsResult() : - ServiceResult() -{} - -ListStackEventsResult::ListStackEventsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListStackEventsResult::~ListStackEventsResult() -{} - -void ListStackEventsResult::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()); - auto allEvents = value["Events"]["Event"]; - for (auto value : allEvents) - { - Event eventsObject; - if(!value["CreateTime"].isNull()) - eventsObject.createTime = value["CreateTime"].asString(); - if(!value["EventId"].isNull()) - eventsObject.eventId = value["EventId"].asString(); - if(!value["LogicalResourceId"].isNull()) - eventsObject.logicalResourceId = value["LogicalResourceId"].asString(); - if(!value["PhysicalResourceId"].isNull()) - eventsObject.physicalResourceId = value["PhysicalResourceId"].asString(); - if(!value["ResourceType"].isNull()) - eventsObject.resourceType = value["ResourceType"].asString(); - if(!value["StackId"].isNull()) - eventsObject.stackId = value["StackId"].asString(); - if(!value["StackName"].isNull()) - eventsObject.stackName = value["StackName"].asString(); - if(!value["Status"].isNull()) - eventsObject.status = value["Status"].asString(); - if(!value["StatusReason"].isNull()) - eventsObject.statusReason = value["StatusReason"].asString(); - events_.push_back(eventsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListStackEventsResult::getTotalCount()const -{ - return totalCount_; -} - -int ListStackEventsResult::getPageSize()const -{ - return pageSize_; -} - -std::vector ListStackEventsResult::getEvents()const -{ - return events_; -} - -int ListStackEventsResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/ros/src/model/ListStackResourcesResult.cc b/ros/src/model/ListStackResourcesResult.cc deleted file mode 100644 index 5582a5233..000000000 --- a/ros/src/model/ListStackResourcesResult.cc +++ /dev/null @@ -1,77 +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 -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -ListStackResourcesResult::ListStackResourcesResult() : - ServiceResult() -{} - -ListStackResourcesResult::ListStackResourcesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListStackResourcesResult::~ListStackResourcesResult() -{} - -void ListStackResourcesResult::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()); - auto allResources = value["Resources"]["Resource"]; - for (auto value : allResources) - { - Resource resourcesObject; - if(!value["CreateTime"].isNull()) - resourcesObject.createTime = value["CreateTime"].asString(); - if(!value["LogicalResourceId"].isNull()) - resourcesObject.logicalResourceId = value["LogicalResourceId"].asString(); - if(!value["PhysicalResourceId"].isNull()) - resourcesObject.physicalResourceId = value["PhysicalResourceId"].asString(); - if(!value["ResourceType"].isNull()) - resourcesObject.resourceType = value["ResourceType"].asString(); - if(!value["StackId"].isNull()) - resourcesObject.stackId = value["StackId"].asString(); - if(!value["StackName"].isNull()) - resourcesObject.stackName = value["StackName"].asString(); - if(!value["Status"].isNull()) - resourcesObject.status = value["Status"].asString(); - if(!value["StatusReason"].isNull()) - resourcesObject.statusReason = value["StatusReason"].asString(); - if(!value["UpdateTime"].isNull()) - resourcesObject.updateTime = value["UpdateTime"].asString(); - resources_.push_back(resourcesObject); - } - -} - -std::vector ListStackResourcesResult::getResources()const -{ - return resources_; -} - diff --git a/ros/src/model/ListStacksRequest.cc b/ros/src/model/ListStacksRequest.cc deleted file mode 100644 index 15a7c2e60..000000000 --- a/ros/src/model/ListStacksRequest.cc +++ /dev/null @@ -1,106 +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 - -using AlibabaCloud::ROS::Model::ListStacksRequest; - -ListStacksRequest::ListStacksRequest() : - RpcServiceRequest("ros", "2019-09-10", "ListStacks") -{} - -ListStacksRequest::~ListStacksRequest() -{} - -std::string ListStacksRequest::getParentStackId()const -{ - return parentStackId_; -} - -void ListStacksRequest::setParentStackId(const std::string& parentStackId) -{ - parentStackId_ = parentStackId; - setCoreParameter("ParentStackId", parentStackId); -} - -bool ListStacksRequest::getShowNestedStack()const -{ - return showNestedStack_; -} - -void ListStacksRequest::setShowNestedStack(bool showNestedStack) -{ - showNestedStack_ = showNestedStack; - setCoreParameter("ShowNestedStack", showNestedStack ? "true" : "false"); -} - -std::string ListStacksRequest::getRegionId()const -{ - return regionId_; -} - -void ListStacksRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -long ListStacksRequest::getPageSize()const -{ - return pageSize_; -} - -void ListStacksRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::vector ListStacksRequest::getStackName()const -{ - return stackName_; -} - -void ListStacksRequest::setStackName(const std::vector& stackName) -{ - stackName_ = stackName; - for(int i = 0; i!= stackName.size(); i++) - setCoreParameter("StackName."+ std::to_string(i), stackName.at(i)); -} - -long ListStacksRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListStacksRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::vector ListStacksRequest::getStatus()const -{ - return status_; -} - -void ListStacksRequest::setStatus(const std::vector& status) -{ - status_ = status; - for(int i = 0; i!= status.size(); i++) - setCoreParameter("Status."+ std::to_string(i), status.at(i)); -} - diff --git a/ros/src/model/ListStacksResult.cc b/ros/src/model/ListStacksResult.cc deleted file mode 100644 index 911ea1cf8..000000000 --- a/ros/src/model/ListStacksResult.cc +++ /dev/null @@ -1,100 +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 -#include - -using namespace AlibabaCloud::ROS; -using namespace AlibabaCloud::ROS::Model; - -ListStacksResult::ListStacksResult() : - ServiceResult() -{} - -ListStacksResult::ListStacksResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListStacksResult::~ListStacksResult() -{} - -void ListStacksResult::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()); - auto allStacks = value["Stacks"]["Stack"]; - for (auto value : allStacks) - { - Stack stacksObject; - if(!value["CreateTime"].isNull()) - stacksObject.createTime = value["CreateTime"].asString(); - if(!value["DisableRollback"].isNull()) - stacksObject.disableRollback = value["DisableRollback"].asString() == "true"; - if(!value["RegionId"].isNull()) - stacksObject.regionId = value["RegionId"].asString(); - if(!value["StackId"].isNull()) - stacksObject.stackId = value["StackId"].asString(); - if(!value["StackName"].isNull()) - stacksObject.stackName = value["StackName"].asString(); - if(!value["Status"].isNull()) - stacksObject.status = value["Status"].asString(); - if(!value["StatusReason"].isNull()) - stacksObject.statusReason = value["StatusReason"].asString(); - if(!value["TimeoutInMinutes"].isNull()) - stacksObject.timeoutInMinutes = std::stoi(value["TimeoutInMinutes"].asString()); - if(!value["ParentStackId"].isNull()) - stacksObject.parentStackId = value["ParentStackId"].asString(); - if(!value["UpdateTime"].isNull()) - stacksObject.updateTime = value["UpdateTime"].asString(); - stacks_.push_back(stacksObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListStacksResult::getTotalCount()const -{ - return totalCount_; -} - -int ListStacksResult::getPageSize()const -{ - return pageSize_; -} - -int ListStacksResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListStacksResult::getStacks()const -{ - return stacks_; -} - diff --git a/ros/src/model/PreviewStackRequest.cc b/ros/src/model/PreviewStackRequest.cc index c58cc67f1..e7ccc2d28 100644 --- a/ros/src/model/PreviewStackRequest.cc +++ b/ros/src/model/PreviewStackRequest.cc @@ -19,125 +19,9 @@ using AlibabaCloud::ROS::Model::PreviewStackRequest; PreviewStackRequest::PreviewStackRequest() : - RpcServiceRequest("ros", "2019-09-10", "PreviewStack") + RoaServiceRequest("ros", "2015-09-01") {} PreviewStackRequest::~PreviewStackRequest() {} -std::string PreviewStackRequest::getStackPolicyURL()const -{ - return stackPolicyURL_; -} - -void PreviewStackRequest::setStackPolicyURL(const std::string& stackPolicyURL) -{ - stackPolicyURL_ = stackPolicyURL; - setCoreParameter("StackPolicyURL", stackPolicyURL); -} - -std::string PreviewStackRequest::getRegionId()const -{ - return regionId_; -} - -void PreviewStackRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string PreviewStackRequest::getClientToken()const -{ - return clientToken_; -} - -void PreviewStackRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setCoreParameter("ClientToken", clientToken); -} - -std::string PreviewStackRequest::getTemplateBody()const -{ - return templateBody_; -} - -void PreviewStackRequest::setTemplateBody(const std::string& templateBody) -{ - templateBody_ = templateBody; - setCoreParameter("TemplateBody", templateBody); -} - -bool PreviewStackRequest::getDisableRollback()const -{ - return disableRollback_; -} - -void PreviewStackRequest::setDisableRollback(bool disableRollback) -{ - disableRollback_ = disableRollback; - setCoreParameter("DisableRollback", disableRollback ? "true" : "false"); -} - -std::string PreviewStackRequest::getStackName()const -{ - return stackName_; -} - -void PreviewStackRequest::setStackName(const std::string& stackName) -{ - stackName_ = stackName; - setCoreParameter("StackName", stackName); -} - -std::vector PreviewStackRequest::getParameters()const -{ - return parameters_; -} - -void PreviewStackRequest::setParameters(const std::vector& 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 PreviewStackRequest::getStackPolicyBody()const -{ - return stackPolicyBody_; -} - -void PreviewStackRequest::setStackPolicyBody(const std::string& stackPolicyBody) -{ - stackPolicyBody_ = stackPolicyBody; - setCoreParameter("StackPolicyBody", stackPolicyBody); -} - -long PreviewStackRequest::getTimeoutInMinutes()const -{ - return timeoutInMinutes_; -} - -void PreviewStackRequest::setTimeoutInMinutes(long timeoutInMinutes) -{ - timeoutInMinutes_ = timeoutInMinutes; - setCoreParameter("TimeoutInMinutes", std::to_string(timeoutInMinutes)); -} - -std::string PreviewStackRequest::getTemplateURL()const -{ - return templateURL_; -} - -void PreviewStackRequest::setTemplateURL(const std::string& templateURL) -{ - templateURL_ = templateURL; - setCoreParameter("TemplateURL", templateURL); -} - diff --git a/ros/src/model/PreviewStackResult.cc b/ros/src/model/PreviewStackResult.cc index 079542f59..680179662 100644 --- a/ros/src/model/PreviewStackResult.cc +++ b/ros/src/model/PreviewStackResult.cc @@ -43,13 +43,6 @@ void PreviewStackResult::parse(const std::string &payload) reader->parse(payload.data(), payload.data() + payload.size(), val, errs); value = *val; setRequestId(value["RequestId"].asString()); - if(!value["Stack"].isNull()) - stack_ = value["Stack"].asString(); } -std::string PreviewStackResult::getStack()const -{ - return stack_; -} - diff --git a/ros/src/model/SetStackPolicyRequest.cc b/ros/src/model/SetStackPolicyRequest.cc index 40d89f275..c510da797 100644 --- a/ros/src/model/SetStackPolicyRequest.cc +++ b/ros/src/model/SetStackPolicyRequest.cc @@ -19,34 +19,12 @@ using AlibabaCloud::ROS::Model::SetStackPolicyRequest; SetStackPolicyRequest::SetStackPolicyRequest() : - RpcServiceRequest("ros", "2019-09-10", "SetStackPolicy") + RoaServiceRequest("ros", "2015-09-01") {} SetStackPolicyRequest::~SetStackPolicyRequest() {} -std::string SetStackPolicyRequest::getRegionId()const -{ - return regionId_; -} - -void SetStackPolicyRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string SetStackPolicyRequest::getStackPolicyURL()const -{ - return stackPolicyURL_; -} - -void SetStackPolicyRequest::setStackPolicyURL(const std::string& stackPolicyURL) -{ - stackPolicyURL_ = stackPolicyURL; - setCoreParameter("StackPolicyURL", stackPolicyURL); -} - std::string SetStackPolicyRequest::getStackId()const { return stackId_; @@ -58,14 +36,14 @@ void SetStackPolicyRequest::setStackId(const std::string& stackId) setCoreParameter("StackId", stackId); } -std::string SetStackPolicyRequest::getStackPolicyBody()const +std::string SetStackPolicyRequest::getStackName()const { - return stackPolicyBody_; + return stackName_; } -void SetStackPolicyRequest::setStackPolicyBody(const std::string& stackPolicyBody) +void SetStackPolicyRequest::setStackName(const std::string& stackName) { - stackPolicyBody_ = stackPolicyBody; - setCoreParameter("StackPolicyBody", stackPolicyBody); + stackName_ = stackName; + setCoreParameter("StackName", stackName); } diff --git a/ros/src/model/SignalResourceRequest.cc b/ros/src/model/SignalResourceRequest.cc deleted file mode 100644 index d531243b2..000000000 --- a/ros/src/model/SignalResourceRequest.cc +++ /dev/null @@ -1,104 +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 - -using AlibabaCloud::ROS::Model::SignalResourceRequest; - -SignalResourceRequest::SignalResourceRequest() : - RpcServiceRequest("ros", "2019-09-10", "SignalResource") -{} - -SignalResourceRequest::~SignalResourceRequest() -{} - -std::string SignalResourceRequest::getData()const -{ - return data_; -} - -void SignalResourceRequest::setData(const std::string& data) -{ - data_ = data; - setCoreParameter("Data", data); -} - -std::string SignalResourceRequest::getRegionId()const -{ - return regionId_; -} - -void SignalResourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string SignalResourceRequest::getClientToken()const -{ - return clientToken_; -} - -void SignalResourceRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setCoreParameter("ClientToken", clientToken); -} - -std::string SignalResourceRequest::getStackId()const -{ - return stackId_; -} - -void SignalResourceRequest::setStackId(const std::string& stackId) -{ - stackId_ = stackId; - setCoreParameter("StackId", stackId); -} - -std::string SignalResourceRequest::getLogicalResourceId()const -{ - return logicalResourceId_; -} - -void SignalResourceRequest::setLogicalResourceId(const std::string& logicalResourceId) -{ - logicalResourceId_ = logicalResourceId; - setCoreParameter("LogicalResourceId", logicalResourceId); -} - -std::string SignalResourceRequest::getUniqueId()const -{ - return uniqueId_; -} - -void SignalResourceRequest::setUniqueId(const std::string& uniqueId) -{ - uniqueId_ = uniqueId; - setCoreParameter("UniqueId", uniqueId); -} - -std::string SignalResourceRequest::getStatus()const -{ - return status_; -} - -void SignalResourceRequest::setStatus(const std::string& status) -{ - status_ = status; - setCoreParameter("Status", status); -} - diff --git a/ros/src/model/UpdateStackRequest.cc b/ros/src/model/UpdateStackRequest.cc index c401f371b..3d8726a8f 100644 --- a/ros/src/model/UpdateStackRequest.cc +++ b/ros/src/model/UpdateStackRequest.cc @@ -19,45 +19,12 @@ using AlibabaCloud::ROS::Model::UpdateStackRequest; UpdateStackRequest::UpdateStackRequest() : - RpcServiceRequest("ros", "2019-09-10", "UpdateStack") + RoaServiceRequest("ros", "2015-09-01") {} UpdateStackRequest::~UpdateStackRequest() {} -std::string UpdateStackRequest::getStackPolicyDuringUpdateURL()const -{ - return stackPolicyDuringUpdateURL_; -} - -void UpdateStackRequest::setStackPolicyDuringUpdateURL(const std::string& stackPolicyDuringUpdateURL) -{ - stackPolicyDuringUpdateURL_ = stackPolicyDuringUpdateURL; - setCoreParameter("StackPolicyDuringUpdateURL", stackPolicyDuringUpdateURL); -} - -std::string UpdateStackRequest::getClientToken()const -{ - return clientToken_; -} - -void UpdateStackRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setCoreParameter("ClientToken", clientToken); -} - -std::string UpdateStackRequest::getTemplateBody()const -{ - return templateBody_; -} - -void UpdateStackRequest::setTemplateBody(const std::string& templateBody) -{ - templateBody_ = templateBody; - setCoreParameter("TemplateBody", templateBody); -} - std::string UpdateStackRequest::getStackId()const { return stackId_; @@ -69,130 +36,14 @@ void UpdateStackRequest::setStackId(const std::string& stackId) setCoreParameter("StackId", stackId); } -bool UpdateStackRequest::getDisableRollback()const +std::string UpdateStackRequest::getStackName()const { - return disableRollback_; + return stackName_; } -void UpdateStackRequest::setDisableRollback(bool disableRollback) +void UpdateStackRequest::setStackName(const std::string& stackName) { - disableRollback_ = disableRollback; - setCoreParameter("DisableRollback", disableRollback ? "true" : "false"); -} - -bool UpdateStackRequest::getEnableRecover()const -{ - return enableRecover_; -} - -void UpdateStackRequest::setEnableRecover(bool enableRecover) -{ - enableRecover_ = enableRecover; - setCoreParameter("EnableRecover", enableRecover ? "true" : "false"); -} - -std::string UpdateStackRequest::getUpdateAllowPolicy()const -{ - return updateAllowPolicy_; -} - -void UpdateStackRequest::setUpdateAllowPolicy(const std::string& updateAllowPolicy) -{ - updateAllowPolicy_ = updateAllowPolicy; - setCoreParameter("UpdateAllowPolicy", updateAllowPolicy); -} - -long UpdateStackRequest::getTimeoutInMinutes()const -{ - return timeoutInMinutes_; -} - -void UpdateStackRequest::setTimeoutInMinutes(long timeoutInMinutes) -{ - timeoutInMinutes_ = timeoutInMinutes; - setCoreParameter("TimeoutInMinutes", std::to_string(timeoutInMinutes)); -} - -bool UpdateStackRequest::getUsePreviousParameters()const -{ - return usePreviousParameters_; -} - -void UpdateStackRequest::setUsePreviousParameters(bool usePreviousParameters) -{ - usePreviousParameters_ = usePreviousParameters; - setCoreParameter("UsePreviousParameters", usePreviousParameters ? "true" : "false"); -} - -std::string UpdateStackRequest::getTemplateURL()const -{ - return templateURL_; -} - -void UpdateStackRequest::setTemplateURL(const std::string& templateURL) -{ - templateURL_ = templateURL; - setCoreParameter("TemplateURL", templateURL); -} - -std::string UpdateStackRequest::getStackPolicyDuringUpdateBody()const -{ - return stackPolicyDuringUpdateBody_; -} - -void UpdateStackRequest::setStackPolicyDuringUpdateBody(const std::string& stackPolicyDuringUpdateBody) -{ - stackPolicyDuringUpdateBody_ = stackPolicyDuringUpdateBody; - setCoreParameter("StackPolicyDuringUpdateBody", stackPolicyDuringUpdateBody); -} - -std::string UpdateStackRequest::getStackPolicyURL()const -{ - return stackPolicyURL_; -} - -void UpdateStackRequest::setStackPolicyURL(const std::string& stackPolicyURL) -{ - stackPolicyURL_ = stackPolicyURL; - setCoreParameter("StackPolicyURL", stackPolicyURL); -} - -std::string UpdateStackRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateStackRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector UpdateStackRequest::getParameters()const -{ - return parameters_; -} - -void UpdateStackRequest::setParameters(const std::vector& 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 UpdateStackRequest::getStackPolicyBody()const -{ - return stackPolicyBody_; -} - -void UpdateStackRequest::setStackPolicyBody(const std::string& stackPolicyBody) -{ - stackPolicyBody_ = stackPolicyBody; - setCoreParameter("StackPolicyBody", stackPolicyBody); + stackName_ = stackName; + setCoreParameter("StackName", stackName); } diff --git a/ros/src/model/UpdateStackResult.cc b/ros/src/model/UpdateStackResult.cc index 80c6ceff1..2c6ecf447 100644 --- a/ros/src/model/UpdateStackResult.cc +++ b/ros/src/model/UpdateStackResult.cc @@ -43,13 +43,6 @@ void UpdateStackResult::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 UpdateStackResult::getStackId()const -{ - return stackId_; -} - diff --git a/ros/src/model/ValidateTemplateRequest.cc b/ros/src/model/ValidateTemplateRequest.cc index 143fcc0e3..be45afa17 100644 --- a/ros/src/model/ValidateTemplateRequest.cc +++ b/ros/src/model/ValidateTemplateRequest.cc @@ -19,42 +19,9 @@ using AlibabaCloud::ROS::Model::ValidateTemplateRequest; ValidateTemplateRequest::ValidateTemplateRequest() : - RpcServiceRequest("ros", "2019-09-10", "ValidateTemplate") + RoaServiceRequest("ros", "2015-09-01") {} ValidateTemplateRequest::~ValidateTemplateRequest() {} -std::string ValidateTemplateRequest::getRegionId()const -{ - return regionId_; -} - -void ValidateTemplateRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ValidateTemplateRequest::getTemplateBody()const -{ - return templateBody_; -} - -void ValidateTemplateRequest::setTemplateBody(const std::string& templateBody) -{ - templateBody_ = templateBody; - setCoreParameter("TemplateBody", templateBody); -} - -std::string ValidateTemplateRequest::getTemplateURL()const -{ - return templateURL_; -} - -void ValidateTemplateRequest::setTemplateURL(const std::string& templateURL) -{ - templateURL_ = templateURL; - setCoreParameter("TemplateURL", templateURL); -} - diff --git a/ros/src/model/ValidateTemplateResult.cc b/ros/src/model/ValidateTemplateResult.cc index f71ce9237..856ea5c35 100644 --- a/ros/src/model/ValidateTemplateResult.cc +++ b/ros/src/model/ValidateTemplateResult.cc @@ -43,21 +43,6 @@ void ValidateTemplateResult::parse(const std::string &payload) reader->parse(payload.data(), payload.data() + payload.size(), val, errs); value = *val; setRequestId(value["RequestId"].asString()); - auto allParameters = value["Parameters"]["Parameter"]; - for (const auto &item : allParameters) - parameters_.push_back(item.asString()); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); } -std::vector ValidateTemplateResult::getParameters()const -{ - return parameters_; -} - -std::string ValidateTemplateResult::getDescription()const -{ - return description_; -} - diff --git a/ros/src/model/WaitConditionsRequest.cc b/ros/src/model/WaitConditionsRequest.cc new file mode 100644 index 000000000..da5a48054 --- /dev/null +++ b/ros/src/model/WaitConditionsRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::ROS::Model::WaitConditionsRequest; + +WaitConditionsRequest::WaitConditionsRequest() : + RoaServiceRequest("ros", "2015-09-01") +{} + +WaitConditionsRequest::~WaitConditionsRequest() +{} + +std::string WaitConditionsRequest::getResource()const +{ + return resource_; +} + +void WaitConditionsRequest::setResource(const std::string& resource) +{ + resource_ = resource; + setCoreParameter("Resource", resource); +} + +std::string WaitConditionsRequest::getSignature()const +{ + return signature_; +} + +void WaitConditionsRequest::setSignature(const std::string& signature) +{ + signature_ = signature; + setCoreParameter("Signature", signature); +} + +std::string WaitConditionsRequest::getStackid()const +{ + return stackid_; +} + +void WaitConditionsRequest::setStackid(const std::string& stackid) +{ + stackid_ = stackid; + setCoreParameter("Stackid", stackid); +} + +std::string WaitConditionsRequest::getExpire()const +{ + return expire_; +} + +void WaitConditionsRequest::setExpire(const std::string& expire) +{ + expire_ = expire; + setCoreParameter("Expire", expire); +} + +std::string WaitConditionsRequest::getStackname()const +{ + return stackname_; +} + +void WaitConditionsRequest::setStackname(const std::string& stackname) +{ + stackname_ = stackname; + setCoreParameter("Stackname", stackname); +} + diff --git a/ros/src/model/WaitConditionsResult.cc b/ros/src/model/WaitConditionsResult.cc new file mode 100644 index 000000000..6a6c81033 --- /dev/null +++ b/ros/src/model/WaitConditionsResult.cc @@ -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 +#include + +using namespace AlibabaCloud::ROS; +using namespace AlibabaCloud::ROS::Model; + +WaitConditionsResult::WaitConditionsResult() : + ServiceResult() +{} + +WaitConditionsResult::WaitConditionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +WaitConditionsResult::~WaitConditionsResult() +{} + +void WaitConditionsResult::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()); + +} +