AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Layer.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/LayerType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/opsworks/model/CloudWatchLogsConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/opsworks/model/Recipes.h>
14#include <aws/opsworks/model/LifecycleEventConfiguration.h>
15#include <aws/opsworks/model/LayerAttributesKeys.h>
16#include <aws/opsworks/model/VolumeConfiguration.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace OpsWorks
30{
31namespace Model
32{
33
39 class Layer
40 {
41 public:
42 AWS_OPSWORKS_API Layer() = default;
43 AWS_OPSWORKS_API Layer(Aws::Utils::Json::JsonView jsonValue);
44 AWS_OPSWORKS_API Layer& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 Layer& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetStackId() const { return m_stackId; }
65 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
66 template<typename StackIdT = Aws::String>
67 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet = true; m_stackId = std::forward<StackIdT>(value); }
68 template<typename StackIdT = Aws::String>
69 Layer& WithStackId(StackIdT&& value) { SetStackId(std::forward<StackIdT>(value)); return *this;}
71
73
76 inline const Aws::String& GetLayerId() const { return m_layerId; }
77 inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; }
78 template<typename LayerIdT = Aws::String>
79 void SetLayerId(LayerIdT&& value) { m_layerIdHasBeenSet = true; m_layerId = std::forward<LayerIdT>(value); }
80 template<typename LayerIdT = Aws::String>
81 Layer& WithLayerId(LayerIdT&& value) { SetLayerId(std::forward<LayerIdT>(value)); return *this;}
83
85
88 inline LayerType GetType() const { return m_type; }
89 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
90 inline void SetType(LayerType value) { m_typeHasBeenSet = true; m_type = value; }
91 inline Layer& WithType(LayerType value) { SetType(value); return *this;}
93
95
98 inline const Aws::String& GetName() const { return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 template<typename NameT = Aws::String>
101 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
102 template<typename NameT = Aws::String>
103 Layer& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
105
107
110 inline const Aws::String& GetShortname() const { return m_shortname; }
111 inline bool ShortnameHasBeenSet() const { return m_shortnameHasBeenSet; }
112 template<typename ShortnameT = Aws::String>
113 void SetShortname(ShortnameT&& value) { m_shortnameHasBeenSet = true; m_shortname = std::forward<ShortnameT>(value); }
114 template<typename ShortnameT = Aws::String>
115 Layer& WithShortname(ShortnameT&& value) { SetShortname(std::forward<ShortnameT>(value)); return *this;}
117
119
126 inline const Aws::Map<LayerAttributesKeys, Aws::String>& GetAttributes() const { return m_attributes; }
127 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
128 template<typename AttributesT = Aws::Map<LayerAttributesKeys, Aws::String>>
129 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
130 template<typename AttributesT = Aws::Map<LayerAttributesKeys, Aws::String>>
131 Layer& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
133 m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this;
134 }
136
138
141 inline const CloudWatchLogsConfiguration& GetCloudWatchLogsConfiguration() const { return m_cloudWatchLogsConfiguration; }
142 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
143 template<typename CloudWatchLogsConfigurationT = CloudWatchLogsConfiguration>
144 void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::forward<CloudWatchLogsConfigurationT>(value); }
145 template<typename CloudWatchLogsConfigurationT = CloudWatchLogsConfiguration>
146 Layer& WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) { SetCloudWatchLogsConfiguration(std::forward<CloudWatchLogsConfigurationT>(value)); return *this;}
148
150
156 inline const Aws::String& GetCustomInstanceProfileArn() const { return m_customInstanceProfileArn; }
157 inline bool CustomInstanceProfileArnHasBeenSet() const { return m_customInstanceProfileArnHasBeenSet; }
158 template<typename CustomInstanceProfileArnT = Aws::String>
159 void SetCustomInstanceProfileArn(CustomInstanceProfileArnT&& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = std::forward<CustomInstanceProfileArnT>(value); }
160 template<typename CustomInstanceProfileArnT = Aws::String>
161 Layer& WithCustomInstanceProfileArn(CustomInstanceProfileArnT&& value) { SetCustomInstanceProfileArn(std::forward<CustomInstanceProfileArnT>(value)); return *this;}
163
165
169 inline const Aws::String& GetCustomJson() const { return m_customJson; }
170 inline bool CustomJsonHasBeenSet() const { return m_customJsonHasBeenSet; }
171 template<typename CustomJsonT = Aws::String>
172 void SetCustomJson(CustomJsonT&& value) { m_customJsonHasBeenSet = true; m_customJson = std::forward<CustomJsonT>(value); }
173 template<typename CustomJsonT = Aws::String>
174 Layer& WithCustomJson(CustomJsonT&& value) { SetCustomJson(std::forward<CustomJsonT>(value)); return *this;}
176
178
181 inline const Aws::Vector<Aws::String>& GetCustomSecurityGroupIds() const { return m_customSecurityGroupIds; }
182 inline bool CustomSecurityGroupIdsHasBeenSet() const { return m_customSecurityGroupIdsHasBeenSet; }
183 template<typename CustomSecurityGroupIdsT = Aws::Vector<Aws::String>>
184 void SetCustomSecurityGroupIds(CustomSecurityGroupIdsT&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = std::forward<CustomSecurityGroupIdsT>(value); }
185 template<typename CustomSecurityGroupIdsT = Aws::Vector<Aws::String>>
186 Layer& WithCustomSecurityGroupIds(CustomSecurityGroupIdsT&& value) { SetCustomSecurityGroupIds(std::forward<CustomSecurityGroupIdsT>(value)); return *this;}
187 template<typename CustomSecurityGroupIdsT = Aws::String>
188 Layer& AddCustomSecurityGroupIds(CustomSecurityGroupIdsT&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.emplace_back(std::forward<CustomSecurityGroupIdsT>(value)); return *this; }
190
192
195 inline const Aws::Vector<Aws::String>& GetDefaultSecurityGroupNames() const { return m_defaultSecurityGroupNames; }
196 inline bool DefaultSecurityGroupNamesHasBeenSet() const { return m_defaultSecurityGroupNamesHasBeenSet; }
197 template<typename DefaultSecurityGroupNamesT = Aws::Vector<Aws::String>>
198 void SetDefaultSecurityGroupNames(DefaultSecurityGroupNamesT&& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames = std::forward<DefaultSecurityGroupNamesT>(value); }
199 template<typename DefaultSecurityGroupNamesT = Aws::Vector<Aws::String>>
200 Layer& WithDefaultSecurityGroupNames(DefaultSecurityGroupNamesT&& value) { SetDefaultSecurityGroupNames(std::forward<DefaultSecurityGroupNamesT>(value)); return *this;}
201 template<typename DefaultSecurityGroupNamesT = Aws::String>
202 Layer& AddDefaultSecurityGroupNames(DefaultSecurityGroupNamesT&& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.emplace_back(std::forward<DefaultSecurityGroupNamesT>(value)); return *this; }
204
206
210 inline const Aws::Vector<Aws::String>& GetPackages() const { return m_packages; }
211 inline bool PackagesHasBeenSet() const { return m_packagesHasBeenSet; }
212 template<typename PackagesT = Aws::Vector<Aws::String>>
213 void SetPackages(PackagesT&& value) { m_packagesHasBeenSet = true; m_packages = std::forward<PackagesT>(value); }
214 template<typename PackagesT = Aws::Vector<Aws::String>>
215 Layer& WithPackages(PackagesT&& value) { SetPackages(std::forward<PackagesT>(value)); return *this;}
216 template<typename PackagesT = Aws::String>
217 Layer& AddPackages(PackagesT&& value) { m_packagesHasBeenSet = true; m_packages.emplace_back(std::forward<PackagesT>(value)); return *this; }
219
221
225 inline const Aws::Vector<VolumeConfiguration>& GetVolumeConfigurations() const { return m_volumeConfigurations; }
226 inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
227 template<typename VolumeConfigurationsT = Aws::Vector<VolumeConfiguration>>
228 void SetVolumeConfigurations(VolumeConfigurationsT&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = std::forward<VolumeConfigurationsT>(value); }
229 template<typename VolumeConfigurationsT = Aws::Vector<VolumeConfiguration>>
230 Layer& WithVolumeConfigurations(VolumeConfigurationsT&& value) { SetVolumeConfigurations(std::forward<VolumeConfigurationsT>(value)); return *this;}
231 template<typename VolumeConfigurationsT = VolumeConfiguration>
232 Layer& AddVolumeConfigurations(VolumeConfigurationsT&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.emplace_back(std::forward<VolumeConfigurationsT>(value)); return *this; }
234
236
239 inline bool GetEnableAutoHealing() const { return m_enableAutoHealing; }
240 inline bool EnableAutoHealingHasBeenSet() const { return m_enableAutoHealingHasBeenSet; }
241 inline void SetEnableAutoHealing(bool value) { m_enableAutoHealingHasBeenSet = true; m_enableAutoHealing = value; }
242 inline Layer& WithEnableAutoHealing(bool value) { SetEnableAutoHealing(value); return *this;}
244
246
253 inline bool GetAutoAssignElasticIps() const { return m_autoAssignElasticIps; }
254 inline bool AutoAssignElasticIpsHasBeenSet() const { return m_autoAssignElasticIpsHasBeenSet; }
255 inline void SetAutoAssignElasticIps(bool value) { m_autoAssignElasticIpsHasBeenSet = true; m_autoAssignElasticIps = value; }
256 inline Layer& WithAutoAssignElasticIps(bool value) { SetAutoAssignElasticIps(value); return *this;}
258
260
266 inline bool GetAutoAssignPublicIps() const { return m_autoAssignPublicIps; }
267 inline bool AutoAssignPublicIpsHasBeenSet() const { return m_autoAssignPublicIpsHasBeenSet; }
268 inline void SetAutoAssignPublicIps(bool value) { m_autoAssignPublicIpsHasBeenSet = true; m_autoAssignPublicIps = value; }
269 inline Layer& WithAutoAssignPublicIps(bool value) { SetAutoAssignPublicIps(value); return *this;}
271
273
287 inline const Recipes& GetDefaultRecipes() const { return m_defaultRecipes; }
288 inline bool DefaultRecipesHasBeenSet() const { return m_defaultRecipesHasBeenSet; }
289 template<typename DefaultRecipesT = Recipes>
290 void SetDefaultRecipes(DefaultRecipesT&& value) { m_defaultRecipesHasBeenSet = true; m_defaultRecipes = std::forward<DefaultRecipesT>(value); }
291 template<typename DefaultRecipesT = Recipes>
292 Layer& WithDefaultRecipes(DefaultRecipesT&& value) { SetDefaultRecipes(std::forward<DefaultRecipesT>(value)); return *this;}
294
296
300 inline const Recipes& GetCustomRecipes() const { return m_customRecipes; }
301 inline bool CustomRecipesHasBeenSet() const { return m_customRecipesHasBeenSet; }
302 template<typename CustomRecipesT = Recipes>
303 void SetCustomRecipes(CustomRecipesT&& value) { m_customRecipesHasBeenSet = true; m_customRecipes = std::forward<CustomRecipesT>(value); }
304 template<typename CustomRecipesT = Recipes>
305 Layer& WithCustomRecipes(CustomRecipesT&& value) { SetCustomRecipes(std::forward<CustomRecipesT>(value)); return *this;}
307
309
312 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
313 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
314 template<typename CreatedAtT = Aws::String>
315 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
316 template<typename CreatedAtT = Aws::String>
317 Layer& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
319
321
331 inline bool GetInstallUpdatesOnBoot() const { return m_installUpdatesOnBoot; }
332 inline bool InstallUpdatesOnBootHasBeenSet() const { return m_installUpdatesOnBootHasBeenSet; }
333 inline void SetInstallUpdatesOnBoot(bool value) { m_installUpdatesOnBootHasBeenSet = true; m_installUpdatesOnBoot = value; }
334 inline Layer& WithInstallUpdatesOnBoot(bool value) { SetInstallUpdatesOnBoot(value); return *this;}
336
338
341 inline bool GetUseEbsOptimizedInstances() const { return m_useEbsOptimizedInstances; }
342 inline bool UseEbsOptimizedInstancesHasBeenSet() const { return m_useEbsOptimizedInstancesHasBeenSet; }
343 inline void SetUseEbsOptimizedInstances(bool value) { m_useEbsOptimizedInstancesHasBeenSet = true; m_useEbsOptimizedInstances = value; }
344 inline Layer& WithUseEbsOptimizedInstances(bool value) { SetUseEbsOptimizedInstances(value); return *this;}
346
348
352 inline const LifecycleEventConfiguration& GetLifecycleEventConfiguration() const { return m_lifecycleEventConfiguration; }
353 inline bool LifecycleEventConfigurationHasBeenSet() const { return m_lifecycleEventConfigurationHasBeenSet; }
354 template<typename LifecycleEventConfigurationT = LifecycleEventConfiguration>
355 void SetLifecycleEventConfiguration(LifecycleEventConfigurationT&& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = std::forward<LifecycleEventConfigurationT>(value); }
356 template<typename LifecycleEventConfigurationT = LifecycleEventConfiguration>
357 Layer& WithLifecycleEventConfiguration(LifecycleEventConfigurationT&& value) { SetLifecycleEventConfiguration(std::forward<LifecycleEventConfigurationT>(value)); return *this;}
359 private:
360
361 Aws::String m_arn;
362 bool m_arnHasBeenSet = false;
363
364 Aws::String m_stackId;
365 bool m_stackIdHasBeenSet = false;
366
367 Aws::String m_layerId;
368 bool m_layerIdHasBeenSet = false;
369
371 bool m_typeHasBeenSet = false;
372
373 Aws::String m_name;
374 bool m_nameHasBeenSet = false;
375
376 Aws::String m_shortname;
377 bool m_shortnameHasBeenSet = false;
378
380 bool m_attributesHasBeenSet = false;
381
382 CloudWatchLogsConfiguration m_cloudWatchLogsConfiguration;
383 bool m_cloudWatchLogsConfigurationHasBeenSet = false;
384
385 Aws::String m_customInstanceProfileArn;
386 bool m_customInstanceProfileArnHasBeenSet = false;
387
388 Aws::String m_customJson;
389 bool m_customJsonHasBeenSet = false;
390
391 Aws::Vector<Aws::String> m_customSecurityGroupIds;
392 bool m_customSecurityGroupIdsHasBeenSet = false;
393
394 Aws::Vector<Aws::String> m_defaultSecurityGroupNames;
395 bool m_defaultSecurityGroupNamesHasBeenSet = false;
396
397 Aws::Vector<Aws::String> m_packages;
398 bool m_packagesHasBeenSet = false;
399
400 Aws::Vector<VolumeConfiguration> m_volumeConfigurations;
401 bool m_volumeConfigurationsHasBeenSet = false;
402
403 bool m_enableAutoHealing{false};
404 bool m_enableAutoHealingHasBeenSet = false;
405
406 bool m_autoAssignElasticIps{false};
407 bool m_autoAssignElasticIpsHasBeenSet = false;
408
409 bool m_autoAssignPublicIps{false};
410 bool m_autoAssignPublicIpsHasBeenSet = false;
411
412 Recipes m_defaultRecipes;
413 bool m_defaultRecipesHasBeenSet = false;
414
415 Recipes m_customRecipes;
416 bool m_customRecipesHasBeenSet = false;
417
418 Aws::String m_createdAt;
419 bool m_createdAtHasBeenSet = false;
420
421 bool m_installUpdatesOnBoot{false};
422 bool m_installUpdatesOnBootHasBeenSet = false;
423
424 bool m_useEbsOptimizedInstances{false};
425 bool m_useEbsOptimizedInstancesHasBeenSet = false;
426
427 LifecycleEventConfiguration m_lifecycleEventConfiguration;
428 bool m_lifecycleEventConfigurationHasBeenSet = false;
429 };
430
431} // namespace Model
432} // namespace OpsWorks
433} // namespace Aws
const LifecycleEventConfiguration & GetLifecycleEventConfiguration() const
Definition Layer.h:352
bool NameHasBeenSet() const
Definition Layer.h:99
void SetEnableAutoHealing(bool value)
Definition Layer.h:241
bool GetInstallUpdatesOnBoot() const
Definition Layer.h:331
Layer & WithName(NameT &&value)
Definition Layer.h:103
void SetLayerId(LayerIdT &&value)
Definition Layer.h:79
const Aws::String & GetArn() const
Definition Layer.h:52
Layer & WithCreatedAt(CreatedAtT &&value)
Definition Layer.h:317
const Aws::Vector< Aws::String > & GetCustomSecurityGroupIds() const
Definition Layer.h:181
const Aws::Map< LayerAttributesKeys, Aws::String > & GetAttributes() const
Definition Layer.h:126
bool GetUseEbsOptimizedInstances() const
Definition Layer.h:341
void SetCustomRecipes(CustomRecipesT &&value)
Definition Layer.h:303
const Aws::Vector< Aws::String > & GetDefaultSecurityGroupNames() const
Definition Layer.h:195
void SetCustomInstanceProfileArn(CustomInstanceProfileArnT &&value)
Definition Layer.h:159
Layer & WithUseEbsOptimizedInstances(bool value)
Definition Layer.h:344
const Aws::String & GetCustomJson() const
Definition Layer.h:169
Layer & WithCustomInstanceProfileArn(CustomInstanceProfileArnT &&value)
Definition Layer.h:161
void SetLifecycleEventConfiguration(LifecycleEventConfigurationT &&value)
Definition Layer.h:355
bool PackagesHasBeenSet() const
Definition Layer.h:211
bool AutoAssignElasticIpsHasBeenSet() const
Definition Layer.h:254
Layer & WithShortname(ShortnameT &&value)
Definition Layer.h:115
bool GetEnableAutoHealing() const
Definition Layer.h:239
void SetArn(ArnT &&value)
Definition Layer.h:55
void SetCreatedAt(CreatedAtT &&value)
Definition Layer.h:315
bool DefaultSecurityGroupNamesHasBeenSet() const
Definition Layer.h:196
bool EnableAutoHealingHasBeenSet() const
Definition Layer.h:240
const Aws::String & GetName() const
Definition Layer.h:98
Layer & WithPackages(PackagesT &&value)
Definition Layer.h:215
const CloudWatchLogsConfiguration & GetCloudWatchLogsConfiguration() const
Definition Layer.h:141
bool UseEbsOptimizedInstancesHasBeenSet() const
Definition Layer.h:342
void SetAutoAssignElasticIps(bool value)
Definition Layer.h:255
const Aws::Vector< VolumeConfiguration > & GetVolumeConfigurations() const
Definition Layer.h:225
const Recipes & GetDefaultRecipes() const
Definition Layer.h:287
void SetAutoAssignPublicIps(bool value)
Definition Layer.h:268
Layer & AddPackages(PackagesT &&value)
Definition Layer.h:217
bool ArnHasBeenSet() const
Definition Layer.h:53
bool CloudWatchLogsConfigurationHasBeenSet() const
Definition Layer.h:142
Layer & WithAutoAssignElasticIps(bool value)
Definition Layer.h:256
bool GetAutoAssignPublicIps() const
Definition Layer.h:266
Layer & AddDefaultSecurityGroupNames(DefaultSecurityGroupNamesT &&value)
Definition Layer.h:202
const Aws::String & GetCreatedAt() const
Definition Layer.h:312
void SetType(LayerType value)
Definition Layer.h:90
bool LifecycleEventConfigurationHasBeenSet() const
Definition Layer.h:353
bool TypeHasBeenSet() const
Definition Layer.h:89
bool LayerIdHasBeenSet() const
Definition Layer.h:77
Layer & WithCustomJson(CustomJsonT &&value)
Definition Layer.h:174
Layer & WithDefaultRecipes(DefaultRecipesT &&value)
Definition Layer.h:292
const Aws::String & GetStackId() const
Definition Layer.h:64
const Aws::String & GetLayerId() const
Definition Layer.h:76
Layer & WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT &&value)
Definition Layer.h:146
void SetCustomJson(CustomJsonT &&value)
Definition Layer.h:172
bool CustomSecurityGroupIdsHasBeenSet() const
Definition Layer.h:182
Layer & WithAttributes(AttributesT &&value)
Definition Layer.h:131
Layer & AddVolumeConfigurations(VolumeConfigurationsT &&value)
Definition Layer.h:232
void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT &&value)
Definition Layer.h:144
void SetInstallUpdatesOnBoot(bool value)
Definition Layer.h:333
Layer & WithLifecycleEventConfiguration(LifecycleEventConfigurationT &&value)
Definition Layer.h:357
bool VolumeConfigurationsHasBeenSet() const
Definition Layer.h:226
void SetDefaultRecipes(DefaultRecipesT &&value)
Definition Layer.h:290
void SetUseEbsOptimizedInstances(bool value)
Definition Layer.h:343
const Aws::Vector< Aws::String > & GetPackages() const
Definition Layer.h:210
bool StackIdHasBeenSet() const
Definition Layer.h:65
Layer & WithEnableAutoHealing(bool value)
Definition Layer.h:242
Layer & WithInstallUpdatesOnBoot(bool value)
Definition Layer.h:334
void SetDefaultSecurityGroupNames(DefaultSecurityGroupNamesT &&value)
Definition Layer.h:198
Layer & WithDefaultSecurityGroupNames(DefaultSecurityGroupNamesT &&value)
Definition Layer.h:200
bool ShortnameHasBeenSet() const
Definition Layer.h:111
AWS_OPSWORKS_API Layer & operator=(Aws::Utils::Json::JsonView jsonValue)
Layer & WithStackId(StackIdT &&value)
Definition Layer.h:69
bool CreatedAtHasBeenSet() const
Definition Layer.h:313
bool DefaultRecipesHasBeenSet() const
Definition Layer.h:288
bool GetAutoAssignElasticIps() const
Definition Layer.h:253
Layer & WithVolumeConfigurations(VolumeConfigurationsT &&value)
Definition Layer.h:230
void SetShortname(ShortnameT &&value)
Definition Layer.h:113
void SetStackId(StackIdT &&value)
Definition Layer.h:67
bool CustomInstanceProfileArnHasBeenSet() const
Definition Layer.h:157
Layer & WithAutoAssignPublicIps(bool value)
Definition Layer.h:269
Layer & WithType(LayerType value)
Definition Layer.h:91
Layer & AddAttributes(LayerAttributesKeys key, Aws::String value)
Definition Layer.h:132
const Recipes & GetCustomRecipes() const
Definition Layer.h:300
bool InstallUpdatesOnBootHasBeenSet() const
Definition Layer.h:332
LayerType GetType() const
Definition Layer.h:88
bool CustomJsonHasBeenSet() const
Definition Layer.h:170
AWS_OPSWORKS_API Layer()=default
bool AutoAssignPublicIpsHasBeenSet() const
Definition Layer.h:267
const Aws::String & GetShortname() const
Definition Layer.h:110
AWS_OPSWORKS_API Layer(Aws::Utils::Json::JsonView jsonValue)
Layer & WithCustomSecurityGroupIds(CustomSecurityGroupIdsT &&value)
Definition Layer.h:186
void SetAttributes(AttributesT &&value)
Definition Layer.h:129
const Aws::String & GetCustomInstanceProfileArn() const
Definition Layer.h:156
void SetVolumeConfigurations(VolumeConfigurationsT &&value)
Definition Layer.h:228
Layer & WithLayerId(LayerIdT &&value)
Definition Layer.h:81
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
Layer & AddCustomSecurityGroupIds(CustomSecurityGroupIdsT &&value)
Definition Layer.h:188
void SetCustomSecurityGroupIds(CustomSecurityGroupIdsT &&value)
Definition Layer.h:184
Layer & WithArn(ArnT &&value)
Definition Layer.h:57
bool AttributesHasBeenSet() const
Definition Layer.h:127
void SetName(NameT &&value)
Definition Layer.h:101
void SetPackages(PackagesT &&value)
Definition Layer.h:213
bool CustomRecipesHasBeenSet() const
Definition Layer.h:301
Layer & WithCustomRecipes(CustomRecipesT &&value)
Definition Layer.h:305
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
Aws::Utils::Json::JsonValue JsonValue