7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/connectcampaigns/model/CampaignState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ConnectCampaigns
58 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 inline void SetXAmzErrorType(
const char* value) { m_xAmzErrorTypeHasBeenSet =
true; m_xAmzErrorType.assign(value); }
78 bool m_stateHasBeenSet =
false;
81 bool m_messageHasBeenSet =
false;
84 bool m_xAmzErrorTypeHasBeenSet =
false;
void SetMessage(const Aws::String &value)
InvalidCampaignStateException & WithMessage(Aws::String &&value)
AWS_CONNECTCAMPAIGNS_API InvalidCampaignStateException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool XAmzErrorTypeHasBeenSet() const
AWS_CONNECTCAMPAIGNS_API InvalidCampaignStateException(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
void SetMessage(Aws::String &&value)
InvalidCampaignStateException & WithMessage(const char *value)
void SetState(CampaignState &&value)
void SetState(const CampaignState &value)
void SetXAmzErrorType(const Aws::String &value)
const Aws::String & GetMessage() const
InvalidCampaignStateException & WithXAmzErrorType(const Aws::String &value)
bool MessageHasBeenSet() const
InvalidCampaignStateException & WithXAmzErrorType(Aws::String &&value)
void SetXAmzErrorType(const char *value)
InvalidCampaignStateException & WithMessage(const Aws::String &value)
const CampaignState & GetState() const
InvalidCampaignStateException & WithState(const CampaignState &value)
AWS_CONNECTCAMPAIGNS_API InvalidCampaignStateException()
InvalidCampaignStateException & WithXAmzErrorType(const char *value)
void SetXAmzErrorType(Aws::String &&value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const char *value)
InvalidCampaignStateException & WithState(CampaignState &&value)
const Aws::String & GetXAmzErrorType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue