7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
41 template<
typename CodeT = Aws::String>
42 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
43 template<
typename CodeT = Aws::String>
53 template<
typename MessageT = Aws::String>
54 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
55 template<
typename MessageT = Aws::String>
61 bool m_codeHasBeenSet =
false;
64 bool m_messageHasBeenSet =
false;
void SetMessage(MessageT &&value)
AWS_SCHEMAS_API ForbiddenException()=default
ForbiddenException & WithCode(CodeT &&value)
AWS_SCHEMAS_API ForbiddenException(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCode() const
void SetCode(CodeT &&value)
const Aws::String & GetMessage() const
AWS_SCHEMAS_API ForbiddenException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
ForbiddenException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue