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/ReplicationStatus.h>
47 template <
typename AnnotationNameT = Aws::String>
49 m_annotationNameHasBeenSet =
true;
50 m_annotationName = std::forward<AnnotationNameT>(value);
52 template <
typename AnnotationNameT = Aws::String>
65 template <
typename LastModifiedT = Aws::Utils::DateTime>
67 m_lastModifiedHasBeenSet =
true;
68 m_lastModified = std::forward<LastModifiedT>(value);
70 template <
typename LastModifiedT = Aws::Utils::DateTime>
83 template <
typename ETagT = Aws::String>
85 m_eTagHasBeenSet =
true;
86 m_eTag = std::forward<ETagT>(value);
88 template <
typename ETagT = Aws::String>
90 SetETag(std::forward<ETagT>(value));
101 template <
typename ChecksumAlgorithmT = Aws::Vector<ChecksumAlgorithm>>
103 m_checksumAlgorithmHasBeenSet =
true;
104 m_checksumAlgorithm = std::forward<ChecksumAlgorithmT>(value);
106 template <
typename ChecksumAlgorithmT = Aws::Vector<ChecksumAlgorithm>>
112 m_checksumAlgorithmHasBeenSet =
true;
113 m_checksumAlgorithm.push_back(value);
122 inline long long GetSize()
const {
return m_size; }
125 m_sizeHasBeenSet =
true;
141 m_replicationStatusHasBeenSet =
true;
142 m_replicationStatus = value;
161 bool m_annotationNameHasBeenSet =
false;
162 bool m_lastModifiedHasBeenSet =
false;
163 bool m_eTagHasBeenSet =
false;
164 bool m_checksumAlgorithmHasBeenSet =
false;
165 bool m_sizeHasBeenSet =
false;
166 bool m_replicationStatusHasBeenSet =
false;
void SetETag(ETagT &&value)
bool ETagHasBeenSet() const
AWS_S3CRT_API AnnotationEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AnnotationEntry & WithSize(long long value)
bool ChecksumAlgorithmHasBeenSet() const
void SetAnnotationName(AnnotationNameT &&value)
const Aws::Vector< ChecksumAlgorithm > & GetChecksumAlgorithm() const
const Aws::Utils::DateTime & GetLastModified() const
AWS_S3CRT_API AnnotationEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSize(long long value)
AnnotationEntry & WithChecksumAlgorithm(ChecksumAlgorithmT &&value)
void SetLastModified(LastModifiedT &&value)
AnnotationEntry & WithETag(ETagT &&value)
void SetReplicationStatus(ReplicationStatus value)
bool LastModifiedHasBeenSet() const
bool ReplicationStatusHasBeenSet() const
bool AnnotationNameHasBeenSet() const
AWS_S3CRT_API AnnotationEntry()=default
ReplicationStatus GetReplicationStatus() const
const Aws::String & GetAnnotationName() const
void SetChecksumAlgorithm(ChecksumAlgorithmT &&value)
AnnotationEntry & WithLastModified(LastModifiedT &&value)
bool SizeHasBeenSet() const
AnnotationEntry & WithAnnotationName(AnnotationNameT &&value)
AnnotationEntry & AddChecksumAlgorithm(ChecksumAlgorithm value)
const Aws::String & GetETag() const
AnnotationEntry & WithReplicationStatus(ReplicationStatus value)
long long GetSize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector