7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetPartNumber(
int value) { m_partNumberHasBeenSet =
true; m_partNumber = value; }
72 inline void SetETag(
const char* value) { m_eTagHasBeenSet =
true; m_eTag.assign(value); }
82 inline long long GetSize()
const{
return m_size; }
84 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
101 inline void SetChecksumCRC32(
const char* value) { m_checksumCRC32HasBeenSet =
true; m_checksumCRC32.assign(value); }
122 inline void SetChecksumCRC32C(
const char* value) { m_checksumCRC32CHasBeenSet =
true; m_checksumCRC32C.assign(value); }
143 inline void SetChecksumSHA1(
const char* value) { m_checksumSHA1HasBeenSet =
true; m_checksumSHA1.assign(value); }
162 inline void SetChecksumSHA256(
const char* value) { m_checksumSHA256HasBeenSet =
true; m_checksumSHA256.assign(value); }
170 bool m_partNumberHasBeenSet =
false;
173 bool m_lastModifiedHasBeenSet =
false;
176 bool m_eTagHasBeenSet =
false;
179 bool m_sizeHasBeenSet =
false;
182 bool m_checksumCRC32HasBeenSet =
false;
185 bool m_checksumCRC32CHasBeenSet =
false;
188 bool m_checksumSHA1HasBeenSet =
false;
191 bool m_checksumSHA256HasBeenSet =
false;
Part & WithETag(const Aws::String &value)
Part & WithChecksumSHA256(const Aws::String &value)
Part & WithLastModified(Aws::Utils::DateTime &&value)
void SetETag(Aws::String &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
void SetLastModified(const Aws::Utils::DateTime &value)
void SetChecksumSHA256(Aws::String &&value)
Part & WithETag(const char *value)
const Aws::String & GetETag() const
void SetChecksumSHA256(const char *value)
Part & WithChecksumSHA256(Aws::String &&value)
const Aws::String & GetChecksumSHA256() const
bool PartNumberHasBeenSet() const
void SetETag(const char *value)
void SetETag(const Aws::String &value)
void SetChecksumSHA1(const char *value)
Part & WithChecksumCRC32(Aws::String &&value)
bool ChecksumSHA1HasBeenSet() const
const Aws::String & GetChecksumCRC32() const
Part & WithChecksumSHA256(const char *value)
bool SizeHasBeenSet() const
Part & WithChecksumSHA1(const char *value)
void SetChecksumCRC32C(const Aws::String &value)
bool ChecksumSHA256HasBeenSet() const
Part & WithLastModified(const Aws::Utils::DateTime &value)
Part & WithPartNumber(int value)
Part & WithChecksumCRC32C(const char *value)
Part & WithChecksumCRC32(const Aws::String &value)
void SetChecksumCRC32C(const char *value)
AWS_S3CRT_API Part & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetChecksumSHA256(const Aws::String &value)
bool ChecksumCRC32HasBeenSet() const
Part & WithChecksumSHA1(const Aws::String &value)
bool LastModifiedHasBeenSet() const
Part & WithChecksumCRC32C(const Aws::String &value)
Part & WithChecksumSHA1(Aws::String &&value)
AWS_S3CRT_API Part(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetChecksumSHA1(const Aws::String &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Part & WithSize(long long value)
const Aws::String & GetChecksumSHA1() const
void SetChecksumCRC32(const Aws::String &value)
void SetPartNumber(int value)
Part & WithETag(Aws::String &&value)
const Aws::String & GetChecksumCRC32C() const
Part & WithChecksumCRC32(const char *value)
long long GetSize() const
bool ChecksumCRC32CHasBeenSet() const
const Aws::Utils::DateTime & GetLastModified() const
int GetPartNumber() const
void SetChecksumSHA1(Aws::String &&value)
void SetChecksumCRC32(const char *value)
Part & WithChecksumCRC32C(Aws::String &&value)
void SetSize(long long value)
void SetChecksumCRC32C(Aws::String &&value)
void SetChecksumCRC32(Aws::String &&value)
bool ETagHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String