7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/s3/model/ObjectStorageClass.h>
12#include <aws/s3/model/Owner.h>
13#include <aws/s3/model/RestoreStatus.h>
14#include <aws/s3/model/ChecksumAlgorithm.h>
55 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
56 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
97 inline void SetETag(
const char* value) { m_eTagHasBeenSet =
true; m_eTag.assign(value); }
121 inline long long GetSize()
const{
return m_size; }
123 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
148 inline void SetOwner(
const Owner& value) { m_ownerHasBeenSet =
true; m_owner = value; }
149 inline void SetOwner(
Owner&& value) { m_ownerHasBeenSet =
true; m_owner = std::move(value); }
175 bool m_keyHasBeenSet =
false;
178 bool m_lastModifiedHasBeenSet =
false;
181 bool m_eTagHasBeenSet =
false;
184 bool m_checksumAlgorithmHasBeenSet =
false;
187 bool m_sizeHasBeenSet =
false;
190 bool m_storageClassHasBeenSet =
false;
193 bool m_ownerHasBeenSet =
false;
196 bool m_restoreStatusHasBeenSet =
false;
bool RestoreStatusHasBeenSet() const
Object & WithRestoreStatus(RestoreStatus &&value)
Object & AddChecksumAlgorithm(const ChecksumAlgorithm &value)
AWS_S3_API Object & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Object & WithETag(const char *value)
bool SizeHasBeenSet() const
void SetETag(const Aws::String &value)
void SetETag(Aws::String &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLastModified(const Aws::Utils::DateTime &value)
Object & WithStorageClass(ObjectStorageClass &&value)
Object & WithETag(Aws::String &&value)
const Aws::String & GetKey() const
Object & WithKey(const Aws::String &value)
bool KeyHasBeenSet() const
bool LastModifiedHasBeenSet() const
const Owner & GetOwner() const
const ObjectStorageClass & GetStorageClass() const
Object & AddChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetKey(const char *value)
Object & WithSize(long long value)
Object & WithOwner(const Owner &value)
void SetSize(long long value)
Object & WithKey(const char *value)
bool ChecksumAlgorithmHasBeenSet() const
Object & WithKey(Aws::String &&value)
void SetRestoreStatus(RestoreStatus &&value)
Object & WithChecksumAlgorithm(const Aws::Vector< ChecksumAlgorithm > &value)
void SetLastModified(Aws::Utils::DateTime &&value)
bool StorageClassHasBeenSet() const
void SetStorageClass(ObjectStorageClass &&value)
Object & WithLastModified(const Aws::Utils::DateTime &value)
long long GetSize() const
void SetChecksumAlgorithm(Aws::Vector< ChecksumAlgorithm > &&value)
const RestoreStatus & GetRestoreStatus() const
void SetStorageClass(const ObjectStorageClass &value)
Object & WithStorageClass(const ObjectStorageClass &value)
void SetKey(const Aws::String &value)
Object & WithRestoreStatus(const RestoreStatus &value)
const Aws::String & GetETag() const
bool OwnerHasBeenSet() const
void SetRestoreStatus(const RestoreStatus &value)
Object & WithETag(const Aws::String &value)
Object & WithOwner(Owner &&value)
const Aws::Vector< ChecksumAlgorithm > & GetChecksumAlgorithm() const
void SetChecksumAlgorithm(const Aws::Vector< ChecksumAlgorithm > &value)
void SetOwner(const Owner &value)
AWS_S3_API Object(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKey(Aws::String &&value)
Object & WithLastModified(Aws::Utils::DateTime &&value)
void SetOwner(Owner &&value)
bool ETagHasBeenSet() const
void SetETag(const char *value)
Object & WithChecksumAlgorithm(Aws::Vector< ChecksumAlgorithm > &&value)
const Aws::Utils::DateTime & GetLastModified() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector