7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/ChecksumAlgorithm.h>
12#include <aws/s3-crt/model/ChecksumType.h>
13#include <aws/s3-crt/model/ObjectStorageClass.h>
14#include <aws/s3-crt/model/Owner.h>
15#include <aws/s3-crt/model/RestoreStatus.h>
49 template <
typename KeyT = Aws::String>
51 m_keyHasBeenSet =
true;
52 m_key = std::forward<KeyT>(value);
54 template <
typename KeyT = Aws::String>
56 SetKey(std::forward<KeyT>(value));
67 template <
typename LastModifiedT = Aws::Utils::DateTime>
69 m_lastModifiedHasBeenSet =
true;
70 m_lastModified = std::forward<LastModifiedT>(value);
72 template <
typename LastModifiedT = Aws::Utils::DateTime>
100 template <
typename ETagT = Aws::String>
102 m_eTagHasBeenSet =
true;
103 m_eTag = std::forward<ETagT>(value);
105 template <
typename ETagT = Aws::String>
107 SetETag(std::forward<ETagT>(value));
118 template <
typename ChecksumAlgorithmT = Aws::Vector<ChecksumAlgorithm>>
120 m_checksumAlgorithmHasBeenSet =
true;
121 m_checksumAlgorithm = std::forward<ChecksumAlgorithmT>(value);
123 template <
typename ChecksumAlgorithmT = Aws::Vector<ChecksumAlgorithm>>
129 m_checksumAlgorithmHasBeenSet =
true;
130 m_checksumAlgorithm.push_back(value);
145 m_checksumTypeHasBeenSet =
true;
146 m_checksumType = value;
158 inline long long GetSize()
const {
return m_size; }
161 m_sizeHasBeenSet =
true;
181 m_storageClassHasBeenSet =
true;
182 m_storageClass = value;
197 template <
typename OwnerT = Owner>
199 m_ownerHasBeenSet =
true;
200 m_owner = std::forward<OwnerT>(value);
202 template <
typename OwnerT = Owner>
204 SetOwner(std::forward<OwnerT>(value));
223 template <
typename RestoreStatusT = RestoreStatus>
225 m_restoreStatusHasBeenSet =
true;
226 m_restoreStatus = std::forward<RestoreStatusT>(value);
228 template <
typename RestoreStatusT = RestoreStatus>
252 bool m_keyHasBeenSet =
false;
253 bool m_lastModifiedHasBeenSet =
false;
254 bool m_eTagHasBeenSet =
false;
255 bool m_checksumAlgorithmHasBeenSet =
false;
256 bool m_checksumTypeHasBeenSet =
false;
257 bool m_sizeHasBeenSet =
false;
258 bool m_storageClassHasBeenSet =
false;
259 bool m_ownerHasBeenSet =
false;
260 bool m_restoreStatusHasBeenSet =
false;
const Aws::String & GetKey() const
void SetOwner(OwnerT &&value)
Object & WithChecksumType(ChecksumType value)
void SetStorageClass(ObjectStorageClass value)
const Owner & GetOwner() const
void SetETag(ETagT &&value)
void SetRestoreStatus(RestoreStatusT &&value)
Object & WithRestoreStatus(RestoreStatusT &&value)
bool KeyHasBeenSet() const
Object & WithStorageClass(ObjectStorageClass value)
void SetSize(long long value)
bool SizeHasBeenSet() const
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Object & WithOwner(OwnerT &&value)
bool ETagHasBeenSet() const
Object & WithETag(ETagT &&value)
AWS_S3CRT_API Object(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetLastModified() const
Object & WithKey(KeyT &&value)
AWS_S3CRT_API Object()=default
ChecksumType GetChecksumType() const
Object & WithSize(long long value)
Object & AddChecksumAlgorithm(ChecksumAlgorithm value)
bool ChecksumAlgorithmHasBeenSet() const
Object & WithLastModified(LastModifiedT &&value)
bool StorageClassHasBeenSet() const
void SetChecksumAlgorithm(ChecksumAlgorithmT &&value)
ObjectStorageClass GetStorageClass() const
void SetKey(KeyT &&value)
AWS_S3CRT_API Object & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetChecksumType(ChecksumType value)
bool ChecksumTypeHasBeenSet() const
bool LastModifiedHasBeenSet() const
const Aws::Vector< ChecksumAlgorithm > & GetChecksumAlgorithm() const
bool OwnerHasBeenSet() const
bool RestoreStatusHasBeenSet() const
long long GetSize() const
const Aws::String & GetETag() const
void SetLastModified(LastModifiedT &&value)
const RestoreStatus & GetRestoreStatus() const
Object & WithChecksumAlgorithm(ChecksumAlgorithmT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector