AWS SDK for C++  1.8.71
AWS SDK for C++
CreateStackSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 #include <aws/core/utils/UUID.h>
18 
19 namespace Aws
20 {
21 namespace CloudFormation
22 {
23 namespace Model
24 {
25 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "CreateStackSet"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
52  inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
53 
60  inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
61 
68  inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
69 
76  inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
77 
84  inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
85 
92  inline CreateStackSetRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
93 
100  inline CreateStackSetRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
101 
108  inline CreateStackSetRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
109 
110 
115  inline const Aws::String& GetDescription() const{ return m_description; }
116 
121  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
122 
127  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
128 
133  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
134 
139  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
140 
145  inline CreateStackSetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
146 
151  inline CreateStackSetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
152 
157  inline CreateStackSetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159 
167  inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
168 
176  inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
177 
185  inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
186 
194  inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
195 
203  inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
204 
212  inline CreateStackSetRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
213 
221  inline CreateStackSetRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
222 
230  inline CreateStackSetRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
231 
232 
241  inline const Aws::String& GetTemplateURL() const{ return m_templateURL; }
242 
251  inline bool TemplateURLHasBeenSet() const { return m_templateURLHasBeenSet; }
252 
261  inline void SetTemplateURL(const Aws::String& value) { m_templateURLHasBeenSet = true; m_templateURL = value; }
262 
271  inline void SetTemplateURL(Aws::String&& value) { m_templateURLHasBeenSet = true; m_templateURL = std::move(value); }
272 
281  inline void SetTemplateURL(const char* value) { m_templateURLHasBeenSet = true; m_templateURL.assign(value); }
282 
291  inline CreateStackSetRequest& WithTemplateURL(const Aws::String& value) { SetTemplateURL(value); return *this;}
292 
301  inline CreateStackSetRequest& WithTemplateURL(Aws::String&& value) { SetTemplateURL(std::move(value)); return *this;}
302 
311  inline CreateStackSetRequest& WithTemplateURL(const char* value) { SetTemplateURL(value); return *this;}
312 
313 
317  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
318 
322  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
323 
327  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
328 
332  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
333 
337  inline CreateStackSetRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
338 
342  inline CreateStackSetRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
343 
347  inline CreateStackSetRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
348 
352  inline CreateStackSetRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
353 
354 
407  inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
408 
461  inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
462 
515  inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
516 
569  inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
570 
623  inline CreateStackSetRequest& WithCapabilities(const Aws::Vector<Capability>& value) { SetCapabilities(value); return *this;}
624 
677  inline CreateStackSetRequest& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(std::move(value)); return *this;}
678 
731  inline CreateStackSetRequest& AddCapabilities(const Capability& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
732 
785  inline CreateStackSetRequest& AddCapabilities(Capability&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
786 
787 
798  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
799 
810  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
811 
822  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
823 
834  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
835 
846  inline CreateStackSetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
847 
858  inline CreateStackSetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
859 
870  inline CreateStackSetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
871 
882  inline CreateStackSetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
883 
884 
894  inline const Aws::String& GetAdministrationRoleARN() const{ return m_administrationRoleARN; }
895 
905  inline bool AdministrationRoleARNHasBeenSet() const { return m_administrationRoleARNHasBeenSet; }
906 
916  inline void SetAdministrationRoleARN(const Aws::String& value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN = value; }
917 
927  inline void SetAdministrationRoleARN(Aws::String&& value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN = std::move(value); }
928 
938  inline void SetAdministrationRoleARN(const char* value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN.assign(value); }
939 
949  inline CreateStackSetRequest& WithAdministrationRoleARN(const Aws::String& value) { SetAdministrationRoleARN(value); return *this;}
950 
960  inline CreateStackSetRequest& WithAdministrationRoleARN(Aws::String&& value) { SetAdministrationRoleARN(std::move(value)); return *this;}
961 
971  inline CreateStackSetRequest& WithAdministrationRoleARN(const char* value) { SetAdministrationRoleARN(value); return *this;}
972 
973 
982  inline const Aws::String& GetExecutionRoleName() const{ return m_executionRoleName; }
983 
992  inline bool ExecutionRoleNameHasBeenSet() const { return m_executionRoleNameHasBeenSet; }
993 
1002  inline void SetExecutionRoleName(const Aws::String& value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName = value; }
1003 
1012  inline void SetExecutionRoleName(Aws::String&& value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName = std::move(value); }
1013 
1022  inline void SetExecutionRoleName(const char* value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName.assign(value); }
1023 
1032  inline CreateStackSetRequest& WithExecutionRoleName(const Aws::String& value) { SetExecutionRoleName(value); return *this;}
1033 
1042  inline CreateStackSetRequest& WithExecutionRoleName(Aws::String&& value) { SetExecutionRoleName(std::move(value)); return *this;}
1043 
1052  inline CreateStackSetRequest& WithExecutionRoleName(const char* value) { SetExecutionRoleName(value); return *this;}
1053 
1054 
1069  inline const PermissionModels& GetPermissionModel() const{ return m_permissionModel; }
1070 
1085  inline bool PermissionModelHasBeenSet() const { return m_permissionModelHasBeenSet; }
1086 
1101  inline void SetPermissionModel(const PermissionModels& value) { m_permissionModelHasBeenSet = true; m_permissionModel = value; }
1102 
1117  inline void SetPermissionModel(PermissionModels&& value) { m_permissionModelHasBeenSet = true; m_permissionModel = std::move(value); }
1118 
1133  inline CreateStackSetRequest& WithPermissionModel(const PermissionModels& value) { SetPermissionModel(value); return *this;}
1134 
1149  inline CreateStackSetRequest& WithPermissionModel(PermissionModels&& value) { SetPermissionModel(std::move(value)); return *this;}
1150 
1151 
1158  inline const AutoDeployment& GetAutoDeployment() const{ return m_autoDeployment; }
1159 
1166  inline bool AutoDeploymentHasBeenSet() const { return m_autoDeploymentHasBeenSet; }
1167 
1174  inline void SetAutoDeployment(const AutoDeployment& value) { m_autoDeploymentHasBeenSet = true; m_autoDeployment = value; }
1175 
1182  inline void SetAutoDeployment(AutoDeployment&& value) { m_autoDeploymentHasBeenSet = true; m_autoDeployment = std::move(value); }
1183 
1190  inline CreateStackSetRequest& WithAutoDeployment(const AutoDeployment& value) { SetAutoDeployment(value); return *this;}
1191 
1198  inline CreateStackSetRequest& WithAutoDeployment(AutoDeployment&& value) { SetAutoDeployment(std::move(value)); return *this;}
1199 
1200 
1209  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
1210 
1219  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
1220 
1229  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
1230 
1239  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
1240 
1249  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
1250 
1259  inline CreateStackSetRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
1260 
1269  inline CreateStackSetRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
1270 
1279  inline CreateStackSetRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
1280 
1281  private:
1282 
1283  Aws::String m_stackSetName;
1284  bool m_stackSetNameHasBeenSet;
1285 
1286  Aws::String m_description;
1287  bool m_descriptionHasBeenSet;
1288 
1289  Aws::String m_templateBody;
1290  bool m_templateBodyHasBeenSet;
1291 
1292  Aws::String m_templateURL;
1293  bool m_templateURLHasBeenSet;
1294 
1295  Aws::Vector<Parameter> m_parameters;
1296  bool m_parametersHasBeenSet;
1297 
1298  Aws::Vector<Capability> m_capabilities;
1299  bool m_capabilitiesHasBeenSet;
1300 
1301  Aws::Vector<Tag> m_tags;
1302  bool m_tagsHasBeenSet;
1303 
1304  Aws::String m_administrationRoleARN;
1305  bool m_administrationRoleARNHasBeenSet;
1306 
1307  Aws::String m_executionRoleName;
1308  bool m_executionRoleNameHasBeenSet;
1309 
1310  PermissionModels m_permissionModel;
1311  bool m_permissionModelHasBeenSet;
1312 
1313  AutoDeployment m_autoDeployment;
1314  bool m_autoDeploymentHasBeenSet;
1315 
1316  Aws::String m_clientRequestToken;
1317  bool m_clientRequestTokenHasBeenSet;
1318  };
1319 
1320 } // namespace Model
1321 } // namespace CloudFormation
1322 } // namespace Aws
CreateStackSetRequest & WithCapabilities(const Aws::Vector< Capability > &value)
CreateStackSetRequest & WithPermissionModel(const PermissionModels &value)
CreateStackSetRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
CreateStackSetRequest & WithTemplateURL(Aws::String &&value)
CreateStackSetRequest & AddCapabilities(const Capability &value)
CreateStackSetRequest & WithAutoDeployment(const AutoDeployment &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateStackSetRequest & WithTemplateBody(const Aws::String &value)
void SetCapabilities(const Aws::Vector< Capability > &value)
void SetCapabilities(Aws::Vector< Capability > &&value)
const Aws::Vector< Capability > & GetCapabilities() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
CreateStackSetRequest & WithTags(const Aws::Vector< Tag > &value)
CreateStackSetRequest & WithCapabilities(Aws::Vector< Capability > &&value)
CreateStackSetRequest & WithExecutionRoleName(const char *value)
CreateStackSetRequest & WithClientRequestToken(const char *value)
CreateStackSetRequest & WithParameters(const Aws::Vector< Parameter > &value)
CreateStackSetRequest & WithExecutionRoleName(Aws::String &&value)
CreateStackSetRequest & WithTags(Aws::Vector< Tag > &&value)
CreateStackSetRequest & WithStackSetName(const char *value)
CreateStackSetRequest & WithAdministrationRoleARN(const char *value)
CreateStackSetRequest & WithClientRequestToken(Aws::String &&value)
CreateStackSetRequest & WithExecutionRoleName(const Aws::String &value)
CreateStackSetRequest & WithClientRequestToken(const Aws::String &value)
CreateStackSetRequest & WithTemplateURL(const Aws::String &value)
CreateStackSetRequest & WithAdministrationRoleARN(const Aws::String &value)
CreateStackSetRequest & WithStackSetName(Aws::String &&value)
CreateStackSetRequest & AddCapabilities(Capability &&value)
CreateStackSetRequest & WithTemplateURL(const char *value)
void SetParameters(const Aws::Vector< Parameter > &value)
CreateStackSetRequest & WithDescription(const Aws::String &value)
CreateStackSetRequest & WithPermissionModel(PermissionModels &&value)
void SetPermissionModel(const PermissionModels &value)
CreateStackSetRequest & WithTemplateBody(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateStackSetRequest & WithTemplateBody(const char *value)
void SetParameters(Aws::Vector< Parameter > &&value)
const Aws::Vector< Parameter > & GetParameters() const
CreateStackSetRequest & WithAutoDeployment(AutoDeployment &&value)
#define AWS_CLOUDFORMATION_API
CreateStackSetRequest & WithParameters(Aws::Vector< Parameter > &&value)
CreateStackSetRequest & AddParameters(Parameter &&value)
CreateStackSetRequest & WithAdministrationRoleARN(Aws::String &&value)
CreateStackSetRequest & AddParameters(const Parameter &value)
CreateStackSetRequest & WithDescription(Aws::String &&value)
CreateStackSetRequest & AddTags(const Tag &value)
CreateStackSetRequest & WithStackSetName(const Aws::String &value)