AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateDataIntegrationRequest.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
8#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
9#include <aws/appintegrations/model/FileConfiguration.h>
10#include <aws/appintegrations/model/ScheduleConfiguration.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace AppIntegrationsService {
20namespace Model {
21
25 public:
26 AWS_APPINTEGRATIONSSERVICE_API CreateDataIntegrationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDataIntegration"; }
33
34 AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
77 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
78 template <typename KmsKeyT = Aws::String>
79 void SetKmsKey(KmsKeyT&& value) {
80 m_kmsKeyHasBeenSet = true;
81 m_kmsKey = std::forward<KmsKeyT>(value);
82 }
83 template <typename KmsKeyT = Aws::String>
85 SetKmsKey(std::forward<KmsKeyT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetSourceURI() const { return m_sourceURI; }
95 inline bool SourceURIHasBeenSet() const { return m_sourceURIHasBeenSet; }
96 template <typename SourceURIT = Aws::String>
97 void SetSourceURI(SourceURIT&& value) {
98 m_sourceURIHasBeenSet = true;
99 m_sourceURI = std::forward<SourceURIT>(value);
100 }
101 template <typename SourceURIT = Aws::String>
103 SetSourceURI(std::forward<SourceURIT>(value));
104 return *this;
105 }
107
109
112 inline const ScheduleConfiguration& GetScheduleConfig() const { return m_scheduleConfig; }
113 inline bool ScheduleConfigHasBeenSet() const { return m_scheduleConfigHasBeenSet; }
114 template <typename ScheduleConfigT = ScheduleConfiguration>
115 void SetScheduleConfig(ScheduleConfigT&& value) {
116 m_scheduleConfigHasBeenSet = true;
117 m_scheduleConfig = std::forward<ScheduleConfigT>(value);
118 }
119 template <typename ScheduleConfigT = ScheduleConfiguration>
121 SetScheduleConfig(std::forward<ScheduleConfigT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 void SetTags(TagsT&& value) {
135 m_tagsHasBeenSet = true;
136 m_tags = std::forward<TagsT>(value);
137 }
138 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 SetTags(std::forward<TagsT>(value));
141 return *this;
142 }
143 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
144 CreateDataIntegrationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
145 m_tagsHasBeenSet = true;
146 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
147 return *this;
148 }
150
152
159 inline const Aws::String& GetClientToken() const { return m_clientToken; }
160 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
161 template <typename ClientTokenT = Aws::String>
162 void SetClientToken(ClientTokenT&& value) {
163 m_clientTokenHasBeenSet = true;
164 m_clientToken = std::forward<ClientTokenT>(value);
165 }
166 template <typename ClientTokenT = Aws::String>
168 SetClientToken(std::forward<ClientTokenT>(value));
169 return *this;
170 }
172
174
177 inline const FileConfiguration& GetFileConfiguration() const { return m_fileConfiguration; }
178 inline bool FileConfigurationHasBeenSet() const { return m_fileConfigurationHasBeenSet; }
179 template <typename FileConfigurationT = FileConfiguration>
180 void SetFileConfiguration(FileConfigurationT&& value) {
181 m_fileConfigurationHasBeenSet = true;
182 m_fileConfiguration = std::forward<FileConfigurationT>(value);
183 }
184 template <typename FileConfigurationT = FileConfiguration>
186 SetFileConfiguration(std::forward<FileConfigurationT>(value));
187 return *this;
188 }
190
192
196 return m_objectConfiguration;
197 }
198 inline bool ObjectConfigurationHasBeenSet() const { return m_objectConfigurationHasBeenSet; }
199 template <typename ObjectConfigurationT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
200 void SetObjectConfiguration(ObjectConfigurationT&& value) {
201 m_objectConfigurationHasBeenSet = true;
202 m_objectConfiguration = std::forward<ObjectConfigurationT>(value);
203 }
204 template <typename ObjectConfigurationT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
206 SetObjectConfiguration(std::forward<ObjectConfigurationT>(value));
207 return *this;
208 }
209 template <typename ObjectConfigurationKeyT = Aws::String,
210 typename ObjectConfigurationValueT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
211 CreateDataIntegrationRequest& AddObjectConfiguration(ObjectConfigurationKeyT&& key, ObjectConfigurationValueT&& value) {
212 m_objectConfigurationHasBeenSet = true;
213 m_objectConfiguration.emplace(std::forward<ObjectConfigurationKeyT>(key), std::forward<ObjectConfigurationValueT>(value));
214 return *this;
215 }
217 private:
218 Aws::String m_name;
219
220 Aws::String m_description;
221
222 Aws::String m_kmsKey;
223
224 Aws::String m_sourceURI;
225
226 ScheduleConfiguration m_scheduleConfig;
227
229
231
232 FileConfiguration m_fileConfiguration;
233
235 bool m_nameHasBeenSet = false;
236 bool m_descriptionHasBeenSet = false;
237 bool m_kmsKeyHasBeenSet = false;
238 bool m_sourceURIHasBeenSet = false;
239 bool m_scheduleConfigHasBeenSet = false;
240 bool m_tagsHasBeenSet = false;
241 bool m_clientTokenHasBeenSet = true;
242 bool m_fileConfigurationHasBeenSet = false;
243 bool m_objectConfigurationHasBeenSet = false;
244};
245
246} // namespace Model
247} // namespace AppIntegrationsService
248} // namespace Aws
CreateDataIntegrationRequest & WithFileConfiguration(FileConfigurationT &&value)
CreateDataIntegrationRequest & AddObjectConfiguration(ObjectConfigurationKeyT &&key, ObjectConfigurationValueT &&value)
CreateDataIntegrationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetObjectConfiguration() const
CreateDataIntegrationRequest & WithClientToken(ClientTokenT &&value)
AWS_APPINTEGRATIONSSERVICE_API CreateDataIntegrationRequest()=default
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
CreateDataIntegrationRequest & WithObjectConfiguration(ObjectConfigurationT &&value)
CreateDataIntegrationRequest & WithDescription(DescriptionT &&value)
CreateDataIntegrationRequest & WithScheduleConfig(ScheduleConfigT &&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