7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/connectcampaigns/model/GetCampaignStateBatchFailureCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ConnectCampaigns {
39 template <
typename CampaignIdT = Aws::String>
41 m_campaignIdHasBeenSet =
true;
42 m_campaignId = std::forward<CampaignIdT>(value);
44 template <
typename CampaignIdT = Aws::String>
56 m_failureCodeHasBeenSet =
true;
57 m_failureCode = value;
68 bool m_campaignIdHasBeenSet =
false;
69 bool m_failureCodeHasBeenSet =
false;
FailedCampaignStateResponse & WithFailureCode(GetCampaignStateBatchFailureCode value)
GetCampaignStateBatchFailureCode GetFailureCode() const
AWS_CONNECTCAMPAIGNS_API FailedCampaignStateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureCode(GetCampaignStateBatchFailureCode value)
AWS_CONNECTCAMPAIGNS_API FailedCampaignStateResponse(Aws::Utils::Json::JsonView jsonValue)
bool FailureCodeHasBeenSet() const
AWS_CONNECTCAMPAIGNS_API FailedCampaignStateResponse()=default
bool CampaignIdHasBeenSet() const
void SetCampaignId(CampaignIdT &&value)
const Aws::String & GetCampaignId() const
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
FailedCampaignStateResponse & WithCampaignId(CampaignIdT &&value)
GetCampaignStateBatchFailureCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue