AWS SDK for C++  1.9.104
AWS SDK for C++
CreateDiskFromSnapshotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Lightsail
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateDiskFromSnapshot"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetDiskName() const{ return m_diskName; }
44 
48  inline bool DiskNameHasBeenSet() const { return m_diskNameHasBeenSet; }
49 
53  inline void SetDiskName(const Aws::String& value) { m_diskNameHasBeenSet = true; m_diskName = value; }
54 
58  inline void SetDiskName(Aws::String&& value) { m_diskNameHasBeenSet = true; m_diskName = std::move(value); }
59 
63  inline void SetDiskName(const char* value) { m_diskNameHasBeenSet = true; m_diskName.assign(value); }
64 
68  inline CreateDiskFromSnapshotRequest& WithDiskName(const Aws::String& value) { SetDiskName(value); return *this;}
69 
73  inline CreateDiskFromSnapshotRequest& WithDiskName(Aws::String&& value) { SetDiskName(std::move(value)); return *this;}
74 
78  inline CreateDiskFromSnapshotRequest& WithDiskName(const char* value) { SetDiskName(value); return *this;}
79 
80 
88  inline const Aws::String& GetDiskSnapshotName() const{ return m_diskSnapshotName; }
89 
97  inline bool DiskSnapshotNameHasBeenSet() const { return m_diskSnapshotNameHasBeenSet; }
98 
106  inline void SetDiskSnapshotName(const Aws::String& value) { m_diskSnapshotNameHasBeenSet = true; m_diskSnapshotName = value; }
107 
115  inline void SetDiskSnapshotName(Aws::String&& value) { m_diskSnapshotNameHasBeenSet = true; m_diskSnapshotName = std::move(value); }
116 
124  inline void SetDiskSnapshotName(const char* value) { m_diskSnapshotNameHasBeenSet = true; m_diskSnapshotName.assign(value); }
125 
133  inline CreateDiskFromSnapshotRequest& WithDiskSnapshotName(const Aws::String& value) { SetDiskSnapshotName(value); return *this;}
134 
142  inline CreateDiskFromSnapshotRequest& WithDiskSnapshotName(Aws::String&& value) { SetDiskSnapshotName(std::move(value)); return *this;}
143 
151  inline CreateDiskFromSnapshotRequest& WithDiskSnapshotName(const char* value) { SetDiskSnapshotName(value); return *this;}
152 
153 
160  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
161 
168  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
169 
176  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
177 
184  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
185 
192  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
193 
200  inline CreateDiskFromSnapshotRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
201 
208  inline CreateDiskFromSnapshotRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
209 
216  inline CreateDiskFromSnapshotRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
217 
218 
222  inline int GetSizeInGb() const{ return m_sizeInGb; }
223 
227  inline bool SizeInGbHasBeenSet() const { return m_sizeInGbHasBeenSet; }
228 
232  inline void SetSizeInGb(int value) { m_sizeInGbHasBeenSet = true; m_sizeInGb = value; }
233 
237  inline CreateDiskFromSnapshotRequest& WithSizeInGb(int value) { SetSizeInGb(value); return *this;}
238 
239 
245  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
246 
252  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
253 
259  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
260 
266  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
267 
273  inline CreateDiskFromSnapshotRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
274 
280  inline CreateDiskFromSnapshotRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
281 
287  inline CreateDiskFromSnapshotRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
288 
294  inline CreateDiskFromSnapshotRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
295 
296 
301  inline const Aws::Vector<AddOnRequest>& GetAddOns() const{ return m_addOns; }
302 
307  inline bool AddOnsHasBeenSet() const { return m_addOnsHasBeenSet; }
308 
313  inline void SetAddOns(const Aws::Vector<AddOnRequest>& value) { m_addOnsHasBeenSet = true; m_addOns = value; }
314 
319  inline void SetAddOns(Aws::Vector<AddOnRequest>&& value) { m_addOnsHasBeenSet = true; m_addOns = std::move(value); }
320 
325  inline CreateDiskFromSnapshotRequest& WithAddOns(const Aws::Vector<AddOnRequest>& value) { SetAddOns(value); return *this;}
326 
331  inline CreateDiskFromSnapshotRequest& WithAddOns(Aws::Vector<AddOnRequest>&& value) { SetAddOns(std::move(value)); return *this;}
332 
337  inline CreateDiskFromSnapshotRequest& AddAddOns(const AddOnRequest& value) { m_addOnsHasBeenSet = true; m_addOns.push_back(value); return *this; }
338 
343  inline CreateDiskFromSnapshotRequest& AddAddOns(AddOnRequest&& value) { m_addOnsHasBeenSet = true; m_addOns.push_back(std::move(value)); return *this; }
344 
345 
356  inline const Aws::String& GetSourceDiskName() const{ return m_sourceDiskName; }
357 
368  inline bool SourceDiskNameHasBeenSet() const { return m_sourceDiskNameHasBeenSet; }
369 
380  inline void SetSourceDiskName(const Aws::String& value) { m_sourceDiskNameHasBeenSet = true; m_sourceDiskName = value; }
381 
392  inline void SetSourceDiskName(Aws::String&& value) { m_sourceDiskNameHasBeenSet = true; m_sourceDiskName = std::move(value); }
393 
404  inline void SetSourceDiskName(const char* value) { m_sourceDiskNameHasBeenSet = true; m_sourceDiskName.assign(value); }
405 
416  inline CreateDiskFromSnapshotRequest& WithSourceDiskName(const Aws::String& value) { SetSourceDiskName(value); return *this;}
417 
428  inline CreateDiskFromSnapshotRequest& WithSourceDiskName(Aws::String&& value) { SetSourceDiskName(std::move(value)); return *this;}
429 
440  inline CreateDiskFromSnapshotRequest& WithSourceDiskName(const char* value) { SetSourceDiskName(value); return *this;}
441 
442 
456  inline const Aws::String& GetRestoreDate() const{ return m_restoreDate; }
457 
471  inline bool RestoreDateHasBeenSet() const { return m_restoreDateHasBeenSet; }
472 
486  inline void SetRestoreDate(const Aws::String& value) { m_restoreDateHasBeenSet = true; m_restoreDate = value; }
487 
501  inline void SetRestoreDate(Aws::String&& value) { m_restoreDateHasBeenSet = true; m_restoreDate = std::move(value); }
502 
516  inline void SetRestoreDate(const char* value) { m_restoreDateHasBeenSet = true; m_restoreDate.assign(value); }
517 
531  inline CreateDiskFromSnapshotRequest& WithRestoreDate(const Aws::String& value) { SetRestoreDate(value); return *this;}
532 
546  inline CreateDiskFromSnapshotRequest& WithRestoreDate(Aws::String&& value) { SetRestoreDate(std::move(value)); return *this;}
547 
561  inline CreateDiskFromSnapshotRequest& WithRestoreDate(const char* value) { SetRestoreDate(value); return *this;}
562 
563 
574  inline bool GetUseLatestRestorableAutoSnapshot() const{ return m_useLatestRestorableAutoSnapshot; }
575 
586  inline bool UseLatestRestorableAutoSnapshotHasBeenSet() const { return m_useLatestRestorableAutoSnapshotHasBeenSet; }
587 
598  inline void SetUseLatestRestorableAutoSnapshot(bool value) { m_useLatestRestorableAutoSnapshotHasBeenSet = true; m_useLatestRestorableAutoSnapshot = value; }
599 
610  inline CreateDiskFromSnapshotRequest& WithUseLatestRestorableAutoSnapshot(bool value) { SetUseLatestRestorableAutoSnapshot(value); return *this;}
611 
612  private:
613 
614  Aws::String m_diskName;
615  bool m_diskNameHasBeenSet;
616 
617  Aws::String m_diskSnapshotName;
618  bool m_diskSnapshotNameHasBeenSet;
619 
620  Aws::String m_availabilityZone;
621  bool m_availabilityZoneHasBeenSet;
622 
623  int m_sizeInGb;
624  bool m_sizeInGbHasBeenSet;
625 
626  Aws::Vector<Tag> m_tags;
627  bool m_tagsHasBeenSet;
628 
629  Aws::Vector<AddOnRequest> m_addOns;
630  bool m_addOnsHasBeenSet;
631 
632  Aws::String m_sourceDiskName;
633  bool m_sourceDiskNameHasBeenSet;
634 
635  Aws::String m_restoreDate;
636  bool m_restoreDateHasBeenSet;
637 
638  bool m_useLatestRestorableAutoSnapshot;
639  bool m_useLatestRestorableAutoSnapshotHasBeenSet;
640  };
641 
642 } // namespace Model
643 } // namespace Lightsail
644 } // namespace Aws
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDiskFromSnapshotRequest.h:245
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetSizeInGb
void SetSizeInGb(int value)
Definition: CreateDiskFromSnapshotRequest.h:232
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetRestoreDate
const Aws::String & GetRestoreDate() const
Definition: CreateDiskFromSnapshotRequest.h:456
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithSourceDiskName
CreateDiskFromSnapshotRequest & WithSourceDiskName(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:428
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::AddAddOns
CreateDiskFromSnapshotRequest & AddAddOns(AddOnRequest &&value)
Definition: CreateDiskFromSnapshotRequest.h:343
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithAvailabilityZone
CreateDiskFromSnapshotRequest & WithAvailabilityZone(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:200
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithAvailabilityZone
CreateDiskFromSnapshotRequest & WithAvailabilityZone(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:216
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskSnapshotName
CreateDiskFromSnapshotRequest & WithDiskSnapshotName(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:142
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SourceDiskNameHasBeenSet
bool SourceDiskNameHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:368
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: CreateDiskFromSnapshotRequest.h:160
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithSizeInGb
CreateDiskFromSnapshotRequest & WithSizeInGb(int value)
Definition: CreateDiskFromSnapshotRequest.h:237
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetDiskSnapshotName
const Aws::String & GetDiskSnapshotName() const
Definition: CreateDiskFromSnapshotRequest.h:88
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SizeInGbHasBeenSet
bool SizeInGbHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:227
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithSourceDiskName
CreateDiskFromSnapshotRequest & WithSourceDiskName(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:440
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetSizeInGb
int GetSizeInGb() const
Definition: CreateDiskFromSnapshotRequest.h:222
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskName
CreateDiskFromSnapshotRequest & WithDiskName(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:73
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithRestoreDate
CreateDiskFromSnapshotRequest & WithRestoreDate(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:546
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetSourceDiskName
void SetSourceDiskName(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:380
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithTags
CreateDiskFromSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDiskFromSnapshotRequest.h:280
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetAddOns
const Aws::Vector< AddOnRequest > & GetAddOns() const
Definition: CreateDiskFromSnapshotRequest.h:301
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:168
AddOnRequest.h
AWSVector.h
LightsailRequest.h
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskSnapshotName
CreateDiskFromSnapshotRequest & WithDiskSnapshotName(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:151
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskName
void SetDiskName(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:53
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithAddOns
CreateDiskFromSnapshotRequest & WithAddOns(Aws::Vector< AddOnRequest > &&value)
Definition: CreateDiskFromSnapshotRequest.h:331
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDiskFromSnapshotRequest.h:33
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetUseLatestRestorableAutoSnapshot
void SetUseLatestRestorableAutoSnapshot(bool value)
Definition: CreateDiskFromSnapshotRequest.h:598
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetRestoreDate
void SetRestoreDate(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:486
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetRestoreDate
void SetRestoreDate(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:501
Tag.h
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithAvailabilityZone
CreateDiskFromSnapshotRequest & WithAvailabilityZone(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:208
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskSnapshotName
CreateDiskFromSnapshotRequest & WithDiskSnapshotName(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:133
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskSnapshotName
void SetDiskSnapshotName(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:106
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithAddOns
CreateDiskFromSnapshotRequest & WithAddOns(const Aws::Vector< AddOnRequest > &value)
Definition: CreateDiskFromSnapshotRequest.h:325
Aws::Lightsail::Model::Tag
Definition: Tag.h:35
AWSString.h
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetSourceDiskName
void SetSourceDiskName(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:392
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::AddOnsHasBeenSet
bool AddOnsHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:307
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDiskFromSnapshotRequest.h:266
Aws::Lightsail::Model::AddOnRequest
Definition: AddOnRequest.h:37
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest
Definition: CreateDiskFromSnapshotRequest.h:25
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskName
void SetDiskName(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:63
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::AddTags
CreateDiskFromSnapshotRequest & AddTags(const Tag &value)
Definition: CreateDiskFromSnapshotRequest.h:287
Lightsail_EXPORTS.h
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::CreateDiskFromSnapshotRequest
CreateDiskFromSnapshotRequest()
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskSnapshotName
void SetDiskSnapshotName(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:115
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetUseLatestRestorableAutoSnapshot
bool GetUseLatestRestorableAutoSnapshot() const
Definition: CreateDiskFromSnapshotRequest.h:574
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetAddOns
void SetAddOns(Aws::Vector< AddOnRequest > &&value)
Definition: CreateDiskFromSnapshotRequest.h:319
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::RestoreDateHasBeenSet
bool RestoreDateHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:471
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::AddTags
CreateDiskFromSnapshotRequest & AddTags(Tag &&value)
Definition: CreateDiskFromSnapshotRequest.h:294
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetRestoreDate
void SetRestoreDate(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:516
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithSourceDiskName
CreateDiskFromSnapshotRequest & WithSourceDiskName(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:416
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskSnapshotName
void SetDiskSnapshotName(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:124
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::DiskSnapshotNameHasBeenSet
bool DiskSnapshotNameHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:97
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::DiskNameHasBeenSet
bool DiskNameHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:48
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:192
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetAddOns
void SetAddOns(const Aws::Vector< AddOnRequest > &value)
Definition: CreateDiskFromSnapshotRequest.h:313
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:252
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:176
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskName
CreateDiskFromSnapshotRequest & WithDiskName(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:78
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:184
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetDiskName
void SetDiskName(Aws::String &&value)
Definition: CreateDiskFromSnapshotRequest.h:58
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithRestoreDate
CreateDiskFromSnapshotRequest & WithRestoreDate(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:561
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithTags
CreateDiskFromSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDiskFromSnapshotRequest.h:273
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetSourceDiskName
void SetSourceDiskName(const char *value)
Definition: CreateDiskFromSnapshotRequest.h:404
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDiskFromSnapshotRequest.h:259
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithRestoreDate
CreateDiskFromSnapshotRequest & WithRestoreDate(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:531
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetDiskName
const Aws::String & GetDiskName() const
Definition: CreateDiskFromSnapshotRequest.h:43
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::UseLatestRestorableAutoSnapshotHasBeenSet
bool UseLatestRestorableAutoSnapshotHasBeenSet() const
Definition: CreateDiskFromSnapshotRequest.h:586
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithDiskName
CreateDiskFromSnapshotRequest & WithDiskName(const Aws::String &value)
Definition: CreateDiskFromSnapshotRequest.h:68
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::GetSourceDiskName
const Aws::String & GetSourceDiskName() const
Definition: CreateDiskFromSnapshotRequest.h:356
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::WithUseLatestRestorableAutoSnapshot
CreateDiskFromSnapshotRequest & WithUseLatestRestorableAutoSnapshot(bool value)
Definition: CreateDiskFromSnapshotRequest.h:610
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::CreateDiskFromSnapshotRequest::AddAddOns
CreateDiskFromSnapshotRequest & AddAddOns(const AddOnRequest &value)
Definition: CreateDiskFromSnapshotRequest.h:337