7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/VolumeType.h>
11#include <aws/ec2/model/SSEType.h>
12#include <aws/ec2/model/VolumeState.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/ec2/model/ResponseMetadata.h>
15#include <aws/ec2/model/Tag.h>
16#include <aws/ec2/model/VolumeAttachment.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
55 inline void SetOutpostArn(
const char* value) { m_outpostArn.assign(value); }
69 inline int GetIops()
const{
return m_iops; }
70 inline void SetIops(
int value) { m_iops = value; }
145 inline void SetVolumeId(
const char* value) { m_volumeId.assign(value); }
156 inline void SetSize(
int value) { m_size = value; }
167 inline void SetSnapshotId(
const char* value) { m_snapshotId.assign(value); }
239 inline void SetKmsKeyId(
const char* value) { m_kmsKeyId.assign(value); }
265 bool m_multiAttachEnabled;
void SetVolumeId(const Aws::String &value)
void SetOutpostArn(Aws::String &&value)
const Aws::String & GetSnapshotId() const
void SetAvailabilityZone(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
CreateVolumeResponse & AddAttachments(const VolumeAttachment &value)
const Aws::String & GetAvailabilityZone() const
void SetVolumeId(const char *value)
CreateVolumeResponse & WithVolumeId(Aws::String &&value)
CreateVolumeResponse & WithThroughput(int value)
CreateVolumeResponse & WithSseType(const SSEType &value)
CreateVolumeResponse & WithTags(const Aws::Vector< Tag > &value)
CreateVolumeResponse & WithVolumeType(const VolumeType &value)
bool GetFastRestored() const
CreateVolumeResponse & WithResponseMetadata(ResponseMetadata &&value)
void SetSseType(SSEType &&value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetKmsKeyId() const
void SetKmsKeyId(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
const SSEType & GetSseType() const
void SetAvailabilityZone(const char *value)
CreateVolumeResponse & AddTags(Tag &&value)
void SetState(const VolumeState &value)
CreateVolumeResponse & WithState(VolumeState &&value)
CreateVolumeResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetAttachments(const Aws::Vector< VolumeAttachment > &value)
void SetMultiAttachEnabled(bool value)
CreateVolumeResponse & WithOutpostArn(const Aws::String &value)
void SetState(VolumeState &&value)
void SetVolumeId(Aws::String &&value)
CreateVolumeResponse & WithSnapshotId(const char *value)
void SetResponseMetadata(ResponseMetadata &&value)
CreateVolumeResponse & WithKmsKeyId(const char *value)
const Aws::Vector< VolumeAttachment > & GetAttachments() const
void SetSnapshotId(const char *value)
void SetEncrypted(bool value)
CreateVolumeResponse & WithKmsKeyId(const Aws::String &value)
void SetSseType(const SSEType &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
const VolumeType & GetVolumeType() const
CreateVolumeResponse & WithAvailabilityZone(Aws::String &&value)
CreateVolumeResponse & WithKmsKeyId(Aws::String &&value)
CreateVolumeResponse & WithAttachments(const Aws::Vector< VolumeAttachment > &value)
CreateVolumeResponse & WithVolumeId(const char *value)
CreateVolumeResponse & WithCreateTime(Aws::Utils::DateTime &&value)
CreateVolumeResponse & WithSize(int value)
AWS_EC2_API CreateVolumeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetVolumeType(const VolumeType &value)
const Aws::String & GetVolumeId() const
CreateVolumeResponse & WithTags(Aws::Vector< Tag > &&value)
CreateVolumeResponse & WithCreateTime(const Aws::Utils::DateTime &value)
AWS_EC2_API CreateVolumeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetFastRestored(bool value)
CreateVolumeResponse & WithMultiAttachEnabled(bool value)
CreateVolumeResponse & WithSnapshotId(Aws::String &&value)
CreateVolumeResponse & WithOutpostArn(const char *value)
void SetVolumeType(VolumeType &&value)
CreateVolumeResponse & WithState(const VolumeState &value)
CreateVolumeResponse & WithOutpostArn(Aws::String &&value)
CreateVolumeResponse & WithAvailabilityZone(const char *value)
void SetThroughput(int value)
CreateVolumeResponse & WithIops(int value)
void SetSnapshotId(const Aws::String &value)
CreateVolumeResponse & WithAttachments(Aws::Vector< VolumeAttachment > &&value)
void SetAttachments(Aws::Vector< VolumeAttachment > &&value)
bool GetMultiAttachEnabled() const
void SetTags(Aws::Vector< Tag > &&value)
bool GetEncrypted() const
CreateVolumeResponse & WithVolumeType(VolumeType &&value)
CreateVolumeResponse & WithSseType(SSEType &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetOutpostArn(const Aws::String &value)
CreateVolumeResponse & AddTags(const Tag &value)
void SetSnapshotId(Aws::String &&value)
AWS_EC2_API CreateVolumeResponse()
CreateVolumeResponse & WithVolumeId(const Aws::String &value)
CreateVolumeResponse & WithSnapshotId(const Aws::String &value)
CreateVolumeResponse & AddAttachments(VolumeAttachment &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
CreateVolumeResponse & WithAvailabilityZone(const Aws::String &value)
int GetThroughput() const
void SetAvailabilityZone(const Aws::String &value)
CreateVolumeResponse & WithFastRestored(bool value)
void SetOutpostArn(const char *value)
const Aws::Utils::DateTime & GetCreateTime() const
CreateVolumeResponse & WithEncrypted(bool value)
const Aws::String & GetOutpostArn() const
void SetKmsKeyId(const char *value)
const Aws::Vector< Tag > & GetTags() const
const VolumeState & GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument