AWS SDK for C++  1.9.106
AWS SDK for C++
CreateLayerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
18 #include <utility>
19 
20 namespace Aws
21 {
22 namespace OpsWorks
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "CreateLayer"; }
39 
40  Aws::String SerializePayload() const override;
41 
43 
44 
48  inline const Aws::String& GetStackId() const{ return m_stackId; }
49 
53  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
54 
58  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
59 
63  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
64 
68  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
69 
73  inline CreateLayerRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
74 
78  inline CreateLayerRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
79 
83  inline CreateLayerRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
84 
85 
91  inline const LayerType& GetType() const{ return m_type; }
92 
98  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
99 
105  inline void SetType(const LayerType& value) { m_typeHasBeenSet = true; m_type = value; }
106 
112  inline void SetType(LayerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
113 
119  inline CreateLayerRequest& WithType(const LayerType& value) { SetType(value); return *this;}
120 
126  inline CreateLayerRequest& WithType(LayerType&& value) { SetType(std::move(value)); return *this;}
127 
128 
132  inline const Aws::String& GetName() const{ return m_name; }
133 
137  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
138 
142  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
143 
147  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
148 
152  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
153 
157  inline CreateLayerRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
158 
162  inline CreateLayerRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
163 
167  inline CreateLayerRequest& WithName(const char* value) { SetName(value); return *this;}
168 
169 
180  inline const Aws::String& GetShortname() const{ return m_shortname; }
181 
192  inline bool ShortnameHasBeenSet() const { return m_shortnameHasBeenSet; }
193 
204  inline void SetShortname(const Aws::String& value) { m_shortnameHasBeenSet = true; m_shortname = value; }
205 
216  inline void SetShortname(Aws::String&& value) { m_shortnameHasBeenSet = true; m_shortname = std::move(value); }
217 
228  inline void SetShortname(const char* value) { m_shortnameHasBeenSet = true; m_shortname.assign(value); }
229 
240  inline CreateLayerRequest& WithShortname(const Aws::String& value) { SetShortname(value); return *this;}
241 
252  inline CreateLayerRequest& WithShortname(Aws::String&& value) { SetShortname(std::move(value)); return *this;}
253 
264  inline CreateLayerRequest& WithShortname(const char* value) { SetShortname(value); return *this;}
265 
266 
272  inline const Aws::Map<LayerAttributesKeys, Aws::String>& GetAttributes() const{ return m_attributes; }
273 
279  inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
280 
286  inline void SetAttributes(const Aws::Map<LayerAttributesKeys, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
287 
293  inline void SetAttributes(Aws::Map<LayerAttributesKeys, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
294 
300  inline CreateLayerRequest& WithAttributes(const Aws::Map<LayerAttributesKeys, Aws::String>& value) { SetAttributes(value); return *this;}
301 
307  inline CreateLayerRequest& WithAttributes(Aws::Map<LayerAttributesKeys, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
308 
314  inline CreateLayerRequest& AddAttributes(const LayerAttributesKeys& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
315 
321  inline CreateLayerRequest& AddAttributes(LayerAttributesKeys&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
322 
328  inline CreateLayerRequest& AddAttributes(const LayerAttributesKeys& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
329 
335  inline CreateLayerRequest& AddAttributes(LayerAttributesKeys&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
336 
342  inline CreateLayerRequest& AddAttributes(LayerAttributesKeys&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
343 
349  inline CreateLayerRequest& AddAttributes(const LayerAttributesKeys& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
350 
351 
356  inline const CloudWatchLogsConfiguration& GetCloudWatchLogsConfiguration() const{ return m_cloudWatchLogsConfiguration; }
357 
362  inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
363 
368  inline void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = value; }
369 
374  inline void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::move(value); }
375 
380  inline CreateLayerRequest& WithCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration& value) { SetCloudWatchLogsConfiguration(value); return *this;}
381 
386  inline CreateLayerRequest& WithCloudWatchLogsConfiguration(CloudWatchLogsConfiguration&& value) { SetCloudWatchLogsConfiguration(std::move(value)); return *this;}
387 
388 
395  inline const Aws::String& GetCustomInstanceProfileArn() const{ return m_customInstanceProfileArn; }
396 
403  inline bool CustomInstanceProfileArnHasBeenSet() const { return m_customInstanceProfileArnHasBeenSet; }
404 
411  inline void SetCustomInstanceProfileArn(const Aws::String& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = value; }
412 
419  inline void SetCustomInstanceProfileArn(Aws::String&& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = std::move(value); }
420 
427  inline void SetCustomInstanceProfileArn(const char* value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn.assign(value); }
428 
435  inline CreateLayerRequest& WithCustomInstanceProfileArn(const Aws::String& value) { SetCustomInstanceProfileArn(value); return *this;}
436 
443  inline CreateLayerRequest& WithCustomInstanceProfileArn(Aws::String&& value) { SetCustomInstanceProfileArn(std::move(value)); return *this;}
444 
451  inline CreateLayerRequest& WithCustomInstanceProfileArn(const char* value) { SetCustomInstanceProfileArn(value); return *this;}
452 
453 
462  inline const Aws::String& GetCustomJson() const{ return m_customJson; }
463 
472  inline bool CustomJsonHasBeenSet() const { return m_customJsonHasBeenSet; }
473 
482  inline void SetCustomJson(const Aws::String& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
483 
492  inline void SetCustomJson(Aws::String&& value) { m_customJsonHasBeenSet = true; m_customJson = std::move(value); }
493 
502  inline void SetCustomJson(const char* value) { m_customJsonHasBeenSet = true; m_customJson.assign(value); }
503 
512  inline CreateLayerRequest& WithCustomJson(const Aws::String& value) { SetCustomJson(value); return *this;}
513 
522  inline CreateLayerRequest& WithCustomJson(Aws::String&& value) { SetCustomJson(std::move(value)); return *this;}
523 
532  inline CreateLayerRequest& WithCustomJson(const char* value) { SetCustomJson(value); return *this;}
533 
534 
538  inline const Aws::Vector<Aws::String>& GetCustomSecurityGroupIds() const{ return m_customSecurityGroupIds; }
539 
543  inline bool CustomSecurityGroupIdsHasBeenSet() const { return m_customSecurityGroupIdsHasBeenSet; }
544 
548  inline void SetCustomSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = value; }
549 
553  inline void SetCustomSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = std::move(value); }
554 
558  inline CreateLayerRequest& WithCustomSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetCustomSecurityGroupIds(value); return *this;}
559 
563  inline CreateLayerRequest& WithCustomSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetCustomSecurityGroupIds(std::move(value)); return *this;}
564 
568  inline CreateLayerRequest& AddCustomSecurityGroupIds(const Aws::String& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
569 
573  inline CreateLayerRequest& AddCustomSecurityGroupIds(Aws::String&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(std::move(value)); return *this; }
574 
578  inline CreateLayerRequest& AddCustomSecurityGroupIds(const char* value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
579 
580 
585  inline const Aws::Vector<Aws::String>& GetPackages() const{ return m_packages; }
586 
591  inline bool PackagesHasBeenSet() const { return m_packagesHasBeenSet; }
592 
597  inline void SetPackages(const Aws::Vector<Aws::String>& value) { m_packagesHasBeenSet = true; m_packages = value; }
598 
603  inline void SetPackages(Aws::Vector<Aws::String>&& value) { m_packagesHasBeenSet = true; m_packages = std::move(value); }
604 
609  inline CreateLayerRequest& WithPackages(const Aws::Vector<Aws::String>& value) { SetPackages(value); return *this;}
610 
615  inline CreateLayerRequest& WithPackages(Aws::Vector<Aws::String>&& value) { SetPackages(std::move(value)); return *this;}
616 
621  inline CreateLayerRequest& AddPackages(const Aws::String& value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
622 
627  inline CreateLayerRequest& AddPackages(Aws::String&& value) { m_packagesHasBeenSet = true; m_packages.push_back(std::move(value)); return *this; }
628 
633  inline CreateLayerRequest& AddPackages(const char* value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
634 
635 
640  inline const Aws::Vector<VolumeConfiguration>& GetVolumeConfigurations() const{ return m_volumeConfigurations; }
641 
646  inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
647 
652  inline void SetVolumeConfigurations(const Aws::Vector<VolumeConfiguration>& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = value; }
653 
658  inline void SetVolumeConfigurations(Aws::Vector<VolumeConfiguration>&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = std::move(value); }
659 
664  inline CreateLayerRequest& WithVolumeConfigurations(const Aws::Vector<VolumeConfiguration>& value) { SetVolumeConfigurations(value); return *this;}
665 
670  inline CreateLayerRequest& WithVolumeConfigurations(Aws::Vector<VolumeConfiguration>&& value) { SetVolumeConfigurations(std::move(value)); return *this;}
671 
676  inline CreateLayerRequest& AddVolumeConfigurations(const VolumeConfiguration& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(value); return *this; }
677 
682  inline CreateLayerRequest& AddVolumeConfigurations(VolumeConfiguration&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(std::move(value)); return *this; }
683 
684 
688  inline bool GetEnableAutoHealing() const{ return m_enableAutoHealing; }
689 
693  inline bool EnableAutoHealingHasBeenSet() const { return m_enableAutoHealingHasBeenSet; }
694 
698  inline void SetEnableAutoHealing(bool value) { m_enableAutoHealingHasBeenSet = true; m_enableAutoHealing = value; }
699 
703  inline CreateLayerRequest& WithEnableAutoHealing(bool value) { SetEnableAutoHealing(value); return *this;}
704 
705 
713  inline bool GetAutoAssignElasticIps() const{ return m_autoAssignElasticIps; }
714 
722  inline bool AutoAssignElasticIpsHasBeenSet() const { return m_autoAssignElasticIpsHasBeenSet; }
723 
731  inline void SetAutoAssignElasticIps(bool value) { m_autoAssignElasticIpsHasBeenSet = true; m_autoAssignElasticIps = value; }
732 
740  inline CreateLayerRequest& WithAutoAssignElasticIps(bool value) { SetAutoAssignElasticIps(value); return *this;}
741 
742 
749  inline bool GetAutoAssignPublicIps() const{ return m_autoAssignPublicIps; }
750 
757  inline bool AutoAssignPublicIpsHasBeenSet() const { return m_autoAssignPublicIpsHasBeenSet; }
758 
765  inline void SetAutoAssignPublicIps(bool value) { m_autoAssignPublicIpsHasBeenSet = true; m_autoAssignPublicIps = value; }
766 
773  inline CreateLayerRequest& WithAutoAssignPublicIps(bool value) { SetAutoAssignPublicIps(value); return *this;}
774 
775 
780  inline const Recipes& GetCustomRecipes() const{ return m_customRecipes; }
781 
786  inline bool CustomRecipesHasBeenSet() const { return m_customRecipesHasBeenSet; }
787 
792  inline void SetCustomRecipes(const Recipes& value) { m_customRecipesHasBeenSet = true; m_customRecipes = value; }
793 
798  inline void SetCustomRecipes(Recipes&& value) { m_customRecipesHasBeenSet = true; m_customRecipes = std::move(value); }
799 
804  inline CreateLayerRequest& WithCustomRecipes(const Recipes& value) { SetCustomRecipes(value); return *this;}
805 
810  inline CreateLayerRequest& WithCustomRecipes(Recipes&& value) { SetCustomRecipes(std::move(value)); return *this;}
811 
812 
824  inline bool GetInstallUpdatesOnBoot() const{ return m_installUpdatesOnBoot; }
825 
837  inline bool InstallUpdatesOnBootHasBeenSet() const { return m_installUpdatesOnBootHasBeenSet; }
838 
850  inline void SetInstallUpdatesOnBoot(bool value) { m_installUpdatesOnBootHasBeenSet = true; m_installUpdatesOnBoot = value; }
851 
863  inline CreateLayerRequest& WithInstallUpdatesOnBoot(bool value) { SetInstallUpdatesOnBoot(value); return *this;}
864 
865 
869  inline bool GetUseEbsOptimizedInstances() const{ return m_useEbsOptimizedInstances; }
870 
874  inline bool UseEbsOptimizedInstancesHasBeenSet() const { return m_useEbsOptimizedInstancesHasBeenSet; }
875 
879  inline void SetUseEbsOptimizedInstances(bool value) { m_useEbsOptimizedInstancesHasBeenSet = true; m_useEbsOptimizedInstances = value; }
880 
884  inline CreateLayerRequest& WithUseEbsOptimizedInstances(bool value) { SetUseEbsOptimizedInstances(value); return *this;}
885 
886 
892  inline const LifecycleEventConfiguration& GetLifecycleEventConfiguration() const{ return m_lifecycleEventConfiguration; }
893 
899  inline bool LifecycleEventConfigurationHasBeenSet() const { return m_lifecycleEventConfigurationHasBeenSet; }
900 
906  inline void SetLifecycleEventConfiguration(const LifecycleEventConfiguration& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = value; }
907 
913  inline void SetLifecycleEventConfiguration(LifecycleEventConfiguration&& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = std::move(value); }
914 
920  inline CreateLayerRequest& WithLifecycleEventConfiguration(const LifecycleEventConfiguration& value) { SetLifecycleEventConfiguration(value); return *this;}
921 
927  inline CreateLayerRequest& WithLifecycleEventConfiguration(LifecycleEventConfiguration&& value) { SetLifecycleEventConfiguration(std::move(value)); return *this;}
928 
929  private:
930 
931  Aws::String m_stackId;
932  bool m_stackIdHasBeenSet;
933 
934  LayerType m_type;
935  bool m_typeHasBeenSet;
936 
937  Aws::String m_name;
938  bool m_nameHasBeenSet;
939 
940  Aws::String m_shortname;
941  bool m_shortnameHasBeenSet;
942 
944  bool m_attributesHasBeenSet;
945 
946  CloudWatchLogsConfiguration m_cloudWatchLogsConfiguration;
947  bool m_cloudWatchLogsConfigurationHasBeenSet;
948 
949  Aws::String m_customInstanceProfileArn;
950  bool m_customInstanceProfileArnHasBeenSet;
951 
952  Aws::String m_customJson;
953  bool m_customJsonHasBeenSet;
954 
955  Aws::Vector<Aws::String> m_customSecurityGroupIds;
956  bool m_customSecurityGroupIdsHasBeenSet;
957 
958  Aws::Vector<Aws::String> m_packages;
959  bool m_packagesHasBeenSet;
960 
961  Aws::Vector<VolumeConfiguration> m_volumeConfigurations;
962  bool m_volumeConfigurationsHasBeenSet;
963 
964  bool m_enableAutoHealing;
965  bool m_enableAutoHealingHasBeenSet;
966 
967  bool m_autoAssignElasticIps;
968  bool m_autoAssignElasticIpsHasBeenSet;
969 
970  bool m_autoAssignPublicIps;
971  bool m_autoAssignPublicIpsHasBeenSet;
972 
973  Recipes m_customRecipes;
974  bool m_customRecipesHasBeenSet;
975 
976  bool m_installUpdatesOnBoot;
977  bool m_installUpdatesOnBootHasBeenSet;
978 
979  bool m_useEbsOptimizedInstances;
980  bool m_useEbsOptimizedInstancesHasBeenSet;
981 
982  LifecycleEventConfiguration m_lifecycleEventConfiguration;
983  bool m_lifecycleEventConfigurationHasBeenSet;
984  };
985 
986 } // namespace Model
987 } // namespace OpsWorks
988 } // namespace Aws
Aws::OpsWorks::Model::CreateLayerRequest::SetCloudWatchLogsConfiguration
void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
Definition: CreateLayerRequest.h:368
Aws::OpsWorks::Model::CreateLayerRequest::AddVolumeConfigurations
CreateLayerRequest & AddVolumeConfigurations(const VolumeConfiguration &value)
Definition: CreateLayerRequest.h:676
Aws::OpsWorks::Model::CreateLayerRequest::SetLifecycleEventConfiguration
void SetLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
Definition: CreateLayerRequest.h:913
Aws::OpsWorks::Model::CreateLayerRequest::AddCustomSecurityGroupIds
CreateLayerRequest & AddCustomSecurityGroupIds(const Aws::String &value)
Definition: CreateLayerRequest.h:568
Aws::OpsWorks::Model::Recipes
Definition: Recipes.h:43
Aws::OpsWorks::Model::CreateLayerRequest::SetType
void SetType(LayerType &&value)
Definition: CreateLayerRequest.h:112
Aws::OpsWorks::Model::CreateLayerRequest::WithStackId
CreateLayerRequest & WithStackId(const char *value)
Definition: CreateLayerRequest.h:83
Aws::OpsWorks::Model::CreateLayerRequest::GetInstallUpdatesOnBoot
bool GetInstallUpdatesOnBoot() const
Definition: CreateLayerRequest.h:824
Aws::OpsWorks::Model::CreateLayerRequest::WithType
CreateLayerRequest & WithType(const LayerType &value)
Definition: CreateLayerRequest.h:119
LayerAttributesKeys.h
Aws::OpsWorks::Model::LayerAttributesKeys
LayerAttributesKeys
Definition: LayerAttributesKeys.h:17
Aws::OpsWorks::Model::CreateLayerRequest::GetPackages
const Aws::Vector< Aws::String > & GetPackages() const
Definition: CreateLayerRequest.h:585
Aws::OpsWorks::Model::CreateLayerRequest::GetLifecycleEventConfiguration
const LifecycleEventConfiguration & GetLifecycleEventConfiguration() const
Definition: CreateLayerRequest.h:892
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomRecipes
void SetCustomRecipes(Recipes &&value)
Definition: CreateLayerRequest.h:798
Aws::OpsWorks::Model::CreateLayerRequest::CustomJsonHasBeenSet
bool CustomJsonHasBeenSet() const
Definition: CreateLayerRequest.h:472
Aws::OpsWorks::Model::CreateLayerRequest::WithLifecycleEventConfiguration
CreateLayerRequest & WithLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
Definition: CreateLayerRequest.h:920
Aws::OpsWorks::Model::CreateLayerRequest::SetVolumeConfigurations
void SetVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
Definition: CreateLayerRequest.h:652
Aws::OpsWorks::Model::CreateLayerRequest::AddAttributes
CreateLayerRequest & AddAttributes(LayerAttributesKeys &&key, const char *value)
Definition: CreateLayerRequest.h:342
Aws::OpsWorks::Model::CreateLayerRequest::WithVolumeConfigurations
CreateLayerRequest & WithVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
Definition: CreateLayerRequest.h:664
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::CreateLayerRequest::SetAttributes
void SetAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
Definition: CreateLayerRequest.h:293
VolumeConfiguration.h
Aws::OpsWorks::Model::CreateLayerRequest::WithStackId
CreateLayerRequest & WithStackId(Aws::String &&value)
Definition: CreateLayerRequest.h:78
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomJson
CreateLayerRequest & WithCustomJson(const char *value)
Definition: CreateLayerRequest.h:532
Aws::OpsWorks::Model::CreateLayerRequest
Definition: CreateLayerRequest.h:30
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::CreateLayerRequest::AddPackages
CreateLayerRequest & AddPackages(const Aws::String &value)
Definition: CreateLayerRequest.h:621
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomJson
void SetCustomJson(Aws::String &&value)
Definition: CreateLayerRequest.h:492
Aws::OpsWorks::Model::CreateLayerRequest::GetAttributes
const Aws::Map< LayerAttributesKeys, Aws::String > & GetAttributes() const
Definition: CreateLayerRequest.h:272
Aws::OpsWorks::Model::CreateLayerRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateLayerRequest.h:147
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomJson
CreateLayerRequest & WithCustomJson(Aws::String &&value)
Definition: CreateLayerRequest.h:522
Aws::OpsWorks::Model::CreateLayerRequest::GetCloudWatchLogsConfiguration
const CloudWatchLogsConfiguration & GetCloudWatchLogsConfiguration() const
Definition: CreateLayerRequest.h:356
Recipes.h
CloudWatchLogsConfiguration.h
Aws::OpsWorks::Model::CreateLayerRequest::AddCustomSecurityGroupIds
CreateLayerRequest & AddCustomSecurityGroupIds(Aws::String &&value)
Definition: CreateLayerRequest.h:573
Aws::OpsWorks::Model::CreateLayerRequest::SetType
void SetType(const LayerType &value)
Definition: CreateLayerRequest.h:105
Aws::OpsWorks::Model::CreateLayerRequest::SetStackId
void SetStackId(Aws::String &&value)
Definition: CreateLayerRequest.h:63
Aws::OpsWorks::Model::CreateLayerRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateLayerRequest.h:137
LifecycleEventConfiguration.h
Aws::OpsWorks::Model::CreateLayerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::OpsWorks::Model::CreateLayerRequest::WithPackages
CreateLayerRequest & WithPackages(Aws::Vector< Aws::String > &&value)
Definition: CreateLayerRequest.h:615
Aws::OpsWorks::Model::CreateLayerRequest::SetName
void SetName(const char *value)
Definition: CreateLayerRequest.h:152
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::OpsWorks::Model::CreateLayerRequest::AddVolumeConfigurations
CreateLayerRequest & AddVolumeConfigurations(VolumeConfiguration &&value)
Definition: CreateLayerRequest.h:682
Aws::OpsWorks::Model::CreateLayerRequest::WithInstallUpdatesOnBoot
CreateLayerRequest & WithInstallUpdatesOnBoot(bool value)
Definition: CreateLayerRequest.h:863
Aws::OpsWorks::Model::CreateLayerRequest::SetInstallUpdatesOnBoot
void SetInstallUpdatesOnBoot(bool value)
Definition: CreateLayerRequest.h:850
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomJson
void SetCustomJson(const Aws::String &value)
Definition: CreateLayerRequest.h:482
Aws::OpsWorks::Model::CreateLayerRequest::GetCustomJson
const Aws::String & GetCustomJson() const
Definition: CreateLayerRequest.h:462
Aws::OpsWorks::Model::CreateLayerRequest::WithVolumeConfigurations
CreateLayerRequest & WithVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
Definition: CreateLayerRequest.h:670
Aws::OpsWorks::Model::CreateLayerRequest::SetAttributes
void SetAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
Definition: CreateLayerRequest.h:286
AWSVector.h
Aws::OpsWorks::Model::CreateLayerRequest::SetAutoAssignElasticIps
void SetAutoAssignElasticIps(bool value)
Definition: CreateLayerRequest.h:731
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::CreateLayerRequest::WithAttributes
CreateLayerRequest & WithAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
Definition: CreateLayerRequest.h:300
Aws::OpsWorks::Model::CreateLayerRequest::SetShortname
void SetShortname(const Aws::String &value)
Definition: CreateLayerRequest.h:204
Aws::OpsWorks::Model::CreateLayerRequest::GetEnableAutoHealing
bool GetEnableAutoHealing() const
Definition: CreateLayerRequest.h:688
Aws::OpsWorks::Model::CreateLayerRequest::GetCustomInstanceProfileArn
const Aws::String & GetCustomInstanceProfileArn() const
Definition: CreateLayerRequest.h:395
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomSecurityGroupIds
CreateLayerRequest & WithCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: CreateLayerRequest.h:563
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
Aws::OpsWorks::Model::CreateLayerRequest::CustomRecipesHasBeenSet
bool CustomRecipesHasBeenSet() const
Definition: CreateLayerRequest.h:786
Aws::OpsWorks::Model::CreateLayerRequest::WithShortname
CreateLayerRequest & WithShortname(const Aws::String &value)
Definition: CreateLayerRequest.h:240
Aws::OpsWorks::Model::LayerType
LayerType
Definition: LayerType.h:17
Aws::OpsWorks::Model::CreateLayerRequest::WithCloudWatchLogsConfiguration
CreateLayerRequest & WithCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
Definition: CreateLayerRequest.h:386
Aws::OpsWorks::Model::CreateLayerRequest::GetShortname
const Aws::String & GetShortname() const
Definition: CreateLayerRequest.h:180
Aws::OpsWorks::Model::CreateLayerRequest::ShortnameHasBeenSet
bool ShortnameHasBeenSet() const
Definition: CreateLayerRequest.h:192
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomRecipes
void SetCustomRecipes(const Recipes &value)
Definition: CreateLayerRequest.h:792
OpsWorksRequest.h
Aws::OpsWorks::Model::CreateLayerRequest::WithAttributes
CreateLayerRequest & WithAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
Definition: CreateLayerRequest.h:307
Aws::OpsWorks::Model::CreateLayerRequest::UseEbsOptimizedInstancesHasBeenSet
bool UseEbsOptimizedInstancesHasBeenSet() const
Definition: CreateLayerRequest.h:874
Aws::OpsWorks::Model::CreateLayerRequest::WithUseEbsOptimizedInstances
CreateLayerRequest & WithUseEbsOptimizedInstances(bool value)
Definition: CreateLayerRequest.h:884
Aws::OpsWorks::Model::CreateLayerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateLayerRequest.h:38
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomInstanceProfileArn
void SetCustomInstanceProfileArn(Aws::String &&value)
Definition: CreateLayerRequest.h:419
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomSecurityGroupIds
void SetCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: CreateLayerRequest.h:548
Aws::OpsWorks::Model::CreateLayerRequest::SetCloudWatchLogsConfiguration
void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
Definition: CreateLayerRequest.h:374
Aws::OpsWorks::Model::CreateLayerRequest::WithType
CreateLayerRequest & WithType(LayerType &&value)
Definition: CreateLayerRequest.h:126
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomInstanceProfileArn
void SetCustomInstanceProfileArn(const char *value)
Definition: CreateLayerRequest.h:427
Aws::OpsWorks::Model::CreateLayerRequest::WithLifecycleEventConfiguration
CreateLayerRequest & WithLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
Definition: CreateLayerRequest.h:927
Aws::OpsWorks::Model::CreateLayerRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateLayerRequest.h:142
Aws::OpsWorks::Model::CreateLayerRequest::SetLifecycleEventConfiguration
void SetLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
Definition: CreateLayerRequest.h:906
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomSecurityGroupIds
CreateLayerRequest & WithCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: CreateLayerRequest.h:558
Aws::OpsWorks::Model::CreateLayerRequest::WithCloudWatchLogsConfiguration
CreateLayerRequest & WithCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
Definition: CreateLayerRequest.h:380
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomJson
void SetCustomJson(const char *value)
Definition: CreateLayerRequest.h:502
Aws::OpsWorks::Model::CreateLayerRequest::GetCustomRecipes
const Recipes & GetCustomRecipes() const
Definition: CreateLayerRequest.h:780
Aws::OpsWorks::Model::CreateLayerRequest::AddCustomSecurityGroupIds
CreateLayerRequest & AddCustomSecurityGroupIds(const char *value)
Definition: CreateLayerRequest.h:578
Aws::OpsWorks::Model::CreateLayerRequest::SetVolumeConfigurations
void SetVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
Definition: CreateLayerRequest.h:658
Aws::OpsWorks::Model::CreateLayerRequest::SetPackages
void SetPackages(const Aws::Vector< Aws::String > &value)
Definition: CreateLayerRequest.h:597
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomSecurityGroupIds
void SetCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: CreateLayerRequest.h:553
Aws::OpsWorks::Model::LifecycleEventConfiguration
Definition: LifecycleEventConfiguration.h:32
Aws::OpsWorks::Model::CreateLayerRequest::AddPackages
CreateLayerRequest & AddPackages(const char *value)
Definition: CreateLayerRequest.h:633
Aws::OpsWorks::Model::CreateLayerRequest::GetAutoAssignPublicIps
bool GetAutoAssignPublicIps() const
Definition: CreateLayerRequest.h:749
Aws::OpsWorks::Model::CreateLayerRequest::WithShortname
CreateLayerRequest & WithShortname(Aws::String &&value)
Definition: CreateLayerRequest.h:252
AWSString.h
Aws::OpsWorks::Model::CreateLayerRequest::SetShortname
void SetShortname(const char *value)
Definition: CreateLayerRequest.h:228
Aws::OpsWorks::Model::CreateLayerRequest::SetStackId
void SetStackId(const Aws::String &value)
Definition: CreateLayerRequest.h:58
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomInstanceProfileArn
CreateLayerRequest & WithCustomInstanceProfileArn(Aws::String &&value)
Definition: CreateLayerRequest.h:443
Aws::OpsWorks::Model::CreateLayerRequest::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: CreateLayerRequest.h:53
Aws::OpsWorks::Model::CreateLayerRequest::SetStackId
void SetStackId(const char *value)
Definition: CreateLayerRequest.h:68
Aws::OpsWorks::Model::CreateLayerRequest::CustomSecurityGroupIdsHasBeenSet
bool CustomSecurityGroupIdsHasBeenSet() const
Definition: CreateLayerRequest.h:543
Aws::OpsWorks::Model::CreateLayerRequest::SetEnableAutoHealing
void SetEnableAutoHealing(bool value)
Definition: CreateLayerRequest.h:698
Aws::OpsWorks::Model::CreateLayerRequest::GetStackId
const Aws::String & GetStackId() const
Definition: CreateLayerRequest.h:48
Aws::OpsWorks::Model::CreateLayerRequest::AutoAssignPublicIpsHasBeenSet
bool AutoAssignPublicIpsHasBeenSet() const
Definition: CreateLayerRequest.h:757
Aws::OpsWorks::Model::CloudWatchLogsConfiguration
Definition: CloudWatchLogsConfiguration.h:34
Aws::OpsWorks::Model::CreateLayerRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::OpsWorks::Model::CreateLayerRequest::WithEnableAutoHealing
CreateLayerRequest & WithEnableAutoHealing(bool value)
Definition: CreateLayerRequest.h:703
Aws::OpsWorks::Model::CreateLayerRequest::SetUseEbsOptimizedInstances
void SetUseEbsOptimizedInstances(bool value)
Definition: CreateLayerRequest.h:879
Aws::OpsWorks::Model::CreateLayerRequest::GetUseEbsOptimizedInstances
bool GetUseEbsOptimizedInstances() const
Definition: CreateLayerRequest.h:869
Aws::OpsWorks::Model::CreateLayerRequest::CloudWatchLogsConfigurationHasBeenSet
bool CloudWatchLogsConfigurationHasBeenSet() const
Definition: CreateLayerRequest.h:362
Aws::OpsWorks::Model::CreateLayerRequest::AddAttributes
CreateLayerRequest & AddAttributes(LayerAttributesKeys &&key, const Aws::String &value)
Definition: CreateLayerRequest.h:321
Aws::OpsWorks::Model::CreateLayerRequest::WithName
CreateLayerRequest & WithName(const char *value)
Definition: CreateLayerRequest.h:167
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomRecipes
CreateLayerRequest & WithCustomRecipes(const Recipes &value)
Definition: CreateLayerRequest.h:804
Aws::OpsWorks::Model::CreateLayerRequest::AddAttributes
CreateLayerRequest & AddAttributes(LayerAttributesKeys &&key, Aws::String &&value)
Definition: CreateLayerRequest.h:335
Aws::OpsWorks::Model::CreateLayerRequest::PackagesHasBeenSet
bool PackagesHasBeenSet() const
Definition: CreateLayerRequest.h:591
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::CreateLayerRequest::WithAutoAssignElasticIps
CreateLayerRequest & WithAutoAssignElasticIps(bool value)
Definition: CreateLayerRequest.h:740
Aws::OpsWorks::Model::CreateLayerRequest::GetVolumeConfigurations
const Aws::Vector< VolumeConfiguration > & GetVolumeConfigurations() const
Definition: CreateLayerRequest.h:640
Aws::OpsWorks::Model::CreateLayerRequest::AutoAssignElasticIpsHasBeenSet
bool AutoAssignElasticIpsHasBeenSet() const
Definition: CreateLayerRequest.h:722
Aws::OpsWorks::Model::CreateLayerRequest::EnableAutoHealingHasBeenSet
bool EnableAutoHealingHasBeenSet() const
Definition: CreateLayerRequest.h:693
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomRecipes
CreateLayerRequest & WithCustomRecipes(Recipes &&value)
Definition: CreateLayerRequest.h:810
Aws::OpsWorks::Model::CreateLayerRequest::GetAutoAssignElasticIps
bool GetAutoAssignElasticIps() const
Definition: CreateLayerRequest.h:713
Aws::OpsWorks::Model::CreateLayerRequest::WithPackages
CreateLayerRequest & WithPackages(const Aws::Vector< Aws::String > &value)
Definition: CreateLayerRequest.h:609
Aws::OpsWorks::Model::CreateLayerRequest::SetCustomInstanceProfileArn
void SetCustomInstanceProfileArn(const Aws::String &value)
Definition: CreateLayerRequest.h:411
Aws::OpsWorks::Model::CreateLayerRequest::WithShortname
CreateLayerRequest & WithShortname(const char *value)
Definition: CreateLayerRequest.h:264
Aws::OpsWorks::Model::CreateLayerRequest::WithAutoAssignPublicIps
CreateLayerRequest & WithAutoAssignPublicIps(bool value)
Definition: CreateLayerRequest.h:773
Aws::OpsWorks::Model::CreateLayerRequest::WithName
CreateLayerRequest & WithName(Aws::String &&value)
Definition: CreateLayerRequest.h:162
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
LayerType.h
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomInstanceProfileArn
CreateLayerRequest & WithCustomInstanceProfileArn(const Aws::String &value)
Definition: CreateLayerRequest.h:435
Aws::OpsWorks::Model::CreateLayerRequest::AddAttributes
CreateLayerRequest & AddAttributes(const LayerAttributesKeys &key, Aws::String &&value)
Definition: CreateLayerRequest.h:328
Aws::OpsWorks::Model::CreateLayerRequest::AttributesHasBeenSet
bool AttributesHasBeenSet() const
Definition: CreateLayerRequest.h:279
Aws::OpsWorks::Model::CreateLayerRequest::AddAttributes
CreateLayerRequest & AddAttributes(const LayerAttributesKeys &key, const Aws::String &value)
Definition: CreateLayerRequest.h:314
Aws::OpsWorks::Model::CreateLayerRequest::LifecycleEventConfigurationHasBeenSet
bool LifecycleEventConfigurationHasBeenSet() const
Definition: CreateLayerRequest.h:899
Aws::OpsWorks::Model::CreateLayerRequest::WithName
CreateLayerRequest & WithName(const Aws::String &value)
Definition: CreateLayerRequest.h:157
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomInstanceProfileArn
CreateLayerRequest & WithCustomInstanceProfileArn(const char *value)
Definition: CreateLayerRequest.h:451
Aws::OpsWorks::Model::CreateLayerRequest::AddPackages
CreateLayerRequest & AddPackages(Aws::String &&value)
Definition: CreateLayerRequest.h:627
Aws::OpsWorks::Model::CreateLayerRequest::WithStackId
CreateLayerRequest & WithStackId(const Aws::String &value)
Definition: CreateLayerRequest.h:73
Aws::OpsWorks::Model::CreateLayerRequest::CustomInstanceProfileArnHasBeenSet
bool CustomInstanceProfileArnHasBeenSet() const
Definition: CreateLayerRequest.h:403
Aws::OpsWorks::Model::CreateLayerRequest::SetPackages
void SetPackages(Aws::Vector< Aws::String > &&value)
Definition: CreateLayerRequest.h:603
Aws::OpsWorks::Model::CreateLayerRequest::VolumeConfigurationsHasBeenSet
bool VolumeConfigurationsHasBeenSet() const
Definition: CreateLayerRequest.h:646
Aws::OpsWorks::Model::CreateLayerRequest::WithCustomJson
CreateLayerRequest & WithCustomJson(const Aws::String &value)
Definition: CreateLayerRequest.h:512
Aws::OpsWorks::Model::CreateLayerRequest::AddAttributes
CreateLayerRequest & AddAttributes(const LayerAttributesKeys &key, const char *value)
Definition: CreateLayerRequest.h:349
Aws::OpsWorks::Model::VolumeConfiguration
Definition: VolumeConfiguration.h:32
AWSMap.h
Aws::OpsWorks::Model::CreateLayerRequest::SetShortname
void SetShortname(Aws::String &&value)
Definition: CreateLayerRequest.h:216
Aws::OpsWorks::Model::CreateLayerRequest::SetAutoAssignPublicIps
void SetAutoAssignPublicIps(bool value)
Definition: CreateLayerRequest.h:765
Aws::OpsWorks::Model::CreateLayerRequest::GetName
const Aws::String & GetName() const
Definition: CreateLayerRequest.h:132
Aws::OpsWorks::Model::CreateLayerRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: CreateLayerRequest.h:98
Aws::OpsWorks::Model::CreateLayerRequest::GetType
const LayerType & GetType() const
Definition: CreateLayerRequest.h:91
Aws::OpsWorks::Model::CreateLayerRequest::CreateLayerRequest
CreateLayerRequest()
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::OpsWorks::Model::CreateLayerRequest::InstallUpdatesOnBootHasBeenSet
bool InstallUpdatesOnBootHasBeenSet() const
Definition: CreateLayerRequest.h:837
Aws::OpsWorks::Model::CreateLayerRequest::GetCustomSecurityGroupIds
const Aws::Vector< Aws::String > & GetCustomSecurityGroupIds() const
Definition: CreateLayerRequest.h:538