AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContactFlow.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ContactFlowType.h>
10#include <aws/connect/model/ContactFlowState.h>
11#include <aws/connect/model/ContactFlowStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_CONNECT_API ContactFlow();
39 AWS_CONNECT_API ContactFlow(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline ContactFlow& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline ContactFlow& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline ContactFlow& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline ContactFlow& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline ContactFlow& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline ContactFlow& WithId(const char* value) { SetId(value); return *this;}
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
81 inline ContactFlow& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline ContactFlow& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline ContactFlow& WithName(const char* value) { SetName(value); return *this;}
85
87
92 inline const ContactFlowType& GetType() const{ return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 inline void SetType(const ContactFlowType& value) { m_typeHasBeenSet = true; m_type = value; }
95 inline void SetType(ContactFlowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
96 inline ContactFlow& WithType(const ContactFlowType& value) { SetType(value); return *this;}
97 inline ContactFlow& WithType(ContactFlowType&& value) { SetType(std::move(value)); return *this;}
99
101
104 inline const ContactFlowState& GetState() const{ return m_state; }
105 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
106 inline void SetState(const ContactFlowState& value) { m_stateHasBeenSet = true; m_state = value; }
107 inline void SetState(ContactFlowState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
108 inline ContactFlow& WithState(const ContactFlowState& value) { SetState(value); return *this;}
109 inline ContactFlow& WithState(ContactFlowState&& value) { SetState(std::move(value)); return *this;}
111
113
116 inline const ContactFlowStatus& GetStatus() const{ return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(const ContactFlowStatus& value) { m_statusHasBeenSet = true; m_status = value; }
119 inline void SetStatus(ContactFlowStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
120 inline ContactFlow& WithStatus(const ContactFlowStatus& value) { SetStatus(value); return *this;}
121 inline ContactFlow& WithStatus(ContactFlowStatus&& value) { SetStatus(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetDescription() const{ return m_description; }
129 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
130 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
131 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
132 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
133 inline ContactFlow& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 inline ContactFlow& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
135 inline ContactFlow& WithDescription(const char* value) { SetDescription(value); return *this;}
137
139
146 inline const Aws::String& GetContent() const{ return m_content; }
147 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
148 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
149 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
150 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
151 inline ContactFlow& WithContent(const Aws::String& value) { SetContent(value); return *this;}
152 inline ContactFlow& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
153 inline ContactFlow& WithContent(const char* value) { SetContent(value); return *this;}
155
157
161 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
162 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
163 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
164 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
165 inline ContactFlow& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
166 inline ContactFlow& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
167 inline ContactFlow& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
168 inline ContactFlow& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
169 inline ContactFlow& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
170 inline ContactFlow& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
171 inline ContactFlow& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
172 inline ContactFlow& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
173 inline ContactFlow& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
175 private:
176
177 Aws::String m_arn;
178 bool m_arnHasBeenSet = false;
179
180 Aws::String m_id;
181 bool m_idHasBeenSet = false;
182
183 Aws::String m_name;
184 bool m_nameHasBeenSet = false;
185
186 ContactFlowType m_type;
187 bool m_typeHasBeenSet = false;
188
189 ContactFlowState m_state;
190 bool m_stateHasBeenSet = false;
191
192 ContactFlowStatus m_status;
193 bool m_statusHasBeenSet = false;
194
195 Aws::String m_description;
196 bool m_descriptionHasBeenSet = false;
197
198 Aws::String m_content;
199 bool m_contentHasBeenSet = false;
200
202 bool m_tagsHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace Connect
207} // namespace Aws
ContactFlow & AddTags(Aws::String &&key, const char *value)
ContactFlow & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetContent(Aws::String &&value)
AWS_CONNECT_API ContactFlow(Aws::Utils::Json::JsonView jsonValue)
ContactFlow & WithArn(const char *value)
Definition ContactFlow.h:55
const Aws::String & GetDescription() const
ContactFlow & AddTags(Aws::String &&key, Aws::String &&value)
void SetDescription(Aws::String &&value)
ContactFlow & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const char *value)
void SetId(const Aws::String &value)
Definition ContactFlow.h:64
void SetContent(const Aws::String &value)
ContactFlow & WithStatus(ContactFlowStatus &&value)
ContactFlow & WithState(ContactFlowState &&value)
void SetName(const char *value)
Definition ContactFlow.h:80
void SetArn(const Aws::String &value)
Definition ContactFlow.h:50
ContactFlow & WithName(Aws::String &&value)
Definition ContactFlow.h:82
const Aws::String & GetArn() const
Definition ContactFlow.h:48
void SetStatus(const ContactFlowStatus &value)
void SetState(const ContactFlowState &value)
AWS_CONNECT_API ContactFlow & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactFlow & WithType(ContactFlowType &&value)
Definition ContactFlow.h:97
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetContent() const
void SetState(ContactFlowState &&value)
ContactFlow & WithArn(const Aws::String &value)
Definition ContactFlow.h:53
ContactFlow & WithDescription(const Aws::String &value)
ContactFlow & WithName(const Aws::String &value)
Definition ContactFlow.h:81
ContactFlow & WithId(const Aws::String &value)
Definition ContactFlow.h:67
void SetArn(Aws::String &&value)
Definition ContactFlow.h:51
ContactFlow & AddTags(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ContactFlow & WithContent(Aws::String &&value)
ContactFlow & WithDescription(Aws::String &&value)
ContactFlow & WithContent(const char *value)
ContactFlow & WithId(Aws::String &&value)
Definition ContactFlow.h:68
ContactFlow & WithId(const char *value)
Definition ContactFlow.h:69
ContactFlow & WithType(const ContactFlowType &value)
Definition ContactFlow.h:96
void SetType(ContactFlowType &&value)
Definition ContactFlow.h:95
const Aws::String & GetId() const
Definition ContactFlow.h:62
ContactFlow & AddTags(const char *key, Aws::String &&value)
ContactFlow & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ContactFlow & WithStatus(const ContactFlowStatus &value)
void SetContent(const char *value)
void SetType(const ContactFlowType &value)
Definition ContactFlow.h:94
ContactFlow & AddTags(const Aws::String &key, const Aws::String &value)
void SetName(const Aws::String &value)
Definition ContactFlow.h:78
ContactFlow & WithName(const char *value)
Definition ContactFlow.h:83
ContactFlow & WithState(const ContactFlowState &value)
void SetStatus(ContactFlowStatus &&value)
void SetId(Aws::String &&value)
Definition ContactFlow.h:65
void SetId(const char *value)
Definition ContactFlow.h:66
ContactFlow & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
const ContactFlowStatus & GetStatus() const
const ContactFlowState & GetState() const
ContactFlow & WithArn(Aws::String &&value)
Definition ContactFlow.h:54
const Aws::String & GetName() const
Definition ContactFlow.h:76
void SetArn(const char *value)
Definition ContactFlow.h:52
const ContactFlowType & GetType() const
Definition ContactFlow.h:92
ContactFlow & WithContent(const Aws::String &value)
void SetName(Aws::String &&value)
Definition ContactFlow.h:79
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactFlow & AddTags(Aws::String &&key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue