7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
9#include <aws/partnercentral-account/model/ConflictExceptionReason.h>
20namespace PartnerCentralAccount {
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
61 m_reasonHasBeenSet =
true;
73 bool m_messageHasBeenSet =
false;
74 bool m_reasonHasBeenSet =
false;
AWS_PARTNERCENTRALACCOUNT_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
bool ReasonHasBeenSet() const
ConflictException & WithMessage(MessageT &&value)
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
ConflictExceptionReason GetReason() const
void SetMessage(MessageT &&value)
AWS_PARTNERCENTRALACCOUNT_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
ConflictException & WithReason(ConflictExceptionReason value)
AWS_PARTNERCENTRALACCOUNT_API ConflictException()=default
void SetReason(ConflictExceptionReason value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue