AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Stack.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/opsworks/model/StackConfigurationManager.h>
11#include <aws/opsworks/model/ChefConfiguration.h>
12#include <aws/opsworks/model/Source.h>
13#include <aws/opsworks/model/RootDeviceType.h>
14#include <aws/opsworks/model/StackAttributesKeys.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace OpsWorks
28{
29namespace Model
30{
31
37 class Stack
38 {
39 public:
40 AWS_OPSWORKS_API Stack();
41 AWS_OPSWORKS_API Stack(Aws::Utils::Json::JsonView jsonValue);
42 AWS_OPSWORKS_API Stack& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetStackId() const{ return m_stackId; }
51 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
52 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
53 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
54 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
55 inline Stack& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
56 inline Stack& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
57 inline Stack& WithStackId(const char* value) { SetStackId(value); return *this;}
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline Stack& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline Stack& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline Stack& WithName(const char* value) { SetName(value); return *this;}
73
75
78 inline const Aws::String& GetArn() const{ return m_arn; }
79 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
80 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
81 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
82 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
83 inline Stack& WithArn(const Aws::String& value) { SetArn(value); return *this;}
84 inline Stack& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
85 inline Stack& WithArn(const char* value) { SetArn(value); return *this;}
87
89
95 inline const Aws::String& GetRegion() const{ return m_region; }
96 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
97 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
98 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
99 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
100 inline Stack& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
101 inline Stack& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
102 inline Stack& WithRegion(const char* value) { SetRegion(value); return *this;}
104
106
109 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
110 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
111 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
112 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
113 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
114 inline Stack& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
115 inline Stack& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
116 inline Stack& WithVpcId(const char* value) { SetVpcId(value); return *this;}
118
120
123 inline const Aws::Map<StackAttributesKeys, Aws::String>& GetAttributes() const{ return m_attributes; }
124 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
125 inline void SetAttributes(const Aws::Map<StackAttributesKeys, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
126 inline void SetAttributes(Aws::Map<StackAttributesKeys, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
128 inline Stack& WithAttributes(Aws::Map<StackAttributesKeys, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
129 inline Stack& AddAttributes(const StackAttributesKeys& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
130 inline Stack& AddAttributes(StackAttributesKeys&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
131 inline Stack& AddAttributes(const StackAttributesKeys& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
132 inline Stack& AddAttributes(StackAttributesKeys&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
133 inline Stack& AddAttributes(StackAttributesKeys&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
134 inline Stack& AddAttributes(const StackAttributesKeys& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
136
138
141 inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
142 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
143 inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
144 inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); }
145 inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
146 inline Stack& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;}
147 inline Stack& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;}
148 inline Stack& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
150
152
158 inline const Aws::String& GetDefaultInstanceProfileArn() const{ return m_defaultInstanceProfileArn; }
159 inline bool DefaultInstanceProfileArnHasBeenSet() const { return m_defaultInstanceProfileArnHasBeenSet; }
160 inline void SetDefaultInstanceProfileArn(const Aws::String& value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn = value; }
161 inline void SetDefaultInstanceProfileArn(Aws::String&& value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn = std::move(value); }
162 inline void SetDefaultInstanceProfileArn(const char* value) { m_defaultInstanceProfileArnHasBeenSet = true; m_defaultInstanceProfileArn.assign(value); }
164 inline Stack& WithDefaultInstanceProfileArn(Aws::String&& value) { SetDefaultInstanceProfileArn(std::move(value)); return *this;}
165 inline Stack& WithDefaultInstanceProfileArn(const char* value) { SetDefaultInstanceProfileArn(value); return *this;}
167
169
172 inline const Aws::String& GetDefaultOs() const{ return m_defaultOs; }
173 inline bool DefaultOsHasBeenSet() const { return m_defaultOsHasBeenSet; }
174 inline void SetDefaultOs(const Aws::String& value) { m_defaultOsHasBeenSet = true; m_defaultOs = value; }
175 inline void SetDefaultOs(Aws::String&& value) { m_defaultOsHasBeenSet = true; m_defaultOs = std::move(value); }
176 inline void SetDefaultOs(const char* value) { m_defaultOsHasBeenSet = true; m_defaultOs.assign(value); }
177 inline Stack& WithDefaultOs(const Aws::String& value) { SetDefaultOs(value); return *this;}
178 inline Stack& WithDefaultOs(Aws::String&& value) { SetDefaultOs(std::move(value)); return *this;}
179 inline Stack& WithDefaultOs(const char* value) { SetDefaultOs(value); return *this;}
181
183
186 inline const Aws::String& GetHostnameTheme() const{ return m_hostnameTheme; }
187 inline bool HostnameThemeHasBeenSet() const { return m_hostnameThemeHasBeenSet; }
188 inline void SetHostnameTheme(const Aws::String& value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme = value; }
189 inline void SetHostnameTheme(Aws::String&& value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme = std::move(value); }
190 inline void SetHostnameTheme(const char* value) { m_hostnameThemeHasBeenSet = true; m_hostnameTheme.assign(value); }
191 inline Stack& WithHostnameTheme(const Aws::String& value) { SetHostnameTheme(value); return *this;}
192 inline Stack& WithHostnameTheme(Aws::String&& value) { SetHostnameTheme(std::move(value)); return *this;}
193 inline Stack& WithHostnameTheme(const char* value) { SetHostnameTheme(value); return *this;}
195
197
202 inline const Aws::String& GetDefaultAvailabilityZone() const{ return m_defaultAvailabilityZone; }
203 inline bool DefaultAvailabilityZoneHasBeenSet() const { return m_defaultAvailabilityZoneHasBeenSet; }
204 inline void SetDefaultAvailabilityZone(const Aws::String& value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone = value; }
205 inline void SetDefaultAvailabilityZone(Aws::String&& value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone = std::move(value); }
206 inline void SetDefaultAvailabilityZone(const char* value) { m_defaultAvailabilityZoneHasBeenSet = true; m_defaultAvailabilityZone.assign(value); }
207 inline Stack& WithDefaultAvailabilityZone(const Aws::String& value) { SetDefaultAvailabilityZone(value); return *this;}
208 inline Stack& WithDefaultAvailabilityZone(Aws::String&& value) { SetDefaultAvailabilityZone(std::move(value)); return *this;}
209 inline Stack& WithDefaultAvailabilityZone(const char* value) { SetDefaultAvailabilityZone(value); return *this;}
211
213
216 inline const Aws::String& GetDefaultSubnetId() const{ return m_defaultSubnetId; }
217 inline bool DefaultSubnetIdHasBeenSet() const { return m_defaultSubnetIdHasBeenSet; }
218 inline void SetDefaultSubnetId(const Aws::String& value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId = value; }
219 inline void SetDefaultSubnetId(Aws::String&& value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId = std::move(value); }
220 inline void SetDefaultSubnetId(const char* value) { m_defaultSubnetIdHasBeenSet = true; m_defaultSubnetId.assign(value); }
221 inline Stack& WithDefaultSubnetId(const Aws::String& value) { SetDefaultSubnetId(value); return *this;}
222 inline Stack& WithDefaultSubnetId(Aws::String&& value) { SetDefaultSubnetId(std::move(value)); return *this;}
223 inline Stack& WithDefaultSubnetId(const char* value) { SetDefaultSubnetId(value); return *this;}
225
227
237 inline const Aws::String& GetCustomJson() const{ return m_customJson; }
238 inline bool CustomJsonHasBeenSet() const { return m_customJsonHasBeenSet; }
239 inline void SetCustomJson(const Aws::String& value) { m_customJsonHasBeenSet = true; m_customJson = value; }
240 inline void SetCustomJson(Aws::String&& value) { m_customJsonHasBeenSet = true; m_customJson = std::move(value); }
241 inline void SetCustomJson(const char* value) { m_customJsonHasBeenSet = true; m_customJson.assign(value); }
242 inline Stack& WithCustomJson(const Aws::String& value) { SetCustomJson(value); return *this;}
243 inline Stack& WithCustomJson(Aws::String&& value) { SetCustomJson(std::move(value)); return *this;}
244 inline Stack& WithCustomJson(const char* value) { SetCustomJson(value); return *this;}
246
248
251 inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; }
252 inline bool ConfigurationManagerHasBeenSet() const { return m_configurationManagerHasBeenSet; }
253 inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
254 inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = std::move(value); }
256 inline Stack& WithConfigurationManager(StackConfigurationManager&& value) { SetConfigurationManager(std::move(value)); return *this;}
258
260
266 inline const ChefConfiguration& GetChefConfiguration() const{ return m_chefConfiguration; }
267 inline bool ChefConfigurationHasBeenSet() const { return m_chefConfigurationHasBeenSet; }
268 inline void SetChefConfiguration(const ChefConfiguration& value) { m_chefConfigurationHasBeenSet = true; m_chefConfiguration = value; }
269 inline void SetChefConfiguration(ChefConfiguration&& value) { m_chefConfigurationHasBeenSet = true; m_chefConfiguration = std::move(value); }
270 inline Stack& WithChefConfiguration(const ChefConfiguration& value) { SetChefConfiguration(value); return *this;}
271 inline Stack& WithChefConfiguration(ChefConfiguration&& value) { SetChefConfiguration(std::move(value)); return *this;}
273
275
278 inline bool GetUseCustomCookbooks() const{ return m_useCustomCookbooks; }
279 inline bool UseCustomCookbooksHasBeenSet() const { return m_useCustomCookbooksHasBeenSet; }
280 inline void SetUseCustomCookbooks(bool value) { m_useCustomCookbooksHasBeenSet = true; m_useCustomCookbooks = value; }
281 inline Stack& WithUseCustomCookbooks(bool value) { SetUseCustomCookbooks(value); return *this;}
283
285
289 inline bool GetUseOpsworksSecurityGroups() const{ return m_useOpsworksSecurityGroups; }
290 inline bool UseOpsworksSecurityGroupsHasBeenSet() const { return m_useOpsworksSecurityGroupsHasBeenSet; }
291 inline void SetUseOpsworksSecurityGroups(bool value) { m_useOpsworksSecurityGroupsHasBeenSet = true; m_useOpsworksSecurityGroups = value; }
292 inline Stack& WithUseOpsworksSecurityGroups(bool value) { SetUseOpsworksSecurityGroups(value); return *this;}
294
296
304 inline const Source& GetCustomCookbooksSource() const{ return m_customCookbooksSource; }
305 inline bool CustomCookbooksSourceHasBeenSet() const { return m_customCookbooksSourceHasBeenSet; }
306 inline void SetCustomCookbooksSource(const Source& value) { m_customCookbooksSourceHasBeenSet = true; m_customCookbooksSource = value; }
307 inline void SetCustomCookbooksSource(Source&& value) { m_customCookbooksSourceHasBeenSet = true; m_customCookbooksSource = std::move(value); }
308 inline Stack& WithCustomCookbooksSource(const Source& value) { SetCustomCookbooksSource(value); return *this;}
309 inline Stack& WithCustomCookbooksSource(Source&& value) { SetCustomCookbooksSource(std::move(value)); return *this;}
311
313
317 inline const Aws::String& GetDefaultSshKeyName() const{ return m_defaultSshKeyName; }
318 inline bool DefaultSshKeyNameHasBeenSet() const { return m_defaultSshKeyNameHasBeenSet; }
319 inline void SetDefaultSshKeyName(const Aws::String& value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName = value; }
320 inline void SetDefaultSshKeyName(Aws::String&& value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName = std::move(value); }
321 inline void SetDefaultSshKeyName(const char* value) { m_defaultSshKeyNameHasBeenSet = true; m_defaultSshKeyName.assign(value); }
322 inline Stack& WithDefaultSshKeyName(const Aws::String& value) { SetDefaultSshKeyName(value); return *this;}
323 inline Stack& WithDefaultSshKeyName(Aws::String&& value) { SetDefaultSshKeyName(std::move(value)); return *this;}
324 inline Stack& WithDefaultSshKeyName(const char* value) { SetDefaultSshKeyName(value); return *this;}
326
328
331 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
332 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
333 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
334 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
335 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
336 inline Stack& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
337 inline Stack& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
338 inline Stack& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
340
342
349 inline const RootDeviceType& GetDefaultRootDeviceType() const{ return m_defaultRootDeviceType; }
350 inline bool DefaultRootDeviceTypeHasBeenSet() const { return m_defaultRootDeviceTypeHasBeenSet; }
351 inline void SetDefaultRootDeviceType(const RootDeviceType& value) { m_defaultRootDeviceTypeHasBeenSet = true; m_defaultRootDeviceType = value; }
352 inline void SetDefaultRootDeviceType(RootDeviceType&& value) { m_defaultRootDeviceTypeHasBeenSet = true; m_defaultRootDeviceType = std::move(value); }
353 inline Stack& WithDefaultRootDeviceType(const RootDeviceType& value) { SetDefaultRootDeviceType(value); return *this;}
354 inline Stack& WithDefaultRootDeviceType(RootDeviceType&& value) { SetDefaultRootDeviceType(std::move(value)); return *this;}
356
358
362 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
363 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
364 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
365 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
366 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
367 inline Stack& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
368 inline Stack& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
369 inline Stack& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
371 private:
372
373 Aws::String m_stackId;
374 bool m_stackIdHasBeenSet = false;
375
376 Aws::String m_name;
377 bool m_nameHasBeenSet = false;
378
379 Aws::String m_arn;
380 bool m_arnHasBeenSet = false;
381
382 Aws::String m_region;
383 bool m_regionHasBeenSet = false;
384
385 Aws::String m_vpcId;
386 bool m_vpcIdHasBeenSet = false;
387
389 bool m_attributesHasBeenSet = false;
390
391 Aws::String m_serviceRoleArn;
392 bool m_serviceRoleArnHasBeenSet = false;
393
394 Aws::String m_defaultInstanceProfileArn;
395 bool m_defaultInstanceProfileArnHasBeenSet = false;
396
397 Aws::String m_defaultOs;
398 bool m_defaultOsHasBeenSet = false;
399
400 Aws::String m_hostnameTheme;
401 bool m_hostnameThemeHasBeenSet = false;
402
403 Aws::String m_defaultAvailabilityZone;
404 bool m_defaultAvailabilityZoneHasBeenSet = false;
405
406 Aws::String m_defaultSubnetId;
407 bool m_defaultSubnetIdHasBeenSet = false;
408
409 Aws::String m_customJson;
410 bool m_customJsonHasBeenSet = false;
411
412 StackConfigurationManager m_configurationManager;
413 bool m_configurationManagerHasBeenSet = false;
414
415 ChefConfiguration m_chefConfiguration;
416 bool m_chefConfigurationHasBeenSet = false;
417
418 bool m_useCustomCookbooks;
419 bool m_useCustomCookbooksHasBeenSet = false;
420
421 bool m_useOpsworksSecurityGroups;
422 bool m_useOpsworksSecurityGroupsHasBeenSet = false;
423
424 Source m_customCookbooksSource;
425 bool m_customCookbooksSourceHasBeenSet = false;
426
427 Aws::String m_defaultSshKeyName;
428 bool m_defaultSshKeyNameHasBeenSet = false;
429
430 Aws::String m_createdAt;
431 bool m_createdAtHasBeenSet = false;
432
433 RootDeviceType m_defaultRootDeviceType;
434 bool m_defaultRootDeviceTypeHasBeenSet = false;
435
436 Aws::String m_agentVersion;
437 bool m_agentVersionHasBeenSet = false;
438 };
439
440} // namespace Model
441} // namespace OpsWorks
442} // namespace Aws
bool GetUseCustomCookbooks() const
Definition Stack.h:278
Stack & WithDefaultOs(Aws::String &&value)
Definition Stack.h:178
const Aws::String & GetName() const
Definition Stack.h:64
Stack & WithDefaultRootDeviceType(RootDeviceType &&value)
Definition Stack.h:354
void SetArn(Aws::String &&value)
Definition Stack.h:81
bool DefaultAvailabilityZoneHasBeenSet() const
Definition Stack.h:203
const Aws::String & GetServiceRoleArn() const
Definition Stack.h:141
Stack & AddAttributes(const StackAttributesKeys &key, const Aws::String &value)
Definition Stack.h:129
const Aws::String & GetArn() const
Definition Stack.h:78
Stack & WithDefaultSshKeyName(const Aws::String &value)
Definition Stack.h:322
bool UseOpsworksSecurityGroupsHasBeenSet() const
Definition Stack.h:290
void SetRegion(const Aws::String &value)
Definition Stack.h:97
void SetDefaultSubnetId(const char *value)
Definition Stack.h:220
void SetServiceRoleArn(const Aws::String &value)
Definition Stack.h:143
Stack & WithCustomJson(const char *value)
Definition Stack.h:244
Stack & WithHostnameTheme(const char *value)
Definition Stack.h:193
Stack & WithDefaultInstanceProfileArn(const Aws::String &value)
Definition Stack.h:163
void SetVpcId(const char *value)
Definition Stack.h:113
bool CustomCookbooksSourceHasBeenSet() const
Definition Stack.h:305
Stack & WithDefaultInstanceProfileArn(Aws::String &&value)
Definition Stack.h:164
const Aws::String & GetDefaultSshKeyName() const
Definition Stack.h:317
bool ServiceRoleArnHasBeenSet() const
Definition Stack.h:142
void SetCustomJson(const char *value)
Definition Stack.h:241
Stack & WithHostnameTheme(Aws::String &&value)
Definition Stack.h:192
const StackConfigurationManager & GetConfigurationManager() const
Definition Stack.h:251
Stack & WithRegion(const Aws::String &value)
Definition Stack.h:100
Stack & WithDefaultSubnetId(Aws::String &&value)
Definition Stack.h:222
void SetDefaultAvailabilityZone(const char *value)
Definition Stack.h:206
void SetDefaultAvailabilityZone(Aws::String &&value)
Definition Stack.h:205
const Aws::String & GetDefaultOs() const
Definition Stack.h:172
void SetCustomJson(const Aws::String &value)
Definition Stack.h:239
Stack & WithHostnameTheme(const Aws::String &value)
Definition Stack.h:191
Stack & WithChefConfiguration(const ChefConfiguration &value)
Definition Stack.h:270
Stack & WithAgentVersion(const Aws::String &value)
Definition Stack.h:367
void SetCreatedAt(Aws::String &&value)
Definition Stack.h:334
Stack & WithStackId(const Aws::String &value)
Definition Stack.h:55
void SetRegion(Aws::String &&value)
Definition Stack.h:98
void SetUseOpsworksSecurityGroups(bool value)
Definition Stack.h:291
void SetAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
Definition Stack.h:125
Stack & AddAttributes(const StackAttributesKeys &key, const char *value)
Definition Stack.h:134
const Source & GetCustomCookbooksSource() const
Definition Stack.h:304
void SetDefaultSshKeyName(Aws::String &&value)
Definition Stack.h:320
Stack & AddAttributes(StackAttributesKeys &&key, const Aws::String &value)
Definition Stack.h:130
void SetArn(const char *value)
Definition Stack.h:82
bool AttributesHasBeenSet() const
Definition Stack.h:124
const ChefConfiguration & GetChefConfiguration() const
Definition Stack.h:266
Stack & WithChefConfiguration(ChefConfiguration &&value)
Definition Stack.h:271
void SetAgentVersion(Aws::String &&value)
Definition Stack.h:365
AWS_OPSWORKS_API Stack & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChefConfiguration(const ChefConfiguration &value)
Definition Stack.h:268
void SetName(const Aws::String &value)
Definition Stack.h:66
Stack & WithDefaultOs(const char *value)
Definition Stack.h:179
Stack & WithDefaultSshKeyName(const char *value)
Definition Stack.h:324
void SetArn(const Aws::String &value)
Definition Stack.h:80
bool DefaultInstanceProfileArnHasBeenSet() const
Definition Stack.h:159
Stack & WithConfigurationManager(StackConfigurationManager &&value)
Definition Stack.h:256
bool DefaultSubnetIdHasBeenSet() const
Definition Stack.h:217
void SetVpcId(Aws::String &&value)
Definition Stack.h:112
const RootDeviceType & GetDefaultRootDeviceType() const
Definition Stack.h:349
bool HostnameThemeHasBeenSet() const
Definition Stack.h:187
void SetDefaultInstanceProfileArn(Aws::String &&value)
Definition Stack.h:161
Stack & WithCustomCookbooksSource(const Source &value)
Definition Stack.h:308
void SetDefaultSshKeyName(const char *value)
Definition Stack.h:321
void SetDefaultInstanceProfileArn(const Aws::String &value)
Definition Stack.h:160
Stack & WithName(Aws::String &&value)
Definition Stack.h:70
void SetRegion(const char *value)
Definition Stack.h:99
Stack & WithArn(Aws::String &&value)
Definition Stack.h:84
bool CustomJsonHasBeenSet() const
Definition Stack.h:238
Stack & WithVpcId(Aws::String &&value)
Definition Stack.h:115
Stack & WithCreatedAt(Aws::String &&value)
Definition Stack.h:337
Stack & WithCreatedAt(const char *value)
Definition Stack.h:338
Stack & AddAttributes(const StackAttributesKeys &key, Aws::String &&value)
Definition Stack.h:131
void SetHostnameTheme(const char *value)
Definition Stack.h:190
Stack & WithVpcId(const Aws::String &value)
Definition Stack.h:114
void SetChefConfiguration(ChefConfiguration &&value)
Definition Stack.h:269
Stack & WithVpcId(const char *value)
Definition Stack.h:116
void SetAgentVersion(const char *value)
Definition Stack.h:366
bool GetUseOpsworksSecurityGroups() const
Definition Stack.h:289
void SetServiceRoleArn(Aws::String &&value)
Definition Stack.h:144
Stack & WithAgentVersion(Aws::String &&value)
Definition Stack.h:368
void SetDefaultInstanceProfileArn(const char *value)
Definition Stack.h:162
Stack & WithCustomCookbooksSource(Source &&value)
Definition Stack.h:309
Stack & WithAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
Definition Stack.h:128
Stack & WithName(const Aws::String &value)
Definition Stack.h:69
Stack & WithAttributes(const Aws::Map< StackAttributesKeys, Aws::String > &value)
Definition Stack.h:127
void SetHostnameTheme(const Aws::String &value)
Definition Stack.h:188
bool ConfigurationManagerHasBeenSet() const
Definition Stack.h:252
void SetConfigurationManager(const StackConfigurationManager &value)
Definition Stack.h:253
void SetName(Aws::String &&value)
Definition Stack.h:67
Stack & WithStackId(Aws::String &&value)
Definition Stack.h:56
void SetDefaultSubnetId(const Aws::String &value)
Definition Stack.h:218
bool ChefConfigurationHasBeenSet() const
Definition Stack.h:267
void SetDefaultAvailabilityZone(const Aws::String &value)
Definition Stack.h:204
bool DefaultRootDeviceTypeHasBeenSet() const
Definition Stack.h:350
const Aws::String & GetDefaultSubnetId() const
Definition Stack.h:216
void SetAttributes(Aws::Map< StackAttributesKeys, Aws::String > &&value)
Definition Stack.h:126
void SetCustomCookbooksSource(const Source &value)
Definition Stack.h:306
Stack & WithAgentVersion(const char *value)
Definition Stack.h:369
bool CreatedAtHasBeenSet() const
Definition Stack.h:332
const Aws::String & GetAgentVersion() const
Definition Stack.h:362
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVpcId() const
Definition Stack.h:109
void SetCreatedAt(const char *value)
Definition Stack.h:335
Stack & WithArn(const char *value)
Definition Stack.h:85
bool VpcIdHasBeenSet() const
Definition Stack.h:110
Stack & WithStackId(const char *value)
Definition Stack.h:57
void SetStackId(const Aws::String &value)
Definition Stack.h:52
void SetStackId(Aws::String &&value)
Definition Stack.h:53
Stack & WithServiceRoleArn(const char *value)
Definition Stack.h:148
const Aws::Map< StackAttributesKeys, Aws::String > & GetAttributes() const
Definition Stack.h:123
Stack & WithCustomJson(Aws::String &&value)
Definition Stack.h:243
const Aws::String & GetCreatedAt() const
Definition Stack.h:331
Stack & WithDefaultRootDeviceType(const RootDeviceType &value)
Definition Stack.h:353
Stack & WithCreatedAt(const Aws::String &value)
Definition Stack.h:336
Stack & WithDefaultAvailabilityZone(Aws::String &&value)
Definition Stack.h:208
void SetDefaultOs(const Aws::String &value)
Definition Stack.h:174
bool AgentVersionHasBeenSet() const
Definition Stack.h:363
void SetServiceRoleArn(const char *value)
Definition Stack.h:145
Stack & AddAttributes(StackAttributesKeys &&key, const char *value)
Definition Stack.h:133
bool NameHasBeenSet() const
Definition Stack.h:65
Stack & WithUseCustomCookbooks(bool value)
Definition Stack.h:281
bool RegionHasBeenSet() const
Definition Stack.h:96
Stack & AddAttributes(StackAttributesKeys &&key, Aws::String &&value)
Definition Stack.h:132
Stack & WithServiceRoleArn(const Aws::String &value)
Definition Stack.h:146
Stack & WithName(const char *value)
Definition Stack.h:71
void SetDefaultSshKeyName(const Aws::String &value)
Definition Stack.h:319
Stack & WithCustomJson(const Aws::String &value)
Definition Stack.h:242
const Aws::String & GetDefaultInstanceProfileArn() const
Definition Stack.h:158
Stack & WithDefaultSubnetId(const char *value)
Definition Stack.h:223
Stack & WithArn(const Aws::String &value)
Definition Stack.h:83
void SetAgentVersion(const Aws::String &value)
Definition Stack.h:364
void SetHostnameTheme(Aws::String &&value)
Definition Stack.h:189
void SetStackId(const char *value)
Definition Stack.h:54
Stack & WithConfigurationManager(const StackConfigurationManager &value)
Definition Stack.h:255
Stack & WithDefaultAvailabilityZone(const char *value)
Definition Stack.h:209
Stack & WithRegion(Aws::String &&value)
Definition Stack.h:101
bool ArnHasBeenSet() const
Definition Stack.h:79
void SetDefaultOs(const char *value)
Definition Stack.h:176
void SetDefaultOs(Aws::String &&value)
Definition Stack.h:175
const Aws::String & GetStackId() const
Definition Stack.h:50
Stack & WithRegion(const char *value)
Definition Stack.h:102
Stack & WithUseOpsworksSecurityGroups(bool value)
Definition Stack.h:292
void SetConfigurationManager(StackConfigurationManager &&value)
Definition Stack.h:254
const Aws::String & GetHostnameTheme() const
Definition Stack.h:186
void SetCustomCookbooksSource(Source &&value)
Definition Stack.h:307
Stack & WithDefaultInstanceProfileArn(const char *value)
Definition Stack.h:165
void SetDefaultRootDeviceType(RootDeviceType &&value)
Definition Stack.h:352
Stack & WithDefaultSubnetId(const Aws::String &value)
Definition Stack.h:221
void SetName(const char *value)
Definition Stack.h:68
void SetVpcId(const Aws::String &value)
Definition Stack.h:111
const Aws::String & GetRegion() const
Definition Stack.h:95
Stack & WithDefaultSshKeyName(Aws::String &&value)
Definition Stack.h:323
Stack & WithDefaultAvailabilityZone(const Aws::String &value)
Definition Stack.h:207
void SetCreatedAt(const Aws::String &value)
Definition Stack.h:333
bool DefaultSshKeyNameHasBeenSet() const
Definition Stack.h:318
const Aws::String & GetDefaultAvailabilityZone() const
Definition Stack.h:202
AWS_OPSWORKS_API Stack()
Stack & WithDefaultOs(const Aws::String &value)
Definition Stack.h:177
const Aws::String & GetCustomJson() const
Definition Stack.h:237
AWS_OPSWORKS_API Stack(Aws::Utils::Json::JsonView jsonValue)
void SetCustomJson(Aws::String &&value)
Definition Stack.h:240
void SetDefaultRootDeviceType(const RootDeviceType &value)
Definition Stack.h:351
bool DefaultOsHasBeenSet() const
Definition Stack.h:173
bool UseCustomCookbooksHasBeenSet() const
Definition Stack.h:279
Stack & WithServiceRoleArn(Aws::String &&value)
Definition Stack.h:147
void SetDefaultSubnetId(Aws::String &&value)
Definition Stack.h:219
bool StackIdHasBeenSet() const
Definition Stack.h:51
void SetUseCustomCookbooks(bool value)
Definition Stack.h:280
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
Aws::Utils::Json::JsonValue JsonValue