7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/opsworks/model/StackConfigurationManager.h>
11#include <aws/opsworks/model/ChefConfiguration.h>
12#include <aws/opsworks/model/Source.h>
13#include <aws/opsworks/model/RootDeviceType.h>
14#include <aws/opsworks/model/StackAttributesKeys.h>
54 inline void SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
82 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
99 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
113 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
145 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
162 inline void SetDefaultInstanceProfileArn(
const char* value) { m_defaultInstanceProfileArnHasBeenSet =
true; m_defaultInstanceProfileArn.assign(value); }
176 inline void SetDefaultOs(
const char* value) { m_defaultOsHasBeenSet =
true; m_defaultOs.assign(value); }
190 inline void SetHostnameTheme(
const char* value) { m_hostnameThemeHasBeenSet =
true; m_hostnameTheme.assign(value); }
206 inline void SetDefaultAvailabilityZone(
const char* value) { m_defaultAvailabilityZoneHasBeenSet =
true; m_defaultAvailabilityZone.assign(value); }
220 inline void SetDefaultSubnetId(
const char* value) { m_defaultSubnetIdHasBeenSet =
true; m_defaultSubnetId.assign(value); }
241 inline void SetCustomJson(
const char* value) { m_customJsonHasBeenSet =
true; m_customJson.assign(value); }
280 inline void SetUseCustomCookbooks(
bool value) { m_useCustomCookbooksHasBeenSet =
true; m_useCustomCookbooks = value; }
321 inline void SetDefaultSshKeyName(
const char* value) { m_defaultSshKeyNameHasBeenSet =
true; m_defaultSshKeyName.assign(value); }
335 inline void SetCreatedAt(
const char* value) { m_createdAtHasBeenSet =
true; m_createdAt.assign(value); }
366 inline void SetAgentVersion(
const char* value) { m_agentVersionHasBeenSet =
true; m_agentVersion.assign(value); }
374 bool m_stackIdHasBeenSet =
false;
377 bool m_nameHasBeenSet =
false;
380 bool m_arnHasBeenSet =
false;
383 bool m_regionHasBeenSet =
false;
386 bool m_vpcIdHasBeenSet =
false;
389 bool m_attributesHasBeenSet =
false;
392 bool m_serviceRoleArnHasBeenSet =
false;
395 bool m_defaultInstanceProfileArnHasBeenSet =
false;
398 bool m_defaultOsHasBeenSet =
false;
401 bool m_hostnameThemeHasBeenSet =
false;
404 bool m_defaultAvailabilityZoneHasBeenSet =
false;
407 bool m_defaultSubnetIdHasBeenSet =
false;
410 bool m_customJsonHasBeenSet =
false;
413 bool m_configurationManagerHasBeenSet =
false;
416 bool m_chefConfigurationHasBeenSet =
false;
418 bool m_useCustomCookbooks;
419 bool m_useCustomCookbooksHasBeenSet =
false;
421 bool m_useOpsworksSecurityGroups;
422 bool m_useOpsworksSecurityGroupsHasBeenSet =
false;
424 Source m_customCookbooksSource;
425 bool m_customCookbooksSourceHasBeenSet =
false;
428 bool m_defaultSshKeyNameHasBeenSet =
false;
431 bool m_createdAtHasBeenSet =
false;
434 bool m_defaultRootDeviceTypeHasBeenSet =
false;
437 bool m_agentVersionHasBeenSet =
false;
bool GetUseCustomCookbooks() const
Stack & WithDefaultOs(Aws::String &&value)
const Aws::String & GetName() const
Stack & WithDefaultRootDeviceType(RootDeviceType &&value)
void SetArn(Aws::String &&value)
bool DefaultAvailabilityZoneHasBeenSet() const
const Aws::String & GetServiceRoleArn() const
Stack & AddAttributes(const StackAttributesKeys &key, const Aws::String &value)
const Aws::String & GetArn() const
Stack & WithDefaultSshKeyName(const Aws::String &value)
bool UseOpsworksSecurityGroupsHasBeenSet() const
void SetRegion(const Aws::String &value)
void SetDefaultSubnetId(const char *value)
void SetServiceRoleArn(const Aws::String &value)
Stack & WithCustomJson(const char *value)
Stack & WithHostnameTheme(const char *value)
Stack & WithDefaultInstanceProfileArn(const Aws::String &value)
void SetVpcId(const char *value)
bool CustomCookbooksSourceHasBeenSet() const
Stack & WithDefaultInstanceProfileArn(Aws::String &&value)
const Aws::String & GetDefaultSshKeyName() const
bool ServiceRoleArnHasBeenSet() const
void SetCustomJson(const char *value)
Stack & WithHostnameTheme(Aws::String &&value)
const StackConfigurationManager & GetConfigurationManager() const
Stack & WithRegion(const Aws::String &value)
Stack & WithDefaultSubnetId(Aws::String &&value)
void SetDefaultAvailabilityZone(const char *value)
void SetDefaultAvailabilityZone(Aws::String &&value)
const Aws::String & GetDefaultOs() const
void SetCustomJson(const Aws::String &value)
Stack & WithHostnameTheme(const Aws::String &value)
Stack & WithChefConfiguration(const ChefConfiguration &value)
Stack & WithAgentVersion(const Aws::String &value)
void SetCreatedAt(Aws::String &&value)
Stack & WithStackId(const Aws::String &value)
void SetRegion(Aws::String &&value)
void SetUseOpsworksSecurityGroups(bool value)
void SetAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
Stack & AddAttributes(const StackAttributesKeys &key, const char *value)
const Source & GetCustomCookbooksSource() const
void SetDefaultSshKeyName(Aws::String &&value)
Stack & AddAttributes(StackAttributesKeys &&key, const Aws::String &value)
void SetArn(const char *value)
bool AttributesHasBeenSet() const
const ChefConfiguration & GetChefConfiguration() const
Stack & WithChefConfiguration(ChefConfiguration &&value)
void SetAgentVersion(Aws::String &&value)
AWS_OPSWORKS_API Stack & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChefConfiguration(const ChefConfiguration &value)
void SetName(const Aws::String &value)
Stack & WithDefaultOs(const char *value)
Stack & WithDefaultSshKeyName(const char *value)
void SetArn(const Aws::String &value)
bool DefaultInstanceProfileArnHasBeenSet() const
Stack & WithConfigurationManager(StackConfigurationManager &&value)
bool DefaultSubnetIdHasBeenSet() const
void SetVpcId(Aws::String &&value)
const RootDeviceType & GetDefaultRootDeviceType() const
bool HostnameThemeHasBeenSet() const
void SetDefaultInstanceProfileArn(Aws::String &&value)
Stack & WithCustomCookbooksSource(const Source &value)
void SetDefaultSshKeyName(const char *value)
void SetDefaultInstanceProfileArn(const Aws::String &value)
Stack & WithName(Aws::String &&value)
void SetRegion(const char *value)
Stack & WithArn(Aws::String &&value)
bool CustomJsonHasBeenSet() const
Stack & WithVpcId(Aws::String &&value)
Stack & WithCreatedAt(Aws::String &&value)
Stack & WithCreatedAt(const char *value)
Stack & AddAttributes(const StackAttributesKeys &key, Aws::String &&value)
void SetHostnameTheme(const char *value)
Stack & WithVpcId(const Aws::String &value)
void SetChefConfiguration(ChefConfiguration &&value)
Stack & WithVpcId(const char *value)
void SetAgentVersion(const char *value)
bool GetUseOpsworksSecurityGroups() const
void SetServiceRoleArn(Aws::String &&value)
Stack & WithAgentVersion(Aws::String &&value)
void SetDefaultInstanceProfileArn(const char *value)
Stack & WithCustomCookbooksSource(Source &&value)
Stack & WithAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
Stack & WithName(const Aws::String &value)
Stack & WithAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
void SetHostnameTheme(const Aws::String &value)
bool ConfigurationManagerHasBeenSet() const
void SetConfigurationManager(const StackConfigurationManager &value)
void SetName(Aws::String &&value)
Stack & WithStackId(Aws::String &&value)
void SetDefaultSubnetId(const Aws::String &value)
bool ChefConfigurationHasBeenSet() const
void SetDefaultAvailabilityZone(const Aws::String &value)
bool DefaultRootDeviceTypeHasBeenSet() const
const Aws::String & GetDefaultSubnetId() const
void SetAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
void SetCustomCookbooksSource(const Source &value)
Stack & WithAgentVersion(const char *value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetAgentVersion() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVpcId() const
void SetCreatedAt(const char *value)
Stack & WithArn(const char *value)
bool VpcIdHasBeenSet() const
Stack & WithStackId(const char *value)
void SetStackId(const Aws::String &value)
void SetStackId(Aws::String &&value)
Stack & WithServiceRoleArn(const char *value)
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
Stack & WithCustomJson(Aws::String &&value)
const Aws::String & GetCreatedAt() const
Stack & WithDefaultRootDeviceType(const RootDeviceType &value)
Stack & WithCreatedAt(const Aws::String &value)
Stack & WithDefaultAvailabilityZone(Aws::String &&value)
void SetDefaultOs(const Aws::String &value)
bool AgentVersionHasBeenSet() const
void SetServiceRoleArn(const char *value)
Stack & AddAttributes(StackAttributesKeys &&key, const char *value)
bool NameHasBeenSet() const
Stack & WithUseCustomCookbooks(bool value)
bool RegionHasBeenSet() const
Stack & AddAttributes(StackAttributesKeys &&key, Aws::String &&value)
Stack & WithServiceRoleArn(const Aws::String &value)
Stack & WithName(const char *value)
void SetDefaultSshKeyName(const Aws::String &value)
Stack & WithCustomJson(const Aws::String &value)
const Aws::String & GetDefaultInstanceProfileArn() const
Stack & WithDefaultSubnetId(const char *value)
Stack & WithArn(const Aws::String &value)
void SetAgentVersion(const Aws::String &value)
void SetHostnameTheme(Aws::String &&value)
void SetStackId(const char *value)
Stack & WithConfigurationManager(const StackConfigurationManager &value)
Stack & WithDefaultAvailabilityZone(const char *value)
Stack & WithRegion(Aws::String &&value)
bool ArnHasBeenSet() const
void SetDefaultOs(const char *value)
void SetDefaultOs(Aws::String &&value)
const Aws::String & GetStackId() const
Stack & WithRegion(const char *value)
Stack & WithUseOpsworksSecurityGroups(bool value)
void SetConfigurationManager(StackConfigurationManager &&value)
const Aws::String & GetHostnameTheme() const
void SetCustomCookbooksSource(Source &&value)
Stack & WithDefaultInstanceProfileArn(const char *value)
void SetDefaultRootDeviceType(RootDeviceType &&value)
Stack & WithDefaultSubnetId(const Aws::String &value)
void SetName(const char *value)
void SetVpcId(const Aws::String &value)
const Aws::String & GetRegion() const
Stack & WithDefaultSshKeyName(Aws::String &&value)
Stack & WithDefaultAvailabilityZone(const Aws::String &value)
void SetCreatedAt(const Aws::String &value)
bool DefaultSshKeyNameHasBeenSet() const
const Aws::String & GetDefaultAvailabilityZone() const
Stack & WithDefaultOs(const Aws::String &value)
const Aws::String & GetCustomJson() const
AWS_OPSWORKS_API Stack(Aws::Utils::Json::JsonView jsonValue)
void SetCustomJson(Aws::String &&value)
void SetDefaultRootDeviceType(const RootDeviceType &value)
bool DefaultOsHasBeenSet() const
bool UseCustomCookbooksHasBeenSet() const
Stack & WithServiceRoleArn(Aws::String &&value)
void SetDefaultSubnetId(Aws::String &&value)
bool StackIdHasBeenSet() const
void SetUseCustomCookbooks(bool value)
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
Aws::Utils::Json::JsonValue JsonValue