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/opsworks/model/RootDeviceType.h>
15#include <aws/opsworks/model/StackAttributesKeys.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
81 template<
typename RegionT = Aws::String>
82 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
83 template<
typename RegionT = Aws::String>
112 template<
typename VpcIdT = Aws::String>
113 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
114 template<
typename VpcIdT = Aws::String>
125 template<
typename AttributesT = Aws::Map<StackAttributesKeys, Aws::String>>
126 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
127 template<
typename AttributesT = Aws::Map<StackAttributesKeys, Aws::String>>
130 m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this;
145 template<
typename ServiceRoleArnT = Aws::String>
146 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
147 template<
typename ServiceRoleArnT = Aws::String>
161 template<
typename DefaultInstanceProfileArnT = Aws::String>
162 void SetDefaultInstanceProfileArn(DefaultInstanceProfileArnT&& value) { m_defaultInstanceProfileArnHasBeenSet =
true; m_defaultInstanceProfileArn = std::forward<DefaultInstanceProfileArnT>(value); }
163 template<
typename DefaultInstanceProfileArnT = Aws::String>
196 template<
typename DefaultOsT = Aws::String>
197 void SetDefaultOs(DefaultOsT&& value) { m_defaultOsHasBeenSet =
true; m_defaultOs = std::forward<DefaultOsT>(value); }
198 template<
typename DefaultOsT = Aws::String>
222 template<
typename HostnameThemeT = Aws::String>
223 void SetHostnameTheme(HostnameThemeT&& value) { m_hostnameThemeHasBeenSet =
true; m_hostnameTheme = std::forward<HostnameThemeT>(value); }
224 template<
typename HostnameThemeT = Aws::String>
239 template<
typename DefaultAvailabilityZoneT = Aws::String>
240 void SetDefaultAvailabilityZone(DefaultAvailabilityZoneT&& value) { m_defaultAvailabilityZoneHasBeenSet =
true; m_defaultAvailabilityZone = std::forward<DefaultAvailabilityZoneT>(value); }
241 template<
typename DefaultAvailabilityZoneT = Aws::String>
256 template<
typename DefaultSubnetIdT = Aws::String>
257 void SetDefaultSubnetId(DefaultSubnetIdT&& value) { m_defaultSubnetIdHasBeenSet =
true; m_defaultSubnetId = std::forward<DefaultSubnetIdT>(value); }
258 template<
typename DefaultSubnetIdT = Aws::String>
274 template<
typename CustomJsonT = Aws::String>
275 void SetCustomJson(CustomJsonT&& value) { m_customJsonHasBeenSet =
true; m_customJson = std::forward<CustomJsonT>(value); }
276 template<
typename CustomJsonT = Aws::String>
289 template<
typename ConfigurationManagerT = StackConfigurationManager>
290 void SetConfigurationManager(ConfigurationManagerT&& value) { m_configurationManagerHasBeenSet =
true; m_configurationManager = std::forward<ConfigurationManagerT>(value); }
291 template<
typename ConfigurationManagerT = StackConfigurationManager>
305 template<
typename ChefConfigurationT = ChefConfiguration>
306 void SetChefConfiguration(ChefConfigurationT&& value) { m_chefConfigurationHasBeenSet =
true; m_chefConfiguration = std::forward<ChefConfigurationT>(value); }
307 template<
typename ChefConfigurationT = ChefConfiguration>
317 inline void SetUseCustomCookbooks(
bool value) { m_useCustomCookbooksHasBeenSet =
true; m_useCustomCookbooks = value; }
358 template<
typename CustomCookbooksSourceT = Source>
359 void SetCustomCookbooksSource(CustomCookbooksSourceT&& value) { m_customCookbooksSourceHasBeenSet =
true; m_customCookbooksSource = std::forward<CustomCookbooksSourceT>(value); }
360 template<
typename CustomCookbooksSourceT = Source>
380 template<
typename DefaultSshKeyNameT = Aws::String>
381 void SetDefaultSshKeyName(DefaultSshKeyNameT&& value) { m_defaultSshKeyNameHasBeenSet =
true; m_defaultSshKeyName = std::forward<DefaultSshKeyNameT>(value); }
382 template<
typename DefaultSshKeyNameT = Aws::String>
418 template<
typename AgentVersionT = Aws::String>
419 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
420 template<
typename AgentVersionT = Aws::String>
426 bool m_nameHasBeenSet =
false;
429 bool m_regionHasBeenSet =
false;
432 bool m_vpcIdHasBeenSet =
false;
435 bool m_attributesHasBeenSet =
false;
438 bool m_serviceRoleArnHasBeenSet =
false;
441 bool m_defaultInstanceProfileArnHasBeenSet =
false;
444 bool m_defaultOsHasBeenSet =
false;
447 bool m_hostnameThemeHasBeenSet =
false;
450 bool m_defaultAvailabilityZoneHasBeenSet =
false;
453 bool m_defaultSubnetIdHasBeenSet =
false;
456 bool m_customJsonHasBeenSet =
false;
459 bool m_configurationManagerHasBeenSet =
false;
462 bool m_chefConfigurationHasBeenSet =
false;
464 bool m_useCustomCookbooks{
false};
465 bool m_useCustomCookbooksHasBeenSet =
false;
467 bool m_useOpsworksSecurityGroups{
false};
468 bool m_useOpsworksSecurityGroupsHasBeenSet =
false;
470 Source m_customCookbooksSource;
471 bool m_customCookbooksSourceHasBeenSet =
false;
474 bool m_defaultSshKeyNameHasBeenSet =
false;
477 bool m_defaultRootDeviceTypeHasBeenSet =
false;
480 bool m_agentVersionHasBeenSet =
false;
void SetChefConfiguration(ChefConfigurationT &&value)
const Aws::String & GetDefaultAvailabilityZone() const
CreateStackRequest & WithChefConfiguration(ChefConfigurationT &&value)
bool HostnameThemeHasBeenSet() const
bool DefaultOsHasBeenSet() const
CreateStackRequest & WithVpcId(VpcIdT &&value)
CreateStackRequest & WithUseCustomCookbooks(bool value)
CreateStackRequest & WithDefaultSshKeyName(DefaultSshKeyNameT &&value)
CreateStackRequest & WithHostnameTheme(HostnameThemeT &&value)
CreateStackRequest & WithAgentVersion(AgentVersionT &&value)
bool DefaultAvailabilityZoneHasBeenSet() const
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
void SetDefaultRootDeviceType(RootDeviceType value)
bool DefaultInstanceProfileArnHasBeenSet() const
CreateStackRequest & WithCustomCookbooksSource(CustomCookbooksSourceT &&value)
void SetDefaultInstanceProfileArn(DefaultInstanceProfileArnT &&value)
const Aws::String & GetDefaultSshKeyName() const
CreateStackRequest & WithConfigurationManager(ConfigurationManagerT &&value)
CreateStackRequest & WithDefaultAvailabilityZone(DefaultAvailabilityZoneT &&value)
bool VpcIdHasBeenSet() const
const ChefConfiguration & GetChefConfiguration() const
bool UseOpsworksSecurityGroupsHasBeenSet() const
void SetCustomCookbooksSource(CustomCookbooksSourceT &&value)
bool RegionHasBeenSet() const
CreateStackRequest & WithCustomJson(CustomJsonT &&value)
void SetName(NameT &&value)
CreateStackRequest & WithName(NameT &&value)
void SetVpcId(VpcIdT &&value)
CreateStackRequest & WithDefaultSubnetId(DefaultSubnetIdT &&value)
CreateStackRequest & WithUseOpsworksSecurityGroups(bool value)
bool DefaultSshKeyNameHasBeenSet() const
void SetDefaultOs(DefaultOsT &&value)
void SetCustomJson(CustomJsonT &&value)
bool CustomJsonHasBeenSet() const
CreateStackRequest & WithAttributes(AttributesT &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
const Aws::String & GetServiceRoleArn() const
const Aws::String & GetDefaultOs() const
bool UseCustomCookbooksHasBeenSet() const
void SetConfigurationManager(ConfigurationManagerT &&value)
void SetHostnameTheme(HostnameThemeT &&value)
const Aws::String & GetAgentVersion() const
bool ChefConfigurationHasBeenSet() const
const Aws::String & GetDefaultSubnetId() const
RootDeviceType GetDefaultRootDeviceType() const
bool AgentVersionHasBeenSet() const
bool DefaultRootDeviceTypeHasBeenSet() const
const Aws::String & GetCustomJson() const
bool ConfigurationManagerHasBeenSet() const
AWS_OPSWORKS_API CreateStackRequest()=default
const Aws::String & GetName() const
const Aws::String & GetHostnameTheme() const
CreateStackRequest & WithDefaultInstanceProfileArn(DefaultInstanceProfileArnT &&value)
CreateStackRequest & WithServiceRoleArn(ServiceRoleArnT &&value)
CreateStackRequest & WithRegion(RegionT &&value)
void SetServiceRoleArn(ServiceRoleArnT &&value)
const Aws::String & GetVpcId() const
void SetRegion(RegionT &&value)
void SetUseCustomCookbooks(bool value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
bool CustomCookbooksSourceHasBeenSet() const
bool AttributesHasBeenSet() const
void SetDefaultAvailabilityZone(DefaultAvailabilityZoneT &&value)
bool NameHasBeenSet() const
bool GetUseCustomCookbooks() const
bool DefaultSubnetIdHasBeenSet() const
CreateStackRequest & WithDefaultOs(DefaultOsT &&value)
CreateStackRequest & WithDefaultRootDeviceType(RootDeviceType value)
bool GetUseOpsworksSecurityGroups() const
CreateStackRequest & AddAttributes(StackAttributesKeys key, Aws::String value)
const StackConfigurationManager & GetConfigurationManager() const
const Aws::String & GetRegion() const
void SetDefaultSubnetId(DefaultSubnetIdT &&value)
bool ServiceRoleArnHasBeenSet() const
void SetUseOpsworksSecurityGroups(bool value)
void SetAttributes(AttributesT &&value)
void SetAgentVersion(AgentVersionT &&value)
void SetDefaultSshKeyName(DefaultSshKeyNameT &&value)
const Aws::String & GetDefaultInstanceProfileArn() const
const Source & GetCustomCookbooksSource() 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