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/opsworks/model/LayerType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/opsworks/model/CloudWatchLogsConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/opsworks/model/Recipes.h>
15#include <aws/opsworks/model/LifecycleEventConfiguration.h>
16#include <aws/opsworks/model/LayerAttributesKeys.h>
17#include <aws/opsworks/model/VolumeConfiguration.h>
53 inline void SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
67 inline void SetType(
const LayerType& value) { m_typeHasBeenSet =
true; m_type = value; }
68 inline void SetType(
LayerType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
82 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
103 inline void SetShortname(
const char* value) { m_shortnameHasBeenSet =
true; m_shortname.assign(value); }
153 inline void SetCustomInstanceProfileArn(
const char* value) { m_customInstanceProfileArnHasBeenSet =
true; m_customInstanceProfileArn.assign(value); }
172 inline void SetCustomJson(
const char* value) { m_customJsonHasBeenSet =
true; m_customJson.assign(value); }
230 inline void SetEnableAutoHealing(
bool value) { m_enableAutoHealingHasBeenSet =
true; m_enableAutoHealing = value; }
257 inline void SetAutoAssignPublicIps(
bool value) { m_autoAssignPublicIpsHasBeenSet =
true; m_autoAssignPublicIps = value; }
318 bool m_stackIdHasBeenSet =
false;
321 bool m_typeHasBeenSet =
false;
324 bool m_nameHasBeenSet =
false;
327 bool m_shortnameHasBeenSet =
false;
330 bool m_attributesHasBeenSet =
false;
333 bool m_cloudWatchLogsConfigurationHasBeenSet =
false;
336 bool m_customInstanceProfileArnHasBeenSet =
false;
339 bool m_customJsonHasBeenSet =
false;
342 bool m_customSecurityGroupIdsHasBeenSet =
false;
345 bool m_packagesHasBeenSet =
false;
348 bool m_volumeConfigurationsHasBeenSet =
false;
350 bool m_enableAutoHealing;
351 bool m_enableAutoHealingHasBeenSet =
false;
353 bool m_autoAssignElasticIps;
354 bool m_autoAssignElasticIpsHasBeenSet =
false;
356 bool m_autoAssignPublicIps;
357 bool m_autoAssignPublicIpsHasBeenSet =
false;
360 bool m_customRecipesHasBeenSet =
false;
362 bool m_installUpdatesOnBoot;
363 bool m_installUpdatesOnBootHasBeenSet =
false;
365 bool m_useEbsOptimizedInstances;
366 bool m_useEbsOptimizedInstancesHasBeenSet =
false;
369 bool m_lifecycleEventConfigurationHasBeenSet =
false;
bool CustomJsonHasBeenSet() const
void SetAutoAssignPublicIps(bool value)
void SetInstallUpdatesOnBoot(bool value)
void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
CreateLayerRequest & WithAutoAssignPublicIps(bool value)
CreateLayerRequest & WithAutoAssignElasticIps(bool value)
bool GetAutoAssignElasticIps() const
void SetAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
CreateLayerRequest & WithAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
CreateLayerRequest & WithEnableAutoHealing(bool value)
void SetLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
void SetType(const LayerType &value)
CreateLayerRequest & AddCustomSecurityGroupIds(const Aws::String &value)
const Aws::String & GetCustomInstanceProfileArn() const
CreateLayerRequest & WithShortname(const char *value)
CreateLayerRequest & AddAttributes(const LayerAttributesKeys &key, const Aws::String &value)
const Aws::Vector< Aws::String > & GetPackages() const
void SetStackId(const Aws::String &value)
CreateLayerRequest & WithCustomJson(const Aws::String &value)
void SetName(Aws::String &&value)
CreateLayerRequest & AddPackages(const char *value)
void SetCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetPackages(Aws::Vector< Aws::String > &&value)
void SetShortname(const char *value)
CreateLayerRequest & WithStackId(const Aws::String &value)
CreateLayerRequest & WithName(const Aws::String &value)
void SetCustomJson(const char *value)
CreateLayerRequest & WithCustomJson(Aws::String &&value)
CreateLayerRequest & AddVolumeConfigurations(VolumeConfiguration &&value)
const Aws::String & GetShortname() const
void SetStackId(const char *value)
CreateLayerRequest & AddCustomSecurityGroupIds(const char *value)
CreateLayerRequest & WithType(LayerType &&value)
bool AutoAssignElasticIpsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool AutoAssignPublicIpsHasBeenSet() const
bool PackagesHasBeenSet() const
void SetCustomJson(Aws::String &&value)
bool CloudWatchLogsConfigurationHasBeenSet() const
CreateLayerRequest & AddVolumeConfigurations(const VolumeConfiguration &value)
CreateLayerRequest & AddPackages(Aws::String &&value)
const Aws::Vector< VolumeConfiguration > & GetVolumeConfigurations() const
CreateLayerRequest & AddPackages(const Aws::String &value)
void SetCustomJson(const Aws::String &value)
CreateLayerRequest & WithCustomJson(const char *value)
CreateLayerRequest & AddCustomSecurityGroupIds(Aws::String &&value)
CreateLayerRequest & AddAttributes(const LayerAttributesKeys &key, Aws::String &&value)
AWS_OPSWORKS_API CreateLayerRequest()
bool StackIdHasBeenSet() const
CreateLayerRequest & WithCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
void SetEnableAutoHealing(bool value)
bool CustomInstanceProfileArnHasBeenSet() const
CreateLayerRequest & WithStackId(const char *value)
CreateLayerRequest & WithCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
const Recipes & GetCustomRecipes() const
CreateLayerRequest & WithCustomRecipes(const Recipes &value)
void SetCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool VolumeConfigurationsHasBeenSet() const
const Aws::String & GetCustomJson() const
CreateLayerRequest & WithUseEbsOptimizedInstances(bool value)
bool TypeHasBeenSet() const
void SetLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
CreateLayerRequest & WithPackages(const Aws::Vector< Aws::String > &value)
bool EnableAutoHealingHasBeenSet() const
bool ShortnameHasBeenSet() const
CreateLayerRequest & WithShortname(const Aws::String &value)
void SetCustomRecipes(Recipes &&value)
CreateLayerRequest & WithName(const char *value)
CreateLayerRequest & WithVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
void SetCustomInstanceProfileArn(const char *value)
bool CustomSecurityGroupIdsHasBeenSet() const
CreateLayerRequest & WithCustomInstanceProfileArn(const Aws::String &value)
CreateLayerRequest & AddAttributes(const LayerAttributesKeys &key, const char *value)
bool UseEbsOptimizedInstancesHasBeenSet() const
CreateLayerRequest & WithCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetName(const char *value)
void SetShortname(const Aws::String &value)
void SetShortname(Aws::String &&value)
void SetUseEbsOptimizedInstances(bool value)
void SetType(LayerType &&value)
void SetName(const Aws::String &value)
CreateLayerRequest & WithCustomInstanceProfileArn(const char *value)
CreateLayerRequest & WithVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
CreateLayerRequest & WithAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
const Aws::String & GetName() const
void SetCustomInstanceProfileArn(const Aws::String &value)
const CloudWatchLogsConfiguration & GetCloudWatchLogsConfiguration() const
CreateLayerRequest & WithLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
const LayerType & GetType() const
const Aws::String & GetStackId() const
bool GetUseEbsOptimizedInstances() const
CreateLayerRequest & WithStackId(Aws::String &&value)
void SetPackages(const Aws::Vector< Aws::String > &value)
void SetVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
const Aws::Map< LayerAttributesKeys, Aws::String > & GetAttributes() const
const LifecycleEventConfiguration & GetLifecycleEventConfiguration() const
CreateLayerRequest & WithType(const LayerType &value)
CreateLayerRequest & AddAttributes(LayerAttributesKeys &&key, Aws::String &&value)
CreateLayerRequest & AddAttributes(LayerAttributesKeys &&key, const Aws::String &value)
CreateLayerRequest & AddAttributes(LayerAttributesKeys &&key, const char *value)
void SetAutoAssignElasticIps(bool value)
CreateLayerRequest & WithCustomRecipes(Recipes &&value)
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetCustomSecurityGroupIds() const
bool InstallUpdatesOnBootHasBeenSet() const
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetStackId(Aws::String &&value)
CreateLayerRequest & WithPackages(Aws::Vector< Aws::String > &&value)
bool LifecycleEventConfigurationHasBeenSet() const
void SetAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
CreateLayerRequest & WithCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateLayerRequest & WithInstallUpdatesOnBoot(bool value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCustomRecipes(const Recipes &value)
bool CustomRecipesHasBeenSet() const
CreateLayerRequest & WithCustomInstanceProfileArn(Aws::String &&value)
CreateLayerRequest & WithShortname(Aws::String &&value)
CreateLayerRequest & WithName(Aws::String &&value)
bool GetAutoAssignPublicIps() const
void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
void SetCustomInstanceProfileArn(Aws::String &&value)
void SetVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
bool AttributesHasBeenSet() const
bool GetInstallUpdatesOnBoot() const
bool GetEnableAutoHealing() const
CreateLayerRequest & WithLifecycleEventConfiguration(LifecycleEventConfiguration &&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