AWS SDK for C++  1.9.102
AWS SDK for C++
InstanceSnapshot.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:
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 InstanceSnapshot& WithName(const Aws::String& value) { SetName(value); return *this;}
76 
80  inline InstanceSnapshot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 
85  inline InstanceSnapshot& WithName(const char* value) { SetName(value); return *this;}
86 
87 
92  inline const Aws::String& GetArn() const{ return m_arn; }
93 
98  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
99 
104  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
105 
110  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
111 
116  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
117 
122  inline InstanceSnapshot& WithArn(const Aws::String& value) { SetArn(value); return *this;}
123 
128  inline InstanceSnapshot& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
129 
134  inline InstanceSnapshot& WithArn(const char* value) { SetArn(value); return *this;}
135 
136 
142  inline const Aws::String& GetSupportCode() const{ return m_supportCode; }
143 
149  inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; }
150 
156  inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; }
157 
163  inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); }
164 
170  inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); }
171 
177  inline InstanceSnapshot& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;}
178 
184  inline InstanceSnapshot& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;}
185 
191  inline InstanceSnapshot& WithSupportCode(const char* value) { SetSupportCode(value); return *this;}
192 
193 
198  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
199 
204  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
205 
210  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
211 
216  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
217 
222  inline InstanceSnapshot& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
223 
228  inline InstanceSnapshot& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
229 
230 
234  inline const ResourceLocation& GetLocation() const{ return m_location; }
235 
239  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
240 
244  inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; }
245 
249  inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
250 
254  inline InstanceSnapshot& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;}
255 
259  inline InstanceSnapshot& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;}
260 
261 
265  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
266 
270  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
271 
275  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
276 
280  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
281 
285  inline InstanceSnapshot& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
286 
290  inline InstanceSnapshot& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
291 
292 
299  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
300 
307  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
308 
315  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
316 
323  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
324 
331  inline InstanceSnapshot& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
332 
339  inline InstanceSnapshot& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
340 
347  inline InstanceSnapshot& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
348 
355  inline InstanceSnapshot& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
356 
357 
361  inline const InstanceSnapshotState& GetState() const{ return m_state; }
362 
366  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
367 
371  inline void SetState(const InstanceSnapshotState& value) { m_stateHasBeenSet = true; m_state = value; }
372 
376  inline void SetState(InstanceSnapshotState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
377 
381  inline InstanceSnapshot& WithState(const InstanceSnapshotState& value) { SetState(value); return *this;}
382 
386  inline InstanceSnapshot& WithState(InstanceSnapshotState&& value) { SetState(std::move(value)); return *this;}
387 
388 
393  inline const Aws::String& GetProgress() const{ return m_progress; }
394 
399  inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
400 
405  inline void SetProgress(const Aws::String& value) { m_progressHasBeenSet = true; m_progress = value; }
406 
411  inline void SetProgress(Aws::String&& value) { m_progressHasBeenSet = true; m_progress = std::move(value); }
412 
417  inline void SetProgress(const char* value) { m_progressHasBeenSet = true; m_progress.assign(value); }
418 
423  inline InstanceSnapshot& WithProgress(const Aws::String& value) { SetProgress(value); return *this;}
424 
429  inline InstanceSnapshot& WithProgress(Aws::String&& value) { SetProgress(std::move(value)); return *this;}
430 
435  inline InstanceSnapshot& WithProgress(const char* value) { SetProgress(value); return *this;}
436 
437 
442  inline const Aws::Vector<Disk>& GetFromAttachedDisks() const{ return m_fromAttachedDisks; }
443 
448  inline bool FromAttachedDisksHasBeenSet() const { return m_fromAttachedDisksHasBeenSet; }
449 
454  inline void SetFromAttachedDisks(const Aws::Vector<Disk>& value) { m_fromAttachedDisksHasBeenSet = true; m_fromAttachedDisks = value; }
455 
460  inline void SetFromAttachedDisks(Aws::Vector<Disk>&& value) { m_fromAttachedDisksHasBeenSet = true; m_fromAttachedDisks = std::move(value); }
461 
466  inline InstanceSnapshot& WithFromAttachedDisks(const Aws::Vector<Disk>& value) { SetFromAttachedDisks(value); return *this;}
467 
472  inline InstanceSnapshot& WithFromAttachedDisks(Aws::Vector<Disk>&& value) { SetFromAttachedDisks(std::move(value)); return *this;}
473 
478  inline InstanceSnapshot& AddFromAttachedDisks(const Disk& value) { m_fromAttachedDisksHasBeenSet = true; m_fromAttachedDisks.push_back(value); return *this; }
479 
484  inline InstanceSnapshot& AddFromAttachedDisks(Disk&& value) { m_fromAttachedDisksHasBeenSet = true; m_fromAttachedDisks.push_back(std::move(value)); return *this; }
485 
486 
490  inline const Aws::String& GetFromInstanceName() const{ return m_fromInstanceName; }
491 
495  inline bool FromInstanceNameHasBeenSet() const { return m_fromInstanceNameHasBeenSet; }
496 
500  inline void SetFromInstanceName(const Aws::String& value) { m_fromInstanceNameHasBeenSet = true; m_fromInstanceName = value; }
501 
505  inline void SetFromInstanceName(Aws::String&& value) { m_fromInstanceNameHasBeenSet = true; m_fromInstanceName = std::move(value); }
506 
510  inline void SetFromInstanceName(const char* value) { m_fromInstanceNameHasBeenSet = true; m_fromInstanceName.assign(value); }
511 
515  inline InstanceSnapshot& WithFromInstanceName(const Aws::String& value) { SetFromInstanceName(value); return *this;}
516 
520  inline InstanceSnapshot& WithFromInstanceName(Aws::String&& value) { SetFromInstanceName(std::move(value)); return *this;}
521 
525  inline InstanceSnapshot& WithFromInstanceName(const char* value) { SetFromInstanceName(value); return *this;}
526 
527 
533  inline const Aws::String& GetFromInstanceArn() const{ return m_fromInstanceArn; }
534 
540  inline bool FromInstanceArnHasBeenSet() const { return m_fromInstanceArnHasBeenSet; }
541 
547  inline void SetFromInstanceArn(const Aws::String& value) { m_fromInstanceArnHasBeenSet = true; m_fromInstanceArn = value; }
548 
554  inline void SetFromInstanceArn(Aws::String&& value) { m_fromInstanceArnHasBeenSet = true; m_fromInstanceArn = std::move(value); }
555 
561  inline void SetFromInstanceArn(const char* value) { m_fromInstanceArnHasBeenSet = true; m_fromInstanceArn.assign(value); }
562 
568  inline InstanceSnapshot& WithFromInstanceArn(const Aws::String& value) { SetFromInstanceArn(value); return *this;}
569 
575  inline InstanceSnapshot& WithFromInstanceArn(Aws::String&& value) { SetFromInstanceArn(std::move(value)); return *this;}
576 
582  inline InstanceSnapshot& WithFromInstanceArn(const char* value) { SetFromInstanceArn(value); return *this;}
583 
584 
590  inline const Aws::String& GetFromBlueprintId() const{ return m_fromBlueprintId; }
591 
597  inline bool FromBlueprintIdHasBeenSet() const { return m_fromBlueprintIdHasBeenSet; }
598 
604  inline void SetFromBlueprintId(const Aws::String& value) { m_fromBlueprintIdHasBeenSet = true; m_fromBlueprintId = value; }
605 
611  inline void SetFromBlueprintId(Aws::String&& value) { m_fromBlueprintIdHasBeenSet = true; m_fromBlueprintId = std::move(value); }
612 
618  inline void SetFromBlueprintId(const char* value) { m_fromBlueprintIdHasBeenSet = true; m_fromBlueprintId.assign(value); }
619 
625  inline InstanceSnapshot& WithFromBlueprintId(const Aws::String& value) { SetFromBlueprintId(value); return *this;}
626 
632  inline InstanceSnapshot& WithFromBlueprintId(Aws::String&& value) { SetFromBlueprintId(std::move(value)); return *this;}
633 
639  inline InstanceSnapshot& WithFromBlueprintId(const char* value) { SetFromBlueprintId(value); return *this;}
640 
641 
646  inline const Aws::String& GetFromBundleId() const{ return m_fromBundleId; }
647 
652  inline bool FromBundleIdHasBeenSet() const { return m_fromBundleIdHasBeenSet; }
653 
658  inline void SetFromBundleId(const Aws::String& value) { m_fromBundleIdHasBeenSet = true; m_fromBundleId = value; }
659 
664  inline void SetFromBundleId(Aws::String&& value) { m_fromBundleIdHasBeenSet = true; m_fromBundleId = std::move(value); }
665 
670  inline void SetFromBundleId(const char* value) { m_fromBundleIdHasBeenSet = true; m_fromBundleId.assign(value); }
671 
676  inline InstanceSnapshot& WithFromBundleId(const Aws::String& value) { SetFromBundleId(value); return *this;}
677 
682  inline InstanceSnapshot& WithFromBundleId(Aws::String&& value) { SetFromBundleId(std::move(value)); return *this;}
683 
688  inline InstanceSnapshot& WithFromBundleId(const char* value) { SetFromBundleId(value); return *this;}
689 
690 
695  inline bool GetIsFromAutoSnapshot() const{ return m_isFromAutoSnapshot; }
696 
701  inline bool IsFromAutoSnapshotHasBeenSet() const { return m_isFromAutoSnapshotHasBeenSet; }
702 
707  inline void SetIsFromAutoSnapshot(bool value) { m_isFromAutoSnapshotHasBeenSet = true; m_isFromAutoSnapshot = value; }
708 
713  inline InstanceSnapshot& WithIsFromAutoSnapshot(bool value) { SetIsFromAutoSnapshot(value); return *this;}
714 
715 
719  inline int GetSizeInGb() const{ return m_sizeInGb; }
720 
724  inline bool SizeInGbHasBeenSet() const { return m_sizeInGbHasBeenSet; }
725 
729  inline void SetSizeInGb(int value) { m_sizeInGbHasBeenSet = true; m_sizeInGb = value; }
730 
734  inline InstanceSnapshot& WithSizeInGb(int value) { SetSizeInGb(value); return *this;}
735 
736  private:
737 
738  Aws::String m_name;
739  bool m_nameHasBeenSet;
740 
741  Aws::String m_arn;
742  bool m_arnHasBeenSet;
743 
744  Aws::String m_supportCode;
745  bool m_supportCodeHasBeenSet;
746 
747  Aws::Utils::DateTime m_createdAt;
748  bool m_createdAtHasBeenSet;
749 
750  ResourceLocation m_location;
751  bool m_locationHasBeenSet;
752 
753  ResourceType m_resourceType;
754  bool m_resourceTypeHasBeenSet;
755 
756  Aws::Vector<Tag> m_tags;
757  bool m_tagsHasBeenSet;
758 
759  InstanceSnapshotState m_state;
760  bool m_stateHasBeenSet;
761 
762  Aws::String m_progress;
763  bool m_progressHasBeenSet;
764 
765  Aws::Vector<Disk> m_fromAttachedDisks;
766  bool m_fromAttachedDisksHasBeenSet;
767 
768  Aws::String m_fromInstanceName;
769  bool m_fromInstanceNameHasBeenSet;
770 
771  Aws::String m_fromInstanceArn;
772  bool m_fromInstanceArnHasBeenSet;
773 
774  Aws::String m_fromBlueprintId;
775  bool m_fromBlueprintIdHasBeenSet;
776 
777  Aws::String m_fromBundleId;
778  bool m_fromBundleIdHasBeenSet;
779 
780  bool m_isFromAutoSnapshot;
781  bool m_isFromAutoSnapshotHasBeenSet;
782 
783  int m_sizeInGb;
784  bool m_sizeInGbHasBeenSet;
785  };
786 
787 } // namespace Model
788 } // namespace Lightsail
789 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lightsail::Model::InstanceSnapshot::WithSizeInGb
InstanceSnapshot & WithSizeInGb(int value)
Definition: InstanceSnapshot.h:734
Aws::Lightsail::Model::InstanceSnapshot::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: InstanceSnapshot.h:210
Aws::Lightsail::Model::InstanceSnapshot::SetSizeInGb
void SetSizeInGb(int value)
Definition: InstanceSnapshot.h:729
ResourceType.h
Aws::Lightsail::Model::InstanceSnapshot::WithResourceType
InstanceSnapshot & WithResourceType(ResourceType &&value)
Definition: InstanceSnapshot.h:290
Aws::Lightsail::Model::InstanceSnapshot::SetFromBundleId
void SetFromBundleId(Aws::String &&value)
Definition: InstanceSnapshot.h:664
Aws::Lightsail::Model::InstanceSnapshot::GetResourceType
const ResourceType & GetResourceType() const
Definition: InstanceSnapshot.h:265
Aws::Lightsail::Model::InstanceSnapshot::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: InstanceSnapshot.h:307
Aws::Lightsail::Model::InstanceSnapshot::WithProgress
InstanceSnapshot & WithProgress(const Aws::String &value)
Definition: InstanceSnapshot.h:423
Aws::Lightsail::Model::InstanceSnapshot::FromInstanceArnHasBeenSet
bool FromInstanceArnHasBeenSet() const
Definition: InstanceSnapshot.h:540
Aws::Lightsail::Model::InstanceSnapshot::FromInstanceNameHasBeenSet
bool FromInstanceNameHasBeenSet() const
Definition: InstanceSnapshot.h:495
Aws::Lightsail::Model::InstanceSnapshot::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::InstanceSnapshot::WithFromAttachedDisks
InstanceSnapshot & WithFromAttachedDisks(Aws::Vector< Disk > &&value)
Definition: InstanceSnapshot.h:472
Aws::Lightsail::Model::InstanceSnapshot::SetFromInstanceName
void SetFromInstanceName(const char *value)
Definition: InstanceSnapshot.h:510
Aws::Lightsail::Model::InstanceSnapshot::SupportCodeHasBeenSet
bool SupportCodeHasBeenSet() const
Definition: InstanceSnapshot.h:149
Aws::Lightsail::Model::InstanceSnapshot::WithProgress
InstanceSnapshot & WithProgress(Aws::String &&value)
Definition: InstanceSnapshot.h:429
Aws::Lightsail::Model::InstanceSnapshot::IsFromAutoSnapshotHasBeenSet
bool IsFromAutoSnapshotHasBeenSet() const
Definition: InstanceSnapshot.h:701
DateTime.h
Aws::Lightsail::Model::InstanceSnapshot::operator=
InstanceSnapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::InstanceSnapshot::SetFromInstanceArn
void SetFromInstanceArn(const Aws::String &value)
Definition: InstanceSnapshot.h:547
Aws::Lightsail::Model::InstanceSnapshot::WithState
InstanceSnapshot & WithState(InstanceSnapshotState &&value)
Definition: InstanceSnapshot.h:386
Aws::Lightsail::Model::InstanceSnapshot::SetFromBundleId
void SetFromBundleId(const Aws::String &value)
Definition: InstanceSnapshot.h:658
Aws::Lightsail::Model::InstanceSnapshot::WithFromInstanceName
InstanceSnapshot & WithFromInstanceName(const char *value)
Definition: InstanceSnapshot.h:525
Aws::Lightsail::Model::InstanceSnapshot::WithFromInstanceName
InstanceSnapshot & WithFromInstanceName(const Aws::String &value)
Definition: InstanceSnapshot.h:515
Aws::Lightsail::Model::InstanceSnapshot::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: InstanceSnapshot.h:299
Aws::Lightsail::Model::InstanceSnapshot::SetFromBundleId
void SetFromBundleId(const char *value)
Definition: InstanceSnapshot.h:670
Aws::Lightsail::Model::InstanceSnapshot::SetFromInstanceArn
void SetFromInstanceArn(Aws::String &&value)
Definition: InstanceSnapshot.h:554
Aws::Lightsail::Model::InstanceSnapshot::InstanceSnapshot
InstanceSnapshot()
Aws::Lightsail::Model::InstanceSnapshot::WithFromInstanceName
InstanceSnapshot & WithFromInstanceName(Aws::String &&value)
Definition: InstanceSnapshot.h:520
Aws::Lightsail::Model::InstanceSnapshot::GetFromInstanceArn
const Aws::String & GetFromInstanceArn() const
Definition: InstanceSnapshot.h:533
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::InstanceSnapshot::SetLocation
void SetLocation(const ResourceLocation &value)
Definition: InstanceSnapshot.h:244
Aws::Lightsail::Model::InstanceSnapshot::SetState
void SetState(InstanceSnapshotState &&value)
Definition: InstanceSnapshot.h:376
Aws::Lightsail::Model::InstanceSnapshot::AddFromAttachedDisks
InstanceSnapshot & AddFromAttachedDisks(Disk &&value)
Definition: InstanceSnapshot.h:484
Aws::Lightsail::Model::InstanceSnapshot::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: InstanceSnapshot.h:270
Disk.h
Aws::Lightsail::Model::InstanceSnapshot::WithFromBundleId
InstanceSnapshot & WithFromBundleId(const Aws::String &value)
Definition: InstanceSnapshot.h:676
Aws::Lightsail::Model::InstanceSnapshot::GetSupportCode
const Aws::String & GetSupportCode() const
Definition: InstanceSnapshot.h:142
Aws::Lightsail::Model::InstanceSnapshot::SetName
void SetName(const Aws::String &value)
Definition: InstanceSnapshot.h:60
AWSVector.h
Aws::Lightsail::Model::InstanceSnapshot::WithName
InstanceSnapshot & WithName(Aws::String &&value)
Definition: InstanceSnapshot.h:80
Aws::Lightsail::Model::InstanceSnapshot::SetLocation
void SetLocation(ResourceLocation &&value)
Definition: InstanceSnapshot.h:249
Aws::Lightsail::Model::InstanceSnapshot::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: InstanceSnapshot.h:204
Aws::Lightsail::Model::InstanceSnapshot::FromBlueprintIdHasBeenSet
bool FromBlueprintIdHasBeenSet() const
Definition: InstanceSnapshot.h:597
Aws::Lightsail::Model::InstanceSnapshot::GetSizeInGb
int GetSizeInGb() const
Definition: InstanceSnapshot.h:719
Aws::Lightsail::Model::InstanceSnapshot::SetProgress
void SetProgress(const char *value)
Definition: InstanceSnapshot.h:417
Aws::Lightsail::Model::InstanceSnapshot::SetFromBlueprintId
void SetFromBlueprintId(const Aws::String &value)
Definition: InstanceSnapshot.h:604
Aws::Lightsail::Model::InstanceSnapshot::SetIsFromAutoSnapshot
void SetIsFromAutoSnapshot(bool value)
Definition: InstanceSnapshot.h:707
Aws::Lightsail::Model::InstanceSnapshotState
InstanceSnapshotState
Definition: InstanceSnapshotState.h:17
Aws::Lightsail::Model::InstanceSnapshot::SetProgress
void SetProgress(const Aws::String &value)
Definition: InstanceSnapshot.h:405
Aws::Lightsail::Model::InstanceSnapshot::WithFromBlueprintId
InstanceSnapshot & WithFromBlueprintId(const char *value)
Definition: InstanceSnapshot.h:639
Aws::Lightsail::Model::InstanceSnapshot::WithArn
InstanceSnapshot & WithArn(const Aws::String &value)
Definition: InstanceSnapshot.h:122
Aws::Lightsail::Model::InstanceSnapshot::WithFromBlueprintId
InstanceSnapshot & WithFromBlueprintId(Aws::String &&value)
Definition: InstanceSnapshot.h:632
Aws::Lightsail::Model::Disk
Definition: Disk.h:39
Aws::Lightsail::Model::InstanceSnapshot::GetState
const InstanceSnapshotState & GetState() const
Definition: InstanceSnapshot.h:361
Aws::Lightsail::Model::InstanceSnapshot::WithFromAttachedDisks
InstanceSnapshot & WithFromAttachedDisks(const Aws::Vector< Disk > &value)
Definition: InstanceSnapshot.h:466
Aws::Lightsail::Model::InstanceSnapshot::WithIsFromAutoSnapshot
InstanceSnapshot & WithIsFromAutoSnapshot(bool value)
Definition: InstanceSnapshot.h:713
Aws::Lightsail::Model::InstanceSnapshot::SetFromAttachedDisks
void SetFromAttachedDisks(const Aws::Vector< Disk > &value)
Definition: InstanceSnapshot.h:454
Aws::Lightsail::Model::InstanceSnapshot::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: InstanceSnapshot.h:198
Aws::Lightsail::Model::InstanceSnapshot::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: InstanceSnapshot.h:216
Aws::Lightsail::Model::InstanceSnapshot::NameHasBeenSet
bool NameHasBeenSet() const
Definition: InstanceSnapshot.h:55
Tag.h
Aws::Lightsail::Model::InstanceSnapshot::WithArn
InstanceSnapshot & WithArn(Aws::String &&value)
Definition: InstanceSnapshot.h:128
Aws::Lightsail::Model::ResourceLocation
Definition: ResourceLocation.h:33
Aws::Lightsail::Model::InstanceSnapshot::WithFromInstanceArn
InstanceSnapshot & WithFromInstanceArn(const char *value)
Definition: InstanceSnapshot.h:582
Aws::Lightsail::Model::InstanceSnapshot::WithResourceType
InstanceSnapshot & WithResourceType(const ResourceType &value)
Definition: InstanceSnapshot.h:285
Aws::Lightsail::Model::InstanceSnapshot::SetArn
void SetArn(Aws::String &&value)
Definition: InstanceSnapshot.h:110
InstanceSnapshotState.h
Aws::Lightsail::Model::InstanceSnapshot::WithFromBundleId
InstanceSnapshot & WithFromBundleId(const char *value)
Definition: InstanceSnapshot.h:688
Aws::Lightsail::Model::InstanceSnapshot::WithLocation
InstanceSnapshot & WithLocation(ResourceLocation &&value)
Definition: InstanceSnapshot.h:259
Aws::Lightsail::Model::InstanceSnapshot::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: InstanceSnapshot.h:275
Aws::Lightsail::Model::InstanceSnapshot::GetIsFromAutoSnapshot
bool GetIsFromAutoSnapshot() const
Definition: InstanceSnapshot.h:695
Aws::Lightsail::Model::InstanceSnapshot::SetName
void SetName(Aws::String &&value)
Definition: InstanceSnapshot.h:65
Aws::Lightsail::Model::InstanceSnapshot::WithName
InstanceSnapshot & WithName(const char *value)
Definition: InstanceSnapshot.h:85
Aws::Lightsail::Model::InstanceSnapshot::SetState
void SetState(const InstanceSnapshotState &value)
Definition: InstanceSnapshot.h:371
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lightsail::Model::Tag
Definition: Tag.h:35
Aws::Lightsail::Model::InstanceSnapshot::GetFromInstanceName
const Aws::String & GetFromInstanceName() const
Definition: InstanceSnapshot.h:490
AWSString.h
Aws::Lightsail::Model::InstanceSnapshot::SetName
void SetName(const char *value)
Definition: InstanceSnapshot.h:70
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::InstanceSnapshot::GetArn
const Aws::String & GetArn() const
Definition: InstanceSnapshot.h:92
Aws::Lightsail::Model::InstanceSnapshot::WithLocation
InstanceSnapshot & WithLocation(const ResourceLocation &value)
Definition: InstanceSnapshot.h:254
Aws::Lightsail::Model::InstanceSnapshot::SetFromInstanceArn
void SetFromInstanceArn(const char *value)
Definition: InstanceSnapshot.h:561
Aws::Lightsail::Model::InstanceSnapshot::SetSupportCode
void SetSupportCode(const char *value)
Definition: InstanceSnapshot.h:170
Aws::Lightsail::Model::InstanceSnapshot::FromBundleIdHasBeenSet
bool FromBundleIdHasBeenSet() const
Definition: InstanceSnapshot.h:652
Lightsail_EXPORTS.h
Aws::Lightsail::Model::InstanceSnapshot::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: InstanceSnapshot.h:323
Aws::Lightsail::Model::InstanceSnapshot::WithFromInstanceArn
InstanceSnapshot & WithFromInstanceArn(Aws::String &&value)
Definition: InstanceSnapshot.h:575
Aws::Lightsail::Model::InstanceSnapshot::SetProgress
void SetProgress(Aws::String &&value)
Definition: InstanceSnapshot.h:411
Aws::Lightsail::Model::InstanceSnapshot::SetFromAttachedDisks
void SetFromAttachedDisks(Aws::Vector< Disk > &&value)
Definition: InstanceSnapshot.h:460
Aws::Lightsail::Model::InstanceSnapshot::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: InstanceSnapshot.h:98
Aws::Lightsail::Model::InstanceSnapshot::WithProgress
InstanceSnapshot & WithProgress(const char *value)
Definition: InstanceSnapshot.h:435
Aws::Lightsail::Model::InstanceSnapshot::AddTags
InstanceSnapshot & AddTags(Tag &&value)
Definition: InstanceSnapshot.h:355
Aws::Lightsail::Model::InstanceSnapshot::WithState
InstanceSnapshot & WithState(const InstanceSnapshotState &value)
Definition: InstanceSnapshot.h:381
Aws::Lightsail::Model::InstanceSnapshot::SetArn
void SetArn(const char *value)
Definition: InstanceSnapshot.h:116
Aws::Lightsail::Model::InstanceSnapshot::GetLocation
const ResourceLocation & GetLocation() const
Definition: InstanceSnapshot.h:234
Aws::Lightsail::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
ResourceLocation.h
Aws::Lightsail::Model::InstanceSnapshot::WithSupportCode
InstanceSnapshot & WithSupportCode(const char *value)
Definition: InstanceSnapshot.h:191
Aws::Lightsail::Model::InstanceSnapshot::WithTags
InstanceSnapshot & WithTags(const Aws::Vector< Tag > &value)
Definition: InstanceSnapshot.h:331
Aws::Lightsail::Model::InstanceSnapshot::SetFromInstanceName
void SetFromInstanceName(const Aws::String &value)
Definition: InstanceSnapshot.h:500
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::InstanceSnapshot::GetFromAttachedDisks
const Aws::Vector< Disk > & GetFromAttachedDisks() const
Definition: InstanceSnapshot.h:442
Aws::Lightsail::Model::InstanceSnapshot::SetSupportCode
void SetSupportCode(Aws::String &&value)
Definition: InstanceSnapshot.h:163
Aws::Lightsail::Model::InstanceSnapshot::WithCreatedAt
InstanceSnapshot & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: InstanceSnapshot.h:228
Aws::Lightsail::Model::InstanceSnapshot::AddTags
InstanceSnapshot & AddTags(const Tag &value)
Definition: InstanceSnapshot.h:347
Aws::Lightsail::Model::InstanceSnapshot::WithCreatedAt
InstanceSnapshot & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: InstanceSnapshot.h:222
Aws::Lightsail::Model::InstanceSnapshot::InstanceSnapshot
InstanceSnapshot(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::InstanceSnapshot::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: InstanceSnapshot.h:239
Aws::Lightsail::Model::InstanceSnapshot::GetProgress
const Aws::String & GetProgress() const
Definition: InstanceSnapshot.h:393
Aws::Lightsail::Model::InstanceSnapshot::SetSupportCode
void SetSupportCode(const Aws::String &value)
Definition: InstanceSnapshot.h:156
Aws::Lightsail::Model::InstanceSnapshot::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: InstanceSnapshot.h:280
Aws::Lightsail::Model::InstanceSnapshot::SetArn
void SetArn(const Aws::String &value)
Definition: InstanceSnapshot.h:104
Aws::Lightsail::Model::InstanceSnapshot::WithSupportCode
InstanceSnapshot & WithSupportCode(Aws::String &&value)
Definition: InstanceSnapshot.h:184
Aws::Lightsail::Model::InstanceSnapshot::WithName
InstanceSnapshot & WithName(const Aws::String &value)
Definition: InstanceSnapshot.h:75
Aws::Lightsail::Model::InstanceSnapshot::SizeInGbHasBeenSet
bool SizeInGbHasBeenSet() const
Definition: InstanceSnapshot.h:724
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::InstanceSnapshot::GetName
const Aws::String & GetName() const
Definition: InstanceSnapshot.h:50
Aws::Lightsail::Model::InstanceSnapshot::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: InstanceSnapshot.h:315
Aws::Lightsail::Model::InstanceSnapshot::SetFromBlueprintId
void SetFromBlueprintId(const char *value)
Definition: InstanceSnapshot.h:618
Aws::Lightsail::Model::InstanceSnapshot::GetFromBlueprintId
const Aws::String & GetFromBlueprintId() const
Definition: InstanceSnapshot.h:590
Aws::Lightsail::Model::InstanceSnapshot::FromAttachedDisksHasBeenSet
bool FromAttachedDisksHasBeenSet() const
Definition: InstanceSnapshot.h:448
Aws::Lightsail::Model::InstanceSnapshot::GetFromBundleId
const Aws::String & GetFromBundleId() const
Definition: InstanceSnapshot.h:646
Aws::Lightsail::Model::InstanceSnapshot::AddFromAttachedDisks
InstanceSnapshot & AddFromAttachedDisks(const Disk &value)
Definition: InstanceSnapshot.h:478
Aws::Lightsail::Model::InstanceSnapshot::WithFromBundleId
InstanceSnapshot & WithFromBundleId(Aws::String &&value)
Definition: InstanceSnapshot.h:682
Aws::Lightsail::Model::InstanceSnapshot::ProgressHasBeenSet
bool ProgressHasBeenSet() const
Definition: InstanceSnapshot.h:399
Aws::Lightsail::Model::InstanceSnapshot::StateHasBeenSet
bool StateHasBeenSet() const
Definition: InstanceSnapshot.h:366
Aws::Lightsail::Model::InstanceSnapshot
Definition: InstanceSnapshot.h:39
Aws::Lightsail::Model::InstanceSnapshot::SetFromInstanceName
void SetFromInstanceName(Aws::String &&value)
Definition: InstanceSnapshot.h:505
Aws::Lightsail::Model::InstanceSnapshot::WithTags
InstanceSnapshot & WithTags(Aws::Vector< Tag > &&value)
Definition: InstanceSnapshot.h:339
Aws::Lightsail::Model::InstanceSnapshot::WithSupportCode
InstanceSnapshot & WithSupportCode(const Aws::String &value)
Definition: InstanceSnapshot.h:177
Aws::Lightsail::Model::InstanceSnapshot::WithArn
InstanceSnapshot & WithArn(const char *value)
Definition: InstanceSnapshot.h:134
Aws::Lightsail::Model::InstanceSnapshot::WithFromInstanceArn
InstanceSnapshot & WithFromInstanceArn(const Aws::String &value)
Definition: InstanceSnapshot.h:568
Aws::Lightsail::Model::InstanceSnapshot::WithFromBlueprintId
InstanceSnapshot & WithFromBlueprintId(const Aws::String &value)
Definition: InstanceSnapshot.h:625
Aws::Lightsail::Model::InstanceSnapshot::SetFromBlueprintId
void SetFromBlueprintId(Aws::String &&value)
Definition: InstanceSnapshot.h:611