AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CampaignSummary.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_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 ConnectCampaigns
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECTCAMPAIGNS_API CampaignSummary();
35 AWS_CONNECTCAMPAIGNS_API CampaignSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECTCAMPAIGNS_API CampaignSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetId() const{ return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
45 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
46 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
47 inline CampaignSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline CampaignSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline CampaignSummary& WithId(const char* value) { SetId(value); return *this;}
51
53
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
59 inline CampaignSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline CampaignSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline CampaignSummary& WithArn(const char* value) { SetArn(value); return *this;}
63
65
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
69 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
70 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 inline CampaignSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline CampaignSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline CampaignSummary& WithName(const char* value) { SetName(value); return *this;}
75
77
78 inline const Aws::String& GetConnectInstanceId() const{ return m_connectInstanceId; }
79 inline bool ConnectInstanceIdHasBeenSet() const { return m_connectInstanceIdHasBeenSet; }
80 inline void SetConnectInstanceId(const Aws::String& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = value; }
81 inline void SetConnectInstanceId(Aws::String&& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = std::move(value); }
82 inline void SetConnectInstanceId(const char* value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId.assign(value); }
83 inline CampaignSummary& WithConnectInstanceId(const Aws::String& value) { SetConnectInstanceId(value); return *this;}
84 inline CampaignSummary& WithConnectInstanceId(Aws::String&& value) { SetConnectInstanceId(std::move(value)); return *this;}
85 inline CampaignSummary& WithConnectInstanceId(const char* value) { SetConnectInstanceId(value); return *this;}
87 private:
88
89 Aws::String m_id;
90 bool m_idHasBeenSet = false;
91
92 Aws::String m_arn;
93 bool m_arnHasBeenSet = false;
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_connectInstanceId;
99 bool m_connectInstanceIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ConnectCampaigns
104} // namespace Aws
CampaignSummary & WithId(const char *value)
CampaignSummary & WithName(Aws::String &&value)
CampaignSummary & WithName(const char *value)
CampaignSummary & WithConnectInstanceId(const char *value)
CampaignSummary & WithArn(const Aws::String &value)
CampaignSummary & WithId(const Aws::String &value)
const Aws::String & GetConnectInstanceId() const
CampaignSummary & WithArn(const char *value)
AWS_CONNECTCAMPAIGNS_API CampaignSummary(Aws::Utils::Json::JsonView jsonValue)
CampaignSummary & WithConnectInstanceId(const Aws::String &value)
CampaignSummary & WithName(const Aws::String &value)
CampaignSummary & WithId(Aws::String &&value)
CampaignSummary & WithConnectInstanceId(Aws::String &&value)
AWS_CONNECTCAMPAIGNS_API CampaignSummary()
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
CampaignSummary & WithArn(Aws::String &&value)
void SetConnectInstanceId(const Aws::String &value)
AWS_CONNECTCAMPAIGNS_API CampaignSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue