7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
64 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
78 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
86 bool m_typeHasBeenSet =
false;
89 bool m_codeHasBeenSet =
false;
92 bool m_messageHasBeenSet =
false;
void SetType(const Aws::String &value)
AWS_GLACIER_API PolicyEnforcedException(Aws::Utils::Json::JsonView jsonValue)
PolicyEnforcedException & WithCode(const Aws::String &value)
bool TypeHasBeenSet() const
void SetCode(Aws::String &&value)
PolicyEnforcedException & WithType(const Aws::String &value)
void SetMessage(const char *value)
void SetType(const char *value)
void SetMessage(Aws::String &&value)
AWS_GLACIER_API PolicyEnforcedException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLACIER_API PolicyEnforcedException()
void SetMessage(const Aws::String &value)
PolicyEnforcedException & WithType(const char *value)
PolicyEnforcedException & WithMessage(Aws::String &&value)
PolicyEnforcedException & WithMessage(const char *value)
bool MessageHasBeenSet() const
PolicyEnforcedException & WithCode(Aws::String &&value)
void SetCode(const char *value)
PolicyEnforcedException & WithType(Aws::String &&value)
const Aws::String & GetMessage() const
PolicyEnforcedException & WithCode(const char *value)
void SetCode(const Aws::String &value)
PolicyEnforcedException & WithMessage(const Aws::String &value)
const Aws::String & GetCode() const
void SetType(Aws::String &&value)
bool CodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue