7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetPartNumber(
int value) { m_partNumberHasBeenSet =
true; m_partNumber = value; }
56 inline long long GetSize()
const{
return m_size; }
58 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
75 inline void SetChecksumCRC32(
const char* value) { m_checksumCRC32HasBeenSet =
true; m_checksumCRC32.assign(value); }
96 inline void SetChecksumCRC32C(
const char* value) { m_checksumCRC32CHasBeenSet =
true; m_checksumCRC32C.assign(value); }
117 inline void SetChecksumSHA1(
const char* value) { m_checksumSHA1HasBeenSet =
true; m_checksumSHA1.assign(value); }
138 inline void SetChecksumSHA256(
const char* value) { m_checksumSHA256HasBeenSet =
true; m_checksumSHA256.assign(value); }
146 bool m_partNumberHasBeenSet =
false;
149 bool m_sizeHasBeenSet =
false;
152 bool m_checksumCRC32HasBeenSet =
false;
155 bool m_checksumCRC32CHasBeenSet =
false;
158 bool m_checksumSHA1HasBeenSet =
false;
161 bool m_checksumSHA256HasBeenSet =
false;
ObjectPart & WithChecksumCRC32C(Aws::String &&value)
AWS_S3CRT_API ObjectPart()
void SetChecksumCRC32C(const Aws::String &value)
void SetChecksumCRC32(const Aws::String &value)
const Aws::String & GetChecksumCRC32C() const
bool ChecksumSHA256HasBeenSet() const
const Aws::String & GetChecksumSHA256() const
bool PartNumberHasBeenSet() const
AWS_S3CRT_API ObjectPart(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ChecksumSHA1HasBeenSet() const
AWS_S3CRT_API ObjectPart & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectPart & WithChecksumCRC32(const char *value)
void SetSize(long long value)
ObjectPart & WithChecksumSHA256(const Aws::String &value)
void SetChecksumCRC32(Aws::String &&value)
bool SizeHasBeenSet() const
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ObjectPart & WithChecksumSHA256(const char *value)
ObjectPart & WithChecksumSHA1(const Aws::String &value)
ObjectPart & WithChecksumCRC32C(const Aws::String &value)
int GetPartNumber() const
void SetChecksumSHA256(const Aws::String &value)
bool ChecksumCRC32HasBeenSet() const
void SetChecksumSHA1(Aws::String &&value)
void SetChecksumSHA256(const char *value)
void SetChecksumCRC32C(const char *value)
ObjectPart & WithChecksumSHA256(Aws::String &&value)
ObjectPart & WithChecksumCRC32(const Aws::String &value)
ObjectPart & WithPartNumber(int value)
const Aws::String & GetChecksumSHA1() const
ObjectPart & WithChecksumCRC32(Aws::String &&value)
void SetChecksumSHA1(const Aws::String &value)
void SetChecksumSHA256(Aws::String &&value)
ObjectPart & WithChecksumSHA1(const char *value)
void SetPartNumber(int value)
ObjectPart & WithChecksumSHA1(Aws::String &&value)
const Aws::String & GetChecksumCRC32() const
ObjectPart & WithSize(long long value)
long long GetSize() const
void SetChecksumSHA1(const char *value)
bool ChecksumCRC32CHasBeenSet() const
void SetChecksumCRC32(const char *value)
ObjectPart & WithChecksumCRC32C(const char *value)
void SetChecksumCRC32C(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String