7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcampaigns/model/CampaignState.h>
22namespace ConnectCampaigns
47 inline void SetCampaignId(
const char* value) { m_campaignIdHasBeenSet =
true; m_campaignId.assign(value); }
65 bool m_campaignIdHasBeenSet =
false;
68 bool m_stateHasBeenSet =
false;
SuccessfulCampaignStateResponse & WithState(const CampaignState &value)
AWS_CONNECTCAMPAIGNS_API SuccessfulCampaignStateResponse(Aws::Utils::Json::JsonView jsonValue)
void SetCampaignId(const Aws::String &value)
const CampaignState & GetState() const
SuccessfulCampaignStateResponse & WithCampaignId(const char *value)
const Aws::String & GetCampaignId() const
void SetState(const CampaignState &value)
SuccessfulCampaignStateResponse & WithCampaignId(Aws::String &&value)
AWS_CONNECTCAMPAIGNS_API SuccessfulCampaignStateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SuccessfulCampaignStateResponse & WithCampaignId(const Aws::String &value)
bool StateHasBeenSet() const
bool CampaignIdHasBeenSet() const
void SetCampaignId(Aws::String &&value)
void SetCampaignId(const char *value)
AWS_CONNECTCAMPAIGNS_API SuccessfulCampaignStateResponse()
void SetState(CampaignState &&value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
SuccessfulCampaignStateResponse & WithState(CampaignState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue