AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeleteIntegrationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/IntegrationError.h>
13#include <aws/glue/model/IntegrationStatus.h>
14#include <aws/glue/model/Tag.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Glue {
28namespace Model {
30 public:
31 AWS_GLUE_API DeleteIntegrationResult() = default;
34
36
39 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
40 template <typename SourceArnT = Aws::String>
41 void SetSourceArn(SourceArnT&& value) {
42 m_sourceArnHasBeenSet = true;
43 m_sourceArn = std::forward<SourceArnT>(value);
44 }
45 template <typename SourceArnT = Aws::String>
47 SetSourceArn(std::forward<SourceArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
57 template <typename TargetArnT = Aws::String>
58 void SetTargetArn(TargetArnT&& value) {
59 m_targetArnHasBeenSet = true;
60 m_targetArn = std::forward<TargetArnT>(value);
61 }
62 template <typename TargetArnT = Aws::String>
64 SetTargetArn(std::forward<TargetArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetIntegrationName() const { return m_integrationName; }
74 template <typename IntegrationNameT = Aws::String>
75 void SetIntegrationName(IntegrationNameT&& value) {
76 m_integrationNameHasBeenSet = true;
77 m_integrationName = std::forward<IntegrationNameT>(value);
78 }
79 template <typename IntegrationNameT = Aws::String>
80 DeleteIntegrationResult& WithIntegrationName(IntegrationNameT&& value) {
81 SetIntegrationName(std::forward<IntegrationNameT>(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& GetIntegrationArn() const { return m_integrationArn; }
108 template <typename IntegrationArnT = Aws::String>
109 void SetIntegrationArn(IntegrationArnT&& value) {
110 m_integrationArnHasBeenSet = true;
111 m_integrationArn = std::forward<IntegrationArnT>(value);
112 }
113 template <typename IntegrationArnT = Aws::String>
114 DeleteIntegrationResult& WithIntegrationArn(IntegrationArnT&& value) {
115 SetIntegrationArn(std::forward<IntegrationArnT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
125 template <typename KmsKeyIdT = Aws::String>
126 void SetKmsKeyId(KmsKeyIdT&& value) {
127 m_kmsKeyIdHasBeenSet = true;
128 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
129 }
130 template <typename KmsKeyIdT = Aws::String>
132 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const { return m_additionalEncryptionContext; }
143 template <typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
144 void SetAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) {
145 m_additionalEncryptionContextHasBeenSet = true;
146 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
147 }
148 template <typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
149 DeleteIntegrationResult& WithAdditionalEncryptionContext(AdditionalEncryptionContextT&& value) {
150 SetAdditionalEncryptionContext(std::forward<AdditionalEncryptionContextT>(value));
151 return *this;
152 }
153 template <typename AdditionalEncryptionContextKeyT = Aws::String, typename AdditionalEncryptionContextValueT = Aws::String>
154 DeleteIntegrationResult& AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT&& key,
155 AdditionalEncryptionContextValueT&& value) {
156 m_additionalEncryptionContextHasBeenSet = true;
157 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
158 std::forward<AdditionalEncryptionContextValueT>(value));
159 return *this;
160 }
162
164
168 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
169 template <typename TagsT = Aws::Vector<Tag>>
170 void SetTags(TagsT&& value) {
171 m_tagsHasBeenSet = true;
172 m_tags = std::forward<TagsT>(value);
173 }
174 template <typename TagsT = Aws::Vector<Tag>>
176 SetTags(std::forward<TagsT>(value));
177 return *this;
178 }
179 template <typename TagsT = Tag>
181 m_tagsHasBeenSet = true;
182 m_tags.emplace_back(std::forward<TagsT>(value));
183 return *this;
184 }
186
188
198 inline IntegrationStatus GetStatus() const { return m_status; }
199 inline void SetStatus(IntegrationStatus value) {
200 m_statusHasBeenSet = true;
201 m_status = value;
202 }
204 SetStatus(value);
205 return *this;
206 }
208
210
213 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
214 template <typename CreateTimeT = Aws::Utils::DateTime>
215 void SetCreateTime(CreateTimeT&& value) {
216 m_createTimeHasBeenSet = true;
217 m_createTime = std::forward<CreateTimeT>(value);
218 }
219 template <typename CreateTimeT = Aws::Utils::DateTime>
221 SetCreateTime(std::forward<CreateTimeT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::Vector<IntegrationError>& GetErrors() const { return m_errors; }
231 template <typename ErrorsT = Aws::Vector<IntegrationError>>
232 void SetErrors(ErrorsT&& value) {
233 m_errorsHasBeenSet = true;
234 m_errors = std::forward<ErrorsT>(value);
235 }
236 template <typename ErrorsT = Aws::Vector<IntegrationError>>
238 SetErrors(std::forward<ErrorsT>(value));
239 return *this;
240 }
241 template <typename ErrorsT = IntegrationError>
243 m_errorsHasBeenSet = true;
244 m_errors.emplace_back(std::forward<ErrorsT>(value));
245 return *this;
246 }
248
250
253 inline const Aws::String& GetDataFilter() const { return m_dataFilter; }
254 template <typename DataFilterT = Aws::String>
255 void SetDataFilter(DataFilterT&& value) {
256 m_dataFilterHasBeenSet = true;
257 m_dataFilter = std::forward<DataFilterT>(value);
258 }
259 template <typename DataFilterT = Aws::String>
261 SetDataFilter(std::forward<DataFilterT>(value));
262 return *this;
263 }
265
267
268 inline const Aws::String& GetRequestId() const { return m_requestId; }
269 template <typename RequestIdT = Aws::String>
270 void SetRequestId(RequestIdT&& value) {
271 m_requestIdHasBeenSet = true;
272 m_requestId = std::forward<RequestIdT>(value);
273 }
274 template <typename RequestIdT = Aws::String>
276 SetRequestId(std::forward<RequestIdT>(value));
277 return *this;
278 }
280 private:
281 Aws::String m_sourceArn;
282
283 Aws::String m_targetArn;
284
285 Aws::String m_integrationName;
286
287 Aws::String m_description;
288
289 Aws::String m_integrationArn;
290
291 Aws::String m_kmsKeyId;
292
293 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
294
295 Aws::Vector<Tag> m_tags;
296
298
299 Aws::Utils::DateTime m_createTime{};
300
302
303 Aws::String m_dataFilter;
304
305 Aws::String m_requestId;
306 bool m_sourceArnHasBeenSet = false;
307 bool m_targetArnHasBeenSet = false;
308 bool m_integrationNameHasBeenSet = false;
309 bool m_descriptionHasBeenSet = false;
310 bool m_integrationArnHasBeenSet = false;
311 bool m_kmsKeyIdHasBeenSet = false;
312 bool m_additionalEncryptionContextHasBeenSet = false;
313 bool m_tagsHasBeenSet = false;
314 bool m_statusHasBeenSet = false;
315 bool m_createTimeHasBeenSet = false;
316 bool m_errorsHasBeenSet = false;
317 bool m_dataFilterHasBeenSet = false;
318 bool m_requestIdHasBeenSet = false;
319};
320
321} // namespace Model
322} // namespace Glue
323} // namespace Aws
DeleteIntegrationResult & WithSourceArn(SourceArnT &&value)
DeleteIntegrationResult & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
DeleteIntegrationResult & WithCreateTime(CreateTimeT &&value)
DeleteIntegrationResult & WithDataFilter(DataFilterT &&value)
DeleteIntegrationResult & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
DeleteIntegrationResult & WithTargetArn(TargetArnT &&value)
DeleteIntegrationResult & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
DeleteIntegrationResult & WithRequestId(RequestIdT &&value)
DeleteIntegrationResult & WithIntegrationName(IntegrationNameT &&value)
AWS_GLUE_API DeleteIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteIntegrationResult & WithErrors(ErrorsT &&value)
DeleteIntegrationResult & WithTags(TagsT &&value)
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
DeleteIntegrationResult & AddTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
DeleteIntegrationResult & WithStatus(IntegrationStatus value)
const Aws::Vector< Tag > & GetTags() const
DeleteIntegrationResult & WithIntegrationArn(IntegrationArnT &&value)
DeleteIntegrationResult & WithKmsKeyId(KmsKeyIdT &&value)
DeleteIntegrationResult & AddErrors(ErrorsT &&value)
void SetIntegrationName(IntegrationNameT &&value)
AWS_GLUE_API DeleteIntegrationResult()=default
const Aws::Vector< IntegrationError > & GetErrors() const
AWS_GLUE_API DeleteIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue