AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CampaignState.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/CampaignStatus.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API CampaignState();
36 AWS_PINPOINT_API CampaignState(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const CampaignStatus& GetCampaignStatus() const{ return m_campaignStatus; }
50 inline bool CampaignStatusHasBeenSet() const { return m_campaignStatusHasBeenSet; }
51 inline void SetCampaignStatus(const CampaignStatus& value) { m_campaignStatusHasBeenSet = true; m_campaignStatus = value; }
52 inline void SetCampaignStatus(CampaignStatus&& value) { m_campaignStatusHasBeenSet = true; m_campaignStatus = std::move(value); }
53 inline CampaignState& WithCampaignStatus(const CampaignStatus& value) { SetCampaignStatus(value); return *this;}
54 inline CampaignState& WithCampaignStatus(CampaignStatus&& value) { SetCampaignStatus(std::move(value)); return *this;}
56 private:
57
58 CampaignStatus m_campaignStatus;
59 bool m_campaignStatusHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Pinpoint
64} // namespace Aws
CampaignState & WithCampaignStatus(CampaignStatus &&value)
void SetCampaignStatus(const CampaignStatus &value)
void SetCampaignStatus(CampaignStatus &&value)
AWS_PINPOINT_API CampaignState(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API CampaignState & operator=(Aws::Utils::Json::JsonView jsonValue)
CampaignState & WithCampaignStatus(const CampaignStatus &value)
const CampaignStatus & GetCampaignStatus() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue