AWS SDK for C++  1.9.14
AWS SDK for C++
Disk.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25  class JsonView;
26 } // namespace Json
27 } // namespace Utils
28 namespace Lightsail
29 {
30 namespace Model
31 {
32 
39  {
40  public:
41  Disk();
45 
46 
50  inline const Aws::String& GetName() const{ return m_name; }
51 
55  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 
60  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 
65  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 
70  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 
75  inline Disk& WithName(const Aws::String& value) { SetName(value); return *this;}
76 
80  inline Disk& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 
85  inline Disk& WithName(const char* value) { SetName(value); return *this;}
86 
87 
91  inline const Aws::String& GetArn() const{ return m_arn; }
92 
96  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
97 
101  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
102 
106  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
107 
111  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
112 
116  inline Disk& WithArn(const Aws::String& value) { SetArn(value); return *this;}
117 
121  inline Disk& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
122 
126  inline Disk& WithArn(const char* value) { SetArn(value); return *this;}
127 
128 
134  inline const Aws::String& GetSupportCode() const{ return m_supportCode; }
135 
141  inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; }
142 
148  inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; }
149 
155  inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); }
156 
162  inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); }
163 
169  inline Disk& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;}
170 
176  inline Disk& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;}
177 
183  inline Disk& WithSupportCode(const char* value) { SetSupportCode(value); return *this;}
184 
185 
189  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
190 
194  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
195 
199  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
200 
204  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
205 
209  inline Disk& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
210 
214  inline Disk& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
215 
216 
220  inline const ResourceLocation& GetLocation() const{ return m_location; }
221 
225  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
226 
230  inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; }
231 
235  inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
236 
240  inline Disk& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;}
241 
245  inline Disk& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;}
246 
247 
251  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
252 
256  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
257 
261  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
262 
266  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
267 
271  inline Disk& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
272 
276  inline Disk& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
277 
278 
285  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
286 
293  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
294 
301  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
302 
309  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
310 
317  inline Disk& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
318 
325  inline Disk& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
326 
333  inline Disk& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
334 
341  inline Disk& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
342 
343 
347  inline const Aws::Vector<AddOn>& GetAddOns() const{ return m_addOns; }
348 
352  inline bool AddOnsHasBeenSet() const { return m_addOnsHasBeenSet; }
353 
357  inline void SetAddOns(const Aws::Vector<AddOn>& value) { m_addOnsHasBeenSet = true; m_addOns = value; }
358 
362  inline void SetAddOns(Aws::Vector<AddOn>&& value) { m_addOnsHasBeenSet = true; m_addOns = std::move(value); }
363 
367  inline Disk& WithAddOns(const Aws::Vector<AddOn>& value) { SetAddOns(value); return *this;}
368 
372  inline Disk& WithAddOns(Aws::Vector<AddOn>&& value) { SetAddOns(std::move(value)); return *this;}
373 
377  inline Disk& AddAddOns(const AddOn& value) { m_addOnsHasBeenSet = true; m_addOns.push_back(value); return *this; }
378 
382  inline Disk& AddAddOns(AddOn&& value) { m_addOnsHasBeenSet = true; m_addOns.push_back(std::move(value)); return *this; }
383 
384 
388  inline int GetSizeInGb() const{ return m_sizeInGb; }
389 
393  inline bool SizeInGbHasBeenSet() const { return m_sizeInGbHasBeenSet; }
394 
398  inline void SetSizeInGb(int value) { m_sizeInGbHasBeenSet = true; m_sizeInGb = value; }
399 
403  inline Disk& WithSizeInGb(int value) { SetSizeInGb(value); return *this;}
404 
405 
410  inline bool GetIsSystemDisk() const{ return m_isSystemDisk; }
411 
416  inline bool IsSystemDiskHasBeenSet() const { return m_isSystemDiskHasBeenSet; }
417 
422  inline void SetIsSystemDisk(bool value) { m_isSystemDiskHasBeenSet = true; m_isSystemDisk = value; }
423 
428  inline Disk& WithIsSystemDisk(bool value) { SetIsSystemDisk(value); return *this;}
429 
430 
434  inline int GetIops() const{ return m_iops; }
435 
439  inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
440 
444  inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
445 
449  inline Disk& WithIops(int value) { SetIops(value); return *this;}
450 
451 
455  inline const Aws::String& GetPath() const{ return m_path; }
456 
460  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
461 
465  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
466 
470  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
471 
475  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
476 
480  inline Disk& WithPath(const Aws::String& value) { SetPath(value); return *this;}
481 
485  inline Disk& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
486 
490  inline Disk& WithPath(const char* value) { SetPath(value); return *this;}
491 
492 
496  inline const DiskState& GetState() const{ return m_state; }
497 
501  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
502 
506  inline void SetState(const DiskState& value) { m_stateHasBeenSet = true; m_state = value; }
507 
511  inline void SetState(DiskState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
512 
516  inline Disk& WithState(const DiskState& value) { SetState(value); return *this;}
517 
521  inline Disk& WithState(DiskState&& value) { SetState(std::move(value)); return *this;}
522 
523 
527  inline const Aws::String& GetAttachedTo() const{ return m_attachedTo; }
528 
532  inline bool AttachedToHasBeenSet() const { return m_attachedToHasBeenSet; }
533 
537  inline void SetAttachedTo(const Aws::String& value) { m_attachedToHasBeenSet = true; m_attachedTo = value; }
538 
542  inline void SetAttachedTo(Aws::String&& value) { m_attachedToHasBeenSet = true; m_attachedTo = std::move(value); }
543 
547  inline void SetAttachedTo(const char* value) { m_attachedToHasBeenSet = true; m_attachedTo.assign(value); }
548 
552  inline Disk& WithAttachedTo(const Aws::String& value) { SetAttachedTo(value); return *this;}
553 
557  inline Disk& WithAttachedTo(Aws::String&& value) { SetAttachedTo(std::move(value)); return *this;}
558 
562  inline Disk& WithAttachedTo(const char* value) { SetAttachedTo(value); return *this;}
563 
564 
568  inline bool GetIsAttached() const{ return m_isAttached; }
569 
573  inline bool IsAttachedHasBeenSet() const { return m_isAttachedHasBeenSet; }
574 
578  inline void SetIsAttached(bool value) { m_isAttachedHasBeenSet = true; m_isAttached = value; }
579 
583  inline Disk& WithIsAttached(bool value) { SetIsAttached(value); return *this;}
584 
585  private:
586 
587  Aws::String m_name;
588  bool m_nameHasBeenSet;
589 
590  Aws::String m_arn;
591  bool m_arnHasBeenSet;
592 
593  Aws::String m_supportCode;
594  bool m_supportCodeHasBeenSet;
595 
596  Aws::Utils::DateTime m_createdAt;
597  bool m_createdAtHasBeenSet;
598 
599  ResourceLocation m_location;
600  bool m_locationHasBeenSet;
601 
602  ResourceType m_resourceType;
603  bool m_resourceTypeHasBeenSet;
604 
605  Aws::Vector<Tag> m_tags;
606  bool m_tagsHasBeenSet;
607 
608  Aws::Vector<AddOn> m_addOns;
609  bool m_addOnsHasBeenSet;
610 
611  int m_sizeInGb;
612  bool m_sizeInGbHasBeenSet;
613 
614  bool m_isSystemDisk;
615  bool m_isSystemDiskHasBeenSet;
616 
617  int m_iops;
618  bool m_iopsHasBeenSet;
619 
620  Aws::String m_path;
621  bool m_pathHasBeenSet;
622 
623  DiskState m_state;
624  bool m_stateHasBeenSet;
625 
626  Aws::String m_attachedTo;
627  bool m_attachedToHasBeenSet;
628 
629  bool m_isAttached;
630  bool m_isAttachedHasBeenSet;
631  };
632 
633 } // namespace Model
634 } // namespace Lightsail
635 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lightsail::Model::Disk::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Disk.h:189
Aws::Lightsail::Model::Disk::WithState
Disk & WithState(const DiskState &value)
Definition: Disk.h:516
Aws::Lightsail::Model::Disk::Disk
Disk(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::Disk::GetPath
const Aws::String & GetPath() const
Definition: Disk.h:455
Aws::Lightsail::Model::Disk::SetLocation
void SetLocation(const ResourceLocation &value)
Definition: Disk.h:230
ResourceType.h
Aws::Lightsail::Model::Disk::SetIops
void SetIops(int value)
Definition: Disk.h:444
Aws::Lightsail::Model::Disk::SetAddOns
void SetAddOns(Aws::Vector< AddOn > &&value)
Definition: Disk.h:362
Aws::Lightsail::Model::Disk::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: Disk.h:256
Aws::Lightsail::Model::Disk::SetIsAttached
void SetIsAttached(bool value)
Definition: Disk.h:578
Aws::Lightsail::Model::Disk::Disk
Disk()
Aws::Lightsail::Model::Disk::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: Disk.h:266
Aws::Lightsail::Model::Disk::WithArn
Disk & WithArn(const char *value)
Definition: Disk.h:126
DiskState.h
Aws::Lightsail::Model::Disk::WithSupportCode
Disk & WithSupportCode(Aws::String &&value)
Definition: Disk.h:176
Aws::Lightsail::Model::Disk::AddAddOns
Disk & AddAddOns(const AddOn &value)
Definition: Disk.h:377
Aws::Lightsail::Model::Disk::WithSupportCode
Disk & WithSupportCode(const char *value)
Definition: Disk.h:183
DateTime.h
Aws::Lightsail::Model::Disk::IsAttachedHasBeenSet
bool IsAttachedHasBeenSet() const
Definition: Disk.h:573
Aws::Lightsail::Model::Disk::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Disk.h:194
Aws::Lightsail::Model::Disk::AddAddOns
Disk & AddAddOns(AddOn &&value)
Definition: Disk.h:382
Aws::Lightsail::Model::Disk::SetState
void SetState(DiskState &&value)
Definition: Disk.h:511
Aws::Lightsail::Model::Disk::SizeInGbHasBeenSet
bool SizeInGbHasBeenSet() const
Definition: Disk.h:393
Aws::Lightsail::Model::Disk::SetArn
void SetArn(const Aws::String &value)
Definition: Disk.h:101
Aws::Lightsail::Model::Disk::GetLocation
const ResourceLocation & GetLocation() const
Definition: Disk.h:220
Aws::Lightsail::Model::Disk::SetIsSystemDisk
void SetIsSystemDisk(bool value)
Definition: Disk.h:422
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::Disk::GetSizeInGb
int GetSizeInGb() const
Definition: Disk.h:388
Aws::Lightsail::Model::Disk::AddTags
Disk & AddTags(Tag &&value)
Definition: Disk.h:341
AddOn.h
Aws::Lightsail::Model::Disk::WithPath
Disk & WithPath(Aws::String &&value)
Definition: Disk.h:485
Aws::Lightsail::Model::Disk::SetSupportCode
void SetSupportCode(const Aws::String &value)
Definition: Disk.h:148
Aws::Lightsail::Model::Disk::WithSupportCode
Disk & WithSupportCode(const Aws::String &value)
Definition: Disk.h:169
Aws::Lightsail::Model::Disk::SetAddOns
void SetAddOns(const Aws::Vector< AddOn > &value)
Definition: Disk.h:357
Aws::Lightsail::Model::Disk::GetIsAttached
bool GetIsAttached() const
Definition: Disk.h:568
AWSVector.h
Aws::Lightsail::Model::Disk::WithIsAttached
Disk & WithIsAttached(bool value)
Definition: Disk.h:583
Aws::Lightsail::Model::Disk::SetPath
void SetPath(const Aws::String &value)
Definition: Disk.h:465
Aws::Lightsail::Model::Disk::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Disk.h:309
Aws::Lightsail::Model::Disk::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Disk.h:301
Aws::Lightsail::Model::Disk::SetState
void SetState(const DiskState &value)
Definition: Disk.h:506
Aws::Lightsail::Model::Disk::WithName
Disk & WithName(const char *value)
Definition: Disk.h:85
Aws::Lightsail::Model::Disk::SetPath
void SetPath(Aws::String &&value)
Definition: Disk.h:470
Aws::Lightsail::Model::Disk::WithResourceType
Disk & WithResourceType(const ResourceType &value)
Definition: Disk.h:271
Aws::Lightsail::Model::Disk
Definition: Disk.h:39
Aws::Lightsail::Model::Disk::SetArn
void SetArn(const char *value)
Definition: Disk.h:111
Aws::Lightsail::Model::Disk::GetAddOns
const Aws::Vector< AddOn > & GetAddOns() const
Definition: Disk.h:347
Aws::Lightsail::Model::Disk::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: Disk.h:225
Aws::Lightsail::Model::Disk::StateHasBeenSet
bool StateHasBeenSet() const
Definition: Disk.h:501
Aws::Lightsail::Model::Disk::GetArn
const Aws::String & GetArn() const
Definition: Disk.h:91
Aws::Lightsail::Model::Disk::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: Disk.h:261
Aws::Lightsail::Model::Disk::GetIops
int GetIops() const
Definition: Disk.h:434
Aws::Lightsail::Model::Disk::GetAttachedTo
const Aws::String & GetAttachedTo() const
Definition: Disk.h:527
Aws::Lightsail::Model::Disk::WithArn
Disk & WithArn(const Aws::String &value)
Definition: Disk.h:116
Aws::Lightsail::Model::Disk::WithSizeInGb
Disk & WithSizeInGb(int value)
Definition: Disk.h:403
Aws::Lightsail::Model::Disk::SetName
void SetName(const Aws::String &value)
Definition: Disk.h:60
Aws::Lightsail::Model::Disk::operator=
Disk & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::Disk::WithLocation
Disk & WithLocation(ResourceLocation &&value)
Definition: Disk.h:245
Aws::Lightsail::Model::Disk::SetSupportCode
void SetSupportCode(Aws::String &&value)
Definition: Disk.h:155
Tag.h
Aws::Lightsail::Model::Disk::AttachedToHasBeenSet
bool AttachedToHasBeenSet() const
Definition: Disk.h:532
Aws::Lightsail::Model::ResourceLocation
Definition: ResourceLocation.h:33
Aws::Lightsail::Model::Disk::AddTags
Disk & AddTags(const Tag &value)
Definition: Disk.h:333
Aws::Lightsail::Model::Disk::WithPath
Disk & WithPath(const Aws::String &value)
Definition: Disk.h:480
Aws::Lightsail::Model::Disk::WithTags
Disk & WithTags(Aws::Vector< Tag > &&value)
Definition: Disk.h:325
Aws::Lightsail::Model::Disk::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Disk.h:96
Aws::Lightsail::Model::Disk::SetLocation
void SetLocation(ResourceLocation &&value)
Definition: Disk.h:235
Aws::Lightsail::Model::Disk::AddOnsHasBeenSet
bool AddOnsHasBeenSet() const
Definition: Disk.h:352
Aws::Lightsail::Model::Disk::WithPath
Disk & WithPath(const char *value)
Definition: Disk.h:490
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Lightsail::Model::Tag
Definition: Tag.h:35
AWSString.h
Aws::Lightsail::Model::Disk::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lightsail::Model::Disk::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Disk.h:285
Aws::Lightsail::Model::Disk::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Disk.h:204
Aws::Lightsail::Model::Disk::WithCreatedAt
Disk & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Disk.h:209
Aws::Lightsail::Model::Disk::SetAttachedTo
void SetAttachedTo(const char *value)
Definition: Disk.h:547
Lightsail_EXPORTS.h
Aws::Lightsail::Model::Disk::WithCreatedAt
Disk & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Disk.h:214
Aws::Lightsail::Model::Disk::WithResourceType
Disk & WithResourceType(ResourceType &&value)
Definition: Disk.h:276
Aws::Lightsail::Model::Disk::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Disk.h:199
Aws::Lightsail::Model::Disk::WithIsSystemDisk
Disk & WithIsSystemDisk(bool value)
Definition: Disk.h:428
Aws::Lightsail::Model::Disk::SetPath
void SetPath(const char *value)
Definition: Disk.h:475
Aws::Lightsail::Model::Disk::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Disk.h:55
Aws::Lightsail::Model::Disk::WithIops
Disk & WithIops(int value)
Definition: Disk.h:449
Aws::Lightsail::Model::Disk::WithAddOns
Disk & WithAddOns(Aws::Vector< AddOn > &&value)
Definition: Disk.h:372
Aws::Lightsail::Model::Disk::WithLocation
Disk & WithLocation(const ResourceLocation &value)
Definition: Disk.h:240
Aws::Lightsail::Model::Disk::WithAttachedTo
Disk & WithAttachedTo(Aws::String &&value)
Definition: Disk.h:557
Aws::Lightsail::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
Aws::Lightsail::Model::Disk::IsSystemDiskHasBeenSet
bool IsSystemDiskHasBeenSet() const
Definition: Disk.h:416
ResourceLocation.h
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::Disk::GetState
const DiskState & GetState() const
Definition: Disk.h:496
Aws::Lightsail::Model::Disk::WithAttachedTo
Disk & WithAttachedTo(const char *value)
Definition: Disk.h:562
Aws::Lightsail::Model::Disk::SupportCodeHasBeenSet
bool SupportCodeHasBeenSet() const
Definition: Disk.h:141
Aws::Lightsail::Model::Disk::WithName
Disk & WithName(const Aws::String &value)
Definition: Disk.h:75
Aws::Lightsail::Model::Disk::GetIsSystemDisk
bool GetIsSystemDisk() const
Definition: Disk.h:410
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::Disk::GetName
const Aws::String & GetName() const
Definition: Disk.h:50
Aws::Lightsail::Model::Disk::SetName
void SetName(const char *value)
Definition: Disk.h:70
Aws::Lightsail::Model::Disk::WithName
Disk & WithName(Aws::String &&value)
Definition: Disk.h:80
Aws::Lightsail::Model::Disk::IopsHasBeenSet
bool IopsHasBeenSet() const
Definition: Disk.h:439
Aws::Lightsail::Model::Disk::WithTags
Disk & WithTags(const Aws::Vector< Tag > &value)
Definition: Disk.h:317
Aws::Lightsail::Model::DiskState
DiskState
Definition: DiskState.h:17
Aws::Lightsail::Model::Disk::WithAttachedTo
Disk & WithAttachedTo(const Aws::String &value)
Definition: Disk.h:552
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::Disk::SetName
void SetName(Aws::String &&value)
Definition: Disk.h:65
Aws::Lightsail::Model::Disk::SetArn
void SetArn(Aws::String &&value)
Definition: Disk.h:106
Aws::Lightsail::Model::Disk::WithArn
Disk & WithArn(Aws::String &&value)
Definition: Disk.h:121
Aws::Lightsail::Model::Disk::GetResourceType
const ResourceType & GetResourceType() const
Definition: Disk.h:251
Aws::Lightsail::Model::Disk::SetAttachedTo
void SetAttachedTo(const Aws::String &value)
Definition: Disk.h:537
Aws::Lightsail::Model::Disk::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Disk.h:293
Aws::Lightsail::Model::Disk::SetAttachedTo
void SetAttachedTo(Aws::String &&value)
Definition: Disk.h:542
Aws::Lightsail::Model::AddOn
Definition: AddOn.h:33
Aws::Lightsail::Model::Disk::GetSupportCode
const Aws::String & GetSupportCode() const
Definition: Disk.h:134
Aws::Lightsail::Model::Disk::WithState
Disk & WithState(DiskState &&value)
Definition: Disk.h:521
Aws::Lightsail::Model::Disk::SetSizeInGb
void SetSizeInGb(int value)
Definition: Disk.h:398
Aws::Lightsail::Model::Disk::PathHasBeenSet
bool PathHasBeenSet() const
Definition: Disk.h:460
Aws::Lightsail::Model::Disk::WithAddOns
Disk & WithAddOns(const Aws::Vector< AddOn > &value)
Definition: Disk.h:367
Aws::Lightsail::Model::Disk::SetSupportCode
void SetSupportCode(const char *value)
Definition: Disk.h:162