AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteDataSourceResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/DataSourceConfigurationOutput.h>
12#include <aws/datazone/model/DataSourceErrorMessage.h>
13#include <aws/datazone/model/DataSourceRunStatus.h>
14#include <aws/datazone/model/DataSourceStatus.h>
15#include <aws/datazone/model/EnableSetting.h>
16#include <aws/datazone/model/FormOutput.h>
17#include <aws/datazone/model/ScheduleConfiguration.h>
18#include <aws/datazone/model/SelfGrantStatusOutput.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace DataZone {
32namespace Model {
34 public:
35 AWS_DATAZONE_API DeleteDataSourceResult() = default;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline DataSourceStatus GetStatus() const { return m_status; }
61 inline void SetStatus(DataSourceStatus value) {
62 m_statusHasBeenSet = true;
63 m_status = value;
64 }
66 SetStatus(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetType() const { return m_type; }
76 template <typename TypeT = Aws::String>
77 void SetType(TypeT&& value) {
78 m_typeHasBeenSet = true;
79 m_type = std::forward<TypeT>(value);
80 }
81 template <typename TypeT = Aws::String>
83 SetType(std::forward<TypeT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 template <typename NameT = Aws::String>
94 void SetName(NameT&& value) {
95 m_nameHasBeenSet = true;
96 m_name = std::forward<NameT>(value);
97 }
98 template <typename NameT = Aws::String>
100 SetName(std::forward<NameT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 template <typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) {
112 m_descriptionHasBeenSet = true;
113 m_description = std::forward<DescriptionT>(value);
114 }
115 template <typename DescriptionT = Aws::String>
117 SetDescription(std::forward<DescriptionT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetDomainId() const { return m_domainId; }
127 template <typename DomainIdT = Aws::String>
128 void SetDomainId(DomainIdT&& value) {
129 m_domainIdHasBeenSet = true;
130 m_domainId = std::forward<DomainIdT>(value);
131 }
132 template <typename DomainIdT = Aws::String>
134 SetDomainId(std::forward<DomainIdT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::String& GetProjectId() const { return m_projectId; }
145 template <typename ProjectIdT = Aws::String>
146 void SetProjectId(ProjectIdT&& value) {
147 m_projectIdHasBeenSet = true;
148 m_projectId = std::forward<ProjectIdT>(value);
149 }
150 template <typename ProjectIdT = Aws::String>
152 SetProjectId(std::forward<ProjectIdT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
162 template <typename EnvironmentIdT = Aws::String>
163 void SetEnvironmentId(EnvironmentIdT&& value) {
164 m_environmentIdHasBeenSet = true;
165 m_environmentId = std::forward<EnvironmentIdT>(value);
166 }
167 template <typename EnvironmentIdT = Aws::String>
168 DeleteDataSourceResult& WithEnvironmentId(EnvironmentIdT&& value) {
169 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
179 template <typename ConnectionIdT = Aws::String>
180 void SetConnectionId(ConnectionIdT&& value) {
181 m_connectionIdHasBeenSet = true;
182 m_connectionId = std::forward<ConnectionIdT>(value);
183 }
184 template <typename ConnectionIdT = Aws::String>
185 DeleteDataSourceResult& WithConnectionId(ConnectionIdT&& value) {
186 SetConnectionId(std::forward<ConnectionIdT>(value));
187 return *this;
188 }
190
192
195 inline const DataSourceConfigurationOutput& GetConfiguration() const { return m_configuration; }
196 template <typename ConfigurationT = DataSourceConfigurationOutput>
197 void SetConfiguration(ConfigurationT&& value) {
198 m_configurationHasBeenSet = true;
199 m_configuration = std::forward<ConfigurationT>(value);
200 }
201 template <typename ConfigurationT = DataSourceConfigurationOutput>
202 DeleteDataSourceResult& WithConfiguration(ConfigurationT&& value) {
203 SetConfiguration(std::forward<ConfigurationT>(value));
204 return *this;
205 }
207
209
213 inline EnableSetting GetEnableSetting() const { return m_enableSetting; }
214 inline void SetEnableSetting(EnableSetting value) {
215 m_enableSettingHasBeenSet = true;
216 m_enableSetting = value;
217 }
219 SetEnableSetting(value);
220 return *this;
221 }
223
225
229 inline bool GetPublishOnImport() const { return m_publishOnImport; }
230 inline void SetPublishOnImport(bool value) {
231 m_publishOnImportHasBeenSet = true;
232 m_publishOnImport = value;
233 }
235 SetPublishOnImport(value);
236 return *this;
237 }
239
241
244 inline const Aws::Vector<FormOutput>& GetAssetFormsOutput() const { return m_assetFormsOutput; }
245 template <typename AssetFormsOutputT = Aws::Vector<FormOutput>>
246 void SetAssetFormsOutput(AssetFormsOutputT&& value) {
247 m_assetFormsOutputHasBeenSet = true;
248 m_assetFormsOutput = std::forward<AssetFormsOutputT>(value);
249 }
250 template <typename AssetFormsOutputT = Aws::Vector<FormOutput>>
251 DeleteDataSourceResult& WithAssetFormsOutput(AssetFormsOutputT&& value) {
252 SetAssetFormsOutput(std::forward<AssetFormsOutputT>(value));
253 return *this;
254 }
255 template <typename AssetFormsOutputT = FormOutput>
256 DeleteDataSourceResult& AddAssetFormsOutput(AssetFormsOutputT&& value) {
257 m_assetFormsOutputHasBeenSet = true;
258 m_assetFormsOutput.emplace_back(std::forward<AssetFormsOutputT>(value));
259 return *this;
260 }
262
264
267 inline const ScheduleConfiguration& GetSchedule() const { return m_schedule; }
268 template <typename ScheduleT = ScheduleConfiguration>
269 void SetSchedule(ScheduleT&& value) {
270 m_scheduleHasBeenSet = true;
271 m_schedule = std::forward<ScheduleT>(value);
272 }
273 template <typename ScheduleT = ScheduleConfiguration>
275 SetSchedule(std::forward<ScheduleT>(value));
276 return *this;
277 }
279
281
284 inline DataSourceRunStatus GetLastRunStatus() const { return m_lastRunStatus; }
286 m_lastRunStatusHasBeenSet = true;
287 m_lastRunStatus = value;
288 }
290 SetLastRunStatus(value);
291 return *this;
292 }
294
296
299 inline const Aws::Utils::DateTime& GetLastRunAt() const { return m_lastRunAt; }
300 template <typename LastRunAtT = Aws::Utils::DateTime>
301 void SetLastRunAt(LastRunAtT&& value) {
302 m_lastRunAtHasBeenSet = true;
303 m_lastRunAt = std::forward<LastRunAtT>(value);
304 }
305 template <typename LastRunAtT = Aws::Utils::DateTime>
307 SetLastRunAt(std::forward<LastRunAtT>(value));
308 return *this;
309 }
311
313
317 inline const DataSourceErrorMessage& GetLastRunErrorMessage() const { return m_lastRunErrorMessage; }
318 template <typename LastRunErrorMessageT = DataSourceErrorMessage>
319 void SetLastRunErrorMessage(LastRunErrorMessageT&& value) {
320 m_lastRunErrorMessageHasBeenSet = true;
321 m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value);
322 }
323 template <typename LastRunErrorMessageT = DataSourceErrorMessage>
324 DeleteDataSourceResult& WithLastRunErrorMessage(LastRunErrorMessageT&& value) {
325 SetLastRunErrorMessage(std::forward<LastRunErrorMessageT>(value));
326 return *this;
327 }
329
331
335 inline const DataSourceErrorMessage& GetErrorMessage() const { return m_errorMessage; }
336 template <typename ErrorMessageT = DataSourceErrorMessage>
337 void SetErrorMessage(ErrorMessageT&& value) {
338 m_errorMessageHasBeenSet = true;
339 m_errorMessage = std::forward<ErrorMessageT>(value);
340 }
341 template <typename ErrorMessageT = DataSourceErrorMessage>
342 DeleteDataSourceResult& WithErrorMessage(ErrorMessageT&& value) {
343 SetErrorMessage(std::forward<ErrorMessageT>(value));
344 return *this;
345 }
347
349
352 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
353 template <typename CreatedAtT = Aws::Utils::DateTime>
354 void SetCreatedAt(CreatedAtT&& value) {
355 m_createdAtHasBeenSet = true;
356 m_createdAt = std::forward<CreatedAtT>(value);
357 }
358 template <typename CreatedAtT = Aws::Utils::DateTime>
360 SetCreatedAt(std::forward<CreatedAtT>(value));
361 return *this;
362 }
364
366
369 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
370 template <typename UpdatedAtT = Aws::Utils::DateTime>
371 void SetUpdatedAt(UpdatedAtT&& value) {
372 m_updatedAtHasBeenSet = true;
373 m_updatedAt = std::forward<UpdatedAtT>(value);
374 }
375 template <typename UpdatedAtT = Aws::Utils::DateTime>
377 SetUpdatedAt(std::forward<UpdatedAtT>(value));
378 return *this;
379 }
381
383
386 inline const SelfGrantStatusOutput& GetSelfGrantStatus() const { return m_selfGrantStatus; }
387 template <typename SelfGrantStatusT = SelfGrantStatusOutput>
388 void SetSelfGrantStatus(SelfGrantStatusT&& value) {
389 m_selfGrantStatusHasBeenSet = true;
390 m_selfGrantStatus = std::forward<SelfGrantStatusT>(value);
391 }
392 template <typename SelfGrantStatusT = SelfGrantStatusOutput>
393 DeleteDataSourceResult& WithSelfGrantStatus(SelfGrantStatusT&& value) {
394 SetSelfGrantStatus(std::forward<SelfGrantStatusT>(value));
395 return *this;
396 }
398
400
404 inline bool GetRetainPermissionsOnRevokeFailure() const { return m_retainPermissionsOnRevokeFailure; }
405 inline void SetRetainPermissionsOnRevokeFailure(bool value) {
406 m_retainPermissionsOnRevokeFailureHasBeenSet = true;
407 m_retainPermissionsOnRevokeFailure = value;
408 }
411 return *this;
412 }
414
416
417 inline const Aws::String& GetRequestId() const { return m_requestId; }
418 template <typename RequestIdT = Aws::String>
419 void SetRequestId(RequestIdT&& value) {
420 m_requestIdHasBeenSet = true;
421 m_requestId = std::forward<RequestIdT>(value);
422 }
423 template <typename RequestIdT = Aws::String>
425 SetRequestId(std::forward<RequestIdT>(value));
426 return *this;
427 }
429 private:
430 Aws::String m_id;
431
433
434 Aws::String m_type;
435
436 Aws::String m_name;
437
438 Aws::String m_description;
439
440 Aws::String m_domainId;
441
442 Aws::String m_projectId;
443
444 Aws::String m_environmentId;
445
446 Aws::String m_connectionId;
447
448 DataSourceConfigurationOutput m_configuration;
449
450 EnableSetting m_enableSetting{EnableSetting::NOT_SET};
451
452 bool m_publishOnImport{false};
453
454 Aws::Vector<FormOutput> m_assetFormsOutput;
455
456 ScheduleConfiguration m_schedule;
457
459
460 Aws::Utils::DateTime m_lastRunAt{};
461
462 DataSourceErrorMessage m_lastRunErrorMessage;
463
464 DataSourceErrorMessage m_errorMessage;
465
466 Aws::Utils::DateTime m_createdAt{};
467
468 Aws::Utils::DateTime m_updatedAt{};
469
470 SelfGrantStatusOutput m_selfGrantStatus;
471
472 bool m_retainPermissionsOnRevokeFailure{false};
473
474 Aws::String m_requestId;
475 bool m_idHasBeenSet = false;
476 bool m_statusHasBeenSet = false;
477 bool m_typeHasBeenSet = false;
478 bool m_nameHasBeenSet = false;
479 bool m_descriptionHasBeenSet = false;
480 bool m_domainIdHasBeenSet = false;
481 bool m_projectIdHasBeenSet = false;
482 bool m_environmentIdHasBeenSet = false;
483 bool m_connectionIdHasBeenSet = false;
484 bool m_configurationHasBeenSet = false;
485 bool m_enableSettingHasBeenSet = false;
486 bool m_publishOnImportHasBeenSet = false;
487 bool m_assetFormsOutputHasBeenSet = false;
488 bool m_scheduleHasBeenSet = false;
489 bool m_lastRunStatusHasBeenSet = false;
490 bool m_lastRunAtHasBeenSet = false;
491 bool m_lastRunErrorMessageHasBeenSet = false;
492 bool m_errorMessageHasBeenSet = false;
493 bool m_createdAtHasBeenSet = false;
494 bool m_updatedAtHasBeenSet = false;
495 bool m_selfGrantStatusHasBeenSet = false;
496 bool m_retainPermissionsOnRevokeFailureHasBeenSet = false;
497 bool m_requestIdHasBeenSet = false;
498};
499
500} // namespace Model
501} // namespace DataZone
502} // namespace Aws
DeleteDataSourceResult & WithCreatedAt(CreatedAtT &&value)
DeleteDataSourceResult & WithPublishOnImport(bool value)
DeleteDataSourceResult & WithLastRunStatus(DataSourceRunStatus value)
AWS_DATAZONE_API DeleteDataSourceResult()=default
const Aws::Utils::DateTime & GetLastRunAt() const
DeleteDataSourceResult & AddAssetFormsOutput(AssetFormsOutputT &&value)
DeleteDataSourceResult & WithEnvironmentId(EnvironmentIdT &&value)
DeleteDataSourceResult & WithConnectionId(ConnectionIdT &&value)
DeleteDataSourceResult & WithProjectId(ProjectIdT &&value)
DeleteDataSourceResult & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DeleteDataSourceResult & WithAssetFormsOutput(AssetFormsOutputT &&value)
DeleteDataSourceResult & WithSelfGrantStatus(SelfGrantStatusT &&value)
const DataSourceErrorMessage & GetLastRunErrorMessage() const
const SelfGrantStatusOutput & GetSelfGrantStatus() const
const Aws::Vector< FormOutput > & GetAssetFormsOutput() const
void SetLastRunErrorMessage(LastRunErrorMessageT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DeleteDataSourceResult & WithStatus(DataSourceStatus value)
DeleteDataSourceResult & WithEnableSetting(EnableSetting value)
DeleteDataSourceResult & WithDescription(DescriptionT &&value)
void SetAssetFormsOutput(AssetFormsOutputT &&value)
DeleteDataSourceResult & WithSchedule(ScheduleT &&value)
const DataSourceErrorMessage & GetErrorMessage() const
AWS_DATAZONE_API DeleteDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteDataSourceResult & WithLastRunErrorMessage(LastRunErrorMessageT &&value)
DeleteDataSourceResult & WithType(TypeT &&value)
DeleteDataSourceResult & WithRetainPermissionsOnRevokeFailure(bool value)
DeleteDataSourceResult & WithConfiguration(ConfigurationT &&value)
const DataSourceConfigurationOutput & GetConfiguration() const
const ScheduleConfiguration & GetSchedule() const
DeleteDataSourceResult & WithUpdatedAt(UpdatedAtT &&value)
DeleteDataSourceResult & WithErrorMessage(ErrorMessageT &&value)
DeleteDataSourceResult & WithRequestId(RequestIdT &&value)
DeleteDataSourceResult & WithLastRunAt(LastRunAtT &&value)
DeleteDataSourceResult & WithId(IdT &&value)
DeleteDataSourceResult & WithName(NameT &&value)
AWS_DATAZONE_API DeleteDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue