7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
48 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
63 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
439 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
458 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
466 bool m_keyHasBeenSet =
false;
469 bool m_versionIdHasBeenSet =
false;
472 bool m_codeHasBeenSet =
false;
475 bool m_messageHasBeenSet =
false;
bool MessageHasBeenSet() const
Error & WithVersionId(const char *value)
void SetCode(const Aws::String &value)
Error & WithVersionId(Aws::String &&value)
void SetKey(const char *value)
AWS_S3_API Error & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(const Aws::String &value)
AWS_S3_API Error(const Aws::Utils::Xml::XmlNode &xmlNode)
Error & WithMessage(Aws::String &&value)
Error & WithVersionId(const Aws::String &value)
void SetKey(const Aws::String &value)
Error & WithKey(const Aws::String &value)
void SetMessage(const char *value)
Error & WithCode(const char *value)
Error & WithKey(const char *value)
void SetKey(Aws::String &&value)
void SetVersionId(const char *value)
const Aws::String & GetVersionId() const
const Aws::String & GetMessage() const
Error & WithMessage(const char *value)
bool KeyHasBeenSet() const
Error & WithMessage(const Aws::String &value)
void SetCode(const char *value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetVersionId(const Aws::String &value)
Error & WithCode(const Aws::String &value)
const Aws::String & GetKey() const
void SetMessage(Aws::String &&value)
const Aws::String & GetCode() const
Error & WithKey(Aws::String &&value)
bool VersionIdHasBeenSet() const
bool CodeHasBeenSet() const
void SetVersionId(Aws::String &&value)
void SetCode(Aws::String &&value)
Error & WithCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String