68 inline void SetETag(
const char* value) { m_eTagHasBeenSet =
true; m_eTag.assign(value); }
130 inline long long GetSize()
const{
return m_size; }
140 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
202 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
243 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
277 inline void SetIsLatest(
bool value) { m_isLatestHasBeenSet =
true; m_isLatest = value; }
330 inline void SetOwner(
const Owner& value) { m_ownerHasBeenSet =
true; m_owner = value; }
335 inline void SetOwner(
Owner&& value) { m_ownerHasBeenSet =
true; m_owner = std::move(value); }
350 bool m_eTagHasBeenSet =
false;
353 bool m_checksumAlgorithmHasBeenSet =
false;
356 bool m_sizeHasBeenSet =
false;
359 bool m_storageClassHasBeenSet =
false;
362 bool m_keyHasBeenSet =
false;
365 bool m_versionIdHasBeenSet =
false;
368 bool m_isLatestHasBeenSet =
false;
371 bool m_lastModifiedHasBeenSet =
false;
374 bool m_ownerHasBeenSet =
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 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)
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 & 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)
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