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 SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
98 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
115 inline void SetDefaultInstanceProfileArn(
const char* value) { m_defaultInstanceProfileArnHasBeenSet =
true; m_defaultInstanceProfileArn.assign(value); }
151 inline void SetDefaultOs(
const char* value) { m_defaultOsHasBeenSet =
true; m_defaultOs.assign(value); }
179 inline void SetHostnameTheme(
const char* value) { m_hostnameThemeHasBeenSet =
true; m_hostnameTheme.assign(value); }
198 inline void SetDefaultAvailabilityZone(
const char* value) { m_defaultAvailabilityZoneHasBeenSet =
true; m_defaultAvailabilityZone.assign(value); }
217 inline void SetDefaultSubnetId(
const char* value) { m_defaultSubnetIdHasBeenSet =
true; m_defaultSubnetId.assign(value); }
237 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; }
319 inline void SetDefaultSshKeyName(
const char* value) { m_defaultSshKeyNameHasBeenSet =
true; m_defaultSshKeyName.assign(value); }
387 inline void SetAgentVersion(
const char* value) { m_agentVersionHasBeenSet =
true; m_agentVersion.assign(value); }
395 bool m_stackIdHasBeenSet =
false;
398 bool m_nameHasBeenSet =
false;
401 bool m_attributesHasBeenSet =
false;
404 bool m_serviceRoleArnHasBeenSet =
false;
407 bool m_defaultInstanceProfileArnHasBeenSet =
false;
410 bool m_defaultOsHasBeenSet =
false;
413 bool m_hostnameThemeHasBeenSet =
false;
416 bool m_defaultAvailabilityZoneHasBeenSet =
false;
419 bool m_defaultSubnetIdHasBeenSet =
false;
422 bool m_customJsonHasBeenSet =
false;
425 bool m_configurationManagerHasBeenSet =
false;
428 bool m_chefConfigurationHasBeenSet =
false;
430 bool m_useCustomCookbooks;
431 bool m_useCustomCookbooksHasBeenSet =
false;
433 Source m_customCookbooksSource;
434 bool m_customCookbooksSourceHasBeenSet =
false;
437 bool m_defaultSshKeyNameHasBeenSet =
false;
440 bool m_defaultRootDeviceTypeHasBeenSet =
false;
442 bool m_useOpsworksSecurityGroups;
443 bool m_useOpsworksSecurityGroupsHasBeenSet =
false;
446 bool m_agentVersionHasBeenSet =
false;
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetUseCustomCookbooks(bool value)
void SetDefaultSubnetId(const char *value)
void SetAgentVersion(const Aws::String &value)
void SetDefaultRootDeviceType(RootDeviceType &&value)
void SetAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
UpdateStackRequest & WithDefaultSshKeyName(const Aws::String &value)
UpdateStackRequest & WithHostnameTheme(const char *value)
UpdateStackRequest & WithDefaultInstanceProfileArn(const char *value)
UpdateStackRequest & WithDefaultRootDeviceType(RootDeviceType &&value)
void SetStackId(Aws::String &&value)
bool UseCustomCookbooksHasBeenSet() const
UpdateStackRequest & WithDefaultAvailabilityZone(const Aws::String &value)
UpdateStackRequest & AddAttributes(StackAttributesKeys &&key, const char *value)
UpdateStackRequest & WithStackId(Aws::String &&value)
const Source & GetCustomCookbooksSource() const
void SetDefaultSshKeyName(const char *value)
void SetCustomCookbooksSource(Source &&value)
void SetCustomJson(Aws::String &&value)
void SetName(const char *value)
const Aws::String & GetDefaultInstanceProfileArn() const
AWS_OPSWORKS_API UpdateStackRequest()
const Aws::String & GetDefaultOs() const
virtual const char * GetServiceRequestName() const override
UpdateStackRequest & WithAgentVersion(Aws::String &&value)
bool ServiceRoleArnHasBeenSet() const
UpdateStackRequest & WithAgentVersion(const Aws::String &value)
void SetCustomJson(const Aws::String &value)
const Aws::String & GetName() const
bool DefaultOsHasBeenSet() const
void SetDefaultSubnetId(Aws::String &&value)
UpdateStackRequest & WithAgentVersion(const char *value)
UpdateStackRequest & WithCustomCookbooksSource(Source &&value)
UpdateStackRequest & WithServiceRoleArn(Aws::String &&value)
UpdateStackRequest & WithName(Aws::String &&value)
void SetDefaultInstanceProfileArn(Aws::String &&value)
UpdateStackRequest & WithHostnameTheme(Aws::String &&value)
UpdateStackRequest & AddAttributes(const StackAttributesKeys &key, const Aws::String &value)
bool AttributesHasBeenSet() const
UpdateStackRequest & WithCustomCookbooksSource(const Source &value)
UpdateStackRequest & WithDefaultSubnetId(Aws::String &&value)
const Aws::String & GetServiceRoleArn() const
bool DefaultSubnetIdHasBeenSet() const
UpdateStackRequest & WithDefaultSubnetId(const Aws::String &value)
void SetChefConfiguration(ChefConfiguration &&value)
void SetDefaultSshKeyName(Aws::String &&value)
void SetServiceRoleArn(const Aws::String &value)
const Aws::String & GetHostnameTheme() const
bool HostnameThemeHasBeenSet() const
UpdateStackRequest & WithDefaultRootDeviceType(const RootDeviceType &value)
const StackConfigurationManager & GetConfigurationManager() const
const Aws::String & GetCustomJson() const
void SetServiceRoleArn(Aws::String &&value)
UpdateStackRequest & WithCustomJson(Aws::String &&value)
void SetDefaultInstanceProfileArn(const Aws::String &value)
bool CustomCookbooksSourceHasBeenSet() const
const Aws::String & GetDefaultSshKeyName() const
UpdateStackRequest & WithName(const char *value)
void SetChefConfiguration(const ChefConfiguration &value)
bool DefaultSshKeyNameHasBeenSet() const
void SetAgentVersion(Aws::String &&value)
bool ChefConfigurationHasBeenSet() const
UpdateStackRequest & WithChefConfiguration(const ChefConfiguration &value)
void SetDefaultAvailabilityZone(Aws::String &&value)
bool DefaultRootDeviceTypeHasBeenSet() const
void SetName(const Aws::String &value)
void SetAgentVersion(const char *value)
UpdateStackRequest & WithDefaultAvailabilityZone(Aws::String &&value)
UpdateStackRequest & WithDefaultOs(const char *value)
UpdateStackRequest & WithAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
bool GetUseCustomCookbooks() const
void SetConfigurationManager(const StackConfigurationManager &value)
void SetHostnameTheme(const char *value)
bool UseOpsworksSecurityGroupsHasBeenSet() const
UpdateStackRequest & WithDefaultSshKeyName(Aws::String &&value)
const ChefConfiguration & GetChefConfiguration() const
UpdateStackRequest & WithStackId(const char *value)
void SetHostnameTheme(const Aws::String &value)
bool GetUseOpsworksSecurityGroups() const
UpdateStackRequest & WithDefaultInstanceProfileArn(const Aws::String &value)
void SetDefaultInstanceProfileArn(const char *value)
UpdateStackRequest & AddAttributes(const StackAttributesKeys &key, const char *value)
UpdateStackRequest & WithCustomJson(const Aws::String &value)
UpdateStackRequest & WithUseOpsworksSecurityGroups(bool value)
UpdateStackRequest & WithConfigurationManager(StackConfigurationManager &&value)
void SetDefaultOs(Aws::String &&value)
const RootDeviceType & GetDefaultRootDeviceType() const
UpdateStackRequest & WithStackId(const Aws::String &value)
UpdateStackRequest & WithDefaultOs(Aws::String &&value)
const Aws::String & GetStackId() const
void SetDefaultSshKeyName(const Aws::String &value)
void SetDefaultOs(const Aws::String &value)
UpdateStackRequest & WithDefaultAvailabilityZone(const char *value)
const Aws::String & GetDefaultSubnetId() const
UpdateStackRequest & WithServiceRoleArn(const char *value)
void SetCustomCookbooksSource(const Source &value)
bool DefaultAvailabilityZoneHasBeenSet() const
bool DefaultInstanceProfileArnHasBeenSet() const
void SetCustomJson(const char *value)
UpdateStackRequest & WithDefaultInstanceProfileArn(Aws::String &&value)
UpdateStackRequest & WithHostnameTheme(const Aws::String &value)
void SetConfigurationManager(StackConfigurationManager &&value)
UpdateStackRequest & WithDefaultSshKeyName(const char *value)
void SetDefaultRootDeviceType(const RootDeviceType &value)
void SetStackId(const char *value)
void SetAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
void SetServiceRoleArn(const char *value)
UpdateStackRequest & WithAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
void SetDefaultOs(const char *value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
const Aws::String & GetAgentVersion() const
const Aws::String & GetDefaultAvailabilityZone() const
UpdateStackRequest & AddAttributes(StackAttributesKeys &&key, const Aws::String &value)
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
void SetDefaultSubnetId(const Aws::String &value)
UpdateStackRequest & WithCustomJson(const char *value)
void SetStackId(const Aws::String &value)
void SetName(Aws::String &&value)
void SetUseOpsworksSecurityGroups(bool value)
bool NameHasBeenSet() const
void SetHostnameTheme(Aws::String &&value)
UpdateStackRequest & WithUseCustomCookbooks(bool value)
UpdateStackRequest & WithName(const Aws::String &value)
void SetDefaultAvailabilityZone(const char *value)
bool StackIdHasBeenSet() const
UpdateStackRequest & AddAttributes(StackAttributesKeys &&key, Aws::String &&value)
void SetDefaultAvailabilityZone(const Aws::String &value)
UpdateStackRequest & WithDefaultOs(const Aws::String &value)
UpdateStackRequest & WithConfigurationManager(const StackConfigurationManager &value)
UpdateStackRequest & WithChefConfiguration(ChefConfiguration &&value)
bool ConfigurationManagerHasBeenSet() const
bool CustomJsonHasBeenSet() const
bool AgentVersionHasBeenSet() const
UpdateStackRequest & WithDefaultSubnetId(const char *value)
UpdateStackRequest & AddAttributes(const StackAttributesKeys &key, Aws::String &&value)
UpdateStackRequest & WithServiceRoleArn(const Aws::String &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