AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedCampaignStateResponse.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcampaigns/model/GetCampaignStateBatchFailureCode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectCampaigns
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECTCAMPAIGNS_API FailedCampaignStateResponse();
36 AWS_CONNECTCAMPAIGNS_API FailedCampaignStateResponse(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
44 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
45 inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
46 inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
47 inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
48 inline FailedCampaignStateResponse& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
49 inline FailedCampaignStateResponse& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
50 inline FailedCampaignStateResponse& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
52
54
55 inline const GetCampaignStateBatchFailureCode& GetFailureCode() const{ return m_failureCode; }
56 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
57 inline void SetFailureCode(const GetCampaignStateBatchFailureCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
58 inline void SetFailureCode(GetCampaignStateBatchFailureCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
62 private:
63
64 Aws::String m_campaignId;
65 bool m_campaignIdHasBeenSet = false;
66
68 bool m_failureCodeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace ConnectCampaigns
73} // namespace Aws
AWS_CONNECTCAMPAIGNS_API FailedCampaignStateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureCode(const GetCampaignStateBatchFailureCode &value)
FailedCampaignStateResponse & WithCampaignId(const Aws::String &value)
AWS_CONNECTCAMPAIGNS_API FailedCampaignStateResponse(Aws::Utils::Json::JsonView jsonValue)
FailedCampaignStateResponse & WithCampaignId(Aws::String &&value)
FailedCampaignStateResponse & WithCampaignId(const char *value)
FailedCampaignStateResponse & WithFailureCode(GetCampaignStateBatchFailureCode &&value)
const GetCampaignStateBatchFailureCode & GetFailureCode() const
void SetFailureCode(GetCampaignStateBatchFailureCode &&value)
FailedCampaignStateResponse & WithFailureCode(const GetCampaignStateBatchFailureCode &value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue