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/StorageTier.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ec2/model/SSEType.h>
13#include <aws/ec2/model/SnapshotState.h>
14#include <aws/ec2/model/ResponseMetadata.h>
15#include <aws/ec2/model/Tag.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
56 inline void SetOwnerAlias(
const char* value) { m_ownerAlias.assign(value); }
72 inline void SetOutpostArn(
const char* value) { m_outpostArn.assign(value); }
137 inline void SetSnapshotId(
const char* value) { m_snapshotId.assign(value); }
152 inline void SetVolumeId(
const char* value) { m_volumeId.assign(value); }
203 inline void SetProgress(
const char* value) { m_progress.assign(value); }
216 inline void SetOwnerId(
const char* value) { m_ownerId.assign(value); }
261 inline void SetKmsKeyId(
const char* value) { m_kmsKeyId.assign(value); }
AWS_EC2_API CreateSnapshotResponse()
void SetOwnerId(const char *value)
CreateSnapshotResponse & WithTags(const Aws::Vector< Tag > &value)
void SetRestoreExpiryTime(Aws::Utils::DateTime &&value)
const Aws::String & GetProgress() const
void SetOwnerAlias(const Aws::String &value)
CreateSnapshotResponse & AddTags(Tag &&value)
CreateSnapshotResponse & WithKmsKeyId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
CreateSnapshotResponse & WithOutpostArn(Aws::String &&value)
bool GetEncrypted() const
void SetSnapshotId(Aws::String &&value)
void SetRestoreExpiryTime(const Aws::Utils::DateTime &value)
void SetResponseMetadata(ResponseMetadata &&value)
const Aws::String & GetStateMessage() const
CreateSnapshotResponse & WithVolumeId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CreateSnapshotResponse & WithOwnerId(const char *value)
void SetProgress(const char *value)
void SetEncrypted(bool value)
CreateSnapshotResponse & WithSnapshotId(const char *value)
CreateSnapshotResponse & WithOwnerId(Aws::String &&value)
CreateSnapshotResponse & WithKmsKeyId(Aws::String &&value)
void SetVolumeId(const Aws::String &value)
int GetVolumeSize() const
CreateSnapshotResponse & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetVolumeId() const
void SetDataEncryptionKeyId(const char *value)
void SetStorageTier(StorageTier &&value)
CreateSnapshotResponse & AddTags(const Tag &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetSseType(const SSEType &value)
const SSEType & GetSseType() const
const Aws::String & GetKmsKeyId() const
CreateSnapshotResponse & WithState(SnapshotState &&value)
void SetDescription(const char *value)
void SetSseType(SSEType &&value)
CreateSnapshotResponse & WithVolumeId(Aws::String &&value)
void SetStorageTier(const StorageTier &value)
void SetDataEncryptionKeyId(const Aws::String &value)
const Aws::String & GetOwnerId() const
void SetOutpostArn(const Aws::String &value)
void SetOwnerId(Aws::String &&value)
CreateSnapshotResponse & WithDescription(const char *value)
CreateSnapshotResponse & WithEncrypted(bool value)
CreateSnapshotResponse & WithStateMessage(const Aws::String &value)
CreateSnapshotResponse & WithStorageTier(const StorageTier &value)
const Aws::String & GetSnapshotId() const
void SetVolumeId(const char *value)
void SetSnapshotId(const Aws::String &value)
void SetOutpostArn(Aws::String &&value)
CreateSnapshotResponse & WithRestoreExpiryTime(Aws::Utils::DateTime &&value)
void SetOutpostArn(const char *value)
void SetKmsKeyId(Aws::String &&value)
const SnapshotState & GetState() const
CreateSnapshotResponse & WithVolumeId(const char *value)
CreateSnapshotResponse & WithVolumeSize(int value)
CreateSnapshotResponse & WithProgress(const char *value)
void SetStateMessage(const char *value)
void SetDataEncryptionKeyId(Aws::String &&value)
CreateSnapshotResponse & WithTags(Aws::Vector< Tag > &&value)
void SetKmsKeyId(const char *value)
CreateSnapshotResponse & WithRestoreExpiryTime(const Aws::Utils::DateTime &value)
CreateSnapshotResponse & WithOutpostArn(const char *value)
const Aws::String & GetOutpostArn() const
const Aws::String & GetOwnerAlias() const
void SetVolumeSize(int value)
CreateSnapshotResponse & WithStateMessage(const char *value)
CreateSnapshotResponse & WithOwnerAlias(const Aws::String &value)
CreateSnapshotResponse & WithSseType(SSEType &&value)
void SetState(SnapshotState &&value)
CreateSnapshotResponse & WithOwnerId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetDescription(const Aws::String &value)
void SetOwnerAlias(const char *value)
CreateSnapshotResponse & WithDescription(Aws::String &&value)
CreateSnapshotResponse & WithOwnerAlias(const char *value)
CreateSnapshotResponse & WithProgress(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
const Aws::String & GetDataEncryptionKeyId() const
CreateSnapshotResponse & WithStartTime(const Aws::Utils::DateTime &value)
void SetSnapshotId(const char *value)
CreateSnapshotResponse & WithSnapshotId(const Aws::String &value)
void SetStateMessage(Aws::String &&value)
void SetVolumeId(Aws::String &&value)
CreateSnapshotResponse & WithResponseMetadata(ResponseMetadata &&value)
CreateSnapshotResponse & WithStorageTier(StorageTier &&value)
CreateSnapshotResponse & WithSseType(const SSEType &value)
void SetProgress(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetOwnerId(const Aws::String &value)
CreateSnapshotResponse & WithState(const SnapshotState &value)
const ResponseMetadata & GetResponseMetadata() const
CreateSnapshotResponse & WithDataEncryptionKeyId(const Aws::String &value)
CreateSnapshotResponse & WithProgress(Aws::String &&value)
AWS_EC2_API CreateSnapshotResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateSnapshotResponse & WithOutpostArn(const Aws::String &value)
CreateSnapshotResponse & WithResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API CreateSnapshotResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetStartTime(Aws::Utils::DateTime &&value)
CreateSnapshotResponse & WithStateMessage(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetResponseMetadata(const ResponseMetadata &value)
CreateSnapshotResponse & WithOwnerAlias(Aws::String &&value)
const Aws::String & GetDescription() const
CreateSnapshotResponse & WithSnapshotId(Aws::String &&value)
CreateSnapshotResponse & WithDataEncryptionKeyId(const char *value)
const StorageTier & GetStorageTier() const
CreateSnapshotResponse & WithDescription(const Aws::String &value)
void SetStateMessage(const Aws::String &value)
const Aws::Utils::DateTime & GetRestoreExpiryTime() const
void SetOwnerAlias(Aws::String &&value)
void SetProgress(const Aws::String &value)
void SetState(const SnapshotState &value)
CreateSnapshotResponse & WithKmsKeyId(const char *value)
CreateSnapshotResponse & WithDataEncryptionKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument