7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace ConnectCampaignsV2 {
38 template <
typename MessageT = Aws::String>
40 m_messageHasBeenSet =
true;
41 m_message = std::forward<MessageT>(value);
43 template <
typename MessageT = Aws::String>
54 template <
typename XAmzErrorTypeT = Aws::String>
56 m_xAmzErrorTypeHasBeenSet =
true;
57 m_xAmzErrorType = std::forward<XAmzErrorTypeT>(value);
59 template <
typename XAmzErrorTypeT = Aws::String>
69 bool m_messageHasBeenSet =
false;
70 bool m_xAmzErrorTypeHasBeenSet =
false;
bool MessageHasBeenSet() const
AWS_CONNECTCAMPAIGNSV2_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
bool XAmzErrorTypeHasBeenSet() const
AWS_CONNECTCAMPAIGNSV2_API ResourceNotFoundException()=default
AWS_CONNECTCAMPAIGNSV2_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetXAmzErrorType(XAmzErrorTypeT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetXAmzErrorType() const
void SetMessage(MessageT &&value)
ResourceNotFoundException & WithMessage(MessageT &&value)
ResourceNotFoundException & WithXAmzErrorType(XAmzErrorTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue