7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
19namespace PartnerCentralChannel {
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
59 template <
typename ReasonT = Aws::String>
61 m_reasonHasBeenSet =
true;
62 m_reason = std::forward<ReasonT>(value);
64 template <
typename ReasonT = Aws::String>
74 bool m_messageHasBeenSet =
false;
75 bool m_reasonHasBeenSet =
false;
AWS_PARTNERCENTRALCHANNEL_API AccessDeniedException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALCHANNEL_API AccessDeniedException(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ReasonT &&value)
const Aws::String & GetReason() const
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AWS_PARTNERCENTRALCHANNEL_API AccessDeniedException()=default
AccessDeniedException & WithMessage(MessageT &&value)
AccessDeniedException & WithReason(ReasonT &&value)
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
bool ReasonHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue