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>
50 template<
typename SourceStackIdT = Aws::String>
51 void SetSourceStackId(SourceStackIdT&& value) { m_sourceStackIdHasBeenSet =
true; m_sourceStackId = std::forward<SourceStackIdT>(value); }
52 template<
typename SourceStackIdT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
78 template<
typename RegionT = Aws::String>
79 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
80 template<
typename RegionT = Aws::String>
109 template<
typename VpcIdT = Aws::String>
110 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
111 template<
typename VpcIdT = Aws::String>
122 template<
typename AttributesT = Aws::Map<StackAttributesKeys, Aws::String>>
123 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
124 template<
typename AttributesT = Aws::Map<StackAttributesKeys, Aws::String>>
127 m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this;
147 template<
typename ServiceRoleArnT = Aws::String>
148 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
149 template<
typename ServiceRoleArnT = Aws::String>
163 template<
typename DefaultInstanceProfileArnT = Aws::String>
164 void SetDefaultInstanceProfileArn(DefaultInstanceProfileArnT&& value) { m_defaultInstanceProfileArnHasBeenSet =
true; m_defaultInstanceProfileArn = std::forward<DefaultInstanceProfileArnT>(value); }
165 template<
typename DefaultInstanceProfileArnT = Aws::String>
198 template<
typename DefaultOsT = Aws::String>
199 void SetDefaultOs(DefaultOsT&& value) { m_defaultOsHasBeenSet =
true; m_defaultOs = std::forward<DefaultOsT>(value); }
200 template<
typename DefaultOsT = Aws::String>
224 template<
typename HostnameThemeT = Aws::String>
225 void SetHostnameTheme(HostnameThemeT&& value) { m_hostnameThemeHasBeenSet =
true; m_hostnameTheme = std::forward<HostnameThemeT>(value); }
226 template<
typename HostnameThemeT = Aws::String>
241 template<
typename DefaultAvailabilityZoneT = Aws::String>
242 void SetDefaultAvailabilityZone(DefaultAvailabilityZoneT&& value) { m_defaultAvailabilityZoneHasBeenSet =
true; m_defaultAvailabilityZone = std::forward<DefaultAvailabilityZoneT>(value); }
243 template<
typename DefaultAvailabilityZoneT = Aws::String>
258 template<
typename DefaultSubnetIdT = Aws::String>
259 void SetDefaultSubnetId(DefaultSubnetIdT&& value) { m_defaultSubnetIdHasBeenSet =
true; m_defaultSubnetId = std::forward<DefaultSubnetIdT>(value); }
260 template<
typename DefaultSubnetIdT = Aws::String>
275 template<
typename CustomJsonT = Aws::String>
276 void SetCustomJson(CustomJsonT&& value) { m_customJsonHasBeenSet =
true; m_customJson = std::forward<CustomJsonT>(value); }
277 template<
typename CustomJsonT = Aws::String>
290 template<
typename ConfigurationManagerT = StackConfigurationManager>
291 void SetConfigurationManager(ConfigurationManagerT&& value) { m_configurationManagerHasBeenSet =
true; m_configurationManager = std::forward<ConfigurationManagerT>(value); }
292 template<
typename ConfigurationManagerT = StackConfigurationManager>
306 template<
typename ChefConfigurationT = ChefConfiguration>
307 void SetChefConfiguration(ChefConfigurationT&& value) { m_chefConfigurationHasBeenSet =
true; m_chefConfiguration = std::forward<ChefConfigurationT>(value); }
308 template<
typename ChefConfigurationT = ChefConfiguration>
318 inline void SetUseCustomCookbooks(
bool value) { m_useCustomCookbooksHasBeenSet =
true; m_useCustomCookbooks = value; }
359 template<
typename CustomCookbooksSourceT = Source>
360 void SetCustomCookbooksSource(CustomCookbooksSourceT&& value) { m_customCookbooksSourceHasBeenSet =
true; m_customCookbooksSource = std::forward<CustomCookbooksSourceT>(value); }
361 template<
typename CustomCookbooksSourceT = Source>
381 template<
typename DefaultSshKeyNameT = Aws::String>
382 void SetDefaultSshKeyName(DefaultSshKeyNameT&& value) { m_defaultSshKeyNameHasBeenSet =
true; m_defaultSshKeyName = std::forward<DefaultSshKeyNameT>(value); }
383 template<
typename DefaultSshKeyNameT = Aws::String>
393 inline void SetClonePermissions(
bool value) { m_clonePermissionsHasBeenSet =
true; m_clonePermissions = value; }
403 template<
typename CloneAppIdsT = Aws::Vector<Aws::String>>
404 void SetCloneAppIds(CloneAppIdsT&& value) { m_cloneAppIdsHasBeenSet =
true; m_cloneAppIds = std::forward<CloneAppIdsT>(value); }
405 template<
typename CloneAppIdsT = Aws::Vector<Aws::String>>
407 template<
typename CloneAppIdsT = Aws::String>
408 CloneStackRequest&
AddCloneAppIds(CloneAppIdsT&& value) { m_cloneAppIdsHasBeenSet =
true; m_cloneAppIds.emplace_back(std::forward<CloneAppIdsT>(value));
return *
this; }
443 template<
typename AgentVersionT = Aws::String>
444 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
445 template<
typename AgentVersionT = Aws::String>
451 bool m_sourceStackIdHasBeenSet =
false;
454 bool m_nameHasBeenSet =
false;
457 bool m_regionHasBeenSet =
false;
460 bool m_vpcIdHasBeenSet =
false;
463 bool m_attributesHasBeenSet =
false;
466 bool m_serviceRoleArnHasBeenSet =
false;
469 bool m_defaultInstanceProfileArnHasBeenSet =
false;
472 bool m_defaultOsHasBeenSet =
false;
475 bool m_hostnameThemeHasBeenSet =
false;
478 bool m_defaultAvailabilityZoneHasBeenSet =
false;
481 bool m_defaultSubnetIdHasBeenSet =
false;
484 bool m_customJsonHasBeenSet =
false;
487 bool m_configurationManagerHasBeenSet =
false;
490 bool m_chefConfigurationHasBeenSet =
false;
492 bool m_useCustomCookbooks{
false};
493 bool m_useCustomCookbooksHasBeenSet =
false;
495 bool m_useOpsworksSecurityGroups{
false};
496 bool m_useOpsworksSecurityGroupsHasBeenSet =
false;
498 Source m_customCookbooksSource;
499 bool m_customCookbooksSourceHasBeenSet =
false;
502 bool m_defaultSshKeyNameHasBeenSet =
false;
504 bool m_clonePermissions{
false};
505 bool m_clonePermissionsHasBeenSet =
false;
508 bool m_cloneAppIdsHasBeenSet =
false;
511 bool m_defaultRootDeviceTypeHasBeenSet =
false;
514 bool m_agentVersionHasBeenSet =
false;
const Aws::String & GetDefaultInstanceProfileArn() const
CloneStackRequest & WithUseCustomCookbooks(bool value)
const StackConfigurationManager & GetConfigurationManager() const
CloneStackRequest & WithVpcId(VpcIdT &&value)
CloneStackRequest & WithConfigurationManager(ConfigurationManagerT &&value)
CloneStackRequest & WithSourceStackId(SourceStackIdT &&value)
CloneStackRequest & WithChefConfiguration(ChefConfigurationT &&value)
CloneStackRequest & WithDefaultSubnetId(DefaultSubnetIdT &&value)
void SetSourceStackId(SourceStackIdT &&value)
void SetDefaultSubnetId(DefaultSubnetIdT &&value)
bool ChefConfigurationHasBeenSet() const
void SetDefaultInstanceProfileArn(DefaultInstanceProfileArnT &&value)
bool ServiceRoleArnHasBeenSet() const
CloneStackRequest & WithCustomJson(CustomJsonT &&value)
void SetCustomCookbooksSource(CustomCookbooksSourceT &&value)
bool HostnameThemeHasBeenSet() const
const Aws::String & GetDefaultAvailabilityZone() const
CloneStackRequest & WithCloneAppIds(CloneAppIdsT &&value)
const Aws::String & GetDefaultSubnetId() const
bool DefaultSshKeyNameHasBeenSet() const
const Aws::String & GetRegion() const
void SetDefaultRootDeviceType(RootDeviceType value)
CloneStackRequest & WithUseOpsworksSecurityGroups(bool value)
CloneStackRequest & WithAgentVersion(AgentVersionT &&value)
bool NameHasBeenSet() const
CloneStackRequest & WithName(NameT &&value)
bool ConfigurationManagerHasBeenSet() const
bool GetClonePermissions() const
const Aws::String & GetDefaultSshKeyName() const
CloneStackRequest & WithDefaultInstanceProfileArn(DefaultInstanceProfileArnT &&value)
CloneStackRequest & WithClonePermissions(bool value)
const Aws::String & GetServiceRoleArn() const
CloneStackRequest & WithDefaultOs(DefaultOsT &&value)
void SetDefaultAvailabilityZone(DefaultAvailabilityZoneT &&value)
bool ClonePermissionsHasBeenSet() const
CloneStackRequest & WithCustomCookbooksSource(CustomCookbooksSourceT &&value)
bool AttributesHasBeenSet() const
const Aws::Vector< Aws::String > & GetCloneAppIds() const
bool SourceStackIdHasBeenSet() const
void SetHostnameTheme(HostnameThemeT &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetConfigurationManager(ConfigurationManagerT &&value)
void SetServiceRoleArn(ServiceRoleArnT &&value)
bool CloneAppIdsHasBeenSet() const
bool GetUseCustomCookbooks() const
CloneStackRequest & AddAttributes(StackAttributesKeys key, Aws::String value)
CloneStackRequest & AddCloneAppIds(CloneAppIdsT &&value)
virtual const char * GetServiceRequestName() const override
CloneStackRequest & WithDefaultRootDeviceType(RootDeviceType value)
bool DefaultInstanceProfileArnHasBeenSet() const
AWS_OPSWORKS_API CloneStackRequest()=default
void SetAgentVersion(AgentVersionT &&value)
const Aws::String & GetAgentVersion() const
bool UseOpsworksSecurityGroupsHasBeenSet() const
bool UseCustomCookbooksHasBeenSet() const
CloneStackRequest & WithDefaultAvailabilityZone(DefaultAvailabilityZoneT &&value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Source & GetCustomCookbooksSource() const
bool CustomJsonHasBeenSet() const
bool DefaultAvailabilityZoneHasBeenSet() const
bool VpcIdHasBeenSet() const
CloneStackRequest & WithRegion(RegionT &&value)
const Aws::String & GetName() const
const Aws::String & GetSourceStackId() const
bool DefaultSubnetIdHasBeenSet() const
bool DefaultOsHasBeenSet() const
bool GetUseOpsworksSecurityGroups() const
const Aws::String & GetVpcId() const
CloneStackRequest & WithAttributes(AttributesT &&value)
bool DefaultRootDeviceTypeHasBeenSet() const
void SetRegion(RegionT &&value)
void SetClonePermissions(bool value)
void SetCloneAppIds(CloneAppIdsT &&value)
const Aws::String & GetHostnameTheme() const
const Aws::String & GetCustomJson() const
bool CustomCookbooksSourceHasBeenSet() const
void SetDefaultOs(DefaultOsT &&value)
const ChefConfiguration & GetChefConfiguration() const
CloneStackRequest & WithDefaultSshKeyName(DefaultSshKeyNameT &&value)
RootDeviceType GetDefaultRootDeviceType() const
void SetName(NameT &&value)
void SetUseOpsworksSecurityGroups(bool value)
CloneStackRequest & WithServiceRoleArn(ServiceRoleArnT &&value)
void SetChefConfiguration(ChefConfigurationT &&value)
void SetVpcId(VpcIdT &&value)
CloneStackRequest & WithHostnameTheme(HostnameThemeT &&value)
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
void SetUseCustomCookbooks(bool value)
void SetCustomJson(CustomJsonT &&value)
bool RegionHasBeenSet() const
void SetDefaultSshKeyName(DefaultSshKeyNameT &&value)
const Aws::String & GetDefaultOs() const
void SetAttributes(AttributesT &&value)
bool AgentVersionHasBeenSet() const
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