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