AWS SDK for C++  1.9.70
AWS SDK for C++
CreateSnapshotResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
13 #include <aws/ec2/model/Tag.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Xml
24 {
25  class XmlDocument;
26 } // namespace Xml
27 } // namespace Utils
28 namespace EC2
29 {
30 namespace Model
31 {
38  {
39  public:
43 
44 
53  inline const Aws::String& GetDataEncryptionKeyId() const{ return m_dataEncryptionKeyId; }
54 
63  inline void SetDataEncryptionKeyId(const Aws::String& value) { m_dataEncryptionKeyId = value; }
64 
73  inline void SetDataEncryptionKeyId(Aws::String&& value) { m_dataEncryptionKeyId = std::move(value); }
74 
83  inline void SetDataEncryptionKeyId(const char* value) { m_dataEncryptionKeyId.assign(value); }
84 
93  inline CreateSnapshotResponse& WithDataEncryptionKeyId(const Aws::String& value) { SetDataEncryptionKeyId(value); return *this;}
94 
103  inline CreateSnapshotResponse& WithDataEncryptionKeyId(Aws::String&& value) { SetDataEncryptionKeyId(std::move(value)); return *this;}
104 
113  inline CreateSnapshotResponse& WithDataEncryptionKeyId(const char* value) { SetDataEncryptionKeyId(value); return *this;}
114 
115 
119  inline const Aws::String& GetDescription() const{ return m_description; }
120 
124  inline void SetDescription(const Aws::String& value) { m_description = value; }
125 
129  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
130 
134  inline void SetDescription(const char* value) { m_description.assign(value); }
135 
139  inline CreateSnapshotResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
140 
144  inline CreateSnapshotResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
145 
149  inline CreateSnapshotResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
150 
151 
155  inline bool GetEncrypted() const{ return m_encrypted; }
156 
160  inline void SetEncrypted(bool value) { m_encrypted = value; }
161 
165  inline CreateSnapshotResponse& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
166 
167 
172  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
173 
178  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
179 
184  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
185 
190  inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
191 
196  inline CreateSnapshotResponse& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
197 
202  inline CreateSnapshotResponse& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
203 
208  inline CreateSnapshotResponse& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
209 
210 
214  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
215 
219  inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; }
220 
224  inline void SetOwnerId(Aws::String&& value) { m_ownerId = std::move(value); }
225 
229  inline void SetOwnerId(const char* value) { m_ownerId.assign(value); }
230 
234  inline CreateSnapshotResponse& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
235 
239  inline CreateSnapshotResponse& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
240 
244  inline CreateSnapshotResponse& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
245 
246 
250  inline const Aws::String& GetProgress() const{ return m_progress; }
251 
255  inline void SetProgress(const Aws::String& value) { m_progress = value; }
256 
260  inline void SetProgress(Aws::String&& value) { m_progress = std::move(value); }
261 
265  inline void SetProgress(const char* value) { m_progress.assign(value); }
266 
270  inline CreateSnapshotResponse& WithProgress(const Aws::String& value) { SetProgress(value); return *this;}
271 
275  inline CreateSnapshotResponse& WithProgress(Aws::String&& value) { SetProgress(std::move(value)); return *this;}
276 
280  inline CreateSnapshotResponse& WithProgress(const char* value) { SetProgress(value); return *this;}
281 
282 
287  inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; }
288 
293  inline void SetSnapshotId(const Aws::String& value) { m_snapshotId = value; }
294 
299  inline void SetSnapshotId(Aws::String&& value) { m_snapshotId = std::move(value); }
300 
305  inline void SetSnapshotId(const char* value) { m_snapshotId.assign(value); }
306 
311  inline CreateSnapshotResponse& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;}
312 
317  inline CreateSnapshotResponse& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;}
318 
323  inline CreateSnapshotResponse& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;}
324 
325 
329  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
330 
334  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
335 
339  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
340 
344  inline CreateSnapshotResponse& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
345 
349  inline CreateSnapshotResponse& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
350 
351 
355  inline const SnapshotState& GetState() const{ return m_state; }
356 
360  inline void SetState(const SnapshotState& value) { m_state = value; }
361 
365  inline void SetState(SnapshotState&& value) { m_state = std::move(value); }
366 
370  inline CreateSnapshotResponse& WithState(const SnapshotState& value) { SetState(value); return *this;}
371 
375  inline CreateSnapshotResponse& WithState(SnapshotState&& value) { SetState(std::move(value)); return *this;}
376 
377 
385  inline const Aws::String& GetStateMessage() const{ return m_stateMessage; }
386 
394  inline void SetStateMessage(const Aws::String& value) { m_stateMessage = value; }
395 
403  inline void SetStateMessage(Aws::String&& value) { m_stateMessage = std::move(value); }
404 
412  inline void SetStateMessage(const char* value) { m_stateMessage.assign(value); }
413 
421  inline CreateSnapshotResponse& WithStateMessage(const Aws::String& value) { SetStateMessage(value); return *this;}
422 
430  inline CreateSnapshotResponse& WithStateMessage(Aws::String&& value) { SetStateMessage(std::move(value)); return *this;}
431 
439  inline CreateSnapshotResponse& WithStateMessage(const char* value) { SetStateMessage(value); return *this;}
440 
441 
447  inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
448 
454  inline void SetVolumeId(const Aws::String& value) { m_volumeId = value; }
455 
461  inline void SetVolumeId(Aws::String&& value) { m_volumeId = std::move(value); }
462 
468  inline void SetVolumeId(const char* value) { m_volumeId.assign(value); }
469 
475  inline CreateSnapshotResponse& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
476 
482  inline CreateSnapshotResponse& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
483 
489  inline CreateSnapshotResponse& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
490 
491 
495  inline int GetVolumeSize() const{ return m_volumeSize; }
496 
500  inline void SetVolumeSize(int value) { m_volumeSize = value; }
501 
505  inline CreateSnapshotResponse& WithVolumeSize(int value) { SetVolumeSize(value); return *this;}
506 
507 
513  inline const Aws::String& GetOwnerAlias() const{ return m_ownerAlias; }
514 
520  inline void SetOwnerAlias(const Aws::String& value) { m_ownerAlias = value; }
521 
527  inline void SetOwnerAlias(Aws::String&& value) { m_ownerAlias = std::move(value); }
528 
534  inline void SetOwnerAlias(const char* value) { m_ownerAlias.assign(value); }
535 
541  inline CreateSnapshotResponse& WithOwnerAlias(const Aws::String& value) { SetOwnerAlias(value); return *this;}
542 
548  inline CreateSnapshotResponse& WithOwnerAlias(Aws::String&& value) { SetOwnerAlias(std::move(value)); return *this;}
549 
555  inline CreateSnapshotResponse& WithOwnerAlias(const char* value) { SetOwnerAlias(value); return *this;}
556 
557 
565  inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
566 
574  inline void SetOutpostArn(const Aws::String& value) { m_outpostArn = value; }
575 
583  inline void SetOutpostArn(Aws::String&& value) { m_outpostArn = std::move(value); }
584 
592  inline void SetOutpostArn(const char* value) { m_outpostArn.assign(value); }
593 
601  inline CreateSnapshotResponse& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
602 
610  inline CreateSnapshotResponse& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
611 
619  inline CreateSnapshotResponse& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
620 
621 
625  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
626 
630  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
631 
635  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
636 
640  inline CreateSnapshotResponse& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
641 
645  inline CreateSnapshotResponse& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
646 
650  inline CreateSnapshotResponse& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
651 
655  inline CreateSnapshotResponse& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
656 
657 
658 
659  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
660 
661 
662  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
663 
664 
665  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
666 
667 
668  inline CreateSnapshotResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
669 
670 
671  inline CreateSnapshotResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
672 
673  private:
674 
675  Aws::String m_dataEncryptionKeyId;
676 
677  Aws::String m_description;
678 
679  bool m_encrypted;
680 
681  Aws::String m_kmsKeyId;
682 
683  Aws::String m_ownerId;
684 
685  Aws::String m_progress;
686 
687  Aws::String m_snapshotId;
688 
689  Aws::Utils::DateTime m_startTime;
690 
691  SnapshotState m_state;
692 
693  Aws::String m_stateMessage;
694 
695  Aws::String m_volumeId;
696 
697  int m_volumeSize;
698 
699  Aws::String m_ownerAlias;
700 
701  Aws::String m_outpostArn;
702 
703  Aws::Vector<Tag> m_tags;
704 
705  ResponseMetadata m_responseMetadata;
706  };
707 
708 } // namespace Model
709 } // namespace EC2
710 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::CreateSnapshotResponse::SetDataEncryptionKeyId
void SetDataEncryptionKeyId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:73
Aws::EC2::Model::CreateSnapshotResponse::WithOwnerId
CreateSnapshotResponse & WithOwnerId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:239
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateSnapshotResponse::WithStartTime
CreateSnapshotResponse & WithStartTime(Aws::Utils::DateTime &&value)
Definition: CreateSnapshotResponse.h:349
Aws::EC2::Model::CreateSnapshotResponse::WithOutpostArn
CreateSnapshotResponse & WithOutpostArn(const char *value)
Definition: CreateSnapshotResponse.h:619
Aws::EC2::Model::CreateSnapshotResponse::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: CreateSnapshotResponse.h:190
Aws::EC2::Model::CreateSnapshotResponse::WithOwnerId
CreateSnapshotResponse & WithOwnerId(const char *value)
Definition: CreateSnapshotResponse.h:244
Aws::EC2::Model::CreateSnapshotResponse::SetOutpostArn
void SetOutpostArn(Aws::String &&value)
Definition: CreateSnapshotResponse.h:583
Aws::EC2::Model::CreateSnapshotResponse::SetStateMessage
void SetStateMessage(const Aws::String &value)
Definition: CreateSnapshotResponse.h:394
Aws::EC2::Model::CreateSnapshotResponse::WithOwnerAlias
CreateSnapshotResponse & WithOwnerAlias(const Aws::String &value)
Definition: CreateSnapshotResponse.h:541
Aws::EC2::Model::CreateSnapshotResponse::SetOwnerAlias
void SetOwnerAlias(const char *value)
Definition: CreateSnapshotResponse.h:534
Aws::EC2::Model::CreateSnapshotResponse::WithOwnerAlias
CreateSnapshotResponse & WithOwnerAlias(Aws::String &&value)
Definition: CreateSnapshotResponse.h:548
Aws::EC2::Model::CreateSnapshotResponse::SetProgress
void SetProgress(const char *value)
Definition: CreateSnapshotResponse.h:265
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::CreateSnapshotResponse::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: CreateSnapshotResponse.h:334
Aws::EC2::Model::CreateSnapshotResponse::WithKmsKeyId
CreateSnapshotResponse & WithKmsKeyId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:196
Aws::EC2::Model::CreateSnapshotResponse::WithKmsKeyId
CreateSnapshotResponse & WithKmsKeyId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:202
Aws::EC2::Model::CreateSnapshotResponse::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateSnapshotResponse.h:124
Aws::EC2::Model::CreateSnapshotResponse::WithState
CreateSnapshotResponse & WithState(SnapshotState &&value)
Definition: CreateSnapshotResponse.h:375
Aws::EC2::Model::CreateSnapshotResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateSnapshotResponse.h:662
Aws::EC2::Model::CreateSnapshotResponse::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: CreateSnapshotResponse.h:339
Aws::EC2::Model::CreateSnapshotResponse::GetOwnerId
const Aws::String & GetOwnerId() const
Definition: CreateSnapshotResponse.h:214
Aws::EC2::Model::CreateSnapshotResponse::SetProgress
void SetProgress(const Aws::String &value)
Definition: CreateSnapshotResponse.h:255
DateTime.h
Aws::EC2::Model::CreateSnapshotResponse::GetProgress
const Aws::String & GetProgress() const
Definition: CreateSnapshotResponse.h:250
Aws::EC2::Model::CreateSnapshotResponse::WithDescription
CreateSnapshotResponse & WithDescription(Aws::String &&value)
Definition: CreateSnapshotResponse.h:144
Aws::EC2::Model::CreateSnapshotResponse
Definition: CreateSnapshotResponse.h:38
Aws::EC2::Model::CreateSnapshotResponse::WithVolumeId
CreateSnapshotResponse & WithVolumeId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:482
Aws::EC2::Model::CreateSnapshotResponse::GetEncrypted
bool GetEncrypted() const
Definition: CreateSnapshotResponse.h:155
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateSnapshotResponse::SetOutpostArn
void SetOutpostArn(const Aws::String &value)
Definition: CreateSnapshotResponse.h:574
Aws::EC2::Model::CreateSnapshotResponse::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: CreateSnapshotResponse.h:329
ResponseMetadata.h
Aws::EC2::Model::CreateSnapshotResponse::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateSnapshotResponse.h:129
Aws::EC2::Model::CreateSnapshotResponse::WithDataEncryptionKeyId
CreateSnapshotResponse & WithDataEncryptionKeyId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:93
Aws::EC2::Model::CreateSnapshotResponse::WithStateMessage
CreateSnapshotResponse & WithStateMessage(const char *value)
Definition: CreateSnapshotResponse.h:439
Aws::EC2::Model::CreateSnapshotResponse::SetStateMessage
void SetStateMessage(Aws::String &&value)
Definition: CreateSnapshotResponse.h:403
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::CreateSnapshotResponse::WithSnapshotId
CreateSnapshotResponse & WithSnapshotId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:317
Aws::EC2::Model::CreateSnapshotResponse::WithOwnerId
CreateSnapshotResponse & WithOwnerId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:234
Aws::EC2::Model::CreateSnapshotResponse::GetStateMessage
const Aws::String & GetStateMessage() const
Definition: CreateSnapshotResponse.h:385
Aws::EC2::Model::CreateSnapshotResponse::SetOwnerId
void SetOwnerId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:224
AWSVector.h
Tag.h
Aws::EC2::Model::CreateSnapshotResponse::WithSnapshotId
CreateSnapshotResponse & WithSnapshotId(const char *value)
Definition: CreateSnapshotResponse.h:323
Aws::EC2::Model::CreateSnapshotResponse::GetVolumeId
const Aws::String & GetVolumeId() const
Definition: CreateSnapshotResponse.h:447
Aws::EC2::Model::CreateSnapshotResponse::WithTags
CreateSnapshotResponse & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateSnapshotResponse.h:640
Aws::EC2::Model::CreateSnapshotResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateSnapshotResponse.h:665
Aws::EC2::Model::CreateSnapshotResponse::AddTags
CreateSnapshotResponse & AddTags(const Tag &value)
Definition: CreateSnapshotResponse.h:650
Aws::EC2::Model::CreateSnapshotResponse::SetState
void SetState(const SnapshotState &value)
Definition: CreateSnapshotResponse.h:360
Aws::EC2::Model::CreateSnapshotResponse::SetDescription
void SetDescription(const char *value)
Definition: CreateSnapshotResponse.h:134
Aws::EC2::Model::CreateSnapshotResponse::SetOwnerId
void SetOwnerId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:219
Aws::EC2::Model::CreateSnapshotResponse::WithDescription
CreateSnapshotResponse & WithDescription(const Aws::String &value)
Definition: CreateSnapshotResponse.h:139
Aws::EC2::Model::CreateSnapshotResponse::WithOutpostArn
CreateSnapshotResponse & WithOutpostArn(const Aws::String &value)
Definition: CreateSnapshotResponse.h:601
Aws::EC2::Model::CreateSnapshotResponse::SetVolumeId
void SetVolumeId(const char *value)
Definition: CreateSnapshotResponse.h:468
Aws::EC2::Model::CreateSnapshotResponse::GetDataEncryptionKeyId
const Aws::String & GetDataEncryptionKeyId() const
Definition: CreateSnapshotResponse.h:53
Aws::EC2::Model::CreateSnapshotResponse::operator=
CreateSnapshotResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateSnapshotResponse::SetVolumeId
void SetVolumeId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:454
Aws::EC2::Model::CreateSnapshotResponse::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: CreateSnapshotResponse.h:172
Aws::EC2::Model::CreateSnapshotResponse::SetSnapshotId
void SetSnapshotId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:299
Aws::EC2::Model::CreateSnapshotResponse::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateSnapshotResponse.h:635
Aws::EC2::Model::CreateSnapshotResponse::WithResponseMetadata
CreateSnapshotResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateSnapshotResponse.h:671
Aws::EC2::Model::CreateSnapshotResponse::WithTags
CreateSnapshotResponse & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateSnapshotResponse.h:645
Aws::EC2::Model::CreateSnapshotResponse::CreateSnapshotResponse
CreateSnapshotResponse()
Aws::EC2::Model::CreateSnapshotResponse::SetStateMessage
void SetStateMessage(const char *value)
Definition: CreateSnapshotResponse.h:412
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateSnapshotResponse::SetOwnerAlias
void SetOwnerAlias(Aws::String &&value)
Definition: CreateSnapshotResponse.h:527
AWSString.h
Aws::EC2::Model::CreateSnapshotResponse::WithProgress
CreateSnapshotResponse & WithProgress(Aws::String &&value)
Definition: CreateSnapshotResponse.h:275
Aws::EC2::Model::CreateSnapshotResponse::WithDescription
CreateSnapshotResponse & WithDescription(const char *value)
Definition: CreateSnapshotResponse.h:149
Aws::EC2::Model::SnapshotState
SnapshotState
Definition: SnapshotState.h:17
Aws::EC2::Model::CreateSnapshotResponse::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:184
Aws::EC2::Model::CreateSnapshotResponse::SetVolumeId
void SetVolumeId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:461
Aws::EC2::Model::CreateSnapshotResponse::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateSnapshotResponse.h:630
Aws::EC2::Model::CreateSnapshotResponse::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateSnapshotResponse.h:625
Aws::EC2::Model::CreateSnapshotResponse::GetVolumeSize
int GetVolumeSize() const
Definition: CreateSnapshotResponse.h:495
Aws::EC2::Model::CreateSnapshotResponse::SetVolumeSize
void SetVolumeSize(int value)
Definition: CreateSnapshotResponse.h:500
Aws::EC2::Model::CreateSnapshotResponse::SetOwnerId
void SetOwnerId(const char *value)
Definition: CreateSnapshotResponse.h:229
Aws::EC2::Model::CreateSnapshotResponse::GetOwnerAlias
const Aws::String & GetOwnerAlias() const
Definition: CreateSnapshotResponse.h:513
Aws::EC2::Model::CreateSnapshotResponse::SetSnapshotId
void SetSnapshotId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:293
Aws::EC2::Model::CreateSnapshotResponse::WithProgress
CreateSnapshotResponse & WithProgress(const Aws::String &value)
Definition: CreateSnapshotResponse.h:270
Aws::EC2::Model::CreateSnapshotResponse::WithDataEncryptionKeyId
CreateSnapshotResponse & WithDataEncryptionKeyId(const char *value)
Definition: CreateSnapshotResponse.h:113
Aws::EC2::Model::CreateSnapshotResponse::SetOutpostArn
void SetOutpostArn(const char *value)
Definition: CreateSnapshotResponse.h:592
Aws::EC2::Model::CreateSnapshotResponse::WithVolumeId
CreateSnapshotResponse & WithVolumeId(const char *value)
Definition: CreateSnapshotResponse.h:489
Aws::EC2::Model::CreateSnapshotResponse::WithProgress
CreateSnapshotResponse & WithProgress(const char *value)
Definition: CreateSnapshotResponse.h:280
Aws::EC2::Model::CreateSnapshotResponse::WithStateMessage
CreateSnapshotResponse & WithStateMessage(const Aws::String &value)
Definition: CreateSnapshotResponse.h:421
Aws::EC2::Model::CreateSnapshotResponse::SetEncrypted
void SetEncrypted(bool value)
Definition: CreateSnapshotResponse.h:160
Aws::EC2::Model::CreateSnapshotResponse::SetProgress
void SetProgress(Aws::String &&value)
Definition: CreateSnapshotResponse.h:260
Aws::EC2::Model::CreateSnapshotResponse::WithOutpostArn
CreateSnapshotResponse & WithOutpostArn(Aws::String &&value)
Definition: CreateSnapshotResponse.h:610
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateSnapshotResponse::SetState
void SetState(SnapshotState &&value)
Definition: CreateSnapshotResponse.h:365
Aws::EC2::Model::CreateSnapshotResponse::SetDataEncryptionKeyId
void SetDataEncryptionKeyId(const char *value)
Definition: CreateSnapshotResponse.h:83
Aws::EC2::Model::CreateSnapshotResponse::GetOutpostArn
const Aws::String & GetOutpostArn() const
Definition: CreateSnapshotResponse.h:565
Aws::EC2::Model::CreateSnapshotResponse::WithKmsKeyId
CreateSnapshotResponse & WithKmsKeyId(const char *value)
Definition: CreateSnapshotResponse.h:208
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateSnapshotResponse::SetDataEncryptionKeyId
void SetDataEncryptionKeyId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:63
Aws::EC2::Model::CreateSnapshotResponse::WithDataEncryptionKeyId
CreateSnapshotResponse & WithDataEncryptionKeyId(Aws::String &&value)
Definition: CreateSnapshotResponse.h:103
Aws::EC2::Model::CreateSnapshotResponse::WithVolumeId
CreateSnapshotResponse & WithVolumeId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:475
Aws::EC2::Model::CreateSnapshotResponse::GetSnapshotId
const Aws::String & GetSnapshotId() const
Definition: CreateSnapshotResponse.h:287
Aws::EC2::Model::CreateSnapshotResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateSnapshotResponse.h:659
Aws::EC2::Model::CreateSnapshotResponse::WithResponseMetadata
CreateSnapshotResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateSnapshotResponse.h:668
SnapshotState.h
Aws::EC2::Model::CreateSnapshotResponse::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:178
Aws::EC2::Model::CreateSnapshotResponse::WithSnapshotId
CreateSnapshotResponse & WithSnapshotId(const Aws::String &value)
Definition: CreateSnapshotResponse.h:311
Aws::EC2::Model::CreateSnapshotResponse::WithOwnerAlias
CreateSnapshotResponse & WithOwnerAlias(const char *value)
Definition: CreateSnapshotResponse.h:555
Aws::EC2::Model::CreateSnapshotResponse::WithStateMessage
CreateSnapshotResponse & WithStateMessage(Aws::String &&value)
Definition: CreateSnapshotResponse.h:430
Aws::EC2::Model::CreateSnapshotResponse::GetState
const SnapshotState & GetState() const
Definition: CreateSnapshotResponse.h:355
Aws::EC2::Model::CreateSnapshotResponse::WithStartTime
CreateSnapshotResponse & WithStartTime(const Aws::Utils::DateTime &value)
Definition: CreateSnapshotResponse.h:344
Aws::EC2::Model::CreateSnapshotResponse::WithVolumeSize
CreateSnapshotResponse & WithVolumeSize(int value)
Definition: CreateSnapshotResponse.h:505
EC2_EXPORTS.h
Aws::EC2::Model::CreateSnapshotResponse::CreateSnapshotResponse
CreateSnapshotResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateSnapshotResponse::WithEncrypted
CreateSnapshotResponse & WithEncrypted(bool value)
Definition: CreateSnapshotResponse.h:165
Aws::EC2::Model::CreateSnapshotResponse::GetDescription
const Aws::String & GetDescription() const
Definition: CreateSnapshotResponse.h:119
Aws::EC2::Model::CreateSnapshotResponse::AddTags
CreateSnapshotResponse & AddTags(Tag &&value)
Definition: CreateSnapshotResponse.h:655
Aws::EC2::Model::CreateSnapshotResponse::SetSnapshotId
void SetSnapshotId(const char *value)
Definition: CreateSnapshotResponse.h:305
Aws::EC2::Model::CreateSnapshotResponse::SetOwnerAlias
void SetOwnerAlias(const Aws::String &value)
Definition: CreateSnapshotResponse.h:520
Aws::EC2::Model::CreateSnapshotResponse::WithState
CreateSnapshotResponse & WithState(const SnapshotState &value)
Definition: CreateSnapshotResponse.h:370