AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateLayerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace OpsWorks
22 {
23 namespace Model
24 {
25 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "UpdateLayer"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42 
43 
47  inline const Aws::String& GetLayerId() const{ return m_layerId; }
48 
52  inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; }
53 
57  inline void SetLayerId(const Aws::String& value) { m_layerIdHasBeenSet = true; m_layerId = value; }
58 
62  inline void SetLayerId(Aws::String&& value) { m_layerIdHasBeenSet = true; m_layerId = std::move(value); }
63 
67  inline void SetLayerId(const char* value) { m_layerIdHasBeenSet = true; m_layerId.assign(value); }
68 
72  inline UpdateLayerRequest& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;}
73 
77  inline UpdateLayerRequest& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;}
78 
82  inline UpdateLayerRequest& WithLayerId(const char* value) { SetLayerId(value); return *this;}
83 
84 
88  inline const Aws::String& GetName() const{ return m_name; }
89 
93  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 
98  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
99 
103  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 
108  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
109 
113  inline UpdateLayerRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
114 
118  inline UpdateLayerRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
119 
123  inline UpdateLayerRequest& WithName(const char* value) { SetName(value); return *this;}
124 
125 
136  inline const Aws::String& GetShortname() const{ return m_shortname; }
137 
148  inline bool ShortnameHasBeenSet() const { return m_shortnameHasBeenSet; }
149 
160  inline void SetShortname(const Aws::String& value) { m_shortnameHasBeenSet = true; m_shortname = value; }
161 
172  inline void SetShortname(Aws::String&& value) { m_shortnameHasBeenSet = true; m_shortname = std::move(value); }
173 
184  inline void SetShortname(const char* value) { m_shortnameHasBeenSet = true; m_shortname.assign(value); }
185 
196  inline UpdateLayerRequest& WithShortname(const Aws::String& value) { SetShortname(value); return *this;}
197 
208  inline UpdateLayerRequest& WithShortname(Aws::String&& value) { SetShortname(std::move(value)); return *this;}
209 
220  inline UpdateLayerRequest& WithShortname(const char* value) { SetShortname(value); return *this;}
221 
222 
227  inline const Aws::Map<LayerAttributesKeys, Aws::String>& GetAttributes() const{ return m_attributes; }
228 
233  inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
234 
239  inline void SetAttributes(const Aws::Map<LayerAttributesKeys, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
240 
245  inline void SetAttributes(Aws::Map<LayerAttributesKeys, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
246 
251  inline UpdateLayerRequest& WithAttributes(const Aws::Map<LayerAttributesKeys, Aws::String>& value) { SetAttributes(value); return *this;}
252 
257  inline UpdateLayerRequest& WithAttributes(Aws::Map<LayerAttributesKeys, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
258 
263  inline UpdateLayerRequest& AddAttributes(const LayerAttributesKeys& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
264 
269  inline UpdateLayerRequest& AddAttributes(LayerAttributesKeys&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
270 
275  inline UpdateLayerRequest& AddAttributes(const LayerAttributesKeys& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
276 
281  inline UpdateLayerRequest& AddAttributes(LayerAttributesKeys&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
282 
287  inline UpdateLayerRequest& AddAttributes(LayerAttributesKeys&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
288 
293  inline UpdateLayerRequest& AddAttributes(const LayerAttributesKeys& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
294 
295 
300  inline const CloudWatchLogsConfiguration& GetCloudWatchLogsConfiguration() const{ return m_cloudWatchLogsConfiguration; }
301 
306  inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
307 
312  inline void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = value; }
313 
318  inline void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::move(value); }
319 
324  inline UpdateLayerRequest& WithCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration& value) { SetCloudWatchLogsConfiguration(value); return *this;}
325 
330  inline UpdateLayerRequest& WithCloudWatchLogsConfiguration(CloudWatchLogsConfiguration&& value) { SetCloudWatchLogsConfiguration(std::move(value)); return *this;}
331 
332 
339  inline const Aws::String& GetCustomInstanceProfileArn() const{ return m_customInstanceProfileArn; }
340 
347  inline bool CustomInstanceProfileArnHasBeenSet() const { return m_customInstanceProfileArnHasBeenSet; }
348 
355  inline void SetCustomInstanceProfileArn(const Aws::String& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = value; }
356 
363  inline void SetCustomInstanceProfileArn(Aws::String&& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = std::move(value); }
364 
371  inline void SetCustomInstanceProfileArn(const char* value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn.assign(value); }
372 
379  inline UpdateLayerRequest& WithCustomInstanceProfileArn(const Aws::String& value) { SetCustomInstanceProfileArn(value); return *this;}
380 
387  inline UpdateLayerRequest& WithCustomInstanceProfileArn(Aws::String&& value) { SetCustomInstanceProfileArn(std::move(value)); return *this;}
388 
395  inline UpdateLayerRequest& WithCustomInstanceProfileArn(const char* value) { SetCustomInstanceProfileArn(value); return *this;}
396 
397 
405  inline const Aws::String& GetCustomJson() const{ return m_customJson; }
406 
414  inline bool CustomJsonHasBeenSet() const { return m_customJsonHasBeenSet; }
415 
423  inline void SetCustomJson(const Aws::String& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
424 
432  inline void SetCustomJson(Aws::String&& value) { m_customJsonHasBeenSet = true; m_customJson = std::move(value); }
433 
441  inline void SetCustomJson(const char* value) { m_customJsonHasBeenSet = true; m_customJson.assign(value); }
442 
450  inline UpdateLayerRequest& WithCustomJson(const Aws::String& value) { SetCustomJson(value); return *this;}
451 
459  inline UpdateLayerRequest& WithCustomJson(Aws::String&& value) { SetCustomJson(std::move(value)); return *this;}
460 
468  inline UpdateLayerRequest& WithCustomJson(const char* value) { SetCustomJson(value); return *this;}
469 
470 
474  inline const Aws::Vector<Aws::String>& GetCustomSecurityGroupIds() const{ return m_customSecurityGroupIds; }
475 
479  inline bool CustomSecurityGroupIdsHasBeenSet() const { return m_customSecurityGroupIdsHasBeenSet; }
480 
484  inline void SetCustomSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = value; }
485 
489  inline void SetCustomSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = std::move(value); }
490 
494  inline UpdateLayerRequest& WithCustomSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetCustomSecurityGroupIds(value); return *this;}
495 
499  inline UpdateLayerRequest& WithCustomSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetCustomSecurityGroupIds(std::move(value)); return *this;}
500 
504  inline UpdateLayerRequest& AddCustomSecurityGroupIds(const Aws::String& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
505 
509  inline UpdateLayerRequest& AddCustomSecurityGroupIds(Aws::String&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(std::move(value)); return *this; }
510 
514  inline UpdateLayerRequest& AddCustomSecurityGroupIds(const char* value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
515 
516 
521  inline const Aws::Vector<Aws::String>& GetPackages() const{ return m_packages; }
522 
527  inline bool PackagesHasBeenSet() const { return m_packagesHasBeenSet; }
528 
533  inline void SetPackages(const Aws::Vector<Aws::String>& value) { m_packagesHasBeenSet = true; m_packages = value; }
534 
539  inline void SetPackages(Aws::Vector<Aws::String>&& value) { m_packagesHasBeenSet = true; m_packages = std::move(value); }
540 
545  inline UpdateLayerRequest& WithPackages(const Aws::Vector<Aws::String>& value) { SetPackages(value); return *this;}
546 
551  inline UpdateLayerRequest& WithPackages(Aws::Vector<Aws::String>&& value) { SetPackages(std::move(value)); return *this;}
552 
557  inline UpdateLayerRequest& AddPackages(const Aws::String& value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
558 
563  inline UpdateLayerRequest& AddPackages(Aws::String&& value) { m_packagesHasBeenSet = true; m_packages.push_back(std::move(value)); return *this; }
564 
569  inline UpdateLayerRequest& AddPackages(const char* value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
570 
571 
576  inline const Aws::Vector<VolumeConfiguration>& GetVolumeConfigurations() const{ return m_volumeConfigurations; }
577 
582  inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
583 
588  inline void SetVolumeConfigurations(const Aws::Vector<VolumeConfiguration>& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = value; }
589 
594  inline void SetVolumeConfigurations(Aws::Vector<VolumeConfiguration>&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = std::move(value); }
595 
600  inline UpdateLayerRequest& WithVolumeConfigurations(const Aws::Vector<VolumeConfiguration>& value) { SetVolumeConfigurations(value); return *this;}
601 
606  inline UpdateLayerRequest& WithVolumeConfigurations(Aws::Vector<VolumeConfiguration>&& value) { SetVolumeConfigurations(std::move(value)); return *this;}
607 
612  inline UpdateLayerRequest& AddVolumeConfigurations(const VolumeConfiguration& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(value); return *this; }
613 
618  inline UpdateLayerRequest& AddVolumeConfigurations(VolumeConfiguration&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(std::move(value)); return *this; }
619 
620 
624  inline bool GetEnableAutoHealing() const{ return m_enableAutoHealing; }
625 
629  inline bool EnableAutoHealingHasBeenSet() const { return m_enableAutoHealingHasBeenSet; }
630 
634  inline void SetEnableAutoHealing(bool value) { m_enableAutoHealingHasBeenSet = true; m_enableAutoHealing = value; }
635 
639  inline UpdateLayerRequest& WithEnableAutoHealing(bool value) { SetEnableAutoHealing(value); return *this;}
640 
641 
649  inline bool GetAutoAssignElasticIps() const{ return m_autoAssignElasticIps; }
650 
658  inline bool AutoAssignElasticIpsHasBeenSet() const { return m_autoAssignElasticIpsHasBeenSet; }
659 
667  inline void SetAutoAssignElasticIps(bool value) { m_autoAssignElasticIpsHasBeenSet = true; m_autoAssignElasticIps = value; }
668 
676  inline UpdateLayerRequest& WithAutoAssignElasticIps(bool value) { SetAutoAssignElasticIps(value); return *this;}
677 
678 
685  inline bool GetAutoAssignPublicIps() const{ return m_autoAssignPublicIps; }
686 
693  inline bool AutoAssignPublicIpsHasBeenSet() const { return m_autoAssignPublicIpsHasBeenSet; }
694 
701  inline void SetAutoAssignPublicIps(bool value) { m_autoAssignPublicIpsHasBeenSet = true; m_autoAssignPublicIps = value; }
702 
709  inline UpdateLayerRequest& WithAutoAssignPublicIps(bool value) { SetAutoAssignPublicIps(value); return *this;}
710 
711 
716  inline const Recipes& GetCustomRecipes() const{ return m_customRecipes; }
717 
722  inline bool CustomRecipesHasBeenSet() const { return m_customRecipesHasBeenSet; }
723 
728  inline void SetCustomRecipes(const Recipes& value) { m_customRecipesHasBeenSet = true; m_customRecipes = value; }
729 
734  inline void SetCustomRecipes(Recipes&& value) { m_customRecipesHasBeenSet = true; m_customRecipes = std::move(value); }
735 
740  inline UpdateLayerRequest& WithCustomRecipes(const Recipes& value) { SetCustomRecipes(value); return *this;}
741 
746  inline UpdateLayerRequest& WithCustomRecipes(Recipes&& value) { SetCustomRecipes(std::move(value)); return *this;}
747 
748 
760  inline bool GetInstallUpdatesOnBoot() const{ return m_installUpdatesOnBoot; }
761 
773  inline bool InstallUpdatesOnBootHasBeenSet() const { return m_installUpdatesOnBootHasBeenSet; }
774 
786  inline void SetInstallUpdatesOnBoot(bool value) { m_installUpdatesOnBootHasBeenSet = true; m_installUpdatesOnBoot = value; }
787 
799  inline UpdateLayerRequest& WithInstallUpdatesOnBoot(bool value) { SetInstallUpdatesOnBoot(value); return *this;}
800 
801 
805  inline bool GetUseEbsOptimizedInstances() const{ return m_useEbsOptimizedInstances; }
806 
810  inline bool UseEbsOptimizedInstancesHasBeenSet() const { return m_useEbsOptimizedInstancesHasBeenSet; }
811 
815  inline void SetUseEbsOptimizedInstances(bool value) { m_useEbsOptimizedInstancesHasBeenSet = true; m_useEbsOptimizedInstances = value; }
816 
820  inline UpdateLayerRequest& WithUseEbsOptimizedInstances(bool value) { SetUseEbsOptimizedInstances(value); return *this;}
821 
822 
826  inline const LifecycleEventConfiguration& GetLifecycleEventConfiguration() const{ return m_lifecycleEventConfiguration; }
827 
831  inline bool LifecycleEventConfigurationHasBeenSet() const { return m_lifecycleEventConfigurationHasBeenSet; }
832 
836  inline void SetLifecycleEventConfiguration(const LifecycleEventConfiguration& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = value; }
837 
841  inline void SetLifecycleEventConfiguration(LifecycleEventConfiguration&& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = std::move(value); }
842 
846  inline UpdateLayerRequest& WithLifecycleEventConfiguration(const LifecycleEventConfiguration& value) { SetLifecycleEventConfiguration(value); return *this;}
847 
851  inline UpdateLayerRequest& WithLifecycleEventConfiguration(LifecycleEventConfiguration&& value) { SetLifecycleEventConfiguration(std::move(value)); return *this;}
852 
853  private:
854 
855  Aws::String m_layerId;
856  bool m_layerIdHasBeenSet;
857 
858  Aws::String m_name;
859  bool m_nameHasBeenSet;
860 
861  Aws::String m_shortname;
862  bool m_shortnameHasBeenSet;
863 
865  bool m_attributesHasBeenSet;
866 
867  CloudWatchLogsConfiguration m_cloudWatchLogsConfiguration;
868  bool m_cloudWatchLogsConfigurationHasBeenSet;
869 
870  Aws::String m_customInstanceProfileArn;
871  bool m_customInstanceProfileArnHasBeenSet;
872 
873  Aws::String m_customJson;
874  bool m_customJsonHasBeenSet;
875 
876  Aws::Vector<Aws::String> m_customSecurityGroupIds;
877  bool m_customSecurityGroupIdsHasBeenSet;
878 
879  Aws::Vector<Aws::String> m_packages;
880  bool m_packagesHasBeenSet;
881 
882  Aws::Vector<VolumeConfiguration> m_volumeConfigurations;
883  bool m_volumeConfigurationsHasBeenSet;
884 
885  bool m_enableAutoHealing;
886  bool m_enableAutoHealingHasBeenSet;
887 
888  bool m_autoAssignElasticIps;
889  bool m_autoAssignElasticIpsHasBeenSet;
890 
891  bool m_autoAssignPublicIps;
892  bool m_autoAssignPublicIpsHasBeenSet;
893 
894  Recipes m_customRecipes;
895  bool m_customRecipesHasBeenSet;
896 
897  bool m_installUpdatesOnBoot;
898  bool m_installUpdatesOnBootHasBeenSet;
899 
900  bool m_useEbsOptimizedInstances;
901  bool m_useEbsOptimizedInstancesHasBeenSet;
902 
903  LifecycleEventConfiguration m_lifecycleEventConfiguration;
904  bool m_lifecycleEventConfigurationHasBeenSet;
905  };
906 
907 } // namespace Model
908 } // namespace OpsWorks
909 } // namespace Aws
const Aws::String & GetCustomJson() const
UpdateLayerRequest & AddCustomSecurityGroupIds(Aws::String &&value)
UpdateLayerRequest & AddPackages(Aws::String &&value)
const Aws::String & GetShortname() const
void SetCustomInstanceProfileArn(Aws::String &&value)
UpdateLayerRequest & WithAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCustomSecurityGroupIds() const
const Aws::Vector< VolumeConfiguration > & GetVolumeConfigurations() const
UpdateLayerRequest & WithCustomInstanceProfileArn(Aws::String &&value)
void SetLayerId(const Aws::String &value)
UpdateLayerRequest & WithCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateLayerRequest & WithVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
const Aws::String & GetLayerId() const
UpdateLayerRequest & WithUseEbsOptimizedInstances(bool value)
const CloudWatchLogsConfiguration & GetCloudWatchLogsConfiguration() const
UpdateLayerRequest & WithLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
void SetPackages(const Aws::Vector< Aws::String > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
void SetCustomJson(const Aws::String &value)
void SetAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
void SetCustomInstanceProfileArn(const char *value)
void SetCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateLayerRequest & WithCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
UpdateLayerRequest & WithCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
UpdateLayerRequest & WithLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
UpdateLayerRequest & WithVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
virtual const char * GetServiceRequestName() const override
UpdateLayerRequest & WithShortname(Aws::String &&value)
const Aws::String & GetCustomInstanceProfileArn() const
UpdateLayerRequest & WithCustomRecipes(Recipes &&value)
UpdateLayerRequest & AddPackages(const char *value)
UpdateLayerRequest & WithCustomRecipes(const Recipes &value)
void SetPackages(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPackages() const
void SetAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
UpdateLayerRequest & AddAttributes(const LayerAttributesKeys &key, const Aws::String &value)
UpdateLayerRequest & WithShortname(const char *value)
void SetCustomInstanceProfileArn(const Aws::String &value)
UpdateLayerRequest & AddAttributes(LayerAttributesKeys &&key, const char *value)
void SetVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
UpdateLayerRequest & AddCustomSecurityGroupIds(const char *value)
UpdateLayerRequest & AddAttributes(const LayerAttributesKeys &key, Aws::String &&value)
UpdateLayerRequest & WithName(const Aws::String &value)
UpdateLayerRequest & WithCustomJson(Aws::String &&value)
UpdateLayerRequest & AddAttributes(LayerAttributesKeys &&key, Aws::String &&value)
UpdateLayerRequest & AddPackages(const Aws::String &value)
UpdateLayerRequest & WithLayerId(const char *value)
UpdateLayerRequest & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
UpdateLayerRequest & WithAutoAssignPublicIps(bool value)
UpdateLayerRequest & AddVolumeConfigurations(VolumeConfiguration &&value)
const Aws::Map< LayerAttributesKeys, Aws::String > & GetAttributes() const
UpdateLayerRequest & WithAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
UpdateLayerRequest & WithName(const char *value)
UpdateLayerRequest & AddCustomSecurityGroupIds(const Aws::String &value)
UpdateLayerRequest & WithCustomJson(const Aws::String &value)
UpdateLayerRequest & WithCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetShortname(const Aws::String &value)
UpdateLayerRequest & WithCustomInstanceProfileArn(const Aws::String &value)
UpdateLayerRequest & WithInstallUpdatesOnBoot(bool value)
const LifecycleEventConfiguration & GetLifecycleEventConfiguration() const
UpdateLayerRequest & AddAttributes(const LayerAttributesKeys &key, const char *value)
void SetLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
UpdateLayerRequest & WithEnableAutoHealing(bool value)
void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_OPSWORKS_API
UpdateLayerRequest & WithLayerId(Aws::String &&value)
UpdateLayerRequest & WithPackages(Aws::Vector< Aws::String > &&value)
void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
void SetVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
void SetCustomRecipes(const Recipes &value)
UpdateLayerRequest & WithLayerId(const Aws::String &value)
UpdateLayerRequest & WithShortname(const Aws::String &value)
UpdateLayerRequest & WithCustomInstanceProfileArn(const char *value)
UpdateLayerRequest & WithPackages(const Aws::Vector< Aws::String > &value)
void SetLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
UpdateLayerRequest & WithCustomJson(const char *value)
void SetCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
UpdateLayerRequest & WithAutoAssignElasticIps(bool value)
UpdateLayerRequest & AddAttributes(LayerAttributesKeys &&key, const Aws::String &value)
UpdateLayerRequest & AddVolumeConfigurations(const VolumeConfiguration &value)