AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateContactFlowModuleRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/ExternalInvocationConfiguration.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Connect {
18namespace Model {
19
23 public:
24 AWS_CONNECT_API CreateContactFlowModuleRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateContactFlowModule"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
35
40 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
41 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
42 template <typename InstanceIdT = Aws::String>
43 void SetInstanceId(InstanceIdT&& value) {
44 m_instanceIdHasBeenSet = true;
45 m_instanceId = std::forward<InstanceIdT>(value);
46 }
47 template <typename InstanceIdT = Aws::String>
49 SetInstanceId(std::forward<InstanceIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
97 inline const Aws::String& GetContent() const { return m_content; }
98 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
99 template <typename ContentT = Aws::String>
100 void SetContent(ContentT&& value) {
101 m_contentHasBeenSet = true;
102 m_content = std::forward<ContentT>(value);
103 }
104 template <typename ContentT = Aws::String>
106 SetContent(std::forward<ContentT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 void SetTags(TagsT&& value) {
120 m_tagsHasBeenSet = true;
121 m_tags = std::forward<TagsT>(value);
122 }
123 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 SetTags(std::forward<TagsT>(value));
126 return *this;
127 }
128 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
129 CreateContactFlowModuleRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
130 m_tagsHasBeenSet = true;
131 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
132 return *this;
133 }
135
137
144 inline const Aws::String& GetClientToken() const { return m_clientToken; }
145 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
146 template <typename ClientTokenT = Aws::String>
147 void SetClientToken(ClientTokenT&& value) {
148 m_clientTokenHasBeenSet = true;
149 m_clientToken = std::forward<ClientTokenT>(value);
150 }
151 template <typename ClientTokenT = Aws::String>
153 SetClientToken(std::forward<ClientTokenT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::String& GetSettings() const { return m_settings; }
163 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
164 template <typename SettingsT = Aws::String>
165 void SetSettings(SettingsT&& value) {
166 m_settingsHasBeenSet = true;
167 m_settings = std::forward<SettingsT>(value);
168 }
169 template <typename SettingsT = Aws::String>
171 SetSettings(std::forward<SettingsT>(value));
172 return *this;
173 }
175
177
180 inline const ExternalInvocationConfiguration& GetExternalInvocationConfiguration() const { return m_externalInvocationConfiguration; }
181 inline bool ExternalInvocationConfigurationHasBeenSet() const { return m_externalInvocationConfigurationHasBeenSet; }
182 template <typename ExternalInvocationConfigurationT = ExternalInvocationConfiguration>
183 void SetExternalInvocationConfiguration(ExternalInvocationConfigurationT&& value) {
184 m_externalInvocationConfigurationHasBeenSet = true;
185 m_externalInvocationConfiguration = std::forward<ExternalInvocationConfigurationT>(value);
186 }
187 template <typename ExternalInvocationConfigurationT = ExternalInvocationConfiguration>
188 CreateContactFlowModuleRequest& WithExternalInvocationConfiguration(ExternalInvocationConfigurationT&& value) {
189 SetExternalInvocationConfiguration(std::forward<ExternalInvocationConfigurationT>(value));
190 return *this;
191 }
193 private:
194 Aws::String m_instanceId;
195
196 Aws::String m_name;
197
198 Aws::String m_description;
199
200 Aws::String m_content;
201
203
205
206 Aws::String m_settings;
207
208 ExternalInvocationConfiguration m_externalInvocationConfiguration;
209 bool m_instanceIdHasBeenSet = false;
210 bool m_nameHasBeenSet = false;
211 bool m_descriptionHasBeenSet = false;
212 bool m_contentHasBeenSet = false;
213 bool m_tagsHasBeenSet = false;
214 bool m_clientTokenHasBeenSet = true;
215 bool m_settingsHasBeenSet = false;
216 bool m_externalInvocationConfigurationHasBeenSet = false;
217};
218
219} // namespace Model
220} // namespace Connect
221} // namespace Aws
CreateContactFlowModuleRequest & WithSettings(SettingsT &&value)
CreateContactFlowModuleRequest & WithDescription(DescriptionT &&value)
CreateContactFlowModuleRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetExternalInvocationConfiguration(ExternalInvocationConfigurationT &&value)
CreateContactFlowModuleRequest & WithContent(ContentT &&value)
CreateContactFlowModuleRequest & WithExternalInvocationConfiguration(ExternalInvocationConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONNECT_API Aws::String SerializePayload() const override
AWS_CONNECT_API CreateContactFlowModuleRequest()=default
CreateContactFlowModuleRequest & WithTags(TagsT &&value)
CreateContactFlowModuleRequest & WithClientToken(ClientTokenT &&value)
const ExternalInvocationConfiguration & GetExternalInvocationConfiguration() const
CreateContactFlowModuleRequest & WithInstanceId(InstanceIdT &&value)
CreateContactFlowModuleRequest & WithName(NameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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