7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3-crt/model/ObjectVersionStorageClass.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/s3-crt/model/Owner.h>
13#include <aws/s3-crt/model/RestoreStatus.h>
14#include <aws/s3-crt/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;
void SetKey(Aws::String &&value)
void SetVersionId(const Aws::String &value)
ObjectVersion & AddChecksumAlgorithm(const ChecksumAlgorithm &value)
bool SizeHasBeenSet() const
ObjectVersion & WithOwner(Owner &&value)
ObjectVersion & WithOwner(const Owner &value)
ObjectVersion & WithKey(const char *value)
ObjectVersion & WithChecksumAlgorithm(Aws::Vector< ChecksumAlgorithm > &&value)
bool KeyHasBeenSet() const
ObjectVersion & WithChecksumAlgorithm(const Aws::Vector< ChecksumAlgorithm > &value)
ObjectVersion & WithIsLatest(bool value)
const Aws::String & GetKey() const
void SetStorageClass(const ObjectVersionStorageClass &value)
ObjectVersion & WithKey(const Aws::String &value)
ObjectVersion & WithVersionId(const char *value)
long long GetSize() const
AWS_S3CRT_API ObjectVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectVersion & AddChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetChecksumAlgorithm(Aws::Vector< ChecksumAlgorithm > &&value)
void SetETag(Aws::String &&value)
void SetETag(const char *value)
const RestoreStatus & GetRestoreStatus() const
AWS_S3CRT_API ObjectVersion()
ObjectVersion & WithVersionId(const Aws::String &value)
void SetKey(const char *value)
ObjectVersion & WithETag(const char *value)
bool IsLatestHasBeenSet() const
const Aws::Utils::DateTime & GetLastModified() const
void SetKey(const Aws::String &value)
bool ChecksumAlgorithmHasBeenSet() const
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool RestoreStatusHasBeenSet() const
ObjectVersion & WithRestoreStatus(RestoreStatus &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
ObjectVersion & WithVersionId(Aws::String &&value)
ObjectVersion & WithETag(Aws::String &&value)
void SetETag(const Aws::String &value)
bool LastModifiedHasBeenSet() const
AWS_S3CRT_API ObjectVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StorageClassHasBeenSet() const
ObjectVersion & WithRestoreStatus(const RestoreStatus &value)
void SetLastModified(const Aws::Utils::DateTime &value)
void SetOwner(Owner &&value)
const ObjectVersionStorageClass & GetStorageClass() const
void SetOwner(const Owner &value)
const Aws::String & GetVersionId() const
void SetIsLatest(bool value)
bool OwnerHasBeenSet() const
ObjectVersion & WithKey(Aws::String &&value)
ObjectVersion & WithStorageClass(const ObjectVersionStorageClass &value)
ObjectVersion & WithLastModified(Aws::Utils::DateTime &&value)
void SetRestoreStatus(const RestoreStatus &value)
ObjectVersion & WithSize(long long value)
const Aws::Vector< ChecksumAlgorithm > & GetChecksumAlgorithm() const
void SetStorageClass(ObjectVersionStorageClass &&value)
void SetVersionId(Aws::String &&value)
ObjectVersion & WithLastModified(const Aws::Utils::DateTime &value)
const Aws::String & GetETag() const
void SetRestoreStatus(RestoreStatus &&value)
bool ETagHasBeenSet() const
const Owner & GetOwner() const
void SetVersionId(const char *value)
void SetChecksumAlgorithm(const Aws::Vector< ChecksumAlgorithm > &value)
ObjectVersion & WithETag(const Aws::String &value)
bool VersionIdHasBeenSet() const
ObjectVersion & WithStorageClass(ObjectVersionStorageClass &&value)
void SetSize(long long value)
ObjectVersionStorageClass
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector