AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContactFlowModule.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/ContactFlowModuleState.h>
10#include <aws/connect/model/ContactFlowModuleStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CONNECT_API ContactFlowModule();
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ContactFlowModule& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ContactFlowModule& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ContactFlowModule& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetId() const{ return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 inline ContactFlowModule& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline ContactFlowModule& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline ContactFlowModule& WithId(const char* value) { SetId(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline ContactFlowModule& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline ContactFlowModule& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline ContactFlowModule& WithName(const char* value) { SetName(value); return *this;}
84
86
92 inline const Aws::String& GetContent() const{ return m_content; }
93 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
94 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
95 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
96 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
97 inline ContactFlowModule& WithContent(const Aws::String& value) { SetContent(value); return *this;}
98 inline ContactFlowModule& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
99 inline ContactFlowModule& WithContent(const char* value) { SetContent(value); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
111 inline ContactFlowModule& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline ContactFlowModule& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline ContactFlowModule& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
120 inline const ContactFlowModuleState& GetState() const{ return m_state; }
121 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
122 inline void SetState(const ContactFlowModuleState& value) { m_stateHasBeenSet = true; m_state = value; }
123 inline void SetState(ContactFlowModuleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
124 inline ContactFlowModule& WithState(const ContactFlowModuleState& value) { SetState(value); return *this;}
125 inline ContactFlowModule& WithState(ContactFlowModuleState&& value) { SetState(std::move(value)); return *this;}
127
129
132 inline const ContactFlowModuleStatus& GetStatus() const{ return m_status; }
133 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
134 inline void SetStatus(const ContactFlowModuleStatus& value) { m_statusHasBeenSet = true; m_status = value; }
135 inline void SetStatus(ContactFlowModuleStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
136 inline ContactFlowModule& WithStatus(const ContactFlowModuleStatus& value) { SetStatus(value); return *this;}
137 inline ContactFlowModule& WithStatus(ContactFlowModuleStatus&& value) { SetStatus(std::move(value)); return *this;}
139
141
145 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
146 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
147 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
148 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
149 inline ContactFlowModule& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
150 inline ContactFlowModule& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
151 inline ContactFlowModule& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
152 inline ContactFlowModule& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
153 inline ContactFlowModule& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
154 inline ContactFlowModule& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
155 inline ContactFlowModule& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
156 inline ContactFlowModule& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
157 inline ContactFlowModule& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
159 private:
160
161 Aws::String m_arn;
162 bool m_arnHasBeenSet = false;
163
164 Aws::String m_id;
165 bool m_idHasBeenSet = false;
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 Aws::String m_content;
171 bool m_contentHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
177 bool m_stateHasBeenSet = false;
178
180 bool m_statusHasBeenSet = false;
181
183 bool m_tagsHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace Connect
188} // namespace Aws
void SetState(ContactFlowModuleState &&value)
ContactFlowModule & WithDescription(Aws::String &&value)
ContactFlowModule & WithContent(const char *value)
ContactFlowModule & WithId(const Aws::String &value)
ContactFlowModule & WithContent(Aws::String &&value)
ContactFlowModule & WithState(ContactFlowModuleState &&value)
ContactFlowModule & WithName(Aws::String &&value)
ContactFlowModule & WithContent(const Aws::String &value)
ContactFlowModule & WithId(Aws::String &&value)
ContactFlowModule & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetContent() const
ContactFlowModule & AddTags(const Aws::String &key, Aws::String &&value)
ContactFlowModule & WithName(const char *value)
void SetArn(const Aws::String &value)
ContactFlowModule & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ContactFlowModule & WithStatus(const ContactFlowModuleStatus &value)
ContactFlowModule & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ContactFlowModule & WithDescription(const Aws::String &value)
ContactFlowModule & AddTags(const Aws::String &key, const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const ContactFlowModuleStatus & GetStatus() const
ContactFlowModule & WithId(const char *value)
ContactFlowModule & WithState(const ContactFlowModuleState &value)
ContactFlowModule & AddTags(Aws::String &&key, const Aws::String &value)
ContactFlowModule & WithStatus(ContactFlowModuleStatus &&value)
ContactFlowModule & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const Aws::String &value)
void SetState(const ContactFlowModuleState &value)
const ContactFlowModuleState & GetState() const
ContactFlowModule & WithName(const Aws::String &value)
void SetId(const Aws::String &value)
ContactFlowModule & WithArn(const char *value)
AWS_CONNECT_API ContactFlowModule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CONNECT_API ContactFlowModule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetStatus(const ContactFlowModuleStatus &value)
ContactFlowModule & AddTags(Aws::String &&key, Aws::String &&value)
ContactFlowModule & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ContactFlowModule & WithArn(Aws::String &&value)
void SetContent(const Aws::String &value)
void SetStatus(ContactFlowModuleStatus &&value)
ContactFlowModule & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
ContactFlowModule & WithArn(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