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 StackIdT = Aws::String>
50 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
51 template<
typename StackIdT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
74 template<
typename AttributesT = Aws::Map<StackAttributesKeys, Aws::String>>
75 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
76 template<
typename AttributesT = Aws::Map<StackAttributesKeys, Aws::String>>
79 m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this;
89 template<
typename ServiceRoleArnT = Aws::String>
90 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
91 template<
typename ServiceRoleArnT = Aws::String>
104 template<
typename DefaultInstanceProfileArnT = Aws::String>
105 void SetDefaultInstanceProfileArn(DefaultInstanceProfileArnT&& value) { m_defaultInstanceProfileArnHasBeenSet =
true; m_defaultInstanceProfileArn = std::forward<DefaultInstanceProfileArnT>(value); }
106 template<
typename DefaultInstanceProfileArnT = Aws::String>
138 template<
typename DefaultOsT = Aws::String>
139 void SetDefaultOs(DefaultOsT&& value) { m_defaultOsHasBeenSet =
true; m_defaultOs = std::forward<DefaultOsT>(value); }
140 template<
typename DefaultOsT = Aws::String>
164 template<
typename HostnameThemeT = Aws::String>
165 void SetHostnameTheme(HostnameThemeT&& value) { m_hostnameThemeHasBeenSet =
true; m_hostnameTheme = std::forward<HostnameThemeT>(value); }
166 template<
typename HostnameThemeT = Aws::String>
181 template<
typename DefaultAvailabilityZoneT = Aws::String>
182 void SetDefaultAvailabilityZone(DefaultAvailabilityZoneT&& value) { m_defaultAvailabilityZoneHasBeenSet =
true; m_defaultAvailabilityZone = std::forward<DefaultAvailabilityZoneT>(value); }
183 template<
typename DefaultAvailabilityZoneT = Aws::String>
198 template<
typename DefaultSubnetIdT = Aws::String>
199 void SetDefaultSubnetId(DefaultSubnetIdT&& value) { m_defaultSubnetIdHasBeenSet =
true; m_defaultSubnetId = std::forward<DefaultSubnetIdT>(value); }
200 template<
typename DefaultSubnetIdT = Aws::String>
216 template<
typename CustomJsonT = Aws::String>
217 void SetCustomJson(CustomJsonT&& value) { m_customJsonHasBeenSet =
true; m_customJson = std::forward<CustomJsonT>(value); }
218 template<
typename CustomJsonT = Aws::String>
231 template<
typename ConfigurationManagerT = StackConfigurationManager>
232 void SetConfigurationManager(ConfigurationManagerT&& value) { m_configurationManagerHasBeenSet =
true; m_configurationManager = std::forward<ConfigurationManagerT>(value); }
233 template<
typename ConfigurationManagerT = StackConfigurationManager>
247 template<
typename ChefConfigurationT = ChefConfiguration>
248 void SetChefConfiguration(ChefConfigurationT&& value) { m_chefConfigurationHasBeenSet =
true; m_chefConfiguration = std::forward<ChefConfigurationT>(value); }
249 template<
typename ChefConfigurationT = ChefConfiguration>
259 inline void SetUseCustomCookbooks(
bool value) { m_useCustomCookbooksHasBeenSet =
true; m_useCustomCookbooks = value; }
274 template<
typename CustomCookbooksSourceT = Source>
275 void SetCustomCookbooksSource(CustomCookbooksSourceT&& value) { m_customCookbooksSourceHasBeenSet =
true; m_customCookbooksSource = std::forward<CustomCookbooksSourceT>(value); }
276 template<
typename CustomCookbooksSourceT = Source>
296 template<
typename DefaultSshKeyNameT = Aws::String>
297 void SetDefaultSshKeyName(DefaultSshKeyNameT&& value) { m_defaultSshKeyNameHasBeenSet =
true; m_defaultSshKeyName = std::forward<DefaultSshKeyNameT>(value); }
298 template<
typename DefaultSshKeyNameT = Aws::String>
360 template<
typename AgentVersionT = Aws::String>
361 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
362 template<
typename AgentVersionT = Aws::String>
368 bool m_stackIdHasBeenSet =
false;
371 bool m_nameHasBeenSet =
false;
374 bool m_attributesHasBeenSet =
false;
377 bool m_serviceRoleArnHasBeenSet =
false;
380 bool m_defaultInstanceProfileArnHasBeenSet =
false;
383 bool m_defaultOsHasBeenSet =
false;
386 bool m_hostnameThemeHasBeenSet =
false;
389 bool m_defaultAvailabilityZoneHasBeenSet =
false;
392 bool m_defaultSubnetIdHasBeenSet =
false;
395 bool m_customJsonHasBeenSet =
false;
398 bool m_configurationManagerHasBeenSet =
false;
401 bool m_chefConfigurationHasBeenSet =
false;
403 bool m_useCustomCookbooks{
false};
404 bool m_useCustomCookbooksHasBeenSet =
false;
406 Source m_customCookbooksSource;
407 bool m_customCookbooksSourceHasBeenSet =
false;
410 bool m_defaultSshKeyNameHasBeenSet =
false;
413 bool m_defaultRootDeviceTypeHasBeenSet =
false;
415 bool m_useOpsworksSecurityGroups{
false};
416 bool m_useOpsworksSecurityGroupsHasBeenSet =
false;
419 bool m_agentVersionHasBeenSet =
false;
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetUseCustomCookbooks(bool value)
RootDeviceType GetDefaultRootDeviceType() const
void SetDefaultOs(DefaultOsT &&value)
UpdateStackRequest & WithDefaultSubnetId(DefaultSubnetIdT &&value)
void SetAgentVersion(AgentVersionT &&value)
bool UseCustomCookbooksHasBeenSet() const
void SetHostnameTheme(HostnameThemeT &&value)
void SetName(NameT &&value)
void SetDefaultInstanceProfileArn(DefaultInstanceProfileArnT &&value)
const Source & GetCustomCookbooksSource() const
void SetDefaultSshKeyName(DefaultSshKeyNameT &&value)
const Aws::String & GetDefaultInstanceProfileArn() const
void SetDefaultRootDeviceType(RootDeviceType value)
const Aws::String & GetDefaultOs() const
virtual const char * GetServiceRequestName() const override
bool ServiceRoleArnHasBeenSet() const
const Aws::String & GetName() const
UpdateStackRequest & WithStackId(StackIdT &&value)
bool DefaultOsHasBeenSet() const
void SetServiceRoleArn(ServiceRoleArnT &&value)
UpdateStackRequest & WithServiceRoleArn(ServiceRoleArnT &&value)
UpdateStackRequest & WithChefConfiguration(ChefConfigurationT &&value)
bool AttributesHasBeenSet() const
UpdateStackRequest & WithAgentVersion(AgentVersionT &&value)
void SetDefaultSubnetId(DefaultSubnetIdT &&value)
const Aws::String & GetServiceRoleArn() const
bool DefaultSubnetIdHasBeenSet() const
void SetChefConfiguration(ChefConfigurationT &&value)
const Aws::String & GetHostnameTheme() const
bool HostnameThemeHasBeenSet() const
UpdateStackRequest & WithDefaultOs(DefaultOsT &&value)
const StackConfigurationManager & GetConfigurationManager() const
const Aws::String & GetCustomJson() const
AWS_OPSWORKS_API UpdateStackRequest()=default
bool CustomCookbooksSourceHasBeenSet() const
UpdateStackRequest & WithDefaultRootDeviceType(RootDeviceType value)
const Aws::String & GetDefaultSshKeyName() const
bool DefaultSshKeyNameHasBeenSet() const
bool ChefConfigurationHasBeenSet() const
void SetCustomCookbooksSource(CustomCookbooksSourceT &&value)
bool DefaultRootDeviceTypeHasBeenSet() const
UpdateStackRequest & WithDefaultSshKeyName(DefaultSshKeyNameT &&value)
UpdateStackRequest & WithCustomJson(CustomJsonT &&value)
UpdateStackRequest & WithCustomCookbooksSource(CustomCookbooksSourceT &&value)
UpdateStackRequest & WithName(NameT &&value)
bool GetUseCustomCookbooks() const
void SetAttributes(AttributesT &&value)
bool UseOpsworksSecurityGroupsHasBeenSet() const
const ChefConfiguration & GetChefConfiguration() const
bool GetUseOpsworksSecurityGroups() const
UpdateStackRequest & WithUseOpsworksSecurityGroups(bool value)
UpdateStackRequest & WithConfigurationManager(ConfigurationManagerT &&value)
const Aws::String & GetStackId() const
UpdateStackRequest & WithDefaultAvailabilityZone(DefaultAvailabilityZoneT &&value)
const Aws::String & GetDefaultSubnetId() const
UpdateStackRequest & WithDefaultInstanceProfileArn(DefaultInstanceProfileArnT &&value)
bool DefaultAvailabilityZoneHasBeenSet() const
bool DefaultInstanceProfileArnHasBeenSet() const
void SetCustomJson(CustomJsonT &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
const Aws::String & GetAgentVersion() const
const Aws::String & GetDefaultAvailabilityZone() const
UpdateStackRequest & WithAttributes(AttributesT &&value)
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
void SetUseOpsworksSecurityGroups(bool value)
bool NameHasBeenSet() const
UpdateStackRequest & WithUseCustomCookbooks(bool value)
void SetDefaultAvailabilityZone(DefaultAvailabilityZoneT &&value)
bool StackIdHasBeenSet() const
bool ConfigurationManagerHasBeenSet() const
bool CustomJsonHasBeenSet() const
void SetStackId(StackIdT &&value)
void SetConfigurationManager(ConfigurationManagerT &&value)
bool AgentVersionHasBeenSet() const
UpdateStackRequest & AddAttributes(StackAttributesKeys key, Aws::String value)
UpdateStackRequest & WithHostnameTheme(HostnameThemeT &&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