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>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
85 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
118 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
156 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
174 inline void SetDefaultInstanceProfileArn(
const char* value) { m_defaultInstanceProfileArnHasBeenSet =
true; m_defaultInstanceProfileArn.assign(value); }
211 inline void SetDefaultOs(
const char* value) { m_defaultOsHasBeenSet =
true; m_defaultOs.assign(value); }
239 inline void SetHostnameTheme(
const char* value) { m_hostnameThemeHasBeenSet =
true; m_hostnameTheme.assign(value); }
258 inline void SetDefaultAvailabilityZone(
const char* value) { m_defaultAvailabilityZoneHasBeenSet =
true; m_defaultAvailabilityZone.assign(value); }
277 inline void SetDefaultSubnetId(
const char* value) { m_defaultSubnetIdHasBeenSet =
true; m_defaultSubnetId.assign(value); }
297 inline void SetCustomJson(
const char* value) { m_customJsonHasBeenSet =
true; m_customJson.assign(value); }
340 inline void SetUseCustomCookbooks(
bool value) { m_useCustomCookbooksHasBeenSet =
true; m_useCustomCookbooks = value; }
405 inline void SetDefaultSshKeyName(
const char* value) { m_defaultSshKeyNameHasBeenSet =
true; m_defaultSshKeyName.assign(value); }
447 inline void SetAgentVersion(
const char* value) { m_agentVersionHasBeenSet =
true; m_agentVersion.assign(value); }
455 bool m_nameHasBeenSet =
false;
458 bool m_regionHasBeenSet =
false;
461 bool m_vpcIdHasBeenSet =
false;
464 bool m_attributesHasBeenSet =
false;
467 bool m_serviceRoleArnHasBeenSet =
false;
470 bool m_defaultInstanceProfileArnHasBeenSet =
false;
473 bool m_defaultOsHasBeenSet =
false;
476 bool m_hostnameThemeHasBeenSet =
false;
479 bool m_defaultAvailabilityZoneHasBeenSet =
false;
482 bool m_defaultSubnetIdHasBeenSet =
false;
485 bool m_customJsonHasBeenSet =
false;
488 bool m_configurationManagerHasBeenSet =
false;
491 bool m_chefConfigurationHasBeenSet =
false;
493 bool m_useCustomCookbooks;
494 bool m_useCustomCookbooksHasBeenSet =
false;
496 bool m_useOpsworksSecurityGroups;
497 bool m_useOpsworksSecurityGroupsHasBeenSet =
false;
499 Source m_customCookbooksSource;
500 bool m_customCookbooksSourceHasBeenSet =
false;
503 bool m_defaultSshKeyNameHasBeenSet =
false;
506 bool m_defaultRootDeviceTypeHasBeenSet =
false;
509 bool m_agentVersionHasBeenSet =
false;
const Aws::String & GetDefaultAvailabilityZone() const
CreateStackRequest & WithChefConfiguration(ChefConfiguration &&value)
CreateStackRequest & WithName(const char *value)
bool HostnameThemeHasBeenSet() const
CreateStackRequest & WithDefaultOs(Aws::String &&value)
bool DefaultOsHasBeenSet() const
void SetDefaultSshKeyName(const char *value)
CreateStackRequest & AddAttributes(const StackAttributesKeys &key, const char *value)
CreateStackRequest & WithServiceRoleArn(Aws::String &&value)
CreateStackRequest & WithUseCustomCookbooks(bool value)
void SetDefaultInstanceProfileArn(const char *value)
void SetCustomJson(const Aws::String &value)
bool DefaultAvailabilityZoneHasBeenSet() const
CreateStackRequest & AddAttributes(StackAttributesKeys &&key, const char *value)
CreateStackRequest & WithDefaultOs(const Aws::String &value)
CreateStackRequest & WithDefaultAvailabilityZone(const Aws::String &value)
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
CreateStackRequest & WithHostnameTheme(Aws::String &&value)
void SetCustomCookbooksSource(Source &&value)
CreateStackRequest & WithDefaultInstanceProfileArn(const Aws::String &value)
bool DefaultInstanceProfileArnHasBeenSet() const
CreateStackRequest & WithDefaultRootDeviceType(const RootDeviceType &value)
const Aws::String & GetDefaultSshKeyName() const
bool VpcIdHasBeenSet() const
const ChefConfiguration & GetChefConfiguration() const
bool UseOpsworksSecurityGroupsHasBeenSet() const
CreateStackRequest & WithAgentVersion(const Aws::String &value)
CreateStackRequest & WithRegion(Aws::String &&value)
void SetAgentVersion(Aws::String &&value)
bool RegionHasBeenSet() const
CreateStackRequest & AddAttributes(const StackAttributesKeys &key, const Aws::String &value)
CreateStackRequest & WithAgentVersion(Aws::String &&value)
CreateStackRequest & WithServiceRoleArn(const char *value)
void SetAgentVersion(const char *value)
CreateStackRequest & AddAttributes(StackAttributesKeys &&key, const Aws::String &value)
void SetDefaultInstanceProfileArn(Aws::String &&value)
CreateStackRequest & WithDefaultAvailabilityZone(const char *value)
CreateStackRequest & WithCustomJson(const Aws::String &value)
CreateStackRequest & WithUseOpsworksSecurityGroups(bool value)
CreateStackRequest & WithDefaultSubnetId(const char *value)
void SetServiceRoleArn(Aws::String &&value)
void SetRegion(const Aws::String &value)
bool DefaultSshKeyNameHasBeenSet() const
CreateStackRequest & WithDefaultSubnetId(Aws::String &&value)
CreateStackRequest & WithVpcId(const Aws::String &value)
void SetDefaultSubnetId(const Aws::String &value)
void SetCustomCookbooksSource(const Source &value)
bool CustomJsonHasBeenSet() const
void SetVpcId(const char *value)
CreateStackRequest & WithRegion(const char *value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetServiceRoleArn(const char *value)
const RootDeviceType & GetDefaultRootDeviceType() const
CreateStackRequest & WithDefaultSubnetId(const Aws::String &value)
const Aws::String & GetServiceRoleArn() const
const Aws::String & GetDefaultOs() const
bool UseCustomCookbooksHasBeenSet() const
void SetDefaultAvailabilityZone(const Aws::String &value)
void SetAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
CreateStackRequest & WithHostnameTheme(const Aws::String &value)
const Aws::String & GetAgentVersion() const
void SetDefaultSubnetId(const char *value)
CreateStackRequest & WithDefaultAvailabilityZone(Aws::String &&value)
bool ChefConfigurationHasBeenSet() const
CreateStackRequest & WithName(const Aws::String &value)
const Aws::String & GetDefaultSubnetId() const
bool AgentVersionHasBeenSet() const
void SetVpcId(const Aws::String &value)
bool DefaultRootDeviceTypeHasBeenSet() const
const Aws::String & GetCustomJson() const
void SetAgentVersion(const Aws::String &value)
CreateStackRequest & WithChefConfiguration(const ChefConfiguration &value)
CreateStackRequest & WithDefaultRootDeviceType(RootDeviceType &&value)
bool ConfigurationManagerHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetHostnameTheme() const
void SetDefaultOs(Aws::String &&value)
CreateStackRequest & WithDefaultSshKeyName(const char *value)
CreateStackRequest & WithDefaultSshKeyName(const Aws::String &value)
void SetConfigurationManager(StackConfigurationManager &&value)
void SetHostnameTheme(const Aws::String &value)
void SetDefaultSubnetId(Aws::String &&value)
CreateStackRequest & WithCustomJson(const char *value)
void SetCustomJson(const char *value)
const Aws::String & GetVpcId() const
void SetServiceRoleArn(const Aws::String &value)
void SetChefConfiguration(const ChefConfiguration &value)
void SetName(Aws::String &&value)
CreateStackRequest & AddAttributes(StackAttributesKeys &&key, Aws::String &&value)
CreateStackRequest & WithVpcId(Aws::String &&value)
void SetVpcId(Aws::String &&value)
void SetDefaultAvailabilityZone(const char *value)
void SetUseCustomCookbooks(bool value)
void SetAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
void SetHostnameTheme(const char *value)
void SetCustomJson(Aws::String &&value)
CreateStackRequest & WithCustomCookbooksSource(const Source &value)
CreateStackRequest & WithName(Aws::String &&value)
CreateStackRequest & WithDefaultInstanceProfileArn(const char *value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
bool CustomCookbooksSourceHasBeenSet() const
bool AttributesHasBeenSet() const
CreateStackRequest & WithAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
CreateStackRequest & WithDefaultSshKeyName(Aws::String &&value)
bool NameHasBeenSet() const
CreateStackRequest & WithHostnameTheme(const char *value)
bool GetUseCustomCookbooks() const
CreateStackRequest & WithVpcId(const char *value)
bool DefaultSubnetIdHasBeenSet() const
void SetRegion(const char *value)
bool GetUseOpsworksSecurityGroups() const
void SetDefaultAvailabilityZone(Aws::String &&value)
void SetDefaultOs(const Aws::String &value)
void SetDefaultSshKeyName(Aws::String &&value)
void SetDefaultSshKeyName(const Aws::String &value)
const StackConfigurationManager & GetConfigurationManager() const
const Aws::String & GetRegion() const
void SetChefConfiguration(ChefConfiguration &&value)
CreateStackRequest & WithServiceRoleArn(const Aws::String &value)
void SetName(const Aws::String &value)
bool ServiceRoleArnHasBeenSet() const
CreateStackRequest & WithDefaultInstanceProfileArn(Aws::String &&value)
CreateStackRequest & AddAttributes(const StackAttributesKeys &key, Aws::String &&value)
CreateStackRequest & WithDefaultOs(const char *value)
void SetUseOpsworksSecurityGroups(bool value)
CreateStackRequest & WithCustomJson(Aws::String &&value)
CreateStackRequest & WithRegion(const Aws::String &value)
CreateStackRequest & WithCustomCookbooksSource(Source &&value)
void SetHostnameTheme(Aws::String &&value)
CreateStackRequest & WithAgentVersion(const char *value)
const Aws::String & GetDefaultInstanceProfileArn() const
CreateStackRequest & WithConfigurationManager(const StackConfigurationManager &value)
void SetDefaultRootDeviceType(const RootDeviceType &value)
void SetDefaultOs(const char *value)
void SetName(const char *value)
CreateStackRequest & WithAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
CreateStackRequest & WithConfigurationManager(StackConfigurationManager &&value)
void SetConfigurationManager(const StackConfigurationManager &value)
AWS_OPSWORKS_API CreateStackRequest()
void SetDefaultInstanceProfileArn(const Aws::String &value)
void SetRegion(Aws::String &&value)
const Source & GetCustomCookbooksSource() const
void SetDefaultRootDeviceType(RootDeviceType &&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