AWS SDK for C++  1.9.154
AWS SDK for C++
ContactFlow.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Connect
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetArn() const{ return m_arn; }
47 
51  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 
56  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 
61  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
62 
66  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 
71  inline ContactFlow& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72 
76  inline ContactFlow& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 
81  inline ContactFlow& WithArn(const char* value) { SetArn(value); return *this;}
82 
83 
87  inline const Aws::String& GetId() const{ return m_id; }
88 
92  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
93 
97  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
98 
102  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
103 
107  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
108 
112  inline ContactFlow& WithId(const Aws::String& value) { SetId(value); return *this;}
113 
117  inline ContactFlow& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
118 
122  inline ContactFlow& WithId(const char* value) { SetId(value); return *this;}
123 
124 
128  inline const Aws::String& GetName() const{ return m_name; }
129 
133  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 
138  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
139 
143  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
144 
148  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
149 
153  inline ContactFlow& WithName(const Aws::String& value) { SetName(value); return *this;}
154 
158  inline ContactFlow& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
163  inline ContactFlow& WithName(const char* value) { SetName(value); return *this;}
164 
165 
171  inline const ContactFlowType& GetType() const{ return m_type; }
172 
178  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
179 
185  inline void SetType(const ContactFlowType& value) { m_typeHasBeenSet = true; m_type = value; }
186 
192  inline void SetType(ContactFlowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
193 
199  inline ContactFlow& WithType(const ContactFlowType& value) { SetType(value); return *this;}
200 
206  inline ContactFlow& WithType(ContactFlowType&& value) { SetType(std::move(value)); return *this;}
207 
208 
212  inline const ContactFlowState& GetState() const{ return m_state; }
213 
217  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
218 
222  inline void SetState(const ContactFlowState& value) { m_stateHasBeenSet = true; m_state = value; }
223 
227  inline void SetState(ContactFlowState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
228 
232  inline ContactFlow& WithState(const ContactFlowState& value) { SetState(value); return *this;}
233 
237  inline ContactFlow& WithState(ContactFlowState&& value) { SetState(std::move(value)); return *this;}
238 
239 
243  inline const Aws::String& GetDescription() const{ return m_description; }
244 
248  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
249 
253  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
254 
258  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
259 
263  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
264 
268  inline ContactFlow& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
269 
273  inline ContactFlow& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
274 
278  inline ContactFlow& WithDescription(const char* value) { SetDescription(value); return *this;}
279 
280 
284  inline const Aws::String& GetContent() const{ return m_content; }
285 
289  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
290 
294  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
295 
299  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
300 
304  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
305 
309  inline ContactFlow& WithContent(const Aws::String& value) { SetContent(value); return *this;}
310 
314  inline ContactFlow& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
315 
319  inline ContactFlow& WithContent(const char* value) { SetContent(value); return *this;}
320 
321 
325  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
326 
330  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
331 
335  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
336 
340  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
341 
345  inline ContactFlow& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
346 
350  inline ContactFlow& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
351 
355  inline ContactFlow& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
356 
360  inline ContactFlow& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
361 
365  inline ContactFlow& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
366 
370  inline ContactFlow& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
371 
375  inline ContactFlow& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
376 
380  inline ContactFlow& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
381 
385  inline ContactFlow& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
386 
387  private:
388 
389  Aws::String m_arn;
390  bool m_arnHasBeenSet;
391 
392  Aws::String m_id;
393  bool m_idHasBeenSet;
394 
395  Aws::String m_name;
396  bool m_nameHasBeenSet;
397 
398  ContactFlowType m_type;
399  bool m_typeHasBeenSet;
400 
401  ContactFlowState m_state;
402  bool m_stateHasBeenSet;
403 
404  Aws::String m_description;
405  bool m_descriptionHasBeenSet;
406 
407  Aws::String m_content;
408  bool m_contentHasBeenSet;
409 
411  bool m_tagsHasBeenSet;
412  };
413 
414 } // namespace Model
415 } // namespace Connect
416 } // namespace Aws
Aws::Connect::Model::ContactFlow::WithType
ContactFlow & WithType(ContactFlowType &&value)
Definition: ContactFlow.h:206
Aws::Connect::Model::ContactFlow::AddTags
ContactFlow & AddTags(const char *key, const char *value)
Definition: ContactFlow.h:385
Aws::Connect::Model::ContactFlow::SetArn
void SetArn(const char *value)
Definition: ContactFlow.h:66
Aws::Connect::Model::ContactFlow::SetContent
void SetContent(Aws::String &&value)
Definition: ContactFlow.h:299
Aws::Connect::Model::ContactFlow::WithName
ContactFlow & WithName(Aws::String &&value)
Definition: ContactFlow.h:158
Aws::Connect::Model::ContactFlow::AddTags
ContactFlow & AddTags(const Aws::String &key, const Aws::String &value)
Definition: ContactFlow.h:355
Aws::Connect::Model::ContactFlow::AddTags
ContactFlow & AddTags(const Aws::String &key, Aws::String &&value)
Definition: ContactFlow.h:365
Aws::Connect::Model::ContactFlow::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::ContactFlow::WithId
ContactFlow & WithId(const char *value)
Definition: ContactFlow.h:122
Aws::Connect::Model::ContactFlow::SetState
void SetState(ContactFlowState &&value)
Definition: ContactFlow.h:227
Aws::Connect::Model::ContactFlow::WithName
ContactFlow & WithName(const Aws::String &value)
Definition: ContactFlow.h:153
Aws::Connect::Model::ContactFlow::SetArn
void SetArn(const Aws::String &value)
Definition: ContactFlow.h:56
Aws::Connect::Model::ContactFlow::WithDescription
ContactFlow & WithDescription(const Aws::String &value)
Definition: ContactFlow.h:268
Aws::Connect::Model::ContactFlow::SetId
void SetId(const Aws::String &value)
Definition: ContactFlow.h:97
Aws::Connect::Model::ContactFlow
Definition: ContactFlow.h:35
Aws::Connect::Model::ContactFlow::SetArn
void SetArn(Aws::String &&value)
Definition: ContactFlow.h:61
Aws::Connect::Model::ContactFlow::SetName
void SetName(const Aws::String &value)
Definition: ContactFlow.h:138
Aws::Connect::Model::ContactFlow::AddTags
ContactFlow & AddTags(Aws::String &&key, Aws::String &&value)
Definition: ContactFlow.h:370
Aws::Connect::Model::ContactFlow::GetDescription
const Aws::String & GetDescription() const
Definition: ContactFlow.h:243
Aws::Connect::Model::ContactFlowType
ContactFlowType
Definition: ContactFlowType.h:17
ContactFlowState.h
Aws::Connect::Model::ContactFlow::WithName
ContactFlow & WithName(const char *value)
Definition: ContactFlow.h:163
Aws::Connect::Model::ContactFlow::AddTags
ContactFlow & AddTags(Aws::String &&key, const char *value)
Definition: ContactFlow.h:380
Aws::Connect::Model::ContactFlow::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ContactFlow.h:340
Aws::Connect::Model::ContactFlow::WithState
ContactFlow & WithState(const ContactFlowState &value)
Definition: ContactFlow.h:232
Aws::Connect::Model::ContactFlow::GetType
const ContactFlowType & GetType() const
Definition: ContactFlow.h:171
Aws::Connect::Model::ContactFlow::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ContactFlow.h:178
Aws::Connect::Model::ContactFlow::WithDescription
ContactFlow & WithDescription(Aws::String &&value)
Definition: ContactFlow.h:273
Aws::Connect::Model::ContactFlow::SetName
void SetName(Aws::String &&value)
Definition: ContactFlow.h:143
ContactFlowType.h
Aws::Connect::Model::ContactFlow::ContactFlow
ContactFlow()
Aws::Connect::Model::ContactFlow::StateHasBeenSet
bool StateHasBeenSet() const
Definition: ContactFlow.h:217
Aws::Connect::Model::ContactFlow::SetContent
void SetContent(const char *value)
Definition: ContactFlow.h:304
Aws::Connect::Model::ContactFlow::WithContent
ContactFlow & WithContent(const char *value)
Definition: ContactFlow.h:319
Aws::Connect::Model::ContactFlow::WithTags
ContactFlow & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ContactFlow.h:350
Aws::Connect::Model::ContactFlow::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ContactFlow.h:51
Aws::Connect::Model::ContactFlow::SetId
void SetId(const char *value)
Definition: ContactFlow.h:107
Aws::Connect::Model::ContactFlow::WithContent
ContactFlow & WithContent(Aws::String &&value)
Definition: ContactFlow.h:314
Aws::Connect::Model::ContactFlow::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ContactFlow.h:335
Aws::Connect::Model::ContactFlow::WithContent
ContactFlow & WithContent(const Aws::String &value)
Definition: ContactFlow.h:309
Aws::Connect::Model::ContactFlow::GetState
const ContactFlowState & GetState() const
Definition: ContactFlow.h:212
Aws::Connect::Model::ContactFlow::AddTags
ContactFlow & AddTags(Aws::String &&key, const Aws::String &value)
Definition: ContactFlow.h:360
Aws::Connect::Model::ContactFlow::AddTags
ContactFlow & AddTags(const char *key, Aws::String &&value)
Definition: ContactFlow.h:375
Aws::Connect::Model::ContactFlow::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ContactFlow.h:248
Aws::Connect::Model::ContactFlowState
ContactFlowState
Definition: ContactFlowState.h:17
Aws::Connect::Model::ContactFlow::SetDescription
void SetDescription(Aws::String &&value)
Definition: ContactFlow.h:258
Aws::Connect::Model::ContactFlow::ContactFlow
ContactFlow(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::ContactFlow::operator=
ContactFlow & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::ContactFlow::WithDescription
ContactFlow & WithDescription(const char *value)
Definition: ContactFlow.h:278
Aws::Connect::Model::ContactFlow::SetState
void SetState(const ContactFlowState &value)
Definition: ContactFlow.h:222
Aws::Connect::Model::ContactFlow::SetType
void SetType(const ContactFlowType &value)
Definition: ContactFlow.h:185
Aws::Connect::Model::ContactFlow::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: ContactFlow.h:325
Aws::Connect::Model::ContactFlow::SetDescription
void SetDescription(const Aws::String &value)
Definition: ContactFlow.h:253
Aws::Connect::Model::ContactFlow::SetDescription
void SetDescription(const char *value)
Definition: ContactFlow.h:263
Aws::Connect::Model::ContactFlow::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: ContactFlow.h:330
Aws::Connect::Model::ContactFlow::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ContactFlow.h:92
Aws::Connect::Model::ContactFlow::WithState
ContactFlow & WithState(ContactFlowState &&value)
Definition: ContactFlow.h:237
Aws::Connect::Model::ContactFlow::GetName
const Aws::String & GetName() const
Definition: ContactFlow.h:128
Aws::Connect::Model::ContactFlow::WithArn
ContactFlow & WithArn(Aws::String &&value)
Definition: ContactFlow.h:76
Aws::Connect::Model::ContactFlow::WithType
ContactFlow & WithType(const ContactFlowType &value)
Definition: ContactFlow.h:199
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ContactFlow::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ContactFlow.h:133
Aws::Connect::Model::ContactFlow::GetContent
const Aws::String & GetContent() const
Definition: ContactFlow.h:284
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ContactFlow::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: ContactFlow.h:289
Aws::Connect::Model::ContactFlow::SetName
void SetName(const char *value)
Definition: ContactFlow.h:148
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ContactFlow::WithId
ContactFlow & WithId(Aws::String &&value)
Definition: ContactFlow.h:117
Aws::Connect::Model::ContactFlow::SetType
void SetType(ContactFlowType &&value)
Definition: ContactFlow.h:192
Connect_EXPORTS.h
AWSMap.h
Aws::Connect::Model::ContactFlow::WithArn
ContactFlow & WithArn(const char *value)
Definition: ContactFlow.h:81
Aws::Connect::Model::ContactFlow::SetId
void SetId(Aws::String &&value)
Definition: ContactFlow.h:102
Aws::Connect::Model::ContactFlow::WithTags
ContactFlow & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ContactFlow.h:345
Aws::Connect::Model::ContactFlow::SetContent
void SetContent(const Aws::String &value)
Definition: ContactFlow.h:294
Aws::Connect::Model::ContactFlow::GetArn
const Aws::String & GetArn() const
Definition: ContactFlow.h:46
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Connect::Model::ContactFlow::GetId
const Aws::String & GetId() const
Definition: ContactFlow.h:87
Aws::Connect::Model::ContactFlow::WithArn
ContactFlow & WithArn(const Aws::String &value)
Definition: ContactFlow.h:71
Aws::Connect::Model::ContactFlow::WithId
ContactFlow & WithId(const Aws::String &value)
Definition: ContactFlow.h:112