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/CloudWatchLogsConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/opsworks/model/Recipes.h>
14#include <aws/opsworks/model/LifecycleEventConfiguration.h>
15#include <aws/opsworks/model/LayerAttributesKeys.h>
16#include <aws/opsworks/model/VolumeConfiguration.h>
52 inline void SetLayerId(
const char* value) { m_layerIdHasBeenSet =
true; m_layerId.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
88 inline void SetShortname(
const char* value) { m_shortnameHasBeenSet =
true; m_shortname.assign(value); }
137 inline void SetCustomInstanceProfileArn(
const char* value) { m_customInstanceProfileArnHasBeenSet =
true; m_customInstanceProfileArn.assign(value); }
155 inline void SetCustomJson(
const char* value) { m_customJsonHasBeenSet =
true; m_customJson.assign(value); }
213 inline void SetEnableAutoHealing(
bool value) { m_enableAutoHealingHasBeenSet =
true; m_enableAutoHealing = value; }
240 inline void SetAutoAssignPublicIps(
bool value) { m_autoAssignPublicIpsHasBeenSet =
true; m_autoAssignPublicIps = value; }
299 bool m_layerIdHasBeenSet =
false;
302 bool m_nameHasBeenSet =
false;
305 bool m_shortnameHasBeenSet =
false;
308 bool m_attributesHasBeenSet =
false;
311 bool m_cloudWatchLogsConfigurationHasBeenSet =
false;
314 bool m_customInstanceProfileArnHasBeenSet =
false;
317 bool m_customJsonHasBeenSet =
false;
320 bool m_customSecurityGroupIdsHasBeenSet =
false;
323 bool m_packagesHasBeenSet =
false;
326 bool m_volumeConfigurationsHasBeenSet =
false;
328 bool m_enableAutoHealing;
329 bool m_enableAutoHealingHasBeenSet =
false;
331 bool m_autoAssignElasticIps;
332 bool m_autoAssignElasticIpsHasBeenSet =
false;
334 bool m_autoAssignPublicIps;
335 bool m_autoAssignPublicIpsHasBeenSet =
false;
338 bool m_customRecipesHasBeenSet =
false;
340 bool m_installUpdatesOnBoot;
341 bool m_installUpdatesOnBootHasBeenSet =
false;
343 bool m_useEbsOptimizedInstances;
344 bool m_useEbsOptimizedInstancesHasBeenSet =
false;
347 bool m_lifecycleEventConfigurationHasBeenSet =
false;
UpdateLayerRequest & WithShortname(const char *value)
bool GetAutoAssignPublicIps() const
UpdateLayerRequest & WithCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
UpdateLayerRequest & WithAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
UpdateLayerRequest & WithEnableAutoHealing(bool value)
void SetCustomInstanceProfileArn(Aws::String &&value)
UpdateLayerRequest & AddAttributes(LayerAttributesKeys &&key, const Aws::String &value)
bool AutoAssignPublicIpsHasBeenSet() const
bool GetUseEbsOptimizedInstances() const
void SetShortname(const Aws::String &value)
UpdateLayerRequest & WithLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
void SetCustomRecipes(Recipes &&value)
UpdateLayerRequest & WithInstallUpdatesOnBoot(bool value)
void SetShortname(const char *value)
void SetName(Aws::String &&value)
UpdateLayerRequest & WithPackages(Aws::Vector< Aws::String > &&value)
UpdateLayerRequest & WithCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetCustomJson() const
UpdateLayerRequest & WithCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateLayerRequest & WithPackages(const Aws::Vector< Aws::String > &value)
bool NameHasBeenSet() const
void SetAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
void SetUseEbsOptimizedInstances(bool value)
UpdateLayerRequest & WithName(const char *value)
void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
bool AttributesHasBeenSet() const
UpdateLayerRequest & WithAutoAssignElasticIps(bool value)
UpdateLayerRequest & WithAutoAssignPublicIps(bool value)
void SetVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
UpdateLayerRequest & WithCustomJson(Aws::String &&value)
UpdateLayerRequest & WithLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetLayerId(const Aws::String &value)
bool EnableAutoHealingHasBeenSet() const
UpdateLayerRequest & WithAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
bool LayerIdHasBeenSet() const
void SetPackages(Aws::Vector< Aws::String > &&value)
UpdateLayerRequest & AddAttributes(LayerAttributesKeys &&key, Aws::String &&value)
bool GetAutoAssignElasticIps() const
UpdateLayerRequest & WithCustomJson(const Aws::String &value)
void SetLayerId(Aws::String &&value)
UpdateLayerRequest & AddCustomSecurityGroupIds(Aws::String &&value)
UpdateLayerRequest & AddAttributes(LayerAttributesKeys &&key, const char *value)
void SetAutoAssignElasticIps(bool value)
void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
UpdateLayerRequest & WithCustomInstanceProfileArn(Aws::String &&value)
UpdateLayerRequest & WithCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
bool LifecycleEventConfigurationHasBeenSet() const
UpdateLayerRequest & WithShortname(Aws::String &&value)
void SetEnableAutoHealing(bool value)
UpdateLayerRequest & WithCustomInstanceProfileArn(const char *value)
void SetCustomJson(const char *value)
UpdateLayerRequest & WithLayerId(Aws::String &&value)
UpdateLayerRequest & AddCustomSecurityGroupIds(const Aws::String &value)
UpdateLayerRequest & AddPackages(const char *value)
bool CustomRecipesHasBeenSet() const
UpdateLayerRequest & AddAttributes(const LayerAttributesKeys &key, const char *value)
UpdateLayerRequest & WithName(Aws::String &&value)
void SetCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetName() const
const Recipes & GetCustomRecipes() const
bool GetInstallUpdatesOnBoot() const
void SetCustomJson(Aws::String &&value)
void SetLayerId(const char *value)
void SetAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
bool VolumeConfigurationsHasBeenSet() const
const CloudWatchLogsConfiguration & GetCloudWatchLogsConfiguration() const
void SetName(const char *value)
AWS_OPSWORKS_API UpdateLayerRequest()
const Aws::String & GetLayerId() const
UpdateLayerRequest & WithVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
void SetCustomInstanceProfileArn(const Aws::String &value)
void SetCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPackages() const
void SetVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
const Aws::Vector< Aws::String > & GetCustomSecurityGroupIds() const
bool CustomJsonHasBeenSet() const
void SetCustomInstanceProfileArn(const char *value)
void SetName(const Aws::String &value)
bool GetEnableAutoHealing() const
UpdateLayerRequest & AddPackages(Aws::String &&value)
void SetCustomJson(const Aws::String &value)
const Aws::String & GetShortname() const
void SetCustomRecipes(const Recipes &value)
bool CustomInstanceProfileArnHasBeenSet() const
void SetInstallUpdatesOnBoot(bool value)
UpdateLayerRequest & AddVolumeConfigurations(VolumeConfiguration &&value)
UpdateLayerRequest & WithCustomRecipes(const Recipes &value)
UpdateLayerRequest & WithCustomJson(const char *value)
UpdateLayerRequest & AddAttributes(const LayerAttributesKeys &key, Aws::String &&value)
UpdateLayerRequest & AddAttributes(const LayerAttributesKeys &key, const Aws::String &value)
const LifecycleEventConfiguration & GetLifecycleEventConfiguration() const
void SetAutoAssignPublicIps(bool value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool UseEbsOptimizedInstancesHasBeenSet() const
UpdateLayerRequest & WithCustomRecipes(Recipes &&value)
bool ShortnameHasBeenSet() const
UpdateLayerRequest & AddCustomSecurityGroupIds(const char *value)
virtual const char * GetServiceRequestName() const override
bool AutoAssignElasticIpsHasBeenSet() const
UpdateLayerRequest & WithLayerId(const char *value)
const Aws::String & GetCustomInstanceProfileArn() const
const Aws::Map< LayerAttributesKeys, Aws::String > & GetAttributes() const
const Aws::Vector< VolumeConfiguration > & GetVolumeConfigurations() const
void SetShortname(Aws::String &&value)
UpdateLayerRequest & WithLayerId(const Aws::String &value)
UpdateLayerRequest & WithShortname(const Aws::String &value)
void SetLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
UpdateLayerRequest & AddVolumeConfigurations(const VolumeConfiguration &value)
UpdateLayerRequest & WithUseEbsOptimizedInstances(bool value)
UpdateLayerRequest & AddPackages(const Aws::String &value)
bool PackagesHasBeenSet() const
bool CloudWatchLogsConfigurationHasBeenSet() const
void SetLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
UpdateLayerRequest & WithVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
bool CustomSecurityGroupIdsHasBeenSet() const
bool InstallUpdatesOnBootHasBeenSet() const
UpdateLayerRequest & WithCustomInstanceProfileArn(const Aws::String &value)
void SetPackages(const Aws::Vector< Aws::String > &value)
UpdateLayerRequest & WithName(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
std::vector< T, Aws::Allocator< T > > Vector