AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloneStackRequest.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/opsworks/model/StackConfigurationManager.h>
12#include <aws/opsworks/model/ChefConfiguration.h>
13#include <aws/opsworks/model/Source.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/opsworks/model/RootDeviceType.h>
16#include <aws/opsworks/model/StackAttributesKeys.h>
17#include <utility>
18
19namespace Aws
20{
21namespace OpsWorks
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_OPSWORKS_API CloneStackRequest();
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 "CloneStack"; }
38
39 AWS_OPSWORKS_API Aws::String SerializePayload() const override;
40
42
43
45
48 inline const Aws::String& GetSourceStackId() const{ return m_sourceStackId; }
49 inline bool SourceStackIdHasBeenSet() const { return m_sourceStackIdHasBeenSet; }
50 inline void SetSourceStackId(const Aws::String& value) { m_sourceStackIdHasBeenSet = true; m_sourceStackId = value; }
51 inline void SetSourceStackId(Aws::String&& value) { m_sourceStackIdHasBeenSet = true; m_sourceStackId = std::move(value); }
52 inline void SetSourceStackId(const char* value) { m_sourceStackIdHasBeenSet = true; m_sourceStackId.assign(value); }
53 inline CloneStackRequest& WithSourceStackId(const Aws::String& value) { SetSourceStackId(value); return *this;}
54 inline CloneStackRequest& WithSourceStackId(Aws::String&& value) { SetSourceStackId(std::move(value)); return *this;}
55 inline CloneStackRequest& WithSourceStackId(const char* value) { SetSourceStackId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline CloneStackRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline CloneStackRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline CloneStackRequest& WithName(const char* value) { SetName(value); return *this;}
71
73
80 inline const Aws::String& GetRegion() const{ return m_region; }
81 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
82 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
83 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
84 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
85 inline CloneStackRequest& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
86 inline CloneStackRequest& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
87 inline CloneStackRequest& WithRegion(const char* value) { SetRegion(value); return *this;}
89
91
113 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
114 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
115 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
116 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
117 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
118 inline CloneStackRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
119 inline CloneStackRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
120 inline CloneStackRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
122
124
128 inline const Aws::Map<StackAttributesKeys, Aws::String>& GetAttributes() const{ return m_attributes; }
129 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
130 inline void SetAttributes(const Aws::Map<StackAttributesKeys, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
131 inline void SetAttributes(Aws::Map<StackAttributesKeys, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
134 inline CloneStackRequest& AddAttributes(const StackAttributesKeys& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
135 inline CloneStackRequest& AddAttributes(StackAttributesKeys&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
136 inline CloneStackRequest& AddAttributes(const StackAttributesKeys& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
137 inline CloneStackRequest& AddAttributes(StackAttributesKeys&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
138 inline CloneStackRequest& AddAttributes(StackAttributesKeys&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
139 inline CloneStackRequest& AddAttributes(const StackAttributesKeys& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
141
143
156 inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
157 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
158 inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
159 inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); }
160 inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
161 inline CloneStackRequest& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;}
162 inline CloneStackRequest& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;}
163 inline CloneStackRequest& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
165
167
174 inline const Aws::String& GetDefaultInstanceProfileArn() const{ return m_defaultInstanceProfileArn; }
175 inline bool DefaultInstanceProfileArnHasBeenSet() const { return m_defaultInstanceProfileArnHasBeenSet; }
176 inline void SetDefaultInstanceProfileArn(const Aws::String& value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn = value; }
177 inline void SetDefaultInstanceProfileArn(Aws::String&& value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn = std::move(value); }
178 inline void SetDefaultInstanceProfileArn(const char* value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn.assign(value); }
181 inline CloneStackRequest& WithDefaultInstanceProfileArn(const char* value) { SetDefaultInstanceProfileArn(value); return *this;}
183
185
211 inline const Aws::String& GetDefaultOs() const{ return m_defaultOs; }
212 inline bool DefaultOsHasBeenSet() const { return m_defaultOsHasBeenSet; }
213 inline void SetDefaultOs(const Aws::String& value) { m_defaultOsHasBeenSet = true; m_defaultOs = value; }
214 inline void SetDefaultOs(Aws::String&& value) { m_defaultOsHasBeenSet = true; m_defaultOs = std::move(value); }
215 inline void SetDefaultOs(const char* value) { m_defaultOsHasBeenSet = true; m_defaultOs.assign(value); }
216 inline CloneStackRequest& WithDefaultOs(const Aws::String& value) { SetDefaultOs(value); return *this;}
217 inline CloneStackRequest& WithDefaultOs(Aws::String&& value) { SetDefaultOs(std::move(value)); return *this;}
218 inline CloneStackRequest& WithDefaultOs(const char* value) { SetDefaultOs(value); return *this;}
220
222
239 inline const Aws::String& GetHostnameTheme() const{ return m_hostnameTheme; }
240 inline bool HostnameThemeHasBeenSet() const { return m_hostnameThemeHasBeenSet; }
241 inline void SetHostnameTheme(const Aws::String& value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme = value; }
242 inline void SetHostnameTheme(Aws::String&& value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme = std::move(value); }
243 inline void SetHostnameTheme(const char* value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme.assign(value); }
244 inline CloneStackRequest& WithHostnameTheme(const Aws::String& value) { SetHostnameTheme(value); return *this;}
245 inline CloneStackRequest& WithHostnameTheme(Aws::String&& value) { SetHostnameTheme(std::move(value)); return *this;}
246 inline CloneStackRequest& WithHostnameTheme(const char* value) { SetHostnameTheme(value); return *this;}
248
250
258 inline const Aws::String& GetDefaultAvailabilityZone() const{ return m_defaultAvailabilityZone; }
259 inline bool DefaultAvailabilityZoneHasBeenSet() const { return m_defaultAvailabilityZoneHasBeenSet; }
260 inline void SetDefaultAvailabilityZone(const Aws::String& value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone = value; }
261 inline void SetDefaultAvailabilityZone(Aws::String&& value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone = std::move(value); }
262 inline void SetDefaultAvailabilityZone(const char* value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone.assign(value); }
264 inline CloneStackRequest& WithDefaultAvailabilityZone(Aws::String&& value) { SetDefaultAvailabilityZone(std::move(value)); return *this;}
265 inline CloneStackRequest& WithDefaultAvailabilityZone(const char* value) { SetDefaultAvailabilityZone(value); return *this;}
267
269
277 inline const Aws::String& GetDefaultSubnetId() const{ return m_defaultSubnetId; }
278 inline bool DefaultSubnetIdHasBeenSet() const { return m_defaultSubnetIdHasBeenSet; }
279 inline void SetDefaultSubnetId(const Aws::String& value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId = value; }
280 inline void SetDefaultSubnetId(Aws::String&& value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId = std::move(value); }
281 inline void SetDefaultSubnetId(const char* value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId.assign(value); }
282 inline CloneStackRequest& WithDefaultSubnetId(const Aws::String& value) { SetDefaultSubnetId(value); return *this;}
283 inline CloneStackRequest& WithDefaultSubnetId(Aws::String&& value) { SetDefaultSubnetId(std::move(value)); return *this;}
284 inline CloneStackRequest& WithDefaultSubnetId(const char* value) { SetDefaultSubnetId(value); return *this;}
286
288
296 inline const Aws::String& GetCustomJson() const{ return m_customJson; }
297 inline bool CustomJsonHasBeenSet() const { return m_customJsonHasBeenSet; }
298 inline void SetCustomJson(const Aws::String& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
299 inline void SetCustomJson(Aws::String&& value) { m_customJsonHasBeenSet = true; m_customJson = std::move(value); }
300 inline void SetCustomJson(const char* value) { m_customJsonHasBeenSet = true; m_customJson.assign(value); }
301 inline CloneStackRequest& WithCustomJson(const Aws::String& value) { SetCustomJson(value); return *this;}
302 inline CloneStackRequest& WithCustomJson(Aws::String&& value) { SetCustomJson(std::move(value)); return *this;}
303 inline CloneStackRequest& WithCustomJson(const char* value) { SetCustomJson(value); return *this;}
305
307
313 inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; }
314 inline bool ConfigurationManagerHasBeenSet() const { return m_configurationManagerHasBeenSet; }
315 inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
316 inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = std::move(value); }
320
322
329 inline const ChefConfiguration& GetChefConfiguration() const{ return m_chefConfiguration; }
330 inline bool ChefConfigurationHasBeenSet() const { return m_chefConfigurationHasBeenSet; }
331 inline void SetChefConfiguration(const ChefConfiguration& value) { m_chefConfigurationHasBeenSet = true; m_chefConfiguration = value; }
332 inline void SetChefConfiguration(ChefConfiguration&& value) { m_chefConfigurationHasBeenSet = true; m_chefConfiguration = std::move(value); }
334 inline CloneStackRequest& WithChefConfiguration(ChefConfiguration&& value) { SetChefConfiguration(std::move(value)); return *this;}
336
338
341 inline bool GetUseCustomCookbooks() const{ return m_useCustomCookbooks; }
342 inline bool UseCustomCookbooksHasBeenSet() const { return m_useCustomCookbooksHasBeenSet; }
343 inline void SetUseCustomCookbooks(bool value) { m_useCustomCookbooksHasBeenSet = true; m_useCustomCookbooks = value; }
344 inline CloneStackRequest& WithUseCustomCookbooks(bool value) { SetUseCustomCookbooks(value); return *this;}
346
348
367 inline bool GetUseOpsworksSecurityGroups() const{ return m_useOpsworksSecurityGroups; }
368 inline bool UseOpsworksSecurityGroupsHasBeenSet() const { return m_useOpsworksSecurityGroupsHasBeenSet; }
369 inline void SetUseOpsworksSecurityGroups(bool value) { m_useOpsworksSecurityGroupsHasBeenSet = true; m_useOpsworksSecurityGroups = value; }
372
374
382 inline const Source& GetCustomCookbooksSource() const{ return m_customCookbooksSource; }
383 inline bool CustomCookbooksSourceHasBeenSet() const { return m_customCookbooksSourceHasBeenSet; }
384 inline void SetCustomCookbooksSource(const Source& value) { m_customCookbooksSourceHasBeenSet = true; m_customCookbooksSource = value; }
385 inline void SetCustomCookbooksSource(Source&& value) { m_customCookbooksSourceHasBeenSet = true; m_customCookbooksSource = std::move(value); }
386 inline CloneStackRequest& WithCustomCookbooksSource(const Source& value) { SetCustomCookbooksSource(value); return *this;}
387 inline CloneStackRequest& WithCustomCookbooksSource(Source&& value) { SetCustomCookbooksSource(std::move(value)); return *this;}
389
391
404 inline const Aws::String& GetDefaultSshKeyName() const{ return m_defaultSshKeyName; }
405 inline bool DefaultSshKeyNameHasBeenSet() const { return m_defaultSshKeyNameHasBeenSet; }
406 inline void SetDefaultSshKeyName(const Aws::String& value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName = value; }
407 inline void SetDefaultSshKeyName(Aws::String&& value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName = std::move(value); }
408 inline void SetDefaultSshKeyName(const char* value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName.assign(value); }
409 inline CloneStackRequest& WithDefaultSshKeyName(const Aws::String& value) { SetDefaultSshKeyName(value); return *this;}
410 inline CloneStackRequest& WithDefaultSshKeyName(Aws::String&& value) { SetDefaultSshKeyName(std::move(value)); return *this;}
411 inline CloneStackRequest& WithDefaultSshKeyName(const char* value) { SetDefaultSshKeyName(value); return *this;}
413
415
418 inline bool GetClonePermissions() const{ return m_clonePermissions; }
419 inline bool ClonePermissionsHasBeenSet() const { return m_clonePermissionsHasBeenSet; }
420 inline void SetClonePermissions(bool value) { m_clonePermissionsHasBeenSet = true; m_clonePermissions = value; }
421 inline CloneStackRequest& WithClonePermissions(bool value) { SetClonePermissions(value); return *this;}
423
425
428 inline const Aws::Vector<Aws::String>& GetCloneAppIds() const{ return m_cloneAppIds; }
429 inline bool CloneAppIdsHasBeenSet() const { return m_cloneAppIdsHasBeenSet; }
430 inline void SetCloneAppIds(const Aws::Vector<Aws::String>& value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds = value; }
431 inline void SetCloneAppIds(Aws::Vector<Aws::String>&& value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds = std::move(value); }
432 inline CloneStackRequest& WithCloneAppIds(const Aws::Vector<Aws::String>& value) { SetCloneAppIds(value); return *this;}
433 inline CloneStackRequest& WithCloneAppIds(Aws::Vector<Aws::String>&& value) { SetCloneAppIds(std::move(value)); return *this;}
434 inline CloneStackRequest& AddCloneAppIds(const Aws::String& value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds.push_back(value); return *this; }
435 inline CloneStackRequest& AddCloneAppIds(Aws::String&& value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds.push_back(std::move(value)); return *this; }
436 inline CloneStackRequest& AddCloneAppIds(const char* value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds.push_back(value); return *this; }
438
440
447 inline const RootDeviceType& GetDefaultRootDeviceType() const{ return m_defaultRootDeviceType; }
448 inline bool DefaultRootDeviceTypeHasBeenSet() const { return m_defaultRootDeviceTypeHasBeenSet; }
449 inline void SetDefaultRootDeviceType(const RootDeviceType& value) { m_defaultRootDeviceTypeHasBeenSet = true; m_defaultRootDeviceType = value; }
450 inline void SetDefaultRootDeviceType(RootDeviceType&& value) { m_defaultRootDeviceTypeHasBeenSet = true; m_defaultRootDeviceType = std::move(value); }
452 inline CloneStackRequest& WithDefaultRootDeviceType(RootDeviceType&& value) { SetDefaultRootDeviceType(std::move(value)); return *this;}
454
456
471 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
472 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
473 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
474 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
475 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
476 inline CloneStackRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
477 inline CloneStackRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
478 inline CloneStackRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
480 private:
481
482 Aws::String m_sourceStackId;
483 bool m_sourceStackIdHasBeenSet = false;
484
485 Aws::String m_name;
486 bool m_nameHasBeenSet = false;
487
488 Aws::String m_region;
489 bool m_regionHasBeenSet = false;
490
491 Aws::String m_vpcId;
492 bool m_vpcIdHasBeenSet = false;
493
495 bool m_attributesHasBeenSet = false;
496
497 Aws::String m_serviceRoleArn;
498 bool m_serviceRoleArnHasBeenSet = false;
499
500 Aws::String m_defaultInstanceProfileArn;
501 bool m_defaultInstanceProfileArnHasBeenSet = false;
502
503 Aws::String m_defaultOs;
504 bool m_defaultOsHasBeenSet = false;
505
506 Aws::String m_hostnameTheme;
507 bool m_hostnameThemeHasBeenSet = false;
508
509 Aws::String m_defaultAvailabilityZone;
510 bool m_defaultAvailabilityZoneHasBeenSet = false;
511
512 Aws::String m_defaultSubnetId;
513 bool m_defaultSubnetIdHasBeenSet = false;
514
515 Aws::String m_customJson;
516 bool m_customJsonHasBeenSet = false;
517
518 StackConfigurationManager m_configurationManager;
519 bool m_configurationManagerHasBeenSet = false;
520
521 ChefConfiguration m_chefConfiguration;
522 bool m_chefConfigurationHasBeenSet = false;
523
524 bool m_useCustomCookbooks;
525 bool m_useCustomCookbooksHasBeenSet = false;
526
527 bool m_useOpsworksSecurityGroups;
528 bool m_useOpsworksSecurityGroupsHasBeenSet = false;
529
530 Source m_customCookbooksSource;
531 bool m_customCookbooksSourceHasBeenSet = false;
532
533 Aws::String m_defaultSshKeyName;
534 bool m_defaultSshKeyNameHasBeenSet = false;
535
536 bool m_clonePermissions;
537 bool m_clonePermissionsHasBeenSet = false;
538
539 Aws::Vector<Aws::String> m_cloneAppIds;
540 bool m_cloneAppIdsHasBeenSet = false;
541
542 RootDeviceType m_defaultRootDeviceType;
543 bool m_defaultRootDeviceTypeHasBeenSet = false;
544
545 Aws::String m_agentVersion;
546 bool m_agentVersionHasBeenSet = false;
547 };
548
549} // namespace Model
550} // namespace OpsWorks
551} // namespace Aws
CloneStackRequest & WithAgentVersion(const char *value)
CloneStackRequest & WithAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
const Aws::String & GetDefaultInstanceProfileArn() const
CloneStackRequest & WithUseCustomCookbooks(bool value)
void SetAgentVersion(const Aws::String &value)
CloneStackRequest & WithVpcId(const Aws::String &value)
CloneStackRequest & AddCloneAppIds(const Aws::String &value)
const StackConfigurationManager & GetConfigurationManager() const
CloneStackRequest & WithRegion(const char *value)
CloneStackRequest & WithConfigurationManager(StackConfigurationManager &&value)
CloneStackRequest & WithCustomCookbooksSource(Source &&value)
CloneStackRequest & WithSourceStackId(Aws::String &&value)
CloneStackRequest & WithDefaultSubnetId(const Aws::String &value)
CloneStackRequest & AddAttributes(StackAttributesKeys &&key, const char *value)
CloneStackRequest & AddAttributes(const StackAttributesKeys &key, const Aws::String &value)
CloneStackRequest & WithRegion(const Aws::String &value)
void SetSourceStackId(Aws::String &&value)
void SetVpcId(const Aws::String &value)
CloneStackRequest & AddAttributes(StackAttributesKeys &&key, const Aws::String &value)
void SetDefaultAvailabilityZone(const char *value)
CloneStackRequest & WithDefaultRootDeviceType(RootDeviceType &&value)
void SetDefaultSubnetId(const Aws::String &value)
CloneStackRequest & WithAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
CloneStackRequest & WithRegion(Aws::String &&value)
CloneStackRequest & WithDefaultAvailabilityZone(Aws::String &&value)
CloneStackRequest & WithHostnameTheme(const Aws::String &value)
CloneStackRequest & AddCloneAppIds(Aws::String &&value)
CloneStackRequest & WithHostnameTheme(Aws::String &&value)
void SetDefaultSubnetId(Aws::String &&value)
const Aws::String & GetDefaultAvailabilityZone() const
const Aws::String & GetDefaultSubnetId() const
CloneStackRequest & WithDefaultSubnetId(Aws::String &&value)
void SetCloneAppIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetRegion() const
CloneStackRequest & WithUseOpsworksSecurityGroups(bool value)
CloneStackRequest & WithSourceStackId(const char *value)
CloneStackRequest & WithCustomJson(const char *value)
const Aws::String & GetDefaultSshKeyName() const
CloneStackRequest & WithDefaultSshKeyName(const Aws::String &value)
CloneStackRequest & WithClonePermissions(bool value)
const Aws::String & GetServiceRoleArn() const
void SetChefConfiguration(ChefConfiguration &&value)
CloneStackRequest & WithDefaultInstanceProfileArn(const Aws::String &value)
void SetHostnameTheme(const Aws::String &value)
void SetConfigurationManager(StackConfigurationManager &&value)
CloneStackRequest & WithDefaultAvailabilityZone(const char *value)
CloneStackRequest & WithDefaultAvailabilityZone(const Aws::String &value)
CloneStackRequest & WithName(const char *value)
CloneStackRequest & WithChefConfiguration(const ChefConfiguration &value)
CloneStackRequest & WithServiceRoleArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCloneAppIds() const
CloneStackRequest & WithDefaultInstanceProfileArn(const char *value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetDefaultSshKeyName(Aws::String &&value)
void SetName(const Aws::String &value)
CloneStackRequest & AddAttributes(const StackAttributesKeys &key, Aws::String &&value)
CloneStackRequest & WithChefConfiguration(ChefConfiguration &&value)
void SetServiceRoleArn(const Aws::String &value)
void SetCloneAppIds(const Aws::Vector< Aws::String > &value)
CloneStackRequest & WithHostnameTheme(const char *value)
void SetDefaultInstanceProfileArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetCustomCookbooksSource(const Source &value)
const Aws::String & GetAgentVersion() const
CloneStackRequest & AddAttributes(StackAttributesKeys &&key, Aws::String &&value)
CloneStackRequest & WithDefaultOs(const Aws::String &value)
const RootDeviceType & GetDefaultRootDeviceType() const
CloneStackRequest & WithCustomJson(const Aws::String &value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CloneStackRequest & WithCustomJson(Aws::String &&value)
void SetDefaultOs(const Aws::String &value)
void SetSourceStackId(const Aws::String &value)
void SetAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
CloneStackRequest & WithServiceRoleArn(const char *value)
const Aws::String & GetSourceStackId() const
void SetDefaultRootDeviceType(const RootDeviceType &value)
void SetRegion(const Aws::String &value)
CloneStackRequest & WithVpcId(Aws::String &&value)
CloneStackRequest & WithDefaultSshKeyName(Aws::String &&value)
CloneStackRequest & WithDefaultOs(const char *value)
CloneStackRequest & WithDefaultSubnetId(const char *value)
void SetDefaultSshKeyName(const Aws::String &value)
void SetChefConfiguration(const ChefConfiguration &value)
void SetAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
CloneStackRequest & WithAgentVersion(Aws::String &&value)
void SetDefaultAvailabilityZone(Aws::String &&value)
CloneStackRequest & WithDefaultInstanceProfileArn(Aws::String &&value)
const Aws::String & GetHostnameTheme() const
void SetDefaultAvailabilityZone(const Aws::String &value)
CloneStackRequest & WithName(Aws::String &&value)
CloneStackRequest & AddAttributes(const StackAttributesKeys &key, const char *value)
const Aws::String & GetCustomJson() const
CloneStackRequest & WithDefaultRootDeviceType(const RootDeviceType &value)
void SetDefaultRootDeviceType(RootDeviceType &&value)
void SetCustomJson(const Aws::String &value)
const ChefConfiguration & GetChefConfiguration() const
CloneStackRequest & WithConfigurationManager(const StackConfigurationManager &value)
CloneStackRequest & AddCloneAppIds(const char *value)
CloneStackRequest & WithDefaultSshKeyName(const char *value)
CloneStackRequest & WithCloneAppIds(Aws::Vector< Aws::String > &&value)
CloneStackRequest & WithDefaultOs(Aws::String &&value)
CloneStackRequest & WithName(const Aws::String &value)
CloneStackRequest & WithSourceStackId(const Aws::String &value)
CloneStackRequest & WithCloneAppIds(const Aws::Vector< Aws::String > &value)
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
CloneStackRequest & WithVpcId(const char *value)
CloneStackRequest & WithCustomCookbooksSource(const Source &value)
void SetDefaultInstanceProfileArn(const char *value)
void SetDefaultInstanceProfileArn(Aws::String &&value)
void SetConfigurationManager(const StackConfigurationManager &value)
CloneStackRequest & WithAgentVersion(const Aws::String &value)
const Aws::String & GetDefaultOs() const
CloneStackRequest & WithServiceRoleArn(const Aws::String &value)
void SetServiceRoleArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector