AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDataIntegrationResult.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/model/FileConfiguration.h>
9#include <aws/appintegrations/model/ScheduleConfiguration.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace AppIntegrationsService {
27namespace Model {
29 public:
30 AWS_APPINTEGRATIONSSERVICE_API GetDataIntegrationResult() = default;
32 AWS_APPINTEGRATIONSSERVICE_API GetDataIntegrationResult& operator=(
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 template <typename IdT = Aws::String>
58 void SetId(IdT&& value) {
59 m_idHasBeenSet = true;
60 m_id = std::forward<IdT>(value);
61 }
62 template <typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 template <typename NameT = Aws::String>
75 void SetName(NameT&& value) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
108 template <typename KmsKeyT = Aws::String>
109 void SetKmsKey(KmsKeyT&& value) {
110 m_kmsKeyHasBeenSet = true;
111 m_kmsKey = std::forward<KmsKeyT>(value);
112 }
113 template <typename KmsKeyT = Aws::String>
115 SetKmsKey(std::forward<KmsKeyT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetSourceURI() const { return m_sourceURI; }
125 template <typename SourceURIT = Aws::String>
126 void SetSourceURI(SourceURIT&& value) {
127 m_sourceURIHasBeenSet = true;
128 m_sourceURI = std::forward<SourceURIT>(value);
129 }
130 template <typename SourceURIT = Aws::String>
132 SetSourceURI(std::forward<SourceURIT>(value));
133 return *this;
134 }
136
138
141 inline const ScheduleConfiguration& GetScheduleConfiguration() const { return m_scheduleConfiguration; }
142 template <typename ScheduleConfigurationT = ScheduleConfiguration>
143 void SetScheduleConfiguration(ScheduleConfigurationT&& value) {
144 m_scheduleConfigurationHasBeenSet = true;
145 m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value);
146 }
147 template <typename ScheduleConfigurationT = ScheduleConfiguration>
148 GetDataIntegrationResult& WithScheduleConfiguration(ScheduleConfigurationT&& value) {
149 SetScheduleConfiguration(std::forward<ScheduleConfigurationT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
160 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 void SetTags(TagsT&& value) {
162 m_tagsHasBeenSet = true;
163 m_tags = std::forward<TagsT>(value);
164 }
165 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 SetTags(std::forward<TagsT>(value));
168 return *this;
169 }
170 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
171 GetDataIntegrationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
172 m_tagsHasBeenSet = true;
173 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
174 return *this;
175 }
177
179
182 inline const FileConfiguration& GetFileConfiguration() const { return m_fileConfiguration; }
183 template <typename FileConfigurationT = FileConfiguration>
184 void SetFileConfiguration(FileConfigurationT&& value) {
185 m_fileConfigurationHasBeenSet = true;
186 m_fileConfiguration = std::forward<FileConfigurationT>(value);
187 }
188 template <typename FileConfigurationT = FileConfiguration>
189 GetDataIntegrationResult& WithFileConfiguration(FileConfigurationT&& value) {
190 SetFileConfiguration(std::forward<FileConfigurationT>(value));
191 return *this;
192 }
194
196
200 return m_objectConfiguration;
201 }
202 template <typename ObjectConfigurationT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
203 void SetObjectConfiguration(ObjectConfigurationT&& value) {
204 m_objectConfigurationHasBeenSet = true;
205 m_objectConfiguration = std::forward<ObjectConfigurationT>(value);
206 }
207 template <typename ObjectConfigurationT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
208 GetDataIntegrationResult& WithObjectConfiguration(ObjectConfigurationT&& value) {
209 SetObjectConfiguration(std::forward<ObjectConfigurationT>(value));
210 return *this;
211 }
212 template <typename ObjectConfigurationKeyT = Aws::String,
213 typename ObjectConfigurationValueT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
214 GetDataIntegrationResult& AddObjectConfiguration(ObjectConfigurationKeyT&& key, ObjectConfigurationValueT&& value) {
215 m_objectConfigurationHasBeenSet = true;
216 m_objectConfiguration.emplace(std::forward<ObjectConfigurationKeyT>(key), std::forward<ObjectConfigurationValueT>(value));
217 return *this;
218 }
220
222
223 inline const Aws::String& GetRequestId() const { return m_requestId; }
224 template <typename RequestIdT = Aws::String>
225 void SetRequestId(RequestIdT&& value) {
226 m_requestIdHasBeenSet = true;
227 m_requestId = std::forward<RequestIdT>(value);
228 }
229 template <typename RequestIdT = Aws::String>
231 SetRequestId(std::forward<RequestIdT>(value));
232 return *this;
233 }
235 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
236
237 private:
238 Aws::String m_arn;
239
240 Aws::String m_id;
241
242 Aws::String m_name;
243
244 Aws::String m_description;
245
246 Aws::String m_kmsKey;
247
248 Aws::String m_sourceURI;
249
250 ScheduleConfiguration m_scheduleConfiguration;
251
253
254 FileConfiguration m_fileConfiguration;
255
257
258 Aws::String m_requestId;
259 Aws::Http::HttpResponseCode m_HttpResponseCode;
260 bool m_arnHasBeenSet = false;
261 bool m_idHasBeenSet = false;
262 bool m_nameHasBeenSet = false;
263 bool m_descriptionHasBeenSet = false;
264 bool m_kmsKeyHasBeenSet = false;
265 bool m_sourceURIHasBeenSet = false;
266 bool m_scheduleConfigurationHasBeenSet = false;
267 bool m_tagsHasBeenSet = false;
268 bool m_fileConfigurationHasBeenSet = false;
269 bool m_objectConfigurationHasBeenSet = false;
270 bool m_requestIdHasBeenSet = false;
271};
272
273} // namespace Model
274} // namespace AppIntegrationsService
275} // namespace Aws
AWS_APPINTEGRATIONSSERVICE_API GetDataIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetObjectConfiguration() const
GetDataIntegrationResult & AddObjectConfiguration(ObjectConfigurationKeyT &&key, ObjectConfigurationValueT &&value)
GetDataIntegrationResult & WithObjectConfiguration(ObjectConfigurationT &&value)
GetDataIntegrationResult & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetDataIntegrationResult & WithSourceURI(SourceURIT &&value)
AWS_APPINTEGRATIONSSERVICE_API GetDataIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataIntegrationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetDataIntegrationResult & WithFileConfiguration(FileConfigurationT &&value)
GetDataIntegrationResult & WithScheduleConfiguration(ScheduleConfigurationT &&value)
GetDataIntegrationResult & WithRequestId(RequestIdT &&value)
AWS_APPINTEGRATIONSSERVICE_API GetDataIntegrationResult()=default
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