7#include <aws/s3/S3_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;
const Aws::String & GetChecksumSHA256() const
void SetChecksumCRC32(Aws::String &&value)
void SetChecksumCRC32(const Aws::String &value)
long long GetSize() const
bool PartNumberHasBeenSet() const
AWS_S3_API ObjectPart & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectPart & WithChecksumCRC32C(const Aws::String &value)
void SetChecksumCRC32(const char *value)
ObjectPart & WithChecksumCRC32(const Aws::String &value)
ObjectPart & WithPartNumber(int value)
void SetPartNumber(int value)
bool ChecksumSHA256HasBeenSet() const
ObjectPart & WithSize(long long value)
void SetChecksumSHA1(const char *value)
const Aws::String & GetChecksumCRC32() const
void SetChecksumSHA256(Aws::String &&value)
void SetChecksumCRC32C(const char *value)
ObjectPart & WithChecksumCRC32(Aws::String &&value)
bool ChecksumSHA1HasBeenSet() const
ObjectPart & WithChecksumSHA256(const Aws::String &value)
void SetChecksumSHA1(Aws::String &&value)
bool ChecksumCRC32HasBeenSet() const
void SetChecksumSHA1(const Aws::String &value)
bool SizeHasBeenSet() const
ObjectPart & WithChecksumSHA1(Aws::String &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ObjectPart & WithChecksumSHA256(Aws::String &&value)
const Aws::String & GetChecksumCRC32C() const
void SetChecksumCRC32C(Aws::String &&value)
const Aws::String & GetChecksumSHA1() const
void SetChecksumSHA256(const Aws::String &value)
ObjectPart & WithChecksumSHA1(const char *value)
ObjectPart & WithChecksumCRC32C(const char *value)
int GetPartNumber() const
ObjectPart & WithChecksumSHA256(const char *value)
ObjectPart & WithChecksumCRC32(const char *value)
ObjectPart & WithChecksumCRC32C(Aws::String &&value)
void SetSize(long long value)
AWS_S3_API ObjectPart(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetChecksumCRC32C(const Aws::String &value)
void SetChecksumSHA256(const char *value)
bool ChecksumCRC32CHasBeenSet() const
ObjectPart & WithChecksumSHA1(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String