7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename TypeT = Aws::String>
49 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
50 template<
typename TypeT = Aws::String>
60 template<
typename CodeT = Aws::String>
61 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
62 template<
typename CodeT = Aws::String>
72 template<
typename MessageT = Aws::String>
73 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
74 template<
typename MessageT = Aws::String>
80 bool m_typeHasBeenSet =
false;
83 bool m_codeHasBeenSet =
false;
86 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