AWS SDK for C++  1.9.108
AWS SDK for C++
DiskSnapshot.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace Lightsail
28 {
29 namespace Model
30 {
31 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetName() const{ return m_name; }
50 
54  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 
59  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 
64  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 
69  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 
74  inline DiskSnapshot& WithName(const Aws::String& value) { SetName(value); return *this;}
75 
79  inline DiskSnapshot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 
84  inline DiskSnapshot& WithName(const char* value) { SetName(value); return *this;}
85 
86 
90  inline const Aws::String& GetArn() const{ return m_arn; }
91 
95  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
96 
100  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
101 
105  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
106 
110  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
111 
115  inline DiskSnapshot& WithArn(const Aws::String& value) { SetArn(value); return *this;}
116 
120  inline DiskSnapshot& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
121 
125  inline DiskSnapshot& WithArn(const char* value) { SetArn(value); return *this;}
126 
127 
133  inline const Aws::String& GetSupportCode() const{ return m_supportCode; }
134 
140  inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; }
141 
147  inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; }
148 
154  inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); }
155 
161  inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); }
162 
168  inline DiskSnapshot& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;}
169 
175  inline DiskSnapshot& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;}
176 
182  inline DiskSnapshot& WithSupportCode(const char* value) { SetSupportCode(value); return *this;}
183 
184 
188  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
189 
193  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
194 
198  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
199 
203  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
204 
208  inline DiskSnapshot& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
209 
213  inline DiskSnapshot& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
214 
215 
219  inline const ResourceLocation& GetLocation() const{ return m_location; }
220 
224  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
225 
229  inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; }
230 
234  inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
235 
239  inline DiskSnapshot& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;}
240 
244  inline DiskSnapshot& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;}
245 
246 
250  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
251 
255  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
256 
260  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
261 
265  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
266 
270  inline DiskSnapshot& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
271 
275  inline DiskSnapshot& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
276 
277 
284  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
285 
292  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
293 
300  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
301 
308  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
309 
316  inline DiskSnapshot& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
317 
324  inline DiskSnapshot& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
325 
332  inline DiskSnapshot& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
333 
340  inline DiskSnapshot& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
341 
342 
346  inline int GetSizeInGb() const{ return m_sizeInGb; }
347 
351  inline bool SizeInGbHasBeenSet() const { return m_sizeInGbHasBeenSet; }
352 
356  inline void SetSizeInGb(int value) { m_sizeInGbHasBeenSet = true; m_sizeInGb = value; }
357 
361  inline DiskSnapshot& WithSizeInGb(int value) { SetSizeInGb(value); return *this;}
362 
363 
367  inline const DiskSnapshotState& GetState() const{ return m_state; }
368 
372  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
373 
377  inline void SetState(const DiskSnapshotState& value) { m_stateHasBeenSet = true; m_state = value; }
378 
382  inline void SetState(DiskSnapshotState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
383 
387  inline DiskSnapshot& WithState(const DiskSnapshotState& value) { SetState(value); return *this;}
388 
392  inline DiskSnapshot& WithState(DiskSnapshotState&& value) { SetState(std::move(value)); return *this;}
393 
394 
398  inline const Aws::String& GetProgress() const{ return m_progress; }
399 
403  inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
404 
408  inline void SetProgress(const Aws::String& value) { m_progressHasBeenSet = true; m_progress = value; }
409 
413  inline void SetProgress(Aws::String&& value) { m_progressHasBeenSet = true; m_progress = std::move(value); }
414 
418  inline void SetProgress(const char* value) { m_progressHasBeenSet = true; m_progress.assign(value); }
419 
423  inline DiskSnapshot& WithProgress(const Aws::String& value) { SetProgress(value); return *this;}
424 
428  inline DiskSnapshot& WithProgress(Aws::String&& value) { SetProgress(std::move(value)); return *this;}
429 
433  inline DiskSnapshot& WithProgress(const char* value) { SetProgress(value); return *this;}
434 
435 
440  inline const Aws::String& GetFromDiskName() const{ return m_fromDiskName; }
441 
446  inline bool FromDiskNameHasBeenSet() const { return m_fromDiskNameHasBeenSet; }
447 
452  inline void SetFromDiskName(const Aws::String& value) { m_fromDiskNameHasBeenSet = true; m_fromDiskName = value; }
453 
458  inline void SetFromDiskName(Aws::String&& value) { m_fromDiskNameHasBeenSet = true; m_fromDiskName = std::move(value); }
459 
464  inline void SetFromDiskName(const char* value) { m_fromDiskNameHasBeenSet = true; m_fromDiskName.assign(value); }
465 
470  inline DiskSnapshot& WithFromDiskName(const Aws::String& value) { SetFromDiskName(value); return *this;}
471 
476  inline DiskSnapshot& WithFromDiskName(Aws::String&& value) { SetFromDiskName(std::move(value)); return *this;}
477 
482  inline DiskSnapshot& WithFromDiskName(const char* value) { SetFromDiskName(value); return *this;}
483 
484 
489  inline const Aws::String& GetFromDiskArn() const{ return m_fromDiskArn; }
490 
495  inline bool FromDiskArnHasBeenSet() const { return m_fromDiskArnHasBeenSet; }
496 
501  inline void SetFromDiskArn(const Aws::String& value) { m_fromDiskArnHasBeenSet = true; m_fromDiskArn = value; }
502 
507  inline void SetFromDiskArn(Aws::String&& value) { m_fromDiskArnHasBeenSet = true; m_fromDiskArn = std::move(value); }
508 
513  inline void SetFromDiskArn(const char* value) { m_fromDiskArnHasBeenSet = true; m_fromDiskArn.assign(value); }
514 
519  inline DiskSnapshot& WithFromDiskArn(const Aws::String& value) { SetFromDiskArn(value); return *this;}
520 
525  inline DiskSnapshot& WithFromDiskArn(Aws::String&& value) { SetFromDiskArn(std::move(value)); return *this;}
526 
531  inline DiskSnapshot& WithFromDiskArn(const char* value) { SetFromDiskArn(value); return *this;}
532 
533 
538  inline const Aws::String& GetFromInstanceName() const{ return m_fromInstanceName; }
539 
544  inline bool FromInstanceNameHasBeenSet() const { return m_fromInstanceNameHasBeenSet; }
545 
550  inline void SetFromInstanceName(const Aws::String& value) { m_fromInstanceNameHasBeenSet = true; m_fromInstanceName = value; }
551 
556  inline void SetFromInstanceName(Aws::String&& value) { m_fromInstanceNameHasBeenSet = true; m_fromInstanceName = std::move(value); }
557 
562  inline void SetFromInstanceName(const char* value) { m_fromInstanceNameHasBeenSet = true; m_fromInstanceName.assign(value); }
563 
568  inline DiskSnapshot& WithFromInstanceName(const Aws::String& value) { SetFromInstanceName(value); return *this;}
569 
574  inline DiskSnapshot& WithFromInstanceName(Aws::String&& value) { SetFromInstanceName(std::move(value)); return *this;}
575 
580  inline DiskSnapshot& WithFromInstanceName(const char* value) { SetFromInstanceName(value); return *this;}
581 
582 
587  inline const Aws::String& GetFromInstanceArn() const{ return m_fromInstanceArn; }
588 
593  inline bool FromInstanceArnHasBeenSet() const { return m_fromInstanceArnHasBeenSet; }
594 
599  inline void SetFromInstanceArn(const Aws::String& value) { m_fromInstanceArnHasBeenSet = true; m_fromInstanceArn = value; }
600 
605  inline void SetFromInstanceArn(Aws::String&& value) { m_fromInstanceArnHasBeenSet = true; m_fromInstanceArn = std::move(value); }
606 
611  inline void SetFromInstanceArn(const char* value) { m_fromInstanceArnHasBeenSet = true; m_fromInstanceArn.assign(value); }
612 
617  inline DiskSnapshot& WithFromInstanceArn(const Aws::String& value) { SetFromInstanceArn(value); return *this;}
618 
623  inline DiskSnapshot& WithFromInstanceArn(Aws::String&& value) { SetFromInstanceArn(std::move(value)); return *this;}
624 
629  inline DiskSnapshot& WithFromInstanceArn(const char* value) { SetFromInstanceArn(value); return *this;}
630 
631 
636  inline bool GetIsFromAutoSnapshot() const{ return m_isFromAutoSnapshot; }
637 
642  inline bool IsFromAutoSnapshotHasBeenSet() const { return m_isFromAutoSnapshotHasBeenSet; }
643 
648  inline void SetIsFromAutoSnapshot(bool value) { m_isFromAutoSnapshotHasBeenSet = true; m_isFromAutoSnapshot = value; }
649 
654  inline DiskSnapshot& WithIsFromAutoSnapshot(bool value) { SetIsFromAutoSnapshot(value); return *this;}
655 
656  private:
657 
658  Aws::String m_name;
659  bool m_nameHasBeenSet;
660 
661  Aws::String m_arn;
662  bool m_arnHasBeenSet;
663 
664  Aws::String m_supportCode;
665  bool m_supportCodeHasBeenSet;
666 
667  Aws::Utils::DateTime m_createdAt;
668  bool m_createdAtHasBeenSet;
669 
670  ResourceLocation m_location;
671  bool m_locationHasBeenSet;
672 
673  ResourceType m_resourceType;
674  bool m_resourceTypeHasBeenSet;
675 
676  Aws::Vector<Tag> m_tags;
677  bool m_tagsHasBeenSet;
678 
679  int m_sizeInGb;
680  bool m_sizeInGbHasBeenSet;
681 
682  DiskSnapshotState m_state;
683  bool m_stateHasBeenSet;
684 
685  Aws::String m_progress;
686  bool m_progressHasBeenSet;
687 
688  Aws::String m_fromDiskName;
689  bool m_fromDiskNameHasBeenSet;
690 
691  Aws::String m_fromDiskArn;
692  bool m_fromDiskArnHasBeenSet;
693 
694  Aws::String m_fromInstanceName;
695  bool m_fromInstanceNameHasBeenSet;
696 
697  Aws::String m_fromInstanceArn;
698  bool m_fromInstanceArnHasBeenSet;
699 
700  bool m_isFromAutoSnapshot;
701  bool m_isFromAutoSnapshotHasBeenSet;
702  };
703 
704 } // namespace Model
705 } // namespace Lightsail
706 } // namespace Aws
Aws::Lightsail::Model::DiskSnapshot::WithFromDiskName
DiskSnapshot & WithFromDiskName(const Aws::String &value)
Definition: DiskSnapshot.h:470
Aws::Lightsail::Model::DiskSnapshot::WithArn
DiskSnapshot & WithArn(const Aws::String &value)
Definition: DiskSnapshot.h:115
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lightsail::Model::DiskSnapshot::WithArn
DiskSnapshot & WithArn(Aws::String &&value)
Definition: DiskSnapshot.h:120
DiskSnapshotState.h
Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceName
DiskSnapshot & WithFromInstanceName(const Aws::String &value)
Definition: DiskSnapshot.h:568
Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceArn
void SetFromInstanceArn(const Aws::String &value)
Definition: DiskSnapshot.h:599
Aws::Lightsail::Model::DiskSnapshot::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: DiskSnapshot.h:265
Aws::Lightsail::Model::DiskSnapshot::WithName
DiskSnapshot & WithName(const char *value)
Definition: DiskSnapshot.h:84
Aws::Lightsail::Model::DiskSnapshot::WithName
DiskSnapshot & WithName(const Aws::String &value)
Definition: DiskSnapshot.h:74
Aws::Lightsail::Model::DiskSnapshot::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DiskSnapshot.h:54
Aws::Lightsail::Model::DiskSnapshot::SetSizeInGb
void SetSizeInGb(int value)
Definition: DiskSnapshot.h:356
Aws::Lightsail::Model::DiskSnapshot::WithCreatedAt
DiskSnapshot & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: DiskSnapshot.h:213
Aws::Lightsail::Model::DiskSnapshot::FromInstanceArnHasBeenSet
bool FromInstanceArnHasBeenSet() const
Definition: DiskSnapshot.h:593
ResourceType.h
Aws::Lightsail::Model::DiskSnapshot::WithTags
DiskSnapshot & WithTags(const Aws::Vector< Tag > &value)
Definition: DiskSnapshot.h:316
Aws::Lightsail::Model::DiskSnapshot::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: DiskSnapshot.h:300
Aws::Lightsail::Model::DiskSnapshot::WithResourceType
DiskSnapshot & WithResourceType(ResourceType &&value)
Definition: DiskSnapshot.h:275
Aws::Lightsail::Model::DiskSnapshot::GetName
const Aws::String & GetName() const
Definition: DiskSnapshot.h:49
Aws::Lightsail::Model::DiskSnapshot::WithFromDiskArn
DiskSnapshot & WithFromDiskArn(const char *value)
Definition: DiskSnapshot.h:531
Aws::Lightsail::Model::DiskSnapshot::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: DiskSnapshot.h:193
Aws::Lightsail::Model::DiskSnapshot::SetFromDiskName
void SetFromDiskName(const char *value)
Definition: DiskSnapshot.h:464
Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceName
void SetFromInstanceName(const char *value)
Definition: DiskSnapshot.h:562
Aws::Lightsail::Model::DiskSnapshot::SetArn
void SetArn(Aws::String &&value)
Definition: DiskSnapshot.h:105
Aws::Lightsail::Model::DiskSnapshot::WithSupportCode
DiskSnapshot & WithSupportCode(const Aws::String &value)
Definition: DiskSnapshot.h:168
Aws::Lightsail::Model::DiskSnapshot::GetFromDiskArn
const Aws::String & GetFromDiskArn() const
Definition: DiskSnapshot.h:489
DateTime.h
Aws::Lightsail::Model::DiskSnapshot::WithFromDiskName
DiskSnapshot & WithFromDiskName(const char *value)
Definition: DiskSnapshot.h:482
Aws::Lightsail::Model::DiskSnapshot::SizeInGbHasBeenSet
bool SizeInGbHasBeenSet() const
Definition: DiskSnapshot.h:351
Aws::Lightsail::Model::DiskSnapshot::WithSizeInGb
DiskSnapshot & WithSizeInGb(int value)
Definition: DiskSnapshot.h:361
Aws::Lightsail::Model::DiskSnapshot::SetLocation
void SetLocation(const ResourceLocation &value)
Definition: DiskSnapshot.h:229
Aws::Lightsail::Model::DiskSnapshot::WithProgress
DiskSnapshot & WithProgress(const Aws::String &value)
Definition: DiskSnapshot.h:423
Aws::Lightsail::Model::DiskSnapshot::WithState
DiskSnapshot & WithState(DiskSnapshotState &&value)
Definition: DiskSnapshot.h:392
Aws::Lightsail::Model::DiskSnapshot::WithFromDiskName
DiskSnapshot & WithFromDiskName(Aws::String &&value)
Definition: DiskSnapshot.h:476
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::DiskSnapshot::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: DiskSnapshot.h:203
Aws::Lightsail::Model::DiskSnapshot::GetResourceType
const ResourceType & GetResourceType() const
Definition: DiskSnapshot.h:250
Aws::Lightsail::Model::DiskSnapshot::SetSupportCode
void SetSupportCode(const Aws::String &value)
Definition: DiskSnapshot.h:147
Aws::Lightsail::Model::DiskSnapshot::SetState
void SetState(const DiskSnapshotState &value)
Definition: DiskSnapshot.h:377
Aws::Lightsail::Model::DiskSnapshot::GetIsFromAutoSnapshot
bool GetIsFromAutoSnapshot() const
Definition: DiskSnapshot.h:636
AWSVector.h
Aws::Lightsail::Model::DiskSnapshot::SetName
void SetName(const Aws::String &value)
Definition: DiskSnapshot.h:59
Aws::Lightsail::Model::DiskSnapshot::FromDiskArnHasBeenSet
bool FromDiskArnHasBeenSet() const
Definition: DiskSnapshot.h:495
Aws::Lightsail::Model::DiskSnapshot::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: DiskSnapshot.h:224
Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceArn
DiskSnapshot & WithFromInstanceArn(const Aws::String &value)
Definition: DiskSnapshot.h:617
Aws::Lightsail::Model::DiskSnapshot::SetLocation
void SetLocation(ResourceLocation &&value)
Definition: DiskSnapshot.h:234
Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceArn
DiskSnapshot & WithFromInstanceArn(Aws::String &&value)
Definition: DiskSnapshot.h:623
Aws::Lightsail::Model::DiskSnapshot::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: DiskSnapshot.h:260
Aws::Lightsail::Model::DiskSnapshot::SetProgress
void SetProgress(const char *value)
Definition: DiskSnapshot.h:418
Aws::Lightsail::Model::DiskSnapshot::GetProgress
const Aws::String & GetProgress() const
Definition: DiskSnapshot.h:398
Aws::Lightsail::Model::DiskSnapshot::SetFromDiskArn
void SetFromDiskArn(const char *value)
Definition: DiskSnapshot.h:513
Aws::Lightsail::Model::DiskSnapshot::SetFromDiskArn
void SetFromDiskArn(const Aws::String &value)
Definition: DiskSnapshot.h:501
Aws::Lightsail::Model::DiskSnapshot::GetArn
const Aws::String & GetArn() const
Definition: DiskSnapshot.h:90
Aws::Lightsail::Model::DiskSnapshot::GetFromInstanceArn
const Aws::String & GetFromInstanceArn() const
Definition: DiskSnapshot.h:587
Aws::Lightsail::Model::DiskSnapshot::WithSupportCode
DiskSnapshot & WithSupportCode(Aws::String &&value)
Definition: DiskSnapshot.h:175
Aws::Lightsail::Model::DiskSnapshot::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::DiskSnapshot::WithLocation
DiskSnapshot & WithLocation(ResourceLocation &&value)
Definition: DiskSnapshot.h:244
Aws::Lightsail::Model::DiskSnapshot::AddTags
DiskSnapshot & AddTags(const Tag &value)
Definition: DiskSnapshot.h:332
Aws::Lightsail::Model::DiskSnapshot::DiskSnapshot
DiskSnapshot(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::DiskSnapshot::SetName
void SetName(Aws::String &&value)
Definition: DiskSnapshot.h:64
Aws::Lightsail::Model::DiskSnapshot::WithProgress
DiskSnapshot & WithProgress(Aws::String &&value)
Definition: DiskSnapshot.h:428
Tag.h
Aws::Lightsail::Model::ResourceLocation
Definition: ResourceLocation.h:33
Aws::Lightsail::Model::DiskSnapshot::GetSupportCode
const Aws::String & GetSupportCode() const
Definition: DiskSnapshot.h:133
Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceName
DiskSnapshot & WithFromInstanceName(const char *value)
Definition: DiskSnapshot.h:580
Aws::Lightsail::Model::DiskSnapshot::DiskSnapshot
DiskSnapshot()
Aws::Lightsail::Model::DiskSnapshot::AddTags
DiskSnapshot & AddTags(Tag &&value)
Definition: DiskSnapshot.h:340
Aws::Lightsail::Model::DiskSnapshot::SetIsFromAutoSnapshot
void SetIsFromAutoSnapshot(bool value)
Definition: DiskSnapshot.h:648
Aws::Lightsail::Model::DiskSnapshot::WithTags
DiskSnapshot & WithTags(Aws::Vector< Tag > &&value)
Definition: DiskSnapshot.h:324
Aws::Lightsail::Model::DiskSnapshot::SupportCodeHasBeenSet
bool SupportCodeHasBeenSet() const
Definition: DiskSnapshot.h:140
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lightsail::Model::Tag
Definition: Tag.h:35
Aws::Lightsail::Model::DiskSnapshot::WithState
DiskSnapshot & WithState(const DiskSnapshotState &value)
Definition: DiskSnapshot.h:387
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceArn
void SetFromInstanceArn(const char *value)
Definition: DiskSnapshot.h:611
Aws::Lightsail::Model::DiskSnapshot::WithProgress
DiskSnapshot & WithProgress(const char *value)
Definition: DiskSnapshot.h:433
Aws::Lightsail::Model::DiskSnapshot::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: DiskSnapshot.h:95
Aws::Lightsail::Model::DiskSnapshot::IsFromAutoSnapshotHasBeenSet
bool IsFromAutoSnapshotHasBeenSet() const
Definition: DiskSnapshot.h:642
Aws::Lightsail::Model::DiskSnapshot::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: DiskSnapshot.h:292
Aws::Lightsail::Model::DiskSnapshot::WithArn
DiskSnapshot & WithArn(const char *value)
Definition: DiskSnapshot.h:125
Lightsail_EXPORTS.h
Aws::Lightsail::Model::DiskSnapshot::GetLocation
const ResourceLocation & GetLocation() const
Definition: DiskSnapshot.h:219
Aws::Lightsail::Model::DiskSnapshot::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: DiskSnapshot.h:188
Aws::Lightsail::Model::DiskSnapshot::SetFromDiskName
void SetFromDiskName(const Aws::String &value)
Definition: DiskSnapshot.h:452
Aws::Lightsail::Model::DiskSnapshot::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: DiskSnapshot.h:308
Aws::Lightsail::Model::DiskSnapshot::SetProgress
void SetProgress(Aws::String &&value)
Definition: DiskSnapshot.h:413
Aws::Lightsail::Model::DiskSnapshot::GetState
const DiskSnapshotState & GetState() const
Definition: DiskSnapshot.h:367
Aws::Lightsail::Model::DiskSnapshot::SetSupportCode
void SetSupportCode(const char *value)
Definition: DiskSnapshot.h:161
Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceName
void SetFromInstanceName(const Aws::String &value)
Definition: DiskSnapshot.h:550
Aws::Lightsail::Model::DiskSnapshot
Definition: DiskSnapshot.h:38
Aws::Lightsail::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
ResourceLocation.h
Aws::Lightsail::Model::DiskSnapshot::WithName
DiskSnapshot & WithName(Aws::String &&value)
Definition: DiskSnapshot.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceName
DiskSnapshot & WithFromInstanceName(Aws::String &&value)
Definition: DiskSnapshot.h:574
Aws::Lightsail::Model::DiskSnapshot::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: DiskSnapshot.h:198
Aws::Lightsail::Model::DiskSnapshot::GetFromDiskName
const Aws::String & GetFromDiskName() const
Definition: DiskSnapshot.h:440
Aws::Lightsail::Model::DiskSnapshot::GetSizeInGb
int GetSizeInGb() const
Definition: DiskSnapshot.h:346
Aws::Lightsail::Model::DiskSnapshotState
DiskSnapshotState
Definition: DiskSnapshotState.h:17
Aws::Lightsail::Model::DiskSnapshot::SetProgress
void SetProgress(const Aws::String &value)
Definition: DiskSnapshot.h:408
Aws::Lightsail::Model::DiskSnapshot::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: DiskSnapshot.h:284
Aws::Lightsail::Model::DiskSnapshot::WithResourceType
DiskSnapshot & WithResourceType(const ResourceType &value)
Definition: DiskSnapshot.h:270
Aws::Lightsail::Model::DiskSnapshot::SetFromDiskArn
void SetFromDiskArn(Aws::String &&value)
Definition: DiskSnapshot.h:507
Aws::Lightsail::Model::DiskSnapshot::WithFromDiskArn
DiskSnapshot & WithFromDiskArn(Aws::String &&value)
Definition: DiskSnapshot.h:525
Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceName
void SetFromInstanceName(Aws::String &&value)
Definition: DiskSnapshot.h:556
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::DiskSnapshot::SetFromDiskName
void SetFromDiskName(Aws::String &&value)
Definition: DiskSnapshot.h:458
Aws::Lightsail::Model::DiskSnapshot::FromInstanceNameHasBeenSet
bool FromInstanceNameHasBeenSet() const
Definition: DiskSnapshot.h:544
Aws::Lightsail::Model::DiskSnapshot::SetName
void SetName(const char *value)
Definition: DiskSnapshot.h:69
Aws::Lightsail::Model::DiskSnapshot::WithFromInstanceArn
DiskSnapshot & WithFromInstanceArn(const char *value)
Definition: DiskSnapshot.h:629
Aws::Lightsail::Model::DiskSnapshot::SetFromInstanceArn
void SetFromInstanceArn(Aws::String &&value)
Definition: DiskSnapshot.h:605
Aws::Lightsail::Model::DiskSnapshot::FromDiskNameHasBeenSet
bool FromDiskNameHasBeenSet() const
Definition: DiskSnapshot.h:446
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::DiskSnapshot::ProgressHasBeenSet
bool ProgressHasBeenSet() const
Definition: DiskSnapshot.h:403
Aws::Lightsail::Model::DiskSnapshot::SetState
void SetState(DiskSnapshotState &&value)
Definition: DiskSnapshot.h:382
Aws::Lightsail::Model::DiskSnapshot::SetSupportCode
void SetSupportCode(Aws::String &&value)
Definition: DiskSnapshot.h:154
Aws::Lightsail::Model::DiskSnapshot::StateHasBeenSet
bool StateHasBeenSet() const
Definition: DiskSnapshot.h:372
Aws::Lightsail::Model::DiskSnapshot::GetFromInstanceName
const Aws::String & GetFromInstanceName() const
Definition: DiskSnapshot.h:538
Aws::Lightsail::Model::DiskSnapshot::operator=
DiskSnapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::DiskSnapshot::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: DiskSnapshot.h:255
Aws::Lightsail::Model::DiskSnapshot::SetArn
void SetArn(const Aws::String &value)
Definition: DiskSnapshot.h:100
Aws::Lightsail::Model::DiskSnapshot::SetArn
void SetArn(const char *value)
Definition: DiskSnapshot.h:110
Aws::Lightsail::Model::DiskSnapshot::WithIsFromAutoSnapshot
DiskSnapshot & WithIsFromAutoSnapshot(bool value)
Definition: DiskSnapshot.h:654
Aws::Lightsail::Model::DiskSnapshot::WithLocation
DiskSnapshot & WithLocation(const ResourceLocation &value)
Definition: DiskSnapshot.h:239
Aws::Lightsail::Model::DiskSnapshot::WithSupportCode
DiskSnapshot & WithSupportCode(const char *value)
Definition: DiskSnapshot.h:182
Aws::Lightsail::Model::DiskSnapshot::WithCreatedAt
DiskSnapshot & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: DiskSnapshot.h:208
Aws::Lightsail::Model::DiskSnapshot::WithFromDiskArn
DiskSnapshot & WithFromDiskArn(const Aws::String &value)
Definition: DiskSnapshot.h:519