AWS SDK for C++  1.9.123
AWS SDK for C++
CreateVolumeResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
15 #include <aws/ec2/model/Tag.h>
16 #include <utility>
17 
18 namespace Aws
19 {
20 template<typename RESULT_TYPE>
21 class AmazonWebServiceResult;
22 
23 namespace Utils
24 {
25 namespace Xml
26 {
27  class XmlDocument;
28 } // namespace Xml
29 } // namespace Utils
30 namespace EC2
31 {
32 namespace Model
33 {
40  {
41  public:
45 
46 
50  inline const Aws::Vector<VolumeAttachment>& GetAttachments() const{ return m_attachments; }
51 
55  inline void SetAttachments(const Aws::Vector<VolumeAttachment>& value) { m_attachments = value; }
56 
60  inline void SetAttachments(Aws::Vector<VolumeAttachment>&& value) { m_attachments = std::move(value); }
61 
65  inline CreateVolumeResponse& WithAttachments(const Aws::Vector<VolumeAttachment>& value) { SetAttachments(value); return *this;}
66 
70  inline CreateVolumeResponse& WithAttachments(Aws::Vector<VolumeAttachment>&& value) { SetAttachments(std::move(value)); return *this;}
71 
75  inline CreateVolumeResponse& AddAttachments(const VolumeAttachment& value) { m_attachments.push_back(value); return *this; }
76 
80  inline CreateVolumeResponse& AddAttachments(VolumeAttachment&& value) { m_attachments.push_back(std::move(value)); return *this; }
81 
82 
86  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
87 
91  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZone = value; }
92 
96  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZone = std::move(value); }
97 
101  inline void SetAvailabilityZone(const char* value) { m_availabilityZone.assign(value); }
102 
106  inline CreateVolumeResponse& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
107 
111  inline CreateVolumeResponse& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
112 
116  inline CreateVolumeResponse& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
117 
118 
122  inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
123 
127  inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
128 
132  inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
133 
137  inline CreateVolumeResponse& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
138 
142  inline CreateVolumeResponse& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
143 
144 
148  inline bool GetEncrypted() const{ return m_encrypted; }
149 
153  inline void SetEncrypted(bool value) { m_encrypted = value; }
154 
158  inline CreateVolumeResponse& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
159 
160 
165  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
166 
171  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
172 
177  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
178 
183  inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
184 
189  inline CreateVolumeResponse& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
190 
195  inline CreateVolumeResponse& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
196 
201  inline CreateVolumeResponse& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
202 
203 
207  inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
208 
212  inline void SetOutpostArn(const Aws::String& value) { m_outpostArn = value; }
213 
217  inline void SetOutpostArn(Aws::String&& value) { m_outpostArn = std::move(value); }
218 
222  inline void SetOutpostArn(const char* value) { m_outpostArn.assign(value); }
223 
227  inline CreateVolumeResponse& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
228 
232  inline CreateVolumeResponse& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
233 
237  inline CreateVolumeResponse& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
238 
239 
243  inline int GetSize() const{ return m_size; }
244 
248  inline void SetSize(int value) { m_size = value; }
249 
253  inline CreateVolumeResponse& WithSize(int value) { SetSize(value); return *this;}
254 
255 
259  inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; }
260 
264  inline void SetSnapshotId(const Aws::String& value) { m_snapshotId = value; }
265 
269  inline void SetSnapshotId(Aws::String&& value) { m_snapshotId = std::move(value); }
270 
274  inline void SetSnapshotId(const char* value) { m_snapshotId.assign(value); }
275 
279  inline CreateVolumeResponse& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;}
280 
284  inline CreateVolumeResponse& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;}
285 
289  inline CreateVolumeResponse& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;}
290 
291 
295  inline const VolumeState& GetState() const{ return m_state; }
296 
300  inline void SetState(const VolumeState& value) { m_state = value; }
301 
305  inline void SetState(VolumeState&& value) { m_state = std::move(value); }
306 
310  inline CreateVolumeResponse& WithState(const VolumeState& value) { SetState(value); return *this;}
311 
315  inline CreateVolumeResponse& WithState(VolumeState&& value) { SetState(std::move(value)); return *this;}
316 
317 
321  inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
322 
326  inline void SetVolumeId(const Aws::String& value) { m_volumeId = value; }
327 
331  inline void SetVolumeId(Aws::String&& value) { m_volumeId = std::move(value); }
332 
336  inline void SetVolumeId(const char* value) { m_volumeId.assign(value); }
337 
341  inline CreateVolumeResponse& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
342 
346  inline CreateVolumeResponse& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
347 
351  inline CreateVolumeResponse& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
352 
353 
361  inline int GetIops() const{ return m_iops; }
362 
370  inline void SetIops(int value) { m_iops = value; }
371 
379  inline CreateVolumeResponse& WithIops(int value) { SetIops(value); return *this;}
380 
381 
385  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
386 
390  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
391 
395  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
396 
400  inline CreateVolumeResponse& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
401 
405  inline CreateVolumeResponse& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
406 
410  inline CreateVolumeResponse& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
411 
415  inline CreateVolumeResponse& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
416 
417 
421  inline const VolumeType& GetVolumeType() const{ return m_volumeType; }
422 
426  inline void SetVolumeType(const VolumeType& value) { m_volumeType = value; }
427 
431  inline void SetVolumeType(VolumeType&& value) { m_volumeType = std::move(value); }
432 
436  inline CreateVolumeResponse& WithVolumeType(const VolumeType& value) { SetVolumeType(value); return *this;}
437 
441  inline CreateVolumeResponse& WithVolumeType(VolumeType&& value) { SetVolumeType(std::move(value)); return *this;}
442 
443 
447  inline bool GetFastRestored() const{ return m_fastRestored; }
448 
452  inline void SetFastRestored(bool value) { m_fastRestored = value; }
453 
457  inline CreateVolumeResponse& WithFastRestored(bool value) { SetFastRestored(value); return *this;}
458 
459 
463  inline bool GetMultiAttachEnabled() const{ return m_multiAttachEnabled; }
464 
468  inline void SetMultiAttachEnabled(bool value) { m_multiAttachEnabled = value; }
469 
473  inline CreateVolumeResponse& WithMultiAttachEnabled(bool value) { SetMultiAttachEnabled(value); return *this;}
474 
475 
479  inline int GetThroughput() const{ return m_throughput; }
480 
484  inline void SetThroughput(int value) { m_throughput = value; }
485 
489  inline CreateVolumeResponse& WithThroughput(int value) { SetThroughput(value); return *this;}
490 
491 
492 
493  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
494 
495 
496  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
497 
498 
499  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
500 
501 
502  inline CreateVolumeResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
503 
504 
505  inline CreateVolumeResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
506 
507  private:
508 
509  Aws::Vector<VolumeAttachment> m_attachments;
510 
511  Aws::String m_availabilityZone;
512 
513  Aws::Utils::DateTime m_createTime;
514 
515  bool m_encrypted;
516 
517  Aws::String m_kmsKeyId;
518 
519  Aws::String m_outpostArn;
520 
521  int m_size;
522 
523  Aws::String m_snapshotId;
524 
525  VolumeState m_state;
526 
527  Aws::String m_volumeId;
528 
529  int m_iops;
530 
531  Aws::Vector<Tag> m_tags;
532 
533  VolumeType m_volumeType;
534 
535  bool m_fastRestored;
536 
537  bool m_multiAttachEnabled;
538 
539  int m_throughput;
540 
541  ResponseMetadata m_responseMetadata;
542  };
543 
544 } // namespace Model
545 } // namespace EC2
546 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::CreateVolumeResponse::SetVolumeId
void SetVolumeId(const Aws::String &value)
Definition: CreateVolumeResponse.h:326
Aws::EC2::Model::CreateVolumeResponse::SetAttachments
void SetAttachments(const Aws::Vector< VolumeAttachment > &value)
Definition: CreateVolumeResponse.h:55
Aws::EC2::Model::CreateVolumeResponse::WithState
CreateVolumeResponse & WithState(const VolumeState &value)
Definition: CreateVolumeResponse.h:310
Aws::EC2::Model::CreateVolumeResponse::CreateVolumeResponse
CreateVolumeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateVolumeResponse::GetVolumeType
const VolumeType & GetVolumeType() const
Definition: CreateVolumeResponse.h:421
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateVolumeResponse::SetAttachments
void SetAttachments(Aws::Vector< VolumeAttachment > &&value)
Definition: CreateVolumeResponse.h:60
Aws::EC2::Model::CreateVolumeResponse::SetSnapshotId
void SetSnapshotId(const char *value)
Definition: CreateVolumeResponse.h:274
Aws::EC2::Model::CreateVolumeResponse::SetSnapshotId
void SetSnapshotId(Aws::String &&value)
Definition: CreateVolumeResponse.h:269
VolumeAttachment.h
Aws::EC2::Model::CreateVolumeResponse::SetEncrypted
void SetEncrypted(bool value)
Definition: CreateVolumeResponse.h:153
Aws::EC2::Model::CreateVolumeResponse::WithAvailabilityZone
CreateVolumeResponse & WithAvailabilityZone(Aws::String &&value)
Definition: CreateVolumeResponse.h:111
Aws::EC2::Model::CreateVolumeResponse::WithSize
CreateVolumeResponse & WithSize(int value)
Definition: CreateVolumeResponse.h:253
Aws::EC2::Model::CreateVolumeResponse::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: CreateVolumeResponse.h:177
Aws::EC2::Model::CreateVolumeResponse::WithAttachments
CreateVolumeResponse & WithAttachments(Aws::Vector< VolumeAttachment > &&value)
Definition: CreateVolumeResponse.h:70
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::CreateVolumeResponse::SetState
void SetState(VolumeState &&value)
Definition: CreateVolumeResponse.h:305
Aws::EC2::Model::CreateVolumeResponse::WithTags
CreateVolumeResponse & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateVolumeResponse.h:405
Aws::EC2::Model::CreateVolumeResponse::GetVolumeId
const Aws::String & GetVolumeId() const
Definition: CreateVolumeResponse.h:321
Aws::EC2::Model::CreateVolumeResponse::SetSize
void SetSize(int value)
Definition: CreateVolumeResponse.h:248
Aws::EC2::Model::CreateVolumeResponse::SetOutpostArn
void SetOutpostArn(const char *value)
Definition: CreateVolumeResponse.h:222
Aws::EC2::Model::CreateVolumeResponse::SetThroughput
void SetThroughput(int value)
Definition: CreateVolumeResponse.h:484
VolumeState.h
Aws::EC2::Model::CreateVolumeResponse::CreateVolumeResponse
CreateVolumeResponse()
DateTime.h
Aws::EC2::Model::CreateVolumeResponse::WithMultiAttachEnabled
CreateVolumeResponse & WithMultiAttachEnabled(bool value)
Definition: CreateVolumeResponse.h:473
Aws::EC2::Model::CreateVolumeResponse::GetEncrypted
bool GetEncrypted() const
Definition: CreateVolumeResponse.h:148
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
VolumeType.h
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::CreateVolumeResponse::WithAttachments
CreateVolumeResponse & WithAttachments(const Aws::Vector< VolumeAttachment > &value)
Definition: CreateVolumeResponse.h:65
Aws::EC2::Model::CreateVolumeResponse::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateVolumeResponse.h:385
Aws::EC2::Model::CreateVolumeResponse::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateVolumeResponse.h:390
Aws::EC2::Model::CreateVolumeResponse::WithVolumeId
CreateVolumeResponse & WithVolumeId(const char *value)
Definition: CreateVolumeResponse.h:351
Aws::EC2::Model::CreateVolumeResponse::WithOutpostArn
CreateVolumeResponse & WithOutpostArn(const char *value)
Definition: CreateVolumeResponse.h:237
AWSVector.h
Tag.h
Aws::EC2::Model::CreateVolumeResponse::WithVolumeId
CreateVolumeResponse & WithVolumeId(Aws::String &&value)
Definition: CreateVolumeResponse.h:346
Aws::EC2::Model::CreateVolumeResponse::WithIops
CreateVolumeResponse & WithIops(int value)
Definition: CreateVolumeResponse.h:379
Aws::EC2::Model::CreateVolumeResponse::GetMultiAttachEnabled
bool GetMultiAttachEnabled() const
Definition: CreateVolumeResponse.h:463
Aws::EC2::Model::CreateVolumeResponse::AddTags
CreateVolumeResponse & AddTags(Tag &&value)
Definition: CreateVolumeResponse.h:415
Aws::EC2::Model::CreateVolumeResponse::SetVolumeId
void SetVolumeId(Aws::String &&value)
Definition: CreateVolumeResponse.h:331
Aws::EC2::Model::CreateVolumeResponse::SetIops
void SetIops(int value)
Definition: CreateVolumeResponse.h:370
Aws::EC2::Model::CreateVolumeResponse::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: CreateVolumeResponse.h:91
Aws::EC2::Model::VolumeType
VolumeType
Definition: VolumeType.h:17
Aws::EC2::Model::CreateVolumeResponse::WithResponseMetadata
CreateVolumeResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateVolumeResponse.h:505
Aws::EC2::Model::CreateVolumeResponse::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: CreateVolumeResponse.h:96
Aws::EC2::Model::CreateVolumeResponse::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: CreateVolumeResponse.h:183
Aws::EC2::Model::VolumeState
VolumeState
Definition: VolumeState.h:17
Aws::EC2::Model::CreateVolumeResponse::AddAttachments
CreateVolumeResponse & AddAttachments(VolumeAttachment &&value)
Definition: CreateVolumeResponse.h:80
Aws::EC2::Model::CreateVolumeResponse::SetCreateTime
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition: CreateVolumeResponse.h:132
Aws::EC2::Model::CreateVolumeResponse::WithThroughput
CreateVolumeResponse & WithThroughput(int value)
Definition: CreateVolumeResponse.h:489
Aws::EC2::Model::CreateVolumeResponse::WithKmsKeyId
CreateVolumeResponse & WithKmsKeyId(Aws::String &&value)
Definition: CreateVolumeResponse.h:195
Aws::EC2::Model::CreateVolumeResponse::SetOutpostArn
void SetOutpostArn(const Aws::String &value)
Definition: CreateVolumeResponse.h:212
Aws::EC2::Model::CreateVolumeResponse::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateVolumeResponse.h:395
Aws::EC2::Model::CreateVolumeResponse::WithKmsKeyId
CreateVolumeResponse & WithKmsKeyId(const Aws::String &value)
Definition: CreateVolumeResponse.h:189
Aws::EC2::Model::CreateVolumeResponse::GetIops
int GetIops() const
Definition: CreateVolumeResponse.h:361
Aws::EC2::Model::CreateVolumeResponse::WithFastRestored
CreateVolumeResponse & WithFastRestored(bool value)
Definition: CreateVolumeResponse.h:457
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateVolumeResponse::WithCreateTime
CreateVolumeResponse & WithCreateTime(Aws::Utils::DateTime &&value)
Definition: CreateVolumeResponse.h:142
Aws::EC2::Model::CreateVolumeResponse::WithTags
CreateVolumeResponse & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateVolumeResponse.h:400
Aws::EC2::Model::CreateVolumeResponse::AddTags
CreateVolumeResponse & AddTags(const Tag &value)
Definition: CreateVolumeResponse.h:410
Aws::EC2::Model::CreateVolumeResponse::WithCreateTime
CreateVolumeResponse & WithCreateTime(const Aws::Utils::DateTime &value)
Definition: CreateVolumeResponse.h:137
AWSString.h
Aws::EC2::Model::CreateVolumeResponse::SetVolumeType
void SetVolumeType(VolumeType &&value)
Definition: CreateVolumeResponse.h:431
Aws::EC2::Model::CreateVolumeResponse::GetFastRestored
bool GetFastRestored() const
Definition: CreateVolumeResponse.h:447
Aws::EC2::Model::CreateVolumeResponse::WithVolumeType
CreateVolumeResponse & WithVolumeType(VolumeType &&value)
Definition: CreateVolumeResponse.h:441
Aws::EC2::Model::CreateVolumeResponse::SetVolumeType
void SetVolumeType(const VolumeType &value)
Definition: CreateVolumeResponse.h:426
Aws::EC2::Model::CreateVolumeResponse::GetOutpostArn
const Aws::String & GetOutpostArn() const
Definition: CreateVolumeResponse.h:207
Aws::EC2::Model::CreateVolumeResponse::GetSize
int GetSize() const
Definition: CreateVolumeResponse.h:243
Aws::EC2::Model::CreateVolumeResponse::WithSnapshotId
CreateVolumeResponse & WithSnapshotId(Aws::String &&value)
Definition: CreateVolumeResponse.h:284
Aws::EC2::Model::CreateVolumeResponse::SetSnapshotId
void SetSnapshotId(const Aws::String &value)
Definition: CreateVolumeResponse.h:264
Aws::EC2::Model::CreateVolumeResponse::WithOutpostArn
CreateVolumeResponse & WithOutpostArn(Aws::String &&value)
Definition: CreateVolumeResponse.h:232
Aws::EC2::Model::CreateVolumeResponse::SetMultiAttachEnabled
void SetMultiAttachEnabled(bool value)
Definition: CreateVolumeResponse.h:468
Aws::EC2::Model::CreateVolumeResponse::WithAvailabilityZone
CreateVolumeResponse & WithAvailabilityZone(const Aws::String &value)
Definition: CreateVolumeResponse.h:106
Aws::EC2::Model::CreateVolumeResponse::WithVolumeType
CreateVolumeResponse & WithVolumeType(const VolumeType &value)
Definition: CreateVolumeResponse.h:436
Aws::EC2::Model::CreateVolumeResponse::GetAttachments
const Aws::Vector< VolumeAttachment > & GetAttachments() const
Definition: CreateVolumeResponse.h:50
Aws::EC2::Model::CreateVolumeResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateVolumeResponse.h:496
Aws::EC2::Model::CreateVolumeResponse
Definition: CreateVolumeResponse.h:40
Aws::EC2::Model::CreateVolumeResponse::SetFastRestored
void SetFastRestored(bool value)
Definition: CreateVolumeResponse.h:452
Aws::EC2::Model::CreateVolumeResponse::WithEncrypted
CreateVolumeResponse & WithEncrypted(bool value)
Definition: CreateVolumeResponse.h:158
Aws::EC2::Model::CreateVolumeResponse::SetCreateTime
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition: CreateVolumeResponse.h:127
Aws::EC2::Model::CreateVolumeResponse::SetOutpostArn
void SetOutpostArn(Aws::String &&value)
Definition: CreateVolumeResponse.h:217
Aws::EC2::Model::CreateVolumeResponse::WithResponseMetadata
CreateVolumeResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateVolumeResponse.h:502
Aws::EC2::Model::CreateVolumeResponse::AddAttachments
CreateVolumeResponse & AddAttachments(const VolumeAttachment &value)
Definition: CreateVolumeResponse.h:75
Aws::EC2::Model::CreateVolumeResponse::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: CreateVolumeResponse.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateVolumeResponse::operator=
CreateVolumeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateVolumeResponse::WithSnapshotId
CreateVolumeResponse & WithSnapshotId(const Aws::String &value)
Definition: CreateVolumeResponse.h:279
Aws::EC2::Model::CreateVolumeResponse::GetSnapshotId
const Aws::String & GetSnapshotId() const
Definition: CreateVolumeResponse.h:259
Aws::EC2::Model::CreateVolumeResponse::WithSnapshotId
CreateVolumeResponse & WithSnapshotId(const char *value)
Definition: CreateVolumeResponse.h:289
Aws::EC2::Model::CreateVolumeResponse::SetState
void SetState(const VolumeState &value)
Definition: CreateVolumeResponse.h:300
Aws::EC2::Model::CreateVolumeResponse::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: CreateVolumeResponse.h:171
Aws::EC2::Model::CreateVolumeResponse::WithKmsKeyId
CreateVolumeResponse & WithKmsKeyId(const char *value)
Definition: CreateVolumeResponse.h:201
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateVolumeResponse::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: CreateVolumeResponse.h:165
Aws::EC2::Model::CreateVolumeResponse::WithVolumeId
CreateVolumeResponse & WithVolumeId(const Aws::String &value)
Definition: CreateVolumeResponse.h:341
Aws::EC2::Model::CreateVolumeResponse::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: CreateVolumeResponse.h:86
Aws::EC2::Model::CreateVolumeResponse::GetState
const VolumeState & GetState() const
Definition: CreateVolumeResponse.h:295
Aws::EC2::Model::CreateVolumeResponse::SetVolumeId
void SetVolumeId(const char *value)
Definition: CreateVolumeResponse.h:336
Aws::EC2::Model::CreateVolumeResponse::WithAvailabilityZone
CreateVolumeResponse & WithAvailabilityZone(const char *value)
Definition: CreateVolumeResponse.h:116
Aws::EC2::Model::CreateVolumeResponse::GetCreateTime
const Aws::Utils::DateTime & GetCreateTime() const
Definition: CreateVolumeResponse.h:122
EC2_EXPORTS.h
Aws::EC2::Model::CreateVolumeResponse::WithOutpostArn
CreateVolumeResponse & WithOutpostArn(const Aws::String &value)
Definition: CreateVolumeResponse.h:227
Aws::EC2::Model::CreateVolumeResponse::GetThroughput
int GetThroughput() const
Definition: CreateVolumeResponse.h:479
Aws::EC2::Model::CreateVolumeResponse::WithState
CreateVolumeResponse & WithState(VolumeState &&value)
Definition: CreateVolumeResponse.h:315
Aws::EC2::Model::CreateVolumeResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateVolumeResponse.h:499
Aws::EC2::Model::CreateVolumeResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateVolumeResponse.h:493
Aws::EC2::Model::VolumeAttachment
Definition: VolumeAttachment.h:35