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/S3_EXPORTS.h>
11#include <aws/s3/model/ChecksumAlgorithm.h>
12#include <aws/s3/model/ChecksumType.h>
13#include <aws/s3/model/ObjectVersionStorageClass.h>
14#include <aws/s3/model/Owner.h>
15#include <aws/s3/model/RestoreStatus.h>
47 template <
typename ETagT = Aws::String>
49 m_eTagHasBeenSet =
true;
50 m_eTag = std::forward<ETagT>(value);
52 template <
typename ETagT = Aws::String>
54 SetETag(std::forward<ETagT>(value));
65 template <
typename ChecksumAlgorithmT = Aws::Vector<ChecksumAlgorithm>>
67 m_checksumAlgorithmHasBeenSet =
true;
68 m_checksumAlgorithm = std::forward<ChecksumAlgorithmT>(value);
70 template <
typename ChecksumAlgorithmT = Aws::Vector<ChecksumAlgorithm>>
76 m_checksumAlgorithmHasBeenSet =
true;
77 m_checksumAlgorithm.push_back(value);
92 m_checksumTypeHasBeenSet =
true;
93 m_checksumType = value;
105 inline long long GetSize()
const {
return m_size; }
108 m_sizeHasBeenSet =
true;
124 m_storageClassHasBeenSet =
true;
125 m_storageClass = value;
139 template <
typename KeyT = Aws::String>
141 m_keyHasBeenSet =
true;
142 m_key = std::forward<KeyT>(value);
144 template <
typename KeyT = Aws::String>
146 SetKey(std::forward<KeyT>(value));
157 template <
typename VersionIdT = Aws::String>
159 m_versionIdHasBeenSet =
true;
160 m_versionId = std::forward<VersionIdT>(value);
162 template <
typename VersionIdT = Aws::String>
177 m_isLatestHasBeenSet =
true;
192 template <
typename LastModifiedT = Aws::Utils::DateTime>
194 m_lastModifiedHasBeenSet =
true;
195 m_lastModified = std::forward<LastModifiedT>(value);
197 template <
typename LastModifiedT = Aws::Utils::DateTime>
210 template <
typename OwnerT = Owner>
212 m_ownerHasBeenSet =
true;
213 m_owner = std::forward<OwnerT>(value);
215 template <
typename OwnerT = Owner>
217 SetOwner(std::forward<OwnerT>(value));
232 template <
typename RestoreStatusT = RestoreStatus>
234 m_restoreStatusHasBeenSet =
true;
235 m_restoreStatus = std::forward<RestoreStatusT>(value);
237 template <
typename RestoreStatusT = RestoreStatus>
258 bool m_isLatest{
false};
265 bool m_eTagHasBeenSet =
false;
266 bool m_checksumAlgorithmHasBeenSet =
false;
267 bool m_checksumTypeHasBeenSet =
false;
268 bool m_sizeHasBeenSet =
false;
269 bool m_storageClassHasBeenSet =
false;
270 bool m_keyHasBeenSet =
false;
271 bool m_versionIdHasBeenSet =
false;
272 bool m_isLatestHasBeenSet =
false;
273 bool m_lastModifiedHasBeenSet =
false;
274 bool m_ownerHasBeenSet =
false;
275 bool m_restoreStatusHasBeenSet =
false;
bool SizeHasBeenSet() const
bool ChecksumTypeHasBeenSet() const
void SetVersionId(VersionIdT &&value)
bool IsLatestHasBeenSet() const
void SetIsLatest(bool value)
ObjectVersion & WithRestoreStatus(RestoreStatusT &&value)
const Owner & GetOwner() const
const Aws::Vector< ChecksumAlgorithm > & GetChecksumAlgorithm() const
ObjectVersion & WithChecksumAlgorithm(ChecksumAlgorithmT &&value)
ObjectVersion & WithOwner(OwnerT &&value)
void SetSize(long long value)
bool VersionIdHasBeenSet() const
ObjectVersion & WithSize(long long value)
void SetChecksumType(ChecksumType value)
const Aws::String & GetETag() const
const Aws::String & GetVersionId() const
AWS_S3_API ObjectVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectVersion & WithStorageClass(ObjectVersionStorageClass value)
bool OwnerHasBeenSet() const
bool LastModifiedHasBeenSet() const
long long GetSize() const
void SetLastModified(LastModifiedT &&value)
void SetOwner(OwnerT &&value)
ObjectVersion & WithLastModified(LastModifiedT &&value)
AWS_S3_API ObjectVersion()=default
bool RestoreStatusHasBeenSet() const
const RestoreStatus & GetRestoreStatus() const
AWS_S3_API ObjectVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Utils::DateTime & GetLastModified() const
void SetKey(KeyT &&value)
bool ChecksumAlgorithmHasBeenSet() const
void SetRestoreStatus(RestoreStatusT &&value)
void SetETag(ETagT &&value)
bool StorageClassHasBeenSet() const
bool KeyHasBeenSet() const
ChecksumType GetChecksumType() const
ObjectVersion & WithVersionId(VersionIdT &&value)
const Aws::String & GetKey() const
ObjectVersion & WithKey(KeyT &&value)
void SetStorageClass(ObjectVersionStorageClass value)
ObjectVersion & WithIsLatest(bool value)
void SetChecksumAlgorithm(ChecksumAlgorithmT &&value)
ObjectVersion & WithETag(ETagT &&value)
bool ETagHasBeenSet() const
ObjectVersion & WithChecksumType(ChecksumType value)
ObjectVersionStorageClass GetStorageClass() const
ObjectVersion & AddChecksumAlgorithm(ChecksumAlgorithm value)
ObjectVersionStorageClass
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector