AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStackSetRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudformation/model/PermissionModels.h>
12#include <aws/cloudformation/model/AutoDeployment.h>
13#include <aws/cloudformation/model/CallAs.h>
14#include <aws/cloudformation/model/ManagedExecution.h>
15#include <aws/cloudformation/model/Parameter.h>
16#include <aws/cloudformation/model/Capability.h>
17#include <aws/cloudformation/model/Tag.h>
18#include <utility>
19#include <aws/core/utils/UUID.h>
20
21namespace Aws
22{
23namespace CloudFormation
24{
25namespace Model
26{
27
31 {
32 public:
33 AWS_CLOUDFORMATION_API CreateStackSetRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateStackSet"; }
40
41 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
42
43 protected:
44 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
45
46 public:
47
49
55 inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
56 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
57 inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
58 inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
59 inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
60 inline CreateStackSetRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
61 inline CreateStackSetRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
62 inline CreateStackSetRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
64
66
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline CreateStackSetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateStackSetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateStackSetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
86 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
87 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
88 inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
89 inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
90 inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
91 inline CreateStackSetRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
92 inline CreateStackSetRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
93 inline CreateStackSetRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
95
97
103 inline const Aws::String& GetTemplateURL() const{ return m_templateURL; }
104 inline bool TemplateURLHasBeenSet() const { return m_templateURLHasBeenSet; }
105 inline void SetTemplateURL(const Aws::String& value) { m_templateURLHasBeenSet = true; m_templateURL = value; }
106 inline void SetTemplateURL(Aws::String&& value) { m_templateURLHasBeenSet = true; m_templateURL = std::move(value); }
107 inline void SetTemplateURL(const char* value) { m_templateURLHasBeenSet = true; m_templateURL.assign(value); }
108 inline CreateStackSetRequest& WithTemplateURL(const Aws::String& value) { SetTemplateURL(value); return *this;}
109 inline CreateStackSetRequest& WithTemplateURL(Aws::String&& value) { SetTemplateURL(std::move(value)); return *this;}
110 inline CreateStackSetRequest& WithTemplateURL(const char* value) { SetTemplateURL(value); return *this;}
112
114
118 inline const Aws::String& GetStackId() const{ return m_stackId; }
119 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
120 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
121 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
122 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
123 inline CreateStackSetRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
124 inline CreateStackSetRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
125 inline CreateStackSetRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
127
129
132 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
133 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
134 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
135 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
136 inline CreateStackSetRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
137 inline CreateStackSetRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
138 inline CreateStackSetRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
139 inline CreateStackSetRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
141
143
194 inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
195 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
196 inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
197 inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
199 inline CreateStackSetRequest& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(std::move(value)); return *this;}
200 inline CreateStackSetRequest& AddCapabilities(const Capability& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
201 inline CreateStackSetRequest& AddCapabilities(Capability&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
203
205
214 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
215 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
216 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
217 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
218 inline CreateStackSetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
219 inline CreateStackSetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
220 inline CreateStackSetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
221 inline CreateStackSetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
223
225
234 inline const Aws::String& GetAdministrationRoleARN() const{ return m_administrationRoleARN; }
235 inline bool AdministrationRoleARNHasBeenSet() const { return m_administrationRoleARNHasBeenSet; }
236 inline void SetAdministrationRoleARN(const Aws::String& value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN = value; }
237 inline void SetAdministrationRoleARN(Aws::String&& value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN = std::move(value); }
238 inline void SetAdministrationRoleARN(const char* value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN.assign(value); }
240 inline CreateStackSetRequest& WithAdministrationRoleARN(Aws::String&& value) { SetAdministrationRoleARN(std::move(value)); return *this;}
241 inline CreateStackSetRequest& WithAdministrationRoleARN(const char* value) { SetAdministrationRoleARN(value); return *this;}
243
245
253 inline const Aws::String& GetExecutionRoleName() const{ return m_executionRoleName; }
254 inline bool ExecutionRoleNameHasBeenSet() const { return m_executionRoleNameHasBeenSet; }
255 inline void SetExecutionRoleName(const Aws::String& value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName = value; }
256 inline void SetExecutionRoleName(Aws::String&& value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName = std::move(value); }
257 inline void SetExecutionRoleName(const char* value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName.assign(value); }
259 inline CreateStackSetRequest& WithExecutionRoleName(Aws::String&& value) { SetExecutionRoleName(std::move(value)); return *this;}
260 inline CreateStackSetRequest& WithExecutionRoleName(const char* value) { SetExecutionRoleName(value); return *this;}
262
264
278 inline const PermissionModels& GetPermissionModel() const{ return m_permissionModel; }
279 inline bool PermissionModelHasBeenSet() const { return m_permissionModelHasBeenSet; }
280 inline void SetPermissionModel(const PermissionModels& value) { m_permissionModelHasBeenSet = true; m_permissionModel = value; }
281 inline void SetPermissionModel(PermissionModels&& value) { m_permissionModelHasBeenSet = true; m_permissionModel = std::move(value); }
283 inline CreateStackSetRequest& WithPermissionModel(PermissionModels&& value) { SetPermissionModel(std::move(value)); return *this;}
285
287
292 inline const AutoDeployment& GetAutoDeployment() const{ return m_autoDeployment; }
293 inline bool AutoDeploymentHasBeenSet() const { return m_autoDeploymentHasBeenSet; }
294 inline void SetAutoDeployment(const AutoDeployment& value) { m_autoDeploymentHasBeenSet = true; m_autoDeployment = value; }
295 inline void SetAutoDeployment(AutoDeployment&& value) { m_autoDeploymentHasBeenSet = true; m_autoDeployment = std::move(value); }
296 inline CreateStackSetRequest& WithAutoDeployment(const AutoDeployment& value) { SetAutoDeployment(value); return *this;}
297 inline CreateStackSetRequest& WithAutoDeployment(AutoDeployment&& value) { SetAutoDeployment(std::move(value)); return *this;}
299
301
319 inline const CallAs& GetCallAs() const{ return m_callAs; }
320 inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
321 inline void SetCallAs(const CallAs& value) { m_callAsHasBeenSet = true; m_callAs = value; }
322 inline void SetCallAs(CallAs&& value) { m_callAsHasBeenSet = true; m_callAs = std::move(value); }
323 inline CreateStackSetRequest& WithCallAs(const CallAs& value) { SetCallAs(value); return *this;}
324 inline CreateStackSetRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;}
326
328
336 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
337 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
338 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
339 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
340 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
342 inline CreateStackSetRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
343 inline CreateStackSetRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
345
347
351 inline const ManagedExecution& GetManagedExecution() const{ return m_managedExecution; }
352 inline bool ManagedExecutionHasBeenSet() const { return m_managedExecutionHasBeenSet; }
353 inline void SetManagedExecution(const ManagedExecution& value) { m_managedExecutionHasBeenSet = true; m_managedExecution = value; }
354 inline void SetManagedExecution(ManagedExecution&& value) { m_managedExecutionHasBeenSet = true; m_managedExecution = std::move(value); }
356 inline CreateStackSetRequest& WithManagedExecution(ManagedExecution&& value) { SetManagedExecution(std::move(value)); return *this;}
358 private:
359
360 Aws::String m_stackSetName;
361 bool m_stackSetNameHasBeenSet = false;
362
363 Aws::String m_description;
364 bool m_descriptionHasBeenSet = false;
365
366 Aws::String m_templateBody;
367 bool m_templateBodyHasBeenSet = false;
368
369 Aws::String m_templateURL;
370 bool m_templateURLHasBeenSet = false;
371
372 Aws::String m_stackId;
373 bool m_stackIdHasBeenSet = false;
374
375 Aws::Vector<Parameter> m_parameters;
376 bool m_parametersHasBeenSet = false;
377
378 Aws::Vector<Capability> m_capabilities;
379 bool m_capabilitiesHasBeenSet = false;
380
381 Aws::Vector<Tag> m_tags;
382 bool m_tagsHasBeenSet = false;
383
384 Aws::String m_administrationRoleARN;
385 bool m_administrationRoleARNHasBeenSet = false;
386
387 Aws::String m_executionRoleName;
388 bool m_executionRoleNameHasBeenSet = false;
389
390 PermissionModels m_permissionModel;
391 bool m_permissionModelHasBeenSet = false;
392
393 AutoDeployment m_autoDeployment;
394 bool m_autoDeploymentHasBeenSet = false;
395
396 CallAs m_callAs;
397 bool m_callAsHasBeenSet = false;
398
399 Aws::String m_clientRequestToken;
400 bool m_clientRequestTokenHasBeenSet = false;
401
402 ManagedExecution m_managedExecution;
403 bool m_managedExecutionHasBeenSet = false;
404 };
405
406} // namespace Model
407} // namespace CloudFormation
408} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetPermissionModel(const PermissionModels &value)
CreateStackSetRequest & WithParameters(Aws::Vector< Parameter > &&value)
void SetCapabilities(Aws::Vector< Capability > &&value)
CreateStackSetRequest & AddCapabilities(Capability &&value)
CreateStackSetRequest & WithParameters(const Aws::Vector< Parameter > &value)
CreateStackSetRequest & WithExecutionRoleName(Aws::String &&value)
CreateStackSetRequest & WithCapabilities(const Aws::Vector< Capability > &value)
CreateStackSetRequest & WithCallAs(const CallAs &value)
CreateStackSetRequest & WithExecutionRoleName(const char *value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateStackSetRequest & WithManagedExecution(const ManagedExecution &value)
CreateStackSetRequest & WithTemplateURL(Aws::String &&value)
CreateStackSetRequest & WithTemplateBody(Aws::String &&value)
CreateStackSetRequest & WithPermissionModel(const PermissionModels &value)
CreateStackSetRequest & WithAdministrationRoleARN(const Aws::String &value)
CreateStackSetRequest & WithTemplateBody(const Aws::String &value)
CreateStackSetRequest & WithTags(Aws::Vector< Tag > &&value)
CreateStackSetRequest & WithTemplateBody(const char *value)
CreateStackSetRequest & WithStackSetName(const char *value)
void SetManagedExecution(const ManagedExecution &value)
CreateStackSetRequest & WithAdministrationRoleARN(Aws::String &&value)
CreateStackSetRequest & WithPermissionModel(PermissionModels &&value)
CreateStackSetRequest & WithTags(const Aws::Vector< Tag > &value)
CreateStackSetRequest & AddParameters(const Parameter &value)
const Aws::Vector< Parameter > & GetParameters() const
const Aws::Vector< Capability > & GetCapabilities() const
CreateStackSetRequest & WithTemplateURL(const char *value)
CreateStackSetRequest & WithStackId(Aws::String &&value)
CreateStackSetRequest & WithCallAs(CallAs &&value)
CreateStackSetRequest & WithDescription(const Aws::String &value)
CreateStackSetRequest & AddTags(const Tag &value)
CreateStackSetRequest & WithTemplateURL(const Aws::String &value)
CreateStackSetRequest & WithDescription(const char *value)
void SetParameters(Aws::Vector< Parameter > &&value)
CreateStackSetRequest & AddCapabilities(const Capability &value)
CreateStackSetRequest & WithStackSetName(const Aws::String &value)
CreateStackSetRequest & WithAutoDeployment(const AutoDeployment &value)
void SetCapabilities(const Aws::Vector< Capability > &value)
CreateStackSetRequest & WithDescription(Aws::String &&value)
void SetParameters(const Aws::Vector< Parameter > &value)
CreateStackSetRequest & AddParameters(Parameter &&value)
CreateStackSetRequest & WithAdministrationRoleARN(const char *value)
CreateStackSetRequest & WithStackId(const Aws::String &value)
CreateStackSetRequest & WithCapabilities(Aws::Vector< Capability > &&value)
CreateStackSetRequest & WithStackSetName(Aws::String &&value)
CreateStackSetRequest & WithClientRequestToken(Aws::String &&value)
CreateStackSetRequest & WithClientRequestToken(const char *value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
CreateStackSetRequest & WithStackId(const char *value)
CreateStackSetRequest & WithExecutionRoleName(const Aws::String &value)
CreateStackSetRequest & WithManagedExecution(ManagedExecution &&value)
CreateStackSetRequest & WithAutoDeployment(AutoDeployment &&value)
CreateStackSetRequest & WithClientRequestToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector