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/ChecksumType.h>
12#include <aws/s3/model/ObjectStorageClass.h>
13#include <aws/s3/model/Owner.h>
14#include <aws/s3/model/RestoreStatus.h>
15#include <aws/s3/model/ChecksumAlgorithm.h>
55 template<
typename KeyT = Aws::String>
56 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
57 template<
typename KeyT = Aws::String>
67 template<
typename LastModifiedT = Aws::Utils::DateTime>
68 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
69 template<
typename LastModifiedT = Aws::Utils::DateTime>
94 template<
typename ETagT = Aws::String>
95 void SetETag(ETagT&& value) { m_eTagHasBeenSet =
true; m_eTag = std::forward<ETagT>(value); }
96 template<
typename ETagT = Aws::String>
106 template<
typename ChecksumAlgorithmT = Aws::Vector<ChecksumAlgorithm>>
107 void SetChecksumAlgorithm(ChecksumAlgorithmT&& value) { m_checksumAlgorithmHasBeenSet =
true; m_checksumAlgorithm = std::forward<ChecksumAlgorithmT>(value); }
108 template<
typename ChecksumAlgorithmT = Aws::Vector<ChecksumAlgorithm>>
130 inline long long GetSize()
const {
return m_size; }
132 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
157 template<
typename OwnerT = Owner>
158 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
159 template<
typename OwnerT = Owner>
177 template<
typename RestoreStatusT = RestoreStatus>
178 void SetRestoreStatus(RestoreStatusT&& value) { m_restoreStatusHasBeenSet =
true; m_restoreStatus = std::forward<RestoreStatusT>(value); }
179 template<
typename RestoreStatusT = RestoreStatus>
185 bool m_keyHasBeenSet =
false;
188 bool m_lastModifiedHasBeenSet =
false;
191 bool m_eTagHasBeenSet =
false;
194 bool m_checksumAlgorithmHasBeenSet =
false;
197 bool m_checksumTypeHasBeenSet =
false;
200 bool m_sizeHasBeenSet =
false;
203 bool m_storageClassHasBeenSet =
false;
206 bool m_ownerHasBeenSet =
false;
209 bool m_restoreStatusHasBeenSet =
false;
Object & WithKey(KeyT &&value)
bool RestoreStatusHasBeenSet() const
void SetRestoreStatus(RestoreStatusT &&value)
Object & WithRestoreStatus(RestoreStatusT &&value)
AWS_S3_API Object & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SizeHasBeenSet() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetKey() const
Object & AddChecksumAlgorithm(ChecksumAlgorithm value)
void SetKey(KeyT &&value)
void SetLastModified(LastModifiedT &&value)
bool KeyHasBeenSet() const
bool LastModifiedHasBeenSet() const
const Owner & GetOwner() const
Object & WithETag(ETagT &&value)
Object & WithStorageClass(ObjectStorageClass value)
void SetChecksumType(ChecksumType value)
Object & WithSize(long long value)
void SetStorageClass(ObjectStorageClass value)
ObjectStorageClass GetStorageClass() const
void SetSize(long long value)
void SetOwner(OwnerT &&value)
bool ChecksumAlgorithmHasBeenSet() const
AWS_S3_API Object()=default
bool StorageClassHasBeenSet() const
bool ChecksumTypeHasBeenSet() const
long long GetSize() const
ChecksumType GetChecksumType() const
Object & WithChecksumAlgorithm(ChecksumAlgorithmT &&value)
const RestoreStatus & GetRestoreStatus() const
Object & WithOwner(OwnerT &&value)
const Aws::String & GetETag() const
bool OwnerHasBeenSet() const
void SetChecksumAlgorithm(ChecksumAlgorithmT &&value)
const Aws::Vector< ChecksumAlgorithm > & GetChecksumAlgorithm() const
AWS_S3_API Object(const Aws::Utils::Xml::XmlNode &xmlNode)
Object & WithLastModified(LastModifiedT &&value)
void SetETag(ETagT &&value)
bool ETagHasBeenSet() const
Object & WithChecksumType(ChecksumType 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