AWS SDK for C++  0.14.3
AWS SDK for C++
CloneStackRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
26 
27 namespace Aws
28 {
29 namespace OpsWorks
30 {
31 namespace Model
32 {
33 
37  {
38  public:
40  Aws::String SerializePayload() const override;
41 
42  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
43 
47  inline const Aws::String& GetSourceStackId() const{ return m_sourceStackId; }
48 
52  inline void SetSourceStackId(const Aws::String& value) { m_sourceStackIdHasBeenSet = true; m_sourceStackId = value; }
53 
57  inline void SetSourceStackId(Aws::String&& value) { m_sourceStackIdHasBeenSet = true; m_sourceStackId = value; }
58 
62  inline void SetSourceStackId(const char* value) { m_sourceStackIdHasBeenSet = true; m_sourceStackId.assign(value); }
63 
67  inline CloneStackRequest& WithSourceStackId(const Aws::String& value) { SetSourceStackId(value); return *this;}
68 
72  inline CloneStackRequest& WithSourceStackId(Aws::String&& value) { SetSourceStackId(value); return *this;}
73 
77  inline CloneStackRequest& WithSourceStackId(const char* value) { SetSourceStackId(value); return *this;}
78 
82  inline const Aws::String& GetName() const{ return m_name; }
83 
87  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
88 
92  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
93 
97  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
98 
102  inline CloneStackRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
103 
107  inline CloneStackRequest& WithName(Aws::String&& value) { SetName(value); return *this;}
108 
112  inline CloneStackRequest& WithName(const char* value) { SetName(value); return *this;}
113 
120  inline const Aws::String& GetRegion() const{ return m_region; }
121 
128  inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
129 
136  inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = value; }
137 
144  inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
145 
152  inline CloneStackRequest& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
153 
160  inline CloneStackRequest& WithRegion(Aws::String&& value) { SetRegion(value); return *this;}
161 
168  inline CloneStackRequest& WithRegion(const char* value) { SetRegion(value); return *this;}
169 
192  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
193 
216  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
217 
240  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
241 
264  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
265 
288  inline CloneStackRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
289 
312  inline CloneStackRequest& WithVpcId(Aws::String&& value) { SetVpcId(value); return *this;}
313 
336  inline CloneStackRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
337 
342  inline const Aws::Map<StackAttributesKeys, Aws::String>& GetAttributes() const{ return m_attributes; }
343 
348  inline void SetAttributes(const Aws::Map<StackAttributesKeys, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
349 
354  inline void SetAttributes(Aws::Map<StackAttributesKeys, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = value; }
355 
360  inline CloneStackRequest& WithAttributes(const Aws::Map<StackAttributesKeys, Aws::String>& value) { SetAttributes(value); return *this;}
361 
366  inline CloneStackRequest& WithAttributes(Aws::Map<StackAttributesKeys, Aws::String>&& value) { SetAttributes(value); return *this;}
367 
372  inline CloneStackRequest& AddAttributes(const StackAttributesKeys& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
373 
378  inline CloneStackRequest& AddAttributes(StackAttributesKeys&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
379 
384  inline CloneStackRequest& AddAttributes(const StackAttributesKeys& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
385 
390  inline CloneStackRequest& AddAttributes(StackAttributesKeys&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
391 
396  inline CloneStackRequest& AddAttributes(StackAttributesKeys&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
397 
402  inline CloneStackRequest& AddAttributes(const StackAttributesKeys& key, const char* value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
403 
417  inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
418 
432  inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
433 
447  inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
448 
462  inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
463 
477  inline CloneStackRequest& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;}
478 
492  inline CloneStackRequest& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(value); return *this;}
493 
507  inline CloneStackRequest& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
508 
516  inline const Aws::String& GetDefaultInstanceProfileArn() const{ return m_defaultInstanceProfileArn; }
517 
525  inline void SetDefaultInstanceProfileArn(const Aws::String& value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn = value; }
526 
534  inline void SetDefaultInstanceProfileArn(Aws::String&& value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn = value; }
535 
543  inline void SetDefaultInstanceProfileArn(const char* value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn.assign(value); }
544 
552  inline CloneStackRequest& WithDefaultInstanceProfileArn(const Aws::String& value) { SetDefaultInstanceProfileArn(value); return *this;}
553 
561  inline CloneStackRequest& WithDefaultInstanceProfileArn(Aws::String&& value) { SetDefaultInstanceProfileArn(value); return *this;}
562 
570  inline CloneStackRequest& WithDefaultInstanceProfileArn(const char* value) { SetDefaultInstanceProfileArn(value); return *this;}
571 
595  inline const Aws::String& GetDefaultOs() const{ return m_defaultOs; }
596 
620  inline void SetDefaultOs(const Aws::String& value) { m_defaultOsHasBeenSet = true; m_defaultOs = value; }
621 
645  inline void SetDefaultOs(Aws::String&& value) { m_defaultOsHasBeenSet = true; m_defaultOs = value; }
646 
670  inline void SetDefaultOs(const char* value) { m_defaultOsHasBeenSet = true; m_defaultOs.assign(value); }
671 
695  inline CloneStackRequest& WithDefaultOs(const Aws::String& value) { SetDefaultOs(value); return *this;}
696 
720  inline CloneStackRequest& WithDefaultOs(Aws::String&& value) { SetDefaultOs(value); return *this;}
721 
745  inline CloneStackRequest& WithDefaultOs(const char* value) { SetDefaultOs(value); return *this;}
746 
763  inline const Aws::String& GetHostnameTheme() const{ return m_hostnameTheme; }
764 
781  inline void SetHostnameTheme(const Aws::String& value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme = value; }
782 
799  inline void SetHostnameTheme(Aws::String&& value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme = value; }
800 
817  inline void SetHostnameTheme(const char* value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme.assign(value); }
818 
835  inline CloneStackRequest& WithHostnameTheme(const Aws::String& value) { SetHostnameTheme(value); return *this;}
836 
853  inline CloneStackRequest& WithHostnameTheme(Aws::String&& value) { SetHostnameTheme(value); return *this;}
854 
871  inline CloneStackRequest& WithHostnameTheme(const char* value) { SetHostnameTheme(value); return *this;}
872 
881  inline const Aws::String& GetDefaultAvailabilityZone() const{ return m_defaultAvailabilityZone; }
882 
891  inline void SetDefaultAvailabilityZone(const Aws::String& value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone = value; }
892 
901  inline void SetDefaultAvailabilityZone(Aws::String&& value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone = value; }
902 
911  inline void SetDefaultAvailabilityZone(const char* value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone.assign(value); }
912 
921  inline CloneStackRequest& WithDefaultAvailabilityZone(const Aws::String& value) { SetDefaultAvailabilityZone(value); return *this;}
922 
931  inline CloneStackRequest& WithDefaultAvailabilityZone(Aws::String&& value) { SetDefaultAvailabilityZone(value); return *this;}
932 
941  inline CloneStackRequest& WithDefaultAvailabilityZone(const char* value) { SetDefaultAvailabilityZone(value); return *this;}
942 
951  inline const Aws::String& GetDefaultSubnetId() const{ return m_defaultSubnetId; }
952 
961  inline void SetDefaultSubnetId(const Aws::String& value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId = value; }
962 
971  inline void SetDefaultSubnetId(Aws::String&& value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId = value; }
972 
981  inline void SetDefaultSubnetId(const char* value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId.assign(value); }
982 
991  inline CloneStackRequest& WithDefaultSubnetId(const Aws::String& value) { SetDefaultSubnetId(value); return *this;}
992 
1001  inline CloneStackRequest& WithDefaultSubnetId(Aws::String&& value) { SetDefaultSubnetId(value); return *this;}
1002 
1011  inline CloneStackRequest& WithDefaultSubnetId(const char* value) { SetDefaultSubnetId(value); return *this;}
1012 
1022  inline const Aws::String& GetCustomJson() const{ return m_customJson; }
1023 
1033  inline void SetCustomJson(const Aws::String& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
1034 
1044  inline void SetCustomJson(Aws::String&& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
1045 
1055  inline void SetCustomJson(const char* value) { m_customJsonHasBeenSet = true; m_customJson.assign(value); }
1056 
1066  inline CloneStackRequest& WithCustomJson(const Aws::String& value) { SetCustomJson(value); return *this;}
1067 
1077  inline CloneStackRequest& WithCustomJson(Aws::String&& value) { SetCustomJson(value); return *this;}
1078 
1088  inline CloneStackRequest& WithCustomJson(const char* value) { SetCustomJson(value); return *this;}
1089 
1096  inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; }
1097 
1104  inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
1105 
1112  inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
1113 
1120  inline CloneStackRequest& WithConfigurationManager(const StackConfigurationManager& value) { SetConfigurationManager(value); return *this;}
1121 
1128  inline CloneStackRequest& WithConfigurationManager(StackConfigurationManager&& value) { SetConfigurationManager(value); return *this;}
1129 
1137  inline const ChefConfiguration& GetChefConfiguration() const{ return m_chefConfiguration; }
1138 
1146  inline void SetChefConfiguration(const ChefConfiguration& value) { m_chefConfigurationHasBeenSet = true; m_chefConfiguration = value; }
1147 
1155  inline void SetChefConfiguration(ChefConfiguration&& value) { m_chefConfigurationHasBeenSet = true; m_chefConfiguration = value; }
1156 
1164  inline CloneStackRequest& WithChefConfiguration(const ChefConfiguration& value) { SetChefConfiguration(value); return *this;}
1165 
1173  inline CloneStackRequest& WithChefConfiguration(ChefConfiguration&& value) { SetChefConfiguration(value); return *this;}
1174 
1178  inline bool GetUseCustomCookbooks() const{ return m_useCustomCookbooks; }
1179 
1183  inline void SetUseCustomCookbooks(bool value) { m_useCustomCookbooksHasBeenSet = true; m_useCustomCookbooks = value; }
1184 
1188  inline CloneStackRequest& WithUseCustomCookbooks(bool value) { SetUseCustomCookbooks(value); return *this;}
1189 
1209  inline bool GetUseOpsworksSecurityGroups() const{ return m_useOpsworksSecurityGroups; }
1210 
1230  inline void SetUseOpsworksSecurityGroups(bool value) { m_useOpsworksSecurityGroupsHasBeenSet = true; m_useOpsworksSecurityGroups = value; }
1231 
1251  inline CloneStackRequest& WithUseOpsworksSecurityGroups(bool value) { SetUseOpsworksSecurityGroups(value); return *this;}
1252 
1253 
1254  inline const Source& GetCustomCookbooksSource() const{ return m_customCookbooksSource; }
1255 
1256 
1257  inline void SetCustomCookbooksSource(const Source& value) { m_customCookbooksSourceHasBeenSet = true; m_customCookbooksSource = value; }
1258 
1259 
1260  inline void SetCustomCookbooksSource(Source&& value) { m_customCookbooksSourceHasBeenSet = true; m_customCookbooksSource = value; }
1261 
1262 
1263  inline CloneStackRequest& WithCustomCookbooksSource(const Source& value) { SetCustomCookbooksSource(value); return *this;}
1264 
1265 
1266  inline CloneStackRequest& WithCustomCookbooksSource(Source&& value) { SetCustomCookbooksSource(value); return *this;}
1267 
1281  inline const Aws::String& GetDefaultSshKeyName() const{ return m_defaultSshKeyName; }
1282 
1296  inline void SetDefaultSshKeyName(const Aws::String& value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName = value; }
1297 
1311  inline void SetDefaultSshKeyName(Aws::String&& value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName = value; }
1312 
1326  inline void SetDefaultSshKeyName(const char* value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName.assign(value); }
1327 
1341  inline CloneStackRequest& WithDefaultSshKeyName(const Aws::String& value) { SetDefaultSshKeyName(value); return *this;}
1342 
1356  inline CloneStackRequest& WithDefaultSshKeyName(Aws::String&& value) { SetDefaultSshKeyName(value); return *this;}
1357 
1371  inline CloneStackRequest& WithDefaultSshKeyName(const char* value) { SetDefaultSshKeyName(value); return *this;}
1372 
1376  inline bool GetClonePermissions() const{ return m_clonePermissions; }
1377 
1381  inline void SetClonePermissions(bool value) { m_clonePermissionsHasBeenSet = true; m_clonePermissions = value; }
1382 
1386  inline CloneStackRequest& WithClonePermissions(bool value) { SetClonePermissions(value); return *this;}
1387 
1391  inline const Aws::Vector<Aws::String>& GetCloneAppIds() const{ return m_cloneAppIds; }
1392 
1396  inline void SetCloneAppIds(const Aws::Vector<Aws::String>& value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds = value; }
1397 
1401  inline void SetCloneAppIds(Aws::Vector<Aws::String>&& value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds = value; }
1402 
1406  inline CloneStackRequest& WithCloneAppIds(const Aws::Vector<Aws::String>& value) { SetCloneAppIds(value); return *this;}
1407 
1411  inline CloneStackRequest& WithCloneAppIds(Aws::Vector<Aws::String>&& value) { SetCloneAppIds(value); return *this;}
1412 
1416  inline CloneStackRequest& AddCloneAppIds(const Aws::String& value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds.push_back(value); return *this; }
1417 
1421  inline CloneStackRequest& AddCloneAppIds(Aws::String&& value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds.push_back(value); return *this; }
1422 
1426  inline CloneStackRequest& AddCloneAppIds(const char* value) { m_cloneAppIdsHasBeenSet = true; m_cloneAppIds.push_back(value); return *this; }
1427 
1435  inline const RootDeviceType& GetDefaultRootDeviceType() const{ return m_defaultRootDeviceType; }
1436 
1444  inline void SetDefaultRootDeviceType(const RootDeviceType& value) { m_defaultRootDeviceTypeHasBeenSet = true; m_defaultRootDeviceType = value; }
1445 
1453  inline void SetDefaultRootDeviceType(RootDeviceType&& value) { m_defaultRootDeviceTypeHasBeenSet = true; m_defaultRootDeviceType = value; }
1454 
1462  inline CloneStackRequest& WithDefaultRootDeviceType(const RootDeviceType& value) { SetDefaultRootDeviceType(value); return *this;}
1463 
1471  inline CloneStackRequest& WithDefaultRootDeviceType(RootDeviceType&& value) { SetDefaultRootDeviceType(value); return *this;}
1472 
1487  inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
1488 
1503  inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
1504 
1519  inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
1520 
1535  inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
1536 
1551  inline CloneStackRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
1552 
1567  inline CloneStackRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(value); return *this;}
1568 
1583  inline CloneStackRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
1584 
1585  private:
1586  Aws::String m_sourceStackId;
1587  bool m_sourceStackIdHasBeenSet;
1588  Aws::String m_name;
1589  bool m_nameHasBeenSet;
1590  Aws::String m_region;
1591  bool m_regionHasBeenSet;
1592  Aws::String m_vpcId;
1593  bool m_vpcIdHasBeenSet;
1595  bool m_attributesHasBeenSet;
1596  Aws::String m_serviceRoleArn;
1597  bool m_serviceRoleArnHasBeenSet;
1598  Aws::String m_defaultInstanceProfileArn;
1599  bool m_defaultInstanceProfileArnHasBeenSet;
1600  Aws::String m_defaultOs;
1601  bool m_defaultOsHasBeenSet;
1602  Aws::String m_hostnameTheme;
1603  bool m_hostnameThemeHasBeenSet;
1604  Aws::String m_defaultAvailabilityZone;
1605  bool m_defaultAvailabilityZoneHasBeenSet;
1606  Aws::String m_defaultSubnetId;
1607  bool m_defaultSubnetIdHasBeenSet;
1608  Aws::String m_customJson;
1609  bool m_customJsonHasBeenSet;
1610  StackConfigurationManager m_configurationManager;
1611  bool m_configurationManagerHasBeenSet;
1612  ChefConfiguration m_chefConfiguration;
1613  bool m_chefConfigurationHasBeenSet;
1614  bool m_useCustomCookbooks;
1615  bool m_useCustomCookbooksHasBeenSet;
1616  bool m_useOpsworksSecurityGroups;
1617  bool m_useOpsworksSecurityGroupsHasBeenSet;
1618  Source m_customCookbooksSource;
1619  bool m_customCookbooksSourceHasBeenSet;
1620  Aws::String m_defaultSshKeyName;
1621  bool m_defaultSshKeyNameHasBeenSet;
1622  bool m_clonePermissions;
1623  bool m_clonePermissionsHasBeenSet;
1624  Aws::Vector<Aws::String> m_cloneAppIds;
1625  bool m_cloneAppIdsHasBeenSet;
1626  RootDeviceType m_defaultRootDeviceType;
1627  bool m_defaultRootDeviceTypeHasBeenSet;
1628  Aws::String m_agentVersion;
1629  bool m_agentVersionHasBeenSet;
1630  };
1631 
1632 } // namespace Model
1633 } // namespace OpsWorks
1634 } // namespace Aws
void SetDefaultSubnetId(const Aws::String &value)
CloneStackRequest & WithDefaultSubnetId(const Aws::String &value)
CloneStackRequest & AddAttributes(StackAttributesKeys &&key, const char *value)
const Aws::String & GetRegion() const
CloneStackRequest & WithDefaultRootDeviceType(const RootDeviceType &value)
void SetChefConfiguration(const ChefConfiguration &value)
void SetDefaultSshKeyName(Aws::String &&value)
const StackConfigurationManager & GetConfigurationManager() const
void SetSourceStackId(const Aws::String &value)
CloneStackRequest & WithDefaultSubnetId(const char *value)
const Aws::String & GetDefaultOs() const
void SetAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
CloneStackRequest & WithAgentVersion(const char *value)
CloneStackRequest & WithRegion(const char *value)
CloneStackRequest & WithRegion(Aws::String &&value)
CloneStackRequest & WithDefaultInstanceProfileArn(Aws::String &&value)
CloneStackRequest & WithVpcId(const Aws::String &value)
const Aws::String & GetDefaultAvailabilityZone() const
void SetAgentVersion(const Aws::String &value)
const RootDeviceType & GetDefaultRootDeviceType() const
CloneStackRequest & WithServiceRoleArn(const char *value)
CloneStackRequest & WithAgentVersion(const Aws::String &value)
void SetCloneAppIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDefaultSshKeyName() const
const Aws::String & GetDefaultSubnetId() const
void SetDefaultSshKeyName(const Aws::String &value)
CloneStackRequest & WithCloneAppIds(Aws::Vector< Aws::String > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
CloneStackRequest & WithCustomCookbooksSource(const Source &value)
const Aws::String & GetDefaultInstanceProfileArn() const
void SetConfigurationManager(const StackConfigurationManager &value)
void SetCustomCookbooksSource(const Source &value)
void SetCustomJson(const Aws::String &value)
CloneStackRequest & WithHostnameTheme(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
CloneStackRequest & WithSourceStackId(const char *value)
CloneStackRequest & WithAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
CloneStackRequest & WithDefaultAvailabilityZone(const Aws::String &value)
CloneStackRequest & AddAttributes(const StackAttributesKeys &key, const char *value)
CloneStackRequest & WithDefaultSshKeyName(Aws::String &&value)
CloneStackRequest & WithDefaultOs(const char *value)
CloneStackRequest & WithName(const char *value)
void SetDefaultSubnetId(Aws::String &&value)
CloneStackRequest & WithDefaultSshKeyName(const Aws::String &value)
CloneStackRequest & AddAttributes(const StackAttributesKeys &key, const Aws::String &value)
void SetServiceRoleArn(Aws::String &&value)
CloneStackRequest & WithSourceStackId(Aws::String &&value)
void SetDefaultAvailabilityZone(Aws::String &&value)
CloneStackRequest & AddAttributes(const StackAttributesKeys &key, Aws::String &&value)
CloneStackRequest & WithDefaultOs(const Aws::String &value)
CloneStackRequest & WithAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
const Aws::String & GetName() const
CloneStackRequest & AddAttributes(StackAttributesKeys &&key, Aws::String &&value)
void SetHostnameTheme(Aws::String &&value)
void SetDefaultRootDeviceType(const RootDeviceType &value)
CloneStackRequest & WithCustomJson(Aws::String &&value)
CloneStackRequest & WithAgentVersion(Aws::String &&value)
CloneStackRequest & WithClonePermissions(bool value)
const Aws::String & GetAgentVersion() const
CloneStackRequest & WithDefaultAvailabilityZone(Aws::String &&value)
void SetDefaultInstanceProfileArn(const char *value)
CloneStackRequest & WithVpcId(const char *value)
void SetChefConfiguration(ChefConfiguration &&value)
CloneStackRequest & WithDefaultAvailabilityZone(const char *value)
CloneStackRequest & WithConfigurationManager(StackConfigurationManager &&value)
CloneStackRequest & WithCustomCookbooksSource(Source &&value)
CloneStackRequest & WithCloneAppIds(const Aws::Vector< Aws::String > &value)
CloneStackRequest & WithRegion(const Aws::String &value)
const ChefConfiguration & GetChefConfiguration() const
void SetAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
void SetHostnameTheme(const Aws::String &value)
CloneStackRequest & WithChefConfiguration(const ChefConfiguration &value)
CloneStackRequest & WithDefaultSubnetId(Aws::String &&value)
void SetCloneAppIds(const Aws::Vector< Aws::String > &value)
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
void SetRegion(const Aws::String &value)
void SetVpcId(const Aws::String &value)
void SetName(const Aws::String &value)
CloneStackRequest & AddCloneAppIds(const Aws::String &value)
CloneStackRequest & WithDefaultInstanceProfileArn(const Aws::String &value)
CloneStackRequest & AddCloneAppIds(Aws::String &&value)
CloneStackRequest & WithUseCustomCookbooks(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CloneStackRequest & WithUseOpsworksSecurityGroups(bool value)
#define AWS_OPSWORKS_API
void SetServiceRoleArn(const Aws::String &value)
const Source & GetCustomCookbooksSource() const
CloneStackRequest & WithVpcId(Aws::String &&value)
CloneStackRequest & WithSourceStackId(const Aws::String &value)
const Aws::String & GetHostnameTheme() const
CloneStackRequest & WithConfigurationManager(const StackConfigurationManager &value)
const Aws::String & GetVpcId() const
void SetDefaultInstanceProfileArn(const Aws::String &value)
void SetDefaultInstanceProfileArn(Aws::String &&value)
CloneStackRequest & WithCustomJson(const char *value)
CloneStackRequest & AddAttributes(StackAttributesKeys &&key, const Aws::String &value)
void SetSourceStackId(Aws::String &&value)
CloneStackRequest & WithDefaultRootDeviceType(RootDeviceType &&value)
void SetDefaultRootDeviceType(RootDeviceType &&value)
CloneStackRequest & WithCustomJson(const Aws::String &value)
const Aws::String & GetSourceStackId() const
const Aws::String & GetCustomJson() const
CloneStackRequest & WithDefaultOs(Aws::String &&value)
void SetDefaultOs(const Aws::String &value)
CloneStackRequest & WithHostnameTheme(const char *value)
CloneStackRequest & AddCloneAppIds(const char *value)
CloneStackRequest & WithDefaultSshKeyName(const char *value)
CloneStackRequest & WithName(Aws::String &&value)
void SetDefaultAvailabilityZone(const char *value)
const Aws::String & GetServiceRoleArn() const
const Aws::Vector< Aws::String > & GetCloneAppIds() const
CloneStackRequest & WithServiceRoleArn(const Aws::String &value)
void SetConfigurationManager(StackConfigurationManager &&value)
void SetDefaultAvailabilityZone(const Aws::String &value)
CloneStackRequest & WithServiceRoleArn(Aws::String &&value)
CloneStackRequest & WithName(const Aws::String &value)
JSON (JavaScript Object Notation).
CloneStackRequest & WithChefConfiguration(ChefConfiguration &&value)
CloneStackRequest & WithDefaultInstanceProfileArn(const char *value)
CloneStackRequest & WithHostnameTheme(const Aws::String &value)