AWS SDK for C++  0.14.3
AWS SDK for C++
Layer.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
25 
26 namespace Aws
27 {
28 namespace Utils
29 {
30 namespace Json
31 {
32  class JsonValue;
33 } // namespace Json
34 } // namespace Utils
35 namespace OpsWorks
36 {
37 namespace Model
38 {
39 
44  {
45  public:
46  Layer();
47  Layer(const Aws::Utils::Json::JsonValue& jsonValue);
48  Layer& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
49  Aws::Utils::Json::JsonValue Jsonize() const;
50 
54  inline const Aws::String& GetStackId() const{ return m_stackId; }
55 
59  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
60 
64  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
65 
69  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
70 
74  inline Layer& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
75 
79  inline Layer& WithStackId(Aws::String&& value) { SetStackId(value); return *this;}
80 
84  inline Layer& WithStackId(const char* value) { SetStackId(value); return *this;}
85 
89  inline const Aws::String& GetLayerId() const{ return m_layerId; }
90 
94  inline void SetLayerId(const Aws::String& value) { m_layerIdHasBeenSet = true; m_layerId = value; }
95 
99  inline void SetLayerId(Aws::String&& value) { m_layerIdHasBeenSet = true; m_layerId = value; }
100 
104  inline void SetLayerId(const char* value) { m_layerIdHasBeenSet = true; m_layerId.assign(value); }
105 
109  inline Layer& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;}
110 
114  inline Layer& WithLayerId(Aws::String&& value) { SetLayerId(value); return *this;}
115 
119  inline Layer& WithLayerId(const char* value) { SetLayerId(value); return *this;}
120 
124  inline const LayerType& GetType() const{ return m_type; }
125 
129  inline void SetType(const LayerType& value) { m_typeHasBeenSet = true; m_type = value; }
130 
134  inline void SetType(LayerType&& value) { m_typeHasBeenSet = true; m_type = value; }
135 
139  inline Layer& WithType(const LayerType& value) { SetType(value); return *this;}
140 
144  inline Layer& WithType(LayerType&& value) { SetType(value); return *this;}
145 
149  inline const Aws::String& GetName() const{ return m_name; }
150 
154  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
155 
159  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
160 
164  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
165 
169  inline Layer& WithName(const Aws::String& value) { SetName(value); return *this;}
170 
174  inline Layer& WithName(Aws::String&& value) { SetName(value); return *this;}
175 
179  inline Layer& WithName(const char* value) { SetName(value); return *this;}
180 
184  inline const Aws::String& GetShortname() const{ return m_shortname; }
185 
189  inline void SetShortname(const Aws::String& value) { m_shortnameHasBeenSet = true; m_shortname = value; }
190 
194  inline void SetShortname(Aws::String&& value) { m_shortnameHasBeenSet = true; m_shortname = value; }
195 
199  inline void SetShortname(const char* value) { m_shortnameHasBeenSet = true; m_shortname.assign(value); }
200 
204  inline Layer& WithShortname(const Aws::String& value) { SetShortname(value); return *this;}
205 
209  inline Layer& WithShortname(Aws::String&& value) { SetShortname(value); return *this;}
210 
214  inline Layer& WithShortname(const char* value) { SetShortname(value); return *this;}
215 
223  inline const Aws::Map<LayerAttributesKeys, Aws::String>& GetAttributes() const{ return m_attributes; }
224 
232  inline void SetAttributes(const Aws::Map<LayerAttributesKeys, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
233 
241  inline void SetAttributes(Aws::Map<LayerAttributesKeys, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = value; }
242 
250  inline Layer& WithAttributes(const Aws::Map<LayerAttributesKeys, Aws::String>& value) { SetAttributes(value); return *this;}
251 
259  inline Layer& WithAttributes(Aws::Map<LayerAttributesKeys, Aws::String>&& value) { SetAttributes(value); return *this;}
260 
268  inline Layer& AddAttributes(const LayerAttributesKeys& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
269 
277  inline Layer& AddAttributes(LayerAttributesKeys&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
278 
286  inline Layer& AddAttributes(const LayerAttributesKeys& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
287 
295  inline Layer& AddAttributes(LayerAttributesKeys&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
296 
304  inline Layer& AddAttributes(LayerAttributesKeys&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
305 
313  inline Layer& AddAttributes(const LayerAttributesKeys& key, const char* value) { m_attributesHasBeenSet = true; m_attributes[key] = value; return *this; }
314 
321  inline const Aws::String& GetCustomInstanceProfileArn() const{ return m_customInstanceProfileArn; }
322 
329  inline void SetCustomInstanceProfileArn(const Aws::String& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = value; }
330 
337  inline void SetCustomInstanceProfileArn(Aws::String&& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = value; }
338 
345  inline void SetCustomInstanceProfileArn(const char* value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn.assign(value); }
346 
353  inline Layer& WithCustomInstanceProfileArn(const Aws::String& value) { SetCustomInstanceProfileArn(value); return *this;}
354 
361  inline Layer& WithCustomInstanceProfileArn(Aws::String&& value) { SetCustomInstanceProfileArn(value); return *this;}
362 
369  inline Layer& WithCustomInstanceProfileArn(const char* value) { SetCustomInstanceProfileArn(value); return *this;}
370 
375  inline const Aws::String& GetCustomJson() const{ return m_customJson; }
376 
381  inline void SetCustomJson(const Aws::String& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
382 
387  inline void SetCustomJson(Aws::String&& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
388 
393  inline void SetCustomJson(const char* value) { m_customJsonHasBeenSet = true; m_customJson.assign(value); }
394 
399  inline Layer& WithCustomJson(const Aws::String& value) { SetCustomJson(value); return *this;}
400 
405  inline Layer& WithCustomJson(Aws::String&& value) { SetCustomJson(value); return *this;}
406 
411  inline Layer& WithCustomJson(const char* value) { SetCustomJson(value); return *this;}
412 
416  inline const Aws::Vector<Aws::String>& GetCustomSecurityGroupIds() const{ return m_customSecurityGroupIds; }
417 
421  inline void SetCustomSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = value; }
422 
426  inline void SetCustomSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = value; }
427 
431  inline Layer& WithCustomSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetCustomSecurityGroupIds(value); return *this;}
432 
436  inline Layer& WithCustomSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetCustomSecurityGroupIds(value); return *this;}
437 
441  inline Layer& AddCustomSecurityGroupIds(const Aws::String& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
442 
446  inline Layer& AddCustomSecurityGroupIds(Aws::String&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
447 
451  inline Layer& AddCustomSecurityGroupIds(const char* value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
452 
456  inline const Aws::Vector<Aws::String>& GetDefaultSecurityGroupNames() const{ return m_defaultSecurityGroupNames; }
457 
461  inline void SetDefaultSecurityGroupNames(const Aws::Vector<Aws::String>& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames = value; }
462 
466  inline void SetDefaultSecurityGroupNames(Aws::Vector<Aws::String>&& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames = value; }
467 
471  inline Layer& WithDefaultSecurityGroupNames(const Aws::Vector<Aws::String>& value) { SetDefaultSecurityGroupNames(value); return *this;}
472 
476  inline Layer& WithDefaultSecurityGroupNames(Aws::Vector<Aws::String>&& value) { SetDefaultSecurityGroupNames(value); return *this;}
477 
481  inline Layer& AddDefaultSecurityGroupNames(const Aws::String& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(value); return *this; }
482 
486  inline Layer& AddDefaultSecurityGroupNames(Aws::String&& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(value); return *this; }
487 
491  inline Layer& AddDefaultSecurityGroupNames(const char* value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(value); return *this; }
492 
497  inline const Aws::Vector<Aws::String>& GetPackages() const{ return m_packages; }
498 
503  inline void SetPackages(const Aws::Vector<Aws::String>& value) { m_packagesHasBeenSet = true; m_packages = value; }
504 
509  inline void SetPackages(Aws::Vector<Aws::String>&& value) { m_packagesHasBeenSet = true; m_packages = value; }
510 
515  inline Layer& WithPackages(const Aws::Vector<Aws::String>& value) { SetPackages(value); return *this;}
516 
521  inline Layer& WithPackages(Aws::Vector<Aws::String>&& value) { SetPackages(value); return *this;}
522 
527  inline Layer& AddPackages(const Aws::String& value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
528 
533  inline Layer& AddPackages(Aws::String&& value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
534 
539  inline Layer& AddPackages(const char* value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
540 
545  inline const Aws::Vector<VolumeConfiguration>& GetVolumeConfigurations() const{ return m_volumeConfigurations; }
546 
551  inline void SetVolumeConfigurations(const Aws::Vector<VolumeConfiguration>& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = value; }
552 
557  inline void SetVolumeConfigurations(Aws::Vector<VolumeConfiguration>&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = value; }
558 
563  inline Layer& WithVolumeConfigurations(const Aws::Vector<VolumeConfiguration>& value) { SetVolumeConfigurations(value); return *this;}
564 
569  inline Layer& WithVolumeConfigurations(Aws::Vector<VolumeConfiguration>&& value) { SetVolumeConfigurations(value); return *this;}
570 
575  inline Layer& AddVolumeConfigurations(const VolumeConfiguration& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(value); return *this; }
576 
581  inline Layer& AddVolumeConfigurations(VolumeConfiguration&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(value); return *this; }
582 
586  inline bool GetEnableAutoHealing() const{ return m_enableAutoHealing; }
587 
591  inline void SetEnableAutoHealing(bool value) { m_enableAutoHealingHasBeenSet = true; m_enableAutoHealing = value; }
592 
596  inline Layer& WithEnableAutoHealing(bool value) { SetEnableAutoHealing(value); return *this;}
597 
605  inline bool GetAutoAssignElasticIps() const{ return m_autoAssignElasticIps; }
606 
614  inline void SetAutoAssignElasticIps(bool value) { m_autoAssignElasticIpsHasBeenSet = true; m_autoAssignElasticIps = value; }
615 
623  inline Layer& WithAutoAssignElasticIps(bool value) { SetAutoAssignElasticIps(value); return *this;}
624 
631  inline bool GetAutoAssignPublicIps() const{ return m_autoAssignPublicIps; }
632 
639  inline void SetAutoAssignPublicIps(bool value) { m_autoAssignPublicIpsHasBeenSet = true; m_autoAssignPublicIps = value; }
640 
647  inline Layer& WithAutoAssignPublicIps(bool value) { SetAutoAssignPublicIps(value); return *this;}
648 
649 
650  inline const Recipes& GetDefaultRecipes() const{ return m_defaultRecipes; }
651 
652 
653  inline void SetDefaultRecipes(const Recipes& value) { m_defaultRecipesHasBeenSet = true; m_defaultRecipes = value; }
654 
655 
656  inline void SetDefaultRecipes(Recipes&& value) { m_defaultRecipesHasBeenSet = true; m_defaultRecipes = value; }
657 
658 
659  inline Layer& WithDefaultRecipes(const Recipes& value) { SetDefaultRecipes(value); return *this;}
660 
661 
662  inline Layer& WithDefaultRecipes(Recipes&& value) { SetDefaultRecipes(value); return *this;}
663 
668  inline const Recipes& GetCustomRecipes() const{ return m_customRecipes; }
669 
674  inline void SetCustomRecipes(const Recipes& value) { m_customRecipesHasBeenSet = true; m_customRecipes = value; }
675 
680  inline void SetCustomRecipes(Recipes&& value) { m_customRecipesHasBeenSet = true; m_customRecipes = value; }
681 
686  inline Layer& WithCustomRecipes(const Recipes& value) { SetCustomRecipes(value); return *this;}
687 
692  inline Layer& WithCustomRecipes(Recipes&& value) { SetCustomRecipes(value); return *this;}
693 
697  inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
698 
702  inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
703 
707  inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
708 
712  inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
713 
717  inline Layer& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
718 
722  inline Layer& WithCreatedAt(Aws::String&& value) { SetCreatedAt(value); return *this;}
723 
727  inline Layer& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
728 
739  inline bool GetInstallUpdatesOnBoot() const{ return m_installUpdatesOnBoot; }
740 
751  inline void SetInstallUpdatesOnBoot(bool value) { m_installUpdatesOnBootHasBeenSet = true; m_installUpdatesOnBoot = value; }
752 
763  inline Layer& WithInstallUpdatesOnBoot(bool value) { SetInstallUpdatesOnBoot(value); return *this;}
764 
768  inline bool GetUseEbsOptimizedInstances() const{ return m_useEbsOptimizedInstances; }
769 
773  inline void SetUseEbsOptimizedInstances(bool value) { m_useEbsOptimizedInstancesHasBeenSet = true; m_useEbsOptimizedInstances = value; }
774 
778  inline Layer& WithUseEbsOptimizedInstances(bool value) { SetUseEbsOptimizedInstances(value); return *this;}
779 
784  inline const LifecycleEventConfiguration& GetLifecycleEventConfiguration() const{ return m_lifecycleEventConfiguration; }
785 
790  inline void SetLifecycleEventConfiguration(const LifecycleEventConfiguration& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = value; }
791 
796  inline void SetLifecycleEventConfiguration(LifecycleEventConfiguration&& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = value; }
797 
802  inline Layer& WithLifecycleEventConfiguration(const LifecycleEventConfiguration& value) { SetLifecycleEventConfiguration(value); return *this;}
803 
808  inline Layer& WithLifecycleEventConfiguration(LifecycleEventConfiguration&& value) { SetLifecycleEventConfiguration(value); return *this;}
809 
810  private:
811  Aws::String m_stackId;
812  bool m_stackIdHasBeenSet;
813  Aws::String m_layerId;
814  bool m_layerIdHasBeenSet;
815  LayerType m_type;
816  bool m_typeHasBeenSet;
817  Aws::String m_name;
818  bool m_nameHasBeenSet;
819  Aws::String m_shortname;
820  bool m_shortnameHasBeenSet;
822  bool m_attributesHasBeenSet;
823  Aws::String m_customInstanceProfileArn;
824  bool m_customInstanceProfileArnHasBeenSet;
825  Aws::String m_customJson;
826  bool m_customJsonHasBeenSet;
827  Aws::Vector<Aws::String> m_customSecurityGroupIds;
828  bool m_customSecurityGroupIdsHasBeenSet;
829  Aws::Vector<Aws::String> m_defaultSecurityGroupNames;
830  bool m_defaultSecurityGroupNamesHasBeenSet;
831  Aws::Vector<Aws::String> m_packages;
832  bool m_packagesHasBeenSet;
833  Aws::Vector<VolumeConfiguration> m_volumeConfigurations;
834  bool m_volumeConfigurationsHasBeenSet;
835  bool m_enableAutoHealing;
836  bool m_enableAutoHealingHasBeenSet;
837  bool m_autoAssignElasticIps;
838  bool m_autoAssignElasticIpsHasBeenSet;
839  bool m_autoAssignPublicIps;
840  bool m_autoAssignPublicIpsHasBeenSet;
841  Recipes m_defaultRecipes;
842  bool m_defaultRecipesHasBeenSet;
843  Recipes m_customRecipes;
844  bool m_customRecipesHasBeenSet;
845  Aws::String m_createdAt;
846  bool m_createdAtHasBeenSet;
847  bool m_installUpdatesOnBoot;
848  bool m_installUpdatesOnBootHasBeenSet;
849  bool m_useEbsOptimizedInstances;
850  bool m_useEbsOptimizedInstancesHasBeenSet;
851  LifecycleEventConfiguration m_lifecycleEventConfiguration;
852  bool m_lifecycleEventConfigurationHasBeenSet;
853  };
854 
855 } // namespace Model
856 } // namespace OpsWorks
857 } // namespace Aws
Layer & AddDefaultSecurityGroupNames(const char *value)
Definition: Layer.h:491
bool GetInstallUpdatesOnBoot() const
Definition: Layer.h:739
Layer & AddCustomSecurityGroupIds(const char *value)
Definition: Layer.h:451
Layer & WithAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
Definition: Layer.h:250
const Aws::String & GetLayerId() const
Definition: Layer.h:89
void SetShortname(const char *value)
Definition: Layer.h:199
void SetDefaultRecipes(const Recipes &value)
Definition: Layer.h:653
const Aws::String & GetCustomJson() const
Definition: Layer.h:375
const Aws::Vector< Aws::String > & GetDefaultSecurityGroupNames() const
Definition: Layer.h:456
Layer & WithCustomInstanceProfileArn(const Aws::String &value)
Definition: Layer.h:353
Layer & WithCustomJson(const Aws::String &value)
Definition: Layer.h:399
const Aws::Vector< Aws::String > & GetPackages() const
Definition: Layer.h:497
Layer & WithDefaultSecurityGroupNames(const Aws::Vector< Aws::String > &value)
Definition: Layer.h:471
void SetDefaultRecipes(Recipes &&value)
Definition: Layer.h:656
Layer & WithCustomRecipes(Recipes &&value)
Definition: Layer.h:692
Layer & AddAttributes(const LayerAttributesKeys &key, const Aws::String &value)
Definition: Layer.h:268
Layer & WithLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
Definition: Layer.h:808
void SetDefaultSecurityGroupNames(Aws::Vector< Aws::String > &&value)
Definition: Layer.h:466
Layer & WithLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
Definition: Layer.h:802
void SetCreatedAt(const char *value)
Definition: Layer.h:712
Layer & AddPackages(const char *value)
Definition: Layer.h:539
void SetLayerId(const char *value)
Definition: Layer.h:104
Layer & WithLayerId(Aws::String &&value)
Definition: Layer.h:114
Layer & WithUseEbsOptimizedInstances(bool value)
Definition: Layer.h:778
void SetCustomInstanceProfileArn(Aws::String &&value)
Definition: Layer.h:337
Layer & AddVolumeConfigurations(VolumeConfiguration &&value)
Definition: Layer.h:581
Layer & WithCreatedAt(const Aws::String &value)
Definition: Layer.h:717
void SetUseEbsOptimizedInstances(bool value)
Definition: Layer.h:773
Layer & WithInstallUpdatesOnBoot(bool value)
Definition: Layer.h:763
void SetDefaultSecurityGroupNames(const Aws::Vector< Aws::String > &value)
Definition: Layer.h:461
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Layer & WithPackages(const Aws::Vector< Aws::String > &value)
Definition: Layer.h:515
const Aws::String & GetCreatedAt() const
Definition: Layer.h:697
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
Layer & AddCustomSecurityGroupIds(Aws::String &&value)
Definition: Layer.h:446
const Recipes & GetDefaultRecipes() const
Definition: Layer.h:650
void SetAutoAssignPublicIps(bool value)
Definition: Layer.h:639
void SetCreatedAt(const Aws::String &value)
Definition: Layer.h:702
void SetCustomRecipes(Recipes &&value)
Definition: Layer.h:680
void SetStackId(const char *value)
Definition: Layer.h:69
Layer & WithStackId(Aws::String &&value)
Definition: Layer.h:79
void SetAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
Definition: Layer.h:241
void SetPackages(Aws::Vector< Aws::String > &&value)
Definition: Layer.h:509
Layer & AddPackages(Aws::String &&value)
Definition: Layer.h:533
void SetLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
Definition: Layer.h:796
Layer & WithCustomInstanceProfileArn(Aws::String &&value)
Definition: Layer.h:361
Layer & WithName(const Aws::String &value)
Definition: Layer.h:169
Layer & AddVolumeConfigurations(const VolumeConfiguration &value)
Definition: Layer.h:575
Layer & WithLayerId(const char *value)
Definition: Layer.h:119
Layer & WithShortname(const Aws::String &value)
Definition: Layer.h:204
const Aws::String & GetCustomInstanceProfileArn() const
Definition: Layer.h:321
Layer & WithCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: Layer.h:436
Layer & WithType(LayerType &&value)
Definition: Layer.h:144
Layer & WithCustomInstanceProfileArn(const char *value)
Definition: Layer.h:369
void SetCreatedAt(Aws::String &&value)
Definition: Layer.h:707
Layer & WithEnableAutoHealing(bool value)
Definition: Layer.h:596
bool GetAutoAssignPublicIps() const
Definition: Layer.h:631
Layer & WithCustomJson(Aws::String &&value)
Definition: Layer.h:405
const Aws::Vector< Aws::String > & GetCustomSecurityGroupIds() const
Definition: Layer.h:416
const Recipes & GetCustomRecipes() const
Definition: Layer.h:668
Layer & WithLayerId(const Aws::String &value)
Definition: Layer.h:109
void SetPackages(const Aws::Vector< Aws::String > &value)
Definition: Layer.h:503
const Aws::Vector< VolumeConfiguration > & GetVolumeConfigurations() const
Definition: Layer.h:545
Layer & WithCustomRecipes(const Recipes &value)
Definition: Layer.h:686
void SetShortname(Aws::String &&value)
Definition: Layer.h:194
const Aws::String & GetStackId() const
Definition: Layer.h:54
void SetType(LayerType &&value)
Definition: Layer.h:134
void SetCustomRecipes(const Recipes &value)
Definition: Layer.h:674
void SetCustomJson(const char *value)
Definition: Layer.h:393
void SetStackId(const Aws::String &value)
Definition: Layer.h:59
void SetName(const Aws::String &value)
Definition: Layer.h:154
void SetLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
Definition: Layer.h:790
bool GetUseEbsOptimizedInstances() const
Definition: Layer.h:768
const LayerType & GetType() const
Definition: Layer.h:124
void SetCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: Layer.h:421
const Aws::String & GetShortname() const
Definition: Layer.h:184
void SetCustomInstanceProfileArn(const Aws::String &value)
Definition: Layer.h:329
Layer & AddAttributes(LayerAttributesKeys &&key, const char *value)
Definition: Layer.h:304
void SetCustomInstanceProfileArn(const char *value)
Definition: Layer.h:345
void SetCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: Layer.h:426
void SetEnableAutoHealing(bool value)
Definition: Layer.h:591
Layer & WithDefaultSecurityGroupNames(Aws::Vector< Aws::String > &&value)
Definition: Layer.h:476
Layer & WithStackId(const char *value)
Definition: Layer.h:84
Layer & WithPackages(Aws::Vector< Aws::String > &&value)
Definition: Layer.h:521
Layer & AddDefaultSecurityGroupNames(Aws::String &&value)
Definition: Layer.h:486
Layer & WithDefaultRecipes(Recipes &&value)
Definition: Layer.h:662
void SetVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
Definition: Layer.h:551
Layer & AddAttributes(LayerAttributesKeys &&key, Aws::String &&value)
Definition: Layer.h:295
Layer & WithName(Aws::String &&value)
Definition: Layer.h:174
const LifecycleEventConfiguration & GetLifecycleEventConfiguration() const
Definition: Layer.h:784
Layer & WithCreatedAt(const char *value)
Definition: Layer.h:727
Layer & AddAttributes(const LayerAttributesKeys &key, Aws::String &&value)
Definition: Layer.h:286
void SetType(const LayerType &value)
Definition: Layer.h:129
bool GetEnableAutoHealing() const
Definition: Layer.h:586
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Layer & AddDefaultSecurityGroupNames(const Aws::String &value)
Definition: Layer.h:481
#define AWS_OPSWORKS_API
Layer & WithVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
Definition: Layer.h:569
void SetVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
Definition: Layer.h:557
Layer & WithAutoAssignElasticIps(bool value)
Definition: Layer.h:623
Layer & WithStackId(const Aws::String &value)
Definition: Layer.h:74
Layer & WithName(const char *value)
Definition: Layer.h:179
Layer & WithCustomJson(const char *value)
Definition: Layer.h:411
void SetShortname(const Aws::String &value)
Definition: Layer.h:189
Layer & WithType(const LayerType &value)
Definition: Layer.h:139
Layer & AddAttributes(const LayerAttributesKeys &key, const char *value)
Definition: Layer.h:313
Layer & WithCreatedAt(Aws::String &&value)
Definition: Layer.h:722
void SetAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
Definition: Layer.h:232
Layer & AddPackages(const Aws::String &value)
Definition: Layer.h:527
Layer & AddAttributes(LayerAttributesKeys &&key, const Aws::String &value)
Definition: Layer.h:277
void SetLayerId(Aws::String &&value)
Definition: Layer.h:99
Layer & WithVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
Definition: Layer.h:563
void SetName(Aws::String &&value)
Definition: Layer.h:159
Layer & WithCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: Layer.h:431
Layer & WithAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
Definition: Layer.h:259
Layer & WithDefaultRecipes(const Recipes &value)
Definition: Layer.h:659
const Aws::Map< LayerAttributesKeys, Aws::String > & GetAttributes() const
Definition: Layer.h:223
void SetCustomJson(Aws::String &&value)
Definition: Layer.h:387
Layer & WithShortname(Aws::String &&value)
Definition: Layer.h:209
const Aws::String & GetName() const
Definition: Layer.h:149
void SetAutoAssignElasticIps(bool value)
Definition: Layer.h:614
void SetName(const char *value)
Definition: Layer.h:164
void SetStackId(Aws::String &&value)
Definition: Layer.h:64
bool GetAutoAssignElasticIps() const
Definition: Layer.h:605
void SetInstallUpdatesOnBoot(bool value)
Definition: Layer.h:751
void SetLayerId(const Aws::String &value)
Definition: Layer.h:94
Layer & WithAutoAssignPublicIps(bool value)
Definition: Layer.h:647
Layer & AddCustomSecurityGroupIds(const Aws::String &value)
Definition: Layer.h:441
JSON (JavaScript Object Notation).
Layer & WithShortname(const char *value)
Definition: Layer.h:214
void SetCustomJson(const Aws::String &value)
Definition: Layer.h:381