7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3/model/ObjectVersionStorageClass.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/s3/model/Owner.h>
13#include <aws/s3/model/RestoreStatus.h>
14#include <aws/s3/model/ChecksumAlgorithm.h>
54 inline void SetETag(
const char* value) { m_eTagHasBeenSet =
true; m_eTag.assign(value); }
78 inline long long GetSize()
const{
return m_size; }
80 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
104 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
118 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
131 inline void SetIsLatest(
bool value) { m_isLatestHasBeenSet =
true; m_isLatest = value; }
153 inline void SetOwner(
const Owner& value) { m_ownerHasBeenSet =
true; m_owner = value; }
154 inline void SetOwner(
Owner&& value) { m_ownerHasBeenSet =
true; m_owner = std::move(value); }
177 bool m_eTagHasBeenSet =
false;
180 bool m_checksumAlgorithmHasBeenSet =
false;
183 bool m_sizeHasBeenSet =
false;
186 bool m_storageClassHasBeenSet =
false;
189 bool m_keyHasBeenSet =
false;
192 bool m_versionIdHasBeenSet =
false;
195 bool m_isLatestHasBeenSet =
false;
198 bool m_lastModifiedHasBeenSet =
false;
201 bool m_ownerHasBeenSet =
false;
204 bool m_restoreStatusHasBeenSet =
false;
bool SizeHasBeenSet() const
ObjectVersion & WithLastModified(const Aws::Utils::DateTime &value)
void SetStorageClass(ObjectVersionStorageClass &&value)
bool IsLatestHasBeenSet() const
void SetIsLatest(bool value)
AWS_S3_API ObjectVersion()
const Owner & GetOwner() const
const Aws::Vector< ChecksumAlgorithm > & GetChecksumAlgorithm() const
void SetRestoreStatus(const RestoreStatus &value)
void SetSize(long long value)
bool VersionIdHasBeenSet() const
ObjectVersion & WithSize(long long value)
ObjectVersion & WithOwner(const Owner &value)
void SetOwner(const Owner &value)
const Aws::String & GetETag() const
void SetChecksumAlgorithm(Aws::Vector< ChecksumAlgorithm > &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
const Aws::String & GetVersionId() const
AWS_S3_API ObjectVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ObjectVersionStorageClass & GetStorageClass() const
ObjectVersion & WithVersionId(const char *value)
ObjectVersion & AddChecksumAlgorithm(ChecksumAlgorithm &&value)
bool OwnerHasBeenSet() const
bool LastModifiedHasBeenSet() const
long long GetSize() const
ObjectVersion & WithStorageClass(const ObjectVersionStorageClass &value)
void SetLastModified(const Aws::Utils::DateTime &value)
ObjectVersion & WithChecksumAlgorithm(const Aws::Vector< ChecksumAlgorithm > &value)
void SetKey(const char *value)
void SetKey(const Aws::String &value)
void SetVersionId(Aws::String &&value)
void SetETag(const char *value)
ObjectVersion & WithKey(const Aws::String &value)
bool RestoreStatusHasBeenSet() const
void SetRestoreStatus(RestoreStatus &&value)
const RestoreStatus & GetRestoreStatus() const
void SetChecksumAlgorithm(const Aws::Vector< ChecksumAlgorithm > &value)
AWS_S3_API ObjectVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectVersion & WithVersionId(Aws::String &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Utils::DateTime & GetLastModified() const
ObjectVersion & WithRestoreStatus(const RestoreStatus &value)
ObjectVersion & AddChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetVersionId(const Aws::String &value)
bool ChecksumAlgorithmHasBeenSet() const
ObjectVersion & WithKey(const char *value)
ObjectVersion & WithChecksumAlgorithm(Aws::Vector< ChecksumAlgorithm > &&value)
void SetVersionId(const char *value)
void SetStorageClass(const ObjectVersionStorageClass &value)
ObjectVersion & WithStorageClass(ObjectVersionStorageClass &&value)
bool StorageClassHasBeenSet() const
ObjectVersion & WithETag(Aws::String &&value)
void SetETag(Aws::String &&value)
bool KeyHasBeenSet() const
void SetKey(Aws::String &&value)
void SetETag(const Aws::String &value)
ObjectVersion & WithRestoreStatus(RestoreStatus &&value)
const Aws::String & GetKey() const
ObjectVersion & WithOwner(Owner &&value)
void SetOwner(Owner &&value)
ObjectVersion & WithETag(const Aws::String &value)
ObjectVersion & WithIsLatest(bool value)
ObjectVersion & WithKey(Aws::String &&value)
bool ETagHasBeenSet() const
ObjectVersion & WithVersionId(const Aws::String &value)
ObjectVersion & WithETag(const char *value)
ObjectVersion & WithLastModified(Aws::Utils::DateTime &&value)
ObjectVersionStorageClass
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector