AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteDataSourceResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/model/DataSourceConfigurationOutput.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/datazone/model/EnableSetting.h>
13#include <aws/datazone/model/DataSourceErrorMessage.h>
14#include <aws/datazone/model/DataSourceRunStatus.h>
15#include <aws/datazone/model/ScheduleConfiguration.h>
16#include <aws/datazone/model/SelfGrantStatusOutput.h>
17#include <aws/datazone/model/DataSourceStatus.h>
18#include <aws/datazone/model/FormOutput.h>
19#include <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace DataZone
34{
35namespace Model
36{
38 {
39 public:
40 AWS_DATAZONE_API DeleteDataSourceResult() = default;
43
44
46
49 inline const Aws::Vector<FormOutput>& GetAssetFormsOutput() const { return m_assetFormsOutput; }
50 template<typename AssetFormsOutputT = Aws::Vector<FormOutput>>
51 void SetAssetFormsOutput(AssetFormsOutputT&& value) { m_assetFormsOutputHasBeenSet = true; m_assetFormsOutput = std::forward<AssetFormsOutputT>(value); }
52 template<typename AssetFormsOutputT = Aws::Vector<FormOutput>>
53 DeleteDataSourceResult& WithAssetFormsOutput(AssetFormsOutputT&& value) { SetAssetFormsOutput(std::forward<AssetFormsOutputT>(value)); return *this;}
54 template<typename AssetFormsOutputT = FormOutput>
55 DeleteDataSourceResult& AddAssetFormsOutput(AssetFormsOutputT&& value) { m_assetFormsOutputHasBeenSet = true; m_assetFormsOutput.emplace_back(std::forward<AssetFormsOutputT>(value)); return *this; }
57
59
62 inline const DataSourceConfigurationOutput& GetConfiguration() const { return m_configuration; }
63 template<typename ConfigurationT = DataSourceConfigurationOutput>
64 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
65 template<typename ConfigurationT = DataSourceConfigurationOutput>
66 DeleteDataSourceResult& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
68
70
73 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
74 template<typename ConnectionIdT = Aws::String>
75 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::forward<ConnectionIdT>(value); }
76 template<typename ConnectionIdT = Aws::String>
77 DeleteDataSourceResult& WithConnectionId(ConnectionIdT&& value) { SetConnectionId(std::forward<ConnectionIdT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
85 template<typename CreatedAtT = Aws::Utils::DateTime>
86 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
87 template<typename CreatedAtT = Aws::Utils::DateTime>
88 DeleteDataSourceResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 template<typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
98 template<typename DescriptionT = Aws::String>
99 DeleteDataSourceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
101
103
106 inline const Aws::String& GetDomainId() const { return m_domainId; }
107 template<typename DomainIdT = Aws::String>
108 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
109 template<typename DomainIdT = Aws::String>
110 DeleteDataSourceResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
112
114
118 inline EnableSetting GetEnableSetting() const { return m_enableSetting; }
119 inline void SetEnableSetting(EnableSetting value) { m_enableSettingHasBeenSet = true; m_enableSetting = value; }
122
124
127 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
128 template<typename EnvironmentIdT = Aws::String>
129 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
130 template<typename EnvironmentIdT = Aws::String>
131 DeleteDataSourceResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
133
135
139 inline const DataSourceErrorMessage& GetErrorMessage() const { return m_errorMessage; }
140 template<typename ErrorMessageT = DataSourceErrorMessage>
141 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
142 template<typename ErrorMessageT = DataSourceErrorMessage>
143 DeleteDataSourceResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
145
147
150 inline const Aws::String& GetId() const { return m_id; }
151 template<typename IdT = Aws::String>
152 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
153 template<typename IdT = Aws::String>
154 DeleteDataSourceResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetLastRunAt() const { return m_lastRunAt; }
162 template<typename LastRunAtT = Aws::Utils::DateTime>
163 void SetLastRunAt(LastRunAtT&& value) { m_lastRunAtHasBeenSet = true; m_lastRunAt = std::forward<LastRunAtT>(value); }
164 template<typename LastRunAtT = Aws::Utils::DateTime>
165 DeleteDataSourceResult& WithLastRunAt(LastRunAtT&& value) { SetLastRunAt(std::forward<LastRunAtT>(value)); return *this;}
167
169
173 inline const DataSourceErrorMessage& GetLastRunErrorMessage() const { return m_lastRunErrorMessage; }
174 template<typename LastRunErrorMessageT = DataSourceErrorMessage>
175 void SetLastRunErrorMessage(LastRunErrorMessageT&& value) { m_lastRunErrorMessageHasBeenSet = true; m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value); }
176 template<typename LastRunErrorMessageT = DataSourceErrorMessage>
177 DeleteDataSourceResult& WithLastRunErrorMessage(LastRunErrorMessageT&& value) { SetLastRunErrorMessage(std::forward<LastRunErrorMessageT>(value)); return *this;}
179
181
184 inline DataSourceRunStatus GetLastRunStatus() const { return m_lastRunStatus; }
185 inline void SetLastRunStatus(DataSourceRunStatus value) { m_lastRunStatusHasBeenSet = true; m_lastRunStatus = value; }
188
190
193 inline const Aws::String& GetName() const { return m_name; }
194 template<typename NameT = Aws::String>
195 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
196 template<typename NameT = Aws::String>
197 DeleteDataSourceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
199
201
205 inline const Aws::String& GetProjectId() const { return m_projectId; }
206 template<typename ProjectIdT = Aws::String>
207 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
208 template<typename ProjectIdT = Aws::String>
209 DeleteDataSourceResult& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
211
213
217 inline bool GetPublishOnImport() const { return m_publishOnImport; }
218 inline void SetPublishOnImport(bool value) { m_publishOnImportHasBeenSet = true; m_publishOnImport = value; }
219 inline DeleteDataSourceResult& WithPublishOnImport(bool value) { SetPublishOnImport(value); return *this;}
221
223
227 inline bool GetRetainPermissionsOnRevokeFailure() const { return m_retainPermissionsOnRevokeFailure; }
228 inline void SetRetainPermissionsOnRevokeFailure(bool value) { m_retainPermissionsOnRevokeFailureHasBeenSet = true; m_retainPermissionsOnRevokeFailure = value; }
231
233
236 inline const ScheduleConfiguration& GetSchedule() const { return m_schedule; }
237 template<typename ScheduleT = ScheduleConfiguration>
238 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
239 template<typename ScheduleT = ScheduleConfiguration>
240 DeleteDataSourceResult& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
242
244
247 inline const SelfGrantStatusOutput& GetSelfGrantStatus() const { return m_selfGrantStatus; }
248 template<typename SelfGrantStatusT = SelfGrantStatusOutput>
249 void SetSelfGrantStatus(SelfGrantStatusT&& value) { m_selfGrantStatusHasBeenSet = true; m_selfGrantStatus = std::forward<SelfGrantStatusT>(value); }
250 template<typename SelfGrantStatusT = SelfGrantStatusOutput>
251 DeleteDataSourceResult& WithSelfGrantStatus(SelfGrantStatusT&& value) { SetSelfGrantStatus(std::forward<SelfGrantStatusT>(value)); return *this;}
253
255
258 inline DataSourceStatus GetStatus() const { return m_status; }
259 inline void SetStatus(DataSourceStatus value) { m_statusHasBeenSet = true; m_status = value; }
260 inline DeleteDataSourceResult& WithStatus(DataSourceStatus value) { SetStatus(value); return *this;}
262
264
267 inline const Aws::String& GetType() const { return m_type; }
268 template<typename TypeT = Aws::String>
269 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
270 template<typename TypeT = Aws::String>
271 DeleteDataSourceResult& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
273
275
278 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
279 template<typename UpdatedAtT = Aws::Utils::DateTime>
280 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
281 template<typename UpdatedAtT = Aws::Utils::DateTime>
282 DeleteDataSourceResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
284
286
287 inline const Aws::String& GetRequestId() const { return m_requestId; }
288 template<typename RequestIdT = Aws::String>
289 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
290 template<typename RequestIdT = Aws::String>
291 DeleteDataSourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
293 private:
294
295 Aws::Vector<FormOutput> m_assetFormsOutput;
296 bool m_assetFormsOutputHasBeenSet = false;
297
298 DataSourceConfigurationOutput m_configuration;
299 bool m_configurationHasBeenSet = false;
300
301 Aws::String m_connectionId;
302 bool m_connectionIdHasBeenSet = false;
303
304 Aws::Utils::DateTime m_createdAt{};
305 bool m_createdAtHasBeenSet = false;
306
307 Aws::String m_description;
308 bool m_descriptionHasBeenSet = false;
309
310 Aws::String m_domainId;
311 bool m_domainIdHasBeenSet = false;
312
313 EnableSetting m_enableSetting{EnableSetting::NOT_SET};
314 bool m_enableSettingHasBeenSet = false;
315
316 Aws::String m_environmentId;
317 bool m_environmentIdHasBeenSet = false;
318
319 DataSourceErrorMessage m_errorMessage;
320 bool m_errorMessageHasBeenSet = false;
321
322 Aws::String m_id;
323 bool m_idHasBeenSet = false;
324
325 Aws::Utils::DateTime m_lastRunAt{};
326 bool m_lastRunAtHasBeenSet = false;
327
328 DataSourceErrorMessage m_lastRunErrorMessage;
329 bool m_lastRunErrorMessageHasBeenSet = false;
330
332 bool m_lastRunStatusHasBeenSet = false;
333
334 Aws::String m_name;
335 bool m_nameHasBeenSet = false;
336
337 Aws::String m_projectId;
338 bool m_projectIdHasBeenSet = false;
339
340 bool m_publishOnImport{false};
341 bool m_publishOnImportHasBeenSet = false;
342
343 bool m_retainPermissionsOnRevokeFailure{false};
344 bool m_retainPermissionsOnRevokeFailureHasBeenSet = false;
345
346 ScheduleConfiguration m_schedule;
347 bool m_scheduleHasBeenSet = false;
348
349 SelfGrantStatusOutput m_selfGrantStatus;
350 bool m_selfGrantStatusHasBeenSet = false;
351
353 bool m_statusHasBeenSet = false;
354
355 Aws::String m_type;
356 bool m_typeHasBeenSet = false;
357
358 Aws::Utils::DateTime m_updatedAt{};
359 bool m_updatedAtHasBeenSet = false;
360
361 Aws::String m_requestId;
362 bool m_requestIdHasBeenSet = false;
363 };
364
365} // namespace Model
366} // namespace DataZone
367} // 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