AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Campaign.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Connect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECT_API Campaign();
35 AWS_CONNECT_API Campaign(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECT_API Campaign& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
45 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
46 inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
47 inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
48 inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
49 inline Campaign& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
50 inline Campaign& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
51 inline Campaign& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
53 private:
54
55 Aws::String m_campaignId;
56 bool m_campaignIdHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Connect
61} // namespace Aws
void SetCampaignId(const char *value)
Definition Campaign.h:48
AWS_CONNECT_API Campaign()
Campaign & WithCampaignId(Aws::String &&value)
Definition Campaign.h:50
bool CampaignIdHasBeenSet() const
Definition Campaign.h:45
void SetCampaignId(const Aws::String &value)
Definition Campaign.h:46
Campaign & WithCampaignId(const Aws::String &value)
Definition Campaign.h:49
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API Campaign(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCampaignId() const
Definition Campaign.h:44
Campaign & WithCampaignId(const char *value)
Definition Campaign.h:51
void SetCampaignId(Aws::String &&value)
Definition Campaign.h:47
AWS_CONNECT_API Campaign & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue