AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
56 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
57 inline Layer& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline Layer& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline Layer& WithArn(const char* value) { SetArn(value); return *this;}
61
63
66 inline const Aws::String& GetStackId() const{ return m_stackId; }
67 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
68 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
69 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
70 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
71 inline Layer& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
72 inline Layer& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
73 inline Layer& WithStackId(const char* value) { SetStackId(value); return *this;}
75
77
80 inline const Aws::String& GetLayerId() const{ return m_layerId; }
81 inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; }
82 inline void SetLayerId(const Aws::String& value) { m_layerIdHasBeenSet = true; m_layerId = value; }
83 inline void SetLayerId(Aws::String&& value) { m_layerIdHasBeenSet = true; m_layerId = std::move(value); }
84 inline void SetLayerId(const char* value) { m_layerIdHasBeenSet = true; m_layerId.assign(value); }
85 inline Layer& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;}
86 inline Layer& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;}
87 inline Layer& WithLayerId(const char* value) { SetLayerId(value); return *this;}
89
91
94 inline const LayerType& GetType() const{ return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 inline void SetType(const LayerType& value) { m_typeHasBeenSet = true; m_type = value; }
97 inline void SetType(LayerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
98 inline Layer& WithType(const LayerType& value) { SetType(value); return *this;}
99 inline Layer& WithType(LayerType&& value) { SetType(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetName() const{ return m_name; }
107 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
108 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
109 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
110 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
111 inline Layer& WithName(const Aws::String& value) { SetName(value); return *this;}
112 inline Layer& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
113 inline Layer& WithName(const char* value) { SetName(value); return *this;}
115
117
120 inline const Aws::String& GetShortname() const{ return m_shortname; }
121 inline bool ShortnameHasBeenSet() const { return m_shortnameHasBeenSet; }
122 inline void SetShortname(const Aws::String& value) { m_shortnameHasBeenSet = true; m_shortname = value; }
123 inline void SetShortname(Aws::String&& value) { m_shortnameHasBeenSet = true; m_shortname = std::move(value); }
124 inline void SetShortname(const char* value) { m_shortnameHasBeenSet = true; m_shortname.assign(value); }
125 inline Layer& WithShortname(const Aws::String& value) { SetShortname(value); return *this;}
126 inline Layer& WithShortname(Aws::String&& value) { SetShortname(std::move(value)); return *this;}
127 inline Layer& WithShortname(const char* value) { SetShortname(value); return *this;}
129
131
138 inline const Aws::Map<LayerAttributesKeys, Aws::String>& GetAttributes() const{ return m_attributes; }
139 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
140 inline void SetAttributes(const Aws::Map<LayerAttributesKeys, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
141 inline void SetAttributes(Aws::Map<LayerAttributesKeys, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
143 inline Layer& WithAttributes(Aws::Map<LayerAttributesKeys, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
144 inline Layer& AddAttributes(const LayerAttributesKeys& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
145 inline Layer& AddAttributes(LayerAttributesKeys&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
146 inline Layer& AddAttributes(const LayerAttributesKeys& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
147 inline Layer& AddAttributes(LayerAttributesKeys&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
148 inline Layer& AddAttributes(LayerAttributesKeys&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
149 inline Layer& AddAttributes(const LayerAttributesKeys& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
151
153
156 inline const CloudWatchLogsConfiguration& GetCloudWatchLogsConfiguration() const{ return m_cloudWatchLogsConfiguration; }
157 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
158 inline void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = value; }
159 inline void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::move(value); }
163
165
171 inline const Aws::String& GetCustomInstanceProfileArn() const{ return m_customInstanceProfileArn; }
172 inline bool CustomInstanceProfileArnHasBeenSet() const { return m_customInstanceProfileArnHasBeenSet; }
173 inline void SetCustomInstanceProfileArn(const Aws::String& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = value; }
174 inline void SetCustomInstanceProfileArn(Aws::String&& value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn = std::move(value); }
175 inline void SetCustomInstanceProfileArn(const char* value) { m_customInstanceProfileArnHasBeenSet = true; m_customInstanceProfileArn.assign(value); }
176 inline Layer& WithCustomInstanceProfileArn(const Aws::String& value) { SetCustomInstanceProfileArn(value); return *this;}
177 inline Layer& WithCustomInstanceProfileArn(Aws::String&& value) { SetCustomInstanceProfileArn(std::move(value)); return *this;}
178 inline Layer& WithCustomInstanceProfileArn(const char* value) { SetCustomInstanceProfileArn(value); return *this;}
180
182
186 inline const Aws::String& GetCustomJson() const{ return m_customJson; }
187 inline bool CustomJsonHasBeenSet() const { return m_customJsonHasBeenSet; }
188 inline void SetCustomJson(const Aws::String& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
189 inline void SetCustomJson(Aws::String&& value) { m_customJsonHasBeenSet = true; m_customJson = std::move(value); }
190 inline void SetCustomJson(const char* value) { m_customJsonHasBeenSet = true; m_customJson.assign(value); }
191 inline Layer& WithCustomJson(const Aws::String& value) { SetCustomJson(value); return *this;}
192 inline Layer& WithCustomJson(Aws::String&& value) { SetCustomJson(std::move(value)); return *this;}
193 inline Layer& WithCustomJson(const char* value) { SetCustomJson(value); return *this;}
195
197
200 inline const Aws::Vector<Aws::String>& GetCustomSecurityGroupIds() const{ return m_customSecurityGroupIds; }
201 inline bool CustomSecurityGroupIdsHasBeenSet() const { return m_customSecurityGroupIdsHasBeenSet; }
202 inline void SetCustomSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = value; }
203 inline void SetCustomSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds = std::move(value); }
205 inline Layer& WithCustomSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetCustomSecurityGroupIds(std::move(value)); return *this;}
206 inline Layer& AddCustomSecurityGroupIds(const Aws::String& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
207 inline Layer& AddCustomSecurityGroupIds(Aws::String&& value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(std::move(value)); return *this; }
208 inline Layer& AddCustomSecurityGroupIds(const char* value) { m_customSecurityGroupIdsHasBeenSet = true; m_customSecurityGroupIds.push_back(value); return *this; }
210
212
215 inline const Aws::Vector<Aws::String>& GetDefaultSecurityGroupNames() const{ return m_defaultSecurityGroupNames; }
216 inline bool DefaultSecurityGroupNamesHasBeenSet() const { return m_defaultSecurityGroupNamesHasBeenSet; }
217 inline void SetDefaultSecurityGroupNames(const Aws::Vector<Aws::String>& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames = value; }
218 inline void SetDefaultSecurityGroupNames(Aws::Vector<Aws::String>&& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames = std::move(value); }
221 inline Layer& AddDefaultSecurityGroupNames(const Aws::String& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(value); return *this; }
222 inline Layer& AddDefaultSecurityGroupNames(Aws::String&& value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(std::move(value)); return *this; }
223 inline Layer& AddDefaultSecurityGroupNames(const char* value) { m_defaultSecurityGroupNamesHasBeenSet = true; m_defaultSecurityGroupNames.push_back(value); return *this; }
225
227
231 inline const Aws::Vector<Aws::String>& GetPackages() const{ return m_packages; }
232 inline bool PackagesHasBeenSet() const { return m_packagesHasBeenSet; }
233 inline void SetPackages(const Aws::Vector<Aws::String>& value) { m_packagesHasBeenSet = true; m_packages = value; }
234 inline void SetPackages(Aws::Vector<Aws::String>&& value) { m_packagesHasBeenSet = true; m_packages = std::move(value); }
235 inline Layer& WithPackages(const Aws::Vector<Aws::String>& value) { SetPackages(value); return *this;}
236 inline Layer& WithPackages(Aws::Vector<Aws::String>&& value) { SetPackages(std::move(value)); return *this;}
237 inline Layer& AddPackages(const Aws::String& value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
238 inline Layer& AddPackages(Aws::String&& value) { m_packagesHasBeenSet = true; m_packages.push_back(std::move(value)); return *this; }
239 inline Layer& AddPackages(const char* value) { m_packagesHasBeenSet = true; m_packages.push_back(value); return *this; }
241
243
247 inline const Aws::Vector<VolumeConfiguration>& GetVolumeConfigurations() const{ return m_volumeConfigurations; }
248 inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
249 inline void SetVolumeConfigurations(const Aws::Vector<VolumeConfiguration>& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = value; }
250 inline void SetVolumeConfigurations(Aws::Vector<VolumeConfiguration>&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = std::move(value); }
253 inline Layer& AddVolumeConfigurations(const VolumeConfiguration& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(value); return *this; }
254 inline Layer& AddVolumeConfigurations(VolumeConfiguration&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(std::move(value)); return *this; }
256
258
261 inline bool GetEnableAutoHealing() const{ return m_enableAutoHealing; }
262 inline bool EnableAutoHealingHasBeenSet() const { return m_enableAutoHealingHasBeenSet; }
263 inline void SetEnableAutoHealing(bool value) { m_enableAutoHealingHasBeenSet = true; m_enableAutoHealing = value; }
264 inline Layer& WithEnableAutoHealing(bool value) { SetEnableAutoHealing(value); return *this;}
266
268
275 inline bool GetAutoAssignElasticIps() const{ return m_autoAssignElasticIps; }
276 inline bool AutoAssignElasticIpsHasBeenSet() const { return m_autoAssignElasticIpsHasBeenSet; }
277 inline void SetAutoAssignElasticIps(bool value) { m_autoAssignElasticIpsHasBeenSet = true; m_autoAssignElasticIps = value; }
278 inline Layer& WithAutoAssignElasticIps(bool value) { SetAutoAssignElasticIps(value); return *this;}
280
282
288 inline bool GetAutoAssignPublicIps() const{ return m_autoAssignPublicIps; }
289 inline bool AutoAssignPublicIpsHasBeenSet() const { return m_autoAssignPublicIpsHasBeenSet; }
290 inline void SetAutoAssignPublicIps(bool value) { m_autoAssignPublicIpsHasBeenSet = true; m_autoAssignPublicIps = value; }
291 inline Layer& WithAutoAssignPublicIps(bool value) { SetAutoAssignPublicIps(value); return *this;}
293
295
309 inline const Recipes& GetDefaultRecipes() const{ return m_defaultRecipes; }
310 inline bool DefaultRecipesHasBeenSet() const { return m_defaultRecipesHasBeenSet; }
311 inline void SetDefaultRecipes(const Recipes& value) { m_defaultRecipesHasBeenSet = true; m_defaultRecipes = value; }
312 inline void SetDefaultRecipes(Recipes&& value) { m_defaultRecipesHasBeenSet = true; m_defaultRecipes = std::move(value); }
313 inline Layer& WithDefaultRecipes(const Recipes& value) { SetDefaultRecipes(value); return *this;}
314 inline Layer& WithDefaultRecipes(Recipes&& value) { SetDefaultRecipes(std::move(value)); return *this;}
316
318
322 inline const Recipes& GetCustomRecipes() const{ return m_customRecipes; }
323 inline bool CustomRecipesHasBeenSet() const { return m_customRecipesHasBeenSet; }
324 inline void SetCustomRecipes(const Recipes& value) { m_customRecipesHasBeenSet = true; m_customRecipes = value; }
325 inline void SetCustomRecipes(Recipes&& value) { m_customRecipesHasBeenSet = true; m_customRecipes = std::move(value); }
326 inline Layer& WithCustomRecipes(const Recipes& value) { SetCustomRecipes(value); return *this;}
327 inline Layer& WithCustomRecipes(Recipes&& value) { SetCustomRecipes(std::move(value)); return *this;}
329
331
334 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
335 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
336 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
337 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
338 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
339 inline Layer& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
340 inline Layer& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
341 inline Layer& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
343
345
355 inline bool GetInstallUpdatesOnBoot() const{ return m_installUpdatesOnBoot; }
356 inline bool InstallUpdatesOnBootHasBeenSet() const { return m_installUpdatesOnBootHasBeenSet; }
357 inline void SetInstallUpdatesOnBoot(bool value) { m_installUpdatesOnBootHasBeenSet = true; m_installUpdatesOnBoot = value; }
358 inline Layer& WithInstallUpdatesOnBoot(bool value) { SetInstallUpdatesOnBoot(value); return *this;}
360
362
365 inline bool GetUseEbsOptimizedInstances() const{ return m_useEbsOptimizedInstances; }
366 inline bool UseEbsOptimizedInstancesHasBeenSet() const { return m_useEbsOptimizedInstancesHasBeenSet; }
367 inline void SetUseEbsOptimizedInstances(bool value) { m_useEbsOptimizedInstancesHasBeenSet = true; m_useEbsOptimizedInstances = value; }
368 inline Layer& WithUseEbsOptimizedInstances(bool value) { SetUseEbsOptimizedInstances(value); return *this;}
370
372
376 inline const LifecycleEventConfiguration& GetLifecycleEventConfiguration() const{ return m_lifecycleEventConfiguration; }
377 inline bool LifecycleEventConfigurationHasBeenSet() const { return m_lifecycleEventConfigurationHasBeenSet; }
378 inline void SetLifecycleEventConfiguration(const LifecycleEventConfiguration& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = value; }
379 inline void SetLifecycleEventConfiguration(LifecycleEventConfiguration&& value) { m_lifecycleEventConfigurationHasBeenSet = true; m_lifecycleEventConfiguration = std::move(value); }
383 private:
384
385 Aws::String m_arn;
386 bool m_arnHasBeenSet = false;
387
388 Aws::String m_stackId;
389 bool m_stackIdHasBeenSet = false;
390
391 Aws::String m_layerId;
392 bool m_layerIdHasBeenSet = false;
393
394 LayerType m_type;
395 bool m_typeHasBeenSet = false;
396
397 Aws::String m_name;
398 bool m_nameHasBeenSet = false;
399
400 Aws::String m_shortname;
401 bool m_shortnameHasBeenSet = false;
402
404 bool m_attributesHasBeenSet = false;
405
406 CloudWatchLogsConfiguration m_cloudWatchLogsConfiguration;
407 bool m_cloudWatchLogsConfigurationHasBeenSet = false;
408
409 Aws::String m_customInstanceProfileArn;
410 bool m_customInstanceProfileArnHasBeenSet = false;
411
412 Aws::String m_customJson;
413 bool m_customJsonHasBeenSet = false;
414
415 Aws::Vector<Aws::String> m_customSecurityGroupIds;
416 bool m_customSecurityGroupIdsHasBeenSet = false;
417
418 Aws::Vector<Aws::String> m_defaultSecurityGroupNames;
419 bool m_defaultSecurityGroupNamesHasBeenSet = false;
420
421 Aws::Vector<Aws::String> m_packages;
422 bool m_packagesHasBeenSet = false;
423
424 Aws::Vector<VolumeConfiguration> m_volumeConfigurations;
425 bool m_volumeConfigurationsHasBeenSet = false;
426
427 bool m_enableAutoHealing;
428 bool m_enableAutoHealingHasBeenSet = false;
429
430 bool m_autoAssignElasticIps;
431 bool m_autoAssignElasticIpsHasBeenSet = false;
432
433 bool m_autoAssignPublicIps;
434 bool m_autoAssignPublicIpsHasBeenSet = false;
435
436 Recipes m_defaultRecipes;
437 bool m_defaultRecipesHasBeenSet = false;
438
439 Recipes m_customRecipes;
440 bool m_customRecipesHasBeenSet = false;
441
442 Aws::String m_createdAt;
443 bool m_createdAtHasBeenSet = false;
444
445 bool m_installUpdatesOnBoot;
446 bool m_installUpdatesOnBootHasBeenSet = false;
447
448 bool m_useEbsOptimizedInstances;
449 bool m_useEbsOptimizedInstancesHasBeenSet = false;
450
451 LifecycleEventConfiguration m_lifecycleEventConfiguration;
452 bool m_lifecycleEventConfigurationHasBeenSet = false;
453 };
454
455} // namespace Model
456} // namespace OpsWorks
457} // namespace Aws
const LifecycleEventConfiguration & GetLifecycleEventConfiguration() const
Definition Layer.h:376
Layer & WithAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
Definition Layer.h:142
Layer & WithName(const char *value)
Definition Layer.h:113
void SetType(const LayerType &value)
Definition Layer.h:96
bool NameHasBeenSet() const
Definition Layer.h:107
void SetEnableAutoHealing(bool value)
Definition Layer.h:263
bool GetInstallUpdatesOnBoot() const
Definition Layer.h:355
Layer & WithType(const LayerType &value)
Definition Layer.h:98
Layer & WithAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
Definition Layer.h:143
void SetName(const char *value)
Definition Layer.h:110
const Aws::String & GetArn() const
Definition Layer.h:52
Layer & WithCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
Definition Layer.h:161
const Aws::Vector< Aws::String > & GetCustomSecurityGroupIds() const
Definition Layer.h:200
const Aws::Map< LayerAttributesKeys, Aws::String > & GetAttributes() const
Definition Layer.h:138
Layer & AddAttributes(const LayerAttributesKeys &key, const char *value)
Definition Layer.h:149
bool GetUseEbsOptimizedInstances() const
Definition Layer.h:365
void SetCustomInstanceProfileArn(const Aws::String &value)
Definition Layer.h:173
Layer & AddAttributes(LayerAttributesKeys &&key, const char *value)
Definition Layer.h:148
Layer & WithCreatedAt(const char *value)
Definition Layer.h:341
const Aws::Vector< Aws::String > & GetDefaultSecurityGroupNames() const
Definition Layer.h:215
Layer & WithDefaultRecipes(const Recipes &value)
Definition Layer.h:313
void SetPackages(Aws::Vector< Aws::String > &&value)
Definition Layer.h:234
Layer & WithCustomRecipes(Recipes &&value)
Definition Layer.h:327
Layer & WithDefaultSecurityGroupNames(Aws::Vector< Aws::String > &&value)
Definition Layer.h:220
Layer & WithUseEbsOptimizedInstances(bool value)
Definition Layer.h:368
const Aws::String & GetCustomJson() const
Definition Layer.h:186
Layer & WithPackages(Aws::Vector< Aws::String > &&value)
Definition Layer.h:236
bool PackagesHasBeenSet() const
Definition Layer.h:232
void SetLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
Definition Layer.h:379
Layer & AddCustomSecurityGroupIds(Aws::String &&value)
Definition Layer.h:207
bool AutoAssignElasticIpsHasBeenSet() const
Definition Layer.h:276
bool GetEnableAutoHealing() const
Definition Layer.h:261
bool DefaultSecurityGroupNamesHasBeenSet() const
Definition Layer.h:216
void SetDefaultRecipes(Recipes &&value)
Definition Layer.h:312
void SetCloudWatchLogsConfiguration(CloudWatchLogsConfiguration &&value)
Definition Layer.h:159
Layer & AddDefaultSecurityGroupNames(const Aws::String &value)
Definition Layer.h:221
bool EnableAutoHealingHasBeenSet() const
Definition Layer.h:262
const Aws::String & GetName() const
Definition Layer.h:106
Layer & WithCustomJson(Aws::String &&value)
Definition Layer.h:192
Layer & WithShortname(const Aws::String &value)
Definition Layer.h:125
const CloudWatchLogsConfiguration & GetCloudWatchLogsConfiguration() const
Definition Layer.h:156
void SetArn(const char *value)
Definition Layer.h:56
bool UseEbsOptimizedInstancesHasBeenSet() const
Definition Layer.h:366
void SetAutoAssignElasticIps(bool value)
Definition Layer.h:277
void SetCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition Layer.h:202
Layer & AddCustomSecurityGroupIds(const char *value)
Definition Layer.h:208
void SetDefaultSecurityGroupNames(Aws::Vector< Aws::String > &&value)
Definition Layer.h:218
const Aws::Vector< VolumeConfiguration > & GetVolumeConfigurations() const
Definition Layer.h:247
Layer & WithCustomJson(const Aws::String &value)
Definition Layer.h:191
const Recipes & GetDefaultRecipes() const
Definition Layer.h:309
void SetCreatedAt(const Aws::String &value)
Definition Layer.h:336
Layer & WithCreatedAt(Aws::String &&value)
Definition Layer.h:340
void SetAutoAssignPublicIps(bool value)
Definition Layer.h:290
Layer & AddDefaultSecurityGroupNames(const char *value)
Definition Layer.h:223
void SetLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
Definition Layer.h:378
void SetLayerId(const char *value)
Definition Layer.h:84
bool ArnHasBeenSet() const
Definition Layer.h:53
bool CloudWatchLogsConfigurationHasBeenSet() const
Definition Layer.h:157
Layer & WithVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
Definition Layer.h:252
Layer & WithAutoAssignElasticIps(bool value)
Definition Layer.h:278
bool GetAutoAssignPublicIps() const
Definition Layer.h:288
Layer & AddAttributes(const LayerAttributesKeys &key, Aws::String &&value)
Definition Layer.h:146
Layer & WithCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
Definition Layer.h:160
const Aws::String & GetCreatedAt() const
Definition Layer.h:334
bool LifecycleEventConfigurationHasBeenSet() const
Definition Layer.h:377
bool TypeHasBeenSet() const
Definition Layer.h:95
bool LayerIdHasBeenSet() const
Definition Layer.h:81
Layer & AddPackages(Aws::String &&value)
Definition Layer.h:238
void SetArn(Aws::String &&value)
Definition Layer.h:55
const Aws::String & GetStackId() const
Definition Layer.h:66
void SetCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition Layer.h:203
const Aws::String & GetLayerId() const
Definition Layer.h:80
Layer & WithDefaultRecipes(Recipes &&value)
Definition Layer.h:314
void SetCustomJson(const Aws::String &value)
Definition Layer.h:188
Layer & AddVolumeConfigurations(VolumeConfiguration &&value)
Definition Layer.h:254
bool CustomSecurityGroupIdsHasBeenSet() const
Definition Layer.h:201
Layer & WithName(const Aws::String &value)
Definition Layer.h:111
Layer & AddAttributes(LayerAttributesKeys &&key, const Aws::String &value)
Definition Layer.h:145
void SetShortname(const char *value)
Definition Layer.h:124
void SetName(Aws::String &&value)
Definition Layer.h:109
Layer & WithArn(Aws::String &&value)
Definition Layer.h:58
Layer & AddDefaultSecurityGroupNames(Aws::String &&value)
Definition Layer.h:222
void SetCustomJson(const char *value)
Definition Layer.h:190
void SetCreatedAt(const char *value)
Definition Layer.h:338
void SetCustomInstanceProfileArn(Aws::String &&value)
Definition Layer.h:174
Layer & WithCustomJson(const char *value)
Definition Layer.h:193
void SetCustomInstanceProfileArn(const char *value)
Definition Layer.h:175
void SetArn(const Aws::String &value)
Definition Layer.h:54
void SetDefaultRecipes(const Recipes &value)
Definition Layer.h:311
void SetCustomRecipes(Recipes &&value)
Definition Layer.h:325
void SetVolumeConfigurations(Aws::Vector< VolumeConfiguration > &&value)
Definition Layer.h:250
Layer & WithArn(const Aws::String &value)
Definition Layer.h:57
Layer & WithCustomInstanceProfileArn(const Aws::String &value)
Definition Layer.h:176
void SetInstallUpdatesOnBoot(bool value)
Definition Layer.h:357
bool VolumeConfigurationsHasBeenSet() const
Definition Layer.h:248
Layer & WithLayerId(const char *value)
Definition Layer.h:87
void SetUseEbsOptimizedInstances(bool value)
Definition Layer.h:367
Layer & WithVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
Definition Layer.h:251
void SetDefaultSecurityGroupNames(const Aws::Vector< Aws::String > &value)
Definition Layer.h:217
Layer & WithShortname(const char *value)
Definition Layer.h:127
void SetStackId(Aws::String &&value)
Definition Layer.h:69
Layer & WithName(Aws::String &&value)
Definition Layer.h:112
const Aws::Vector< Aws::String > & GetPackages() const
Definition Layer.h:231
Layer & WithCustomInstanceProfileArn(const char *value)
Definition Layer.h:178
Layer & AddVolumeConfigurations(const VolumeConfiguration &value)
Definition Layer.h:253
bool StackIdHasBeenSet() const
Definition Layer.h:67
void SetStackId(const Aws::String &value)
Definition Layer.h:68
Layer & WithCustomSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition Layer.h:204
Layer & WithEnableAutoHealing(bool value)
Definition Layer.h:264
Layer & WithInstallUpdatesOnBoot(bool value)
Definition Layer.h:358
void SetCloudWatchLogsConfiguration(const CloudWatchLogsConfiguration &value)
Definition Layer.h:158
Layer & WithLifecycleEventConfiguration(const LifecycleEventConfiguration &value)
Definition Layer.h:380
void SetShortname(const Aws::String &value)
Definition Layer.h:122
AWS_OPSWORKS_API Layer()
Layer & WithLifecycleEventConfiguration(LifecycleEventConfiguration &&value)
Definition Layer.h:381
void SetAttributes(const Aws::Map< LayerAttributesKeys, Aws::String > &value)
Definition Layer.h:140
bool ShortnameHasBeenSet() const
Definition Layer.h:121
AWS_OPSWORKS_API Layer & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
Definition Layer.h:335
bool DefaultRecipesHasBeenSet() const
Definition Layer.h:310
Layer & WithShortname(Aws::String &&value)
Definition Layer.h:126
bool GetAutoAssignElasticIps() const
Definition Layer.h:275
Layer & WithLayerId(const Aws::String &value)
Definition Layer.h:85
Layer & AddAttributes(LayerAttributesKeys &&key, Aws::String &&value)
Definition Layer.h:147
Layer & WithCustomInstanceProfileArn(Aws::String &&value)
Definition Layer.h:177
Layer & WithPackages(const Aws::Vector< Aws::String > &value)
Definition Layer.h:235
const LayerType & GetType() const
Definition Layer.h:94
Layer & WithType(LayerType &&value)
Definition Layer.h:99
Layer & WithStackId(Aws::String &&value)
Definition Layer.h:72
bool CustomInstanceProfileArnHasBeenSet() const
Definition Layer.h:172
Layer & WithAutoAssignPublicIps(bool value)
Definition Layer.h:291
Layer & WithLayerId(Aws::String &&value)
Definition Layer.h:86
Layer & WithCreatedAt(const Aws::String &value)
Definition Layer.h:339
const Recipes & GetCustomRecipes() const
Definition Layer.h:322
Layer & WithCustomRecipes(const Recipes &value)
Definition Layer.h:326
Layer & WithStackId(const Aws::String &value)
Definition Layer.h:71
Layer & WithCustomSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition Layer.h:205
void SetCustomRecipes(const Recipes &value)
Definition Layer.h:324
Layer & WithDefaultSecurityGroupNames(const Aws::Vector< Aws::String > &value)
Definition Layer.h:219
void SetName(const Aws::String &value)
Definition Layer.h:108
void SetType(LayerType &&value)
Definition Layer.h:97
bool InstallUpdatesOnBootHasBeenSet() const
Definition Layer.h:356
void SetCustomJson(Aws::String &&value)
Definition Layer.h:189
void SetAttributes(Aws::Map< LayerAttributesKeys, Aws::String > &&value)
Definition Layer.h:141
bool CustomJsonHasBeenSet() const
Definition Layer.h:187
Layer & WithStackId(const char *value)
Definition Layer.h:73
bool AutoAssignPublicIpsHasBeenSet() const
Definition Layer.h:289
void SetLayerId(Aws::String &&value)
Definition Layer.h:83
const Aws::String & GetShortname() const
Definition Layer.h:120
void SetVolumeConfigurations(const Aws::Vector< VolumeConfiguration > &value)
Definition Layer.h:249
AWS_OPSWORKS_API Layer(Aws::Utils::Json::JsonView jsonValue)
Layer & AddPackages(const char *value)
Definition Layer.h:239
const Aws::String & GetCustomInstanceProfileArn() const
Definition Layer.h:171
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
Layer & AddCustomSecurityGroupIds(const Aws::String &value)
Definition Layer.h:206
Layer & WithArn(const char *value)
Definition Layer.h:59
void SetLayerId(const Aws::String &value)
Definition Layer.h:82
bool AttributesHasBeenSet() const
Definition Layer.h:139
void SetStackId(const char *value)
Definition Layer.h:70
void SetCreatedAt(Aws::String &&value)
Definition Layer.h:337
Layer & AddAttributes(const LayerAttributesKeys &key, const Aws::String &value)
Definition Layer.h:144
Layer & AddPackages(const Aws::String &value)
Definition Layer.h:237
void SetPackages(const Aws::Vector< Aws::String > &value)
Definition Layer.h:233
void SetShortname(Aws::String &&value)
Definition Layer.h:123
bool CustomRecipesHasBeenSet() const
Definition Layer.h:323
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