7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/GetCampaignStateBatchFailureCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ConnectCampaignsV2 {
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;
const Aws::String & GetCampaignId() const
void SetFailureCode(GetCampaignStateBatchFailureCode value)
bool CampaignIdHasBeenSet() const
FailedCampaignStateResponse & WithFailureCode(GetCampaignStateBatchFailureCode value)
AWS_CONNECTCAMPAIGNSV2_API FailedCampaignStateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API FailedCampaignStateResponse()=default
void SetCampaignId(CampaignIdT &&value)
FailedCampaignStateResponse & WithCampaignId(CampaignIdT &&value)
GetCampaignStateBatchFailureCode GetFailureCode() const
AWS_CONNECTCAMPAIGNSV2_API FailedCampaignStateResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool FailureCodeHasBeenSet() const
GetCampaignStateBatchFailureCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue