7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
42 template <
typename TypeT = Aws::String>
44 m_typeHasBeenSet =
true;
45 m_type = std::forward<TypeT>(value);
47 template <
typename TypeT = Aws::String>
49 SetType(std::forward<TypeT>(value));
60 template <
typename CodeT = Aws::String>
62 m_codeHasBeenSet =
true;
63 m_code = std::forward<CodeT>(value);
65 template <
typename CodeT = Aws::String>
67 SetCode(std::forward<CodeT>(value));
78 template <
typename MessageT = Aws::String>
80 m_messageHasBeenSet =
true;
81 m_message = std::forward<MessageT>(value);
83 template <
typename MessageT = Aws::String>
95 bool m_typeHasBeenSet =
false;
96 bool m_codeHasBeenSet =
false;
97 bool m_messageHasBeenSet =
false;
AWS_GLACIER_API PolicyEnforcedException(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
AWS_GLACIER_API PolicyEnforcedException()=default
AWS_GLACIER_API PolicyEnforcedException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCode(CodeT &&value)
void SetMessage(MessageT &&value)
const Aws::String & GetType() const
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
PolicyEnforcedException & WithType(TypeT &&value)
bool MessageHasBeenSet() const
PolicyEnforcedException & WithCode(CodeT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetCode() const
bool CodeHasBeenSet() const
PolicyEnforcedException & WithMessage(MessageT &&value)
void SetType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue