AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.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();
43
44
46
49 inline const Aws::Vector<FormOutput>& GetAssetFormsOutput() const{ return m_assetFormsOutput; }
50 inline void SetAssetFormsOutput(const Aws::Vector<FormOutput>& value) { m_assetFormsOutput = value; }
51 inline void SetAssetFormsOutput(Aws::Vector<FormOutput>&& value) { m_assetFormsOutput = std::move(value); }
54 inline DeleteDataSourceResult& AddAssetFormsOutput(const FormOutput& value) { m_assetFormsOutput.push_back(value); return *this; }
55 inline DeleteDataSourceResult& AddAssetFormsOutput(FormOutput&& value) { m_assetFormsOutput.push_back(std::move(value)); return *this; }
57
59
62 inline const DataSourceConfigurationOutput& GetConfiguration() const{ return m_configuration; }
63 inline void SetConfiguration(const DataSourceConfigurationOutput& value) { m_configuration = value; }
64 inline void SetConfiguration(DataSourceConfigurationOutput&& value) { m_configuration = std::move(value); }
68
70
73 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
74 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
75 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
76 inline DeleteDataSourceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
77 inline DeleteDataSourceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetDescription() const{ return m_description; }
85 inline void SetDescription(const Aws::String& value) { m_description = value; }
86 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
87 inline void SetDescription(const char* value) { m_description.assign(value); }
88 inline DeleteDataSourceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
89 inline DeleteDataSourceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
90 inline DeleteDataSourceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
92
94
97 inline const Aws::String& GetDomainId() const{ return m_domainId; }
98 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
99 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
100 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
101 inline DeleteDataSourceResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
102 inline DeleteDataSourceResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
103 inline DeleteDataSourceResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
105
107
111 inline const EnableSetting& GetEnableSetting() const{ return m_enableSetting; }
112 inline void SetEnableSetting(const EnableSetting& value) { m_enableSetting = value; }
113 inline void SetEnableSetting(EnableSetting&& value) { m_enableSetting = std::move(value); }
114 inline DeleteDataSourceResult& WithEnableSetting(const EnableSetting& value) { SetEnableSetting(value); return *this;}
115 inline DeleteDataSourceResult& WithEnableSetting(EnableSetting&& value) { SetEnableSetting(std::move(value)); return *this;}
117
119
122 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
123 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
124 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
125 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
126 inline DeleteDataSourceResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
127 inline DeleteDataSourceResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
128 inline DeleteDataSourceResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
130
132
136 inline const DataSourceErrorMessage& GetErrorMessage() const{ return m_errorMessage; }
137 inline void SetErrorMessage(const DataSourceErrorMessage& value) { m_errorMessage = value; }
138 inline void SetErrorMessage(DataSourceErrorMessage&& value) { m_errorMessage = std::move(value); }
140 inline DeleteDataSourceResult& WithErrorMessage(DataSourceErrorMessage&& value) { SetErrorMessage(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetId() const{ return m_id; }
148 inline void SetId(const Aws::String& value) { m_id = value; }
149 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
150 inline void SetId(const char* value) { m_id.assign(value); }
151 inline DeleteDataSourceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
152 inline DeleteDataSourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
153 inline DeleteDataSourceResult& WithId(const char* value) { SetId(value); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetLastRunAt() const{ return m_lastRunAt; }
161 inline void SetLastRunAt(const Aws::Utils::DateTime& value) { m_lastRunAt = value; }
162 inline void SetLastRunAt(Aws::Utils::DateTime&& value) { m_lastRunAt = std::move(value); }
163 inline DeleteDataSourceResult& WithLastRunAt(const Aws::Utils::DateTime& value) { SetLastRunAt(value); return *this;}
164 inline DeleteDataSourceResult& WithLastRunAt(Aws::Utils::DateTime&& value) { SetLastRunAt(std::move(value)); return *this;}
166
168
172 inline const DataSourceErrorMessage& GetLastRunErrorMessage() const{ return m_lastRunErrorMessage; }
173 inline void SetLastRunErrorMessage(const DataSourceErrorMessage& value) { m_lastRunErrorMessage = value; }
174 inline void SetLastRunErrorMessage(DataSourceErrorMessage&& value) { m_lastRunErrorMessage = std::move(value); }
178
180
183 inline const DataSourceRunStatus& GetLastRunStatus() const{ return m_lastRunStatus; }
184 inline void SetLastRunStatus(const DataSourceRunStatus& value) { m_lastRunStatus = value; }
185 inline void SetLastRunStatus(DataSourceRunStatus&& value) { m_lastRunStatus = std::move(value); }
187 inline DeleteDataSourceResult& WithLastRunStatus(DataSourceRunStatus&& value) { SetLastRunStatus(std::move(value)); return *this;}
189
191
194 inline const Aws::String& GetName() const{ return m_name; }
195 inline void SetName(const Aws::String& value) { m_name = value; }
196 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
197 inline void SetName(const char* value) { m_name.assign(value); }
198 inline DeleteDataSourceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
199 inline DeleteDataSourceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
200 inline DeleteDataSourceResult& WithName(const char* value) { SetName(value); return *this;}
202
204
208 inline const Aws::String& GetProjectId() const{ return m_projectId; }
209 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
210 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
211 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
212 inline DeleteDataSourceResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
213 inline DeleteDataSourceResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
214 inline DeleteDataSourceResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
216
218
222 inline bool GetPublishOnImport() const{ return m_publishOnImport; }
223 inline void SetPublishOnImport(bool value) { m_publishOnImport = value; }
224 inline DeleteDataSourceResult& WithPublishOnImport(bool value) { SetPublishOnImport(value); return *this;}
226
228
232 inline bool GetRetainPermissionsOnRevokeFailure() const{ return m_retainPermissionsOnRevokeFailure; }
233 inline void SetRetainPermissionsOnRevokeFailure(bool value) { m_retainPermissionsOnRevokeFailure = value; }
236
238
241 inline const ScheduleConfiguration& GetSchedule() const{ return m_schedule; }
242 inline void SetSchedule(const ScheduleConfiguration& value) { m_schedule = value; }
243 inline void SetSchedule(ScheduleConfiguration&& value) { m_schedule = std::move(value); }
244 inline DeleteDataSourceResult& WithSchedule(const ScheduleConfiguration& value) { SetSchedule(value); return *this;}
245 inline DeleteDataSourceResult& WithSchedule(ScheduleConfiguration&& value) { SetSchedule(std::move(value)); return *this;}
247
249
252 inline const SelfGrantStatusOutput& GetSelfGrantStatus() const{ return m_selfGrantStatus; }
253 inline void SetSelfGrantStatus(const SelfGrantStatusOutput& value) { m_selfGrantStatus = value; }
254 inline void SetSelfGrantStatus(SelfGrantStatusOutput&& value) { m_selfGrantStatus = std::move(value); }
256 inline DeleteDataSourceResult& WithSelfGrantStatus(SelfGrantStatusOutput&& value) { SetSelfGrantStatus(std::move(value)); return *this;}
258
260
263 inline const DataSourceStatus& GetStatus() const{ return m_status; }
264 inline void SetStatus(const DataSourceStatus& value) { m_status = value; }
265 inline void SetStatus(DataSourceStatus&& value) { m_status = std::move(value); }
266 inline DeleteDataSourceResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
267 inline DeleteDataSourceResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
269
271
274 inline const Aws::String& GetType() const{ return m_type; }
275 inline void SetType(const Aws::String& value) { m_type = value; }
276 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
277 inline void SetType(const char* value) { m_type.assign(value); }
278 inline DeleteDataSourceResult& WithType(const Aws::String& value) { SetType(value); return *this;}
279 inline DeleteDataSourceResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
280 inline DeleteDataSourceResult& WithType(const char* value) { SetType(value); return *this;}
282
284
287 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
288 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
289 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
290 inline DeleteDataSourceResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
291 inline DeleteDataSourceResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
293
295
296 inline const Aws::String& GetRequestId() const{ return m_requestId; }
297 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
298 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
299 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
300 inline DeleteDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
301 inline DeleteDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
302 inline DeleteDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
304 private:
305
306 Aws::Vector<FormOutput> m_assetFormsOutput;
307
308 DataSourceConfigurationOutput m_configuration;
309
310 Aws::Utils::DateTime m_createdAt;
311
312 Aws::String m_description;
313
314 Aws::String m_domainId;
315
316 EnableSetting m_enableSetting;
317
318 Aws::String m_environmentId;
319
320 DataSourceErrorMessage m_errorMessage;
321
322 Aws::String m_id;
323
324 Aws::Utils::DateTime m_lastRunAt;
325
326 DataSourceErrorMessage m_lastRunErrorMessage;
327
328 DataSourceRunStatus m_lastRunStatus;
329
330 Aws::String m_name;
331
332 Aws::String m_projectId;
333
334 bool m_publishOnImport;
335
336 bool m_retainPermissionsOnRevokeFailure;
337
338 ScheduleConfiguration m_schedule;
339
340 SelfGrantStatusOutput m_selfGrantStatus;
341
342 DataSourceStatus m_status;
343
344 Aws::String m_type;
345
346 Aws::Utils::DateTime m_updatedAt;
347
348 Aws::String m_requestId;
349 };
350
351} // namespace Model
352} // namespace DataZone
353} // namespace Aws
DeleteDataSourceResult & AddAssetFormsOutput(const FormOutput &value)
DeleteDataSourceResult & WithConfiguration(DataSourceConfigurationOutput &&value)
DeleteDataSourceResult & WithPublishOnImport(bool value)
DeleteDataSourceResult & WithRequestId(const char *value)
DeleteDataSourceResult & WithEnableSetting(const EnableSetting &value)
void SetLastRunErrorMessage(const DataSourceErrorMessage &value)
DeleteDataSourceResult & WithStatus(DataSourceStatus &&value)
DeleteDataSourceResult & WithId(Aws::String &&value)
DeleteDataSourceResult & WithType(const Aws::String &value)
void SetConfiguration(DataSourceConfigurationOutput &&value)
const Aws::Utils::DateTime & GetLastRunAt() const
void SetAssetFormsOutput(Aws::Vector< FormOutput > &&value)
void SetLastRunAt(Aws::Utils::DateTime &&value)
DeleteDataSourceResult & WithDomainId(const char *value)
DeleteDataSourceResult & WithName(const Aws::String &value)
DeleteDataSourceResult & WithProjectId(const Aws::String &value)
DeleteDataSourceResult & AddAssetFormsOutput(FormOutput &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetErrorMessage(const DataSourceErrorMessage &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLastRunErrorMessage(DataSourceErrorMessage &&value)
DeleteDataSourceResult & WithErrorMessage(const DataSourceErrorMessage &value)
void SetEnableSetting(const EnableSetting &value)
DeleteDataSourceResult & WithLastRunErrorMessage(const DataSourceErrorMessage &value)
const DataSourceErrorMessage & GetLastRunErrorMessage() const
const SelfGrantStatusOutput & GetSelfGrantStatus() const
DeleteDataSourceResult & WithAssetFormsOutput(Aws::Vector< FormOutput > &&value)
void SetSelfGrantStatus(SelfGrantStatusOutput &&value)
DeleteDataSourceResult & WithType(Aws::String &&value)
DeleteDataSourceResult & WithDescription(const Aws::String &value)
DeleteDataSourceResult & WithSelfGrantStatus(SelfGrantStatusOutput &&value)
DeleteDataSourceResult & WithLastRunAt(Aws::Utils::DateTime &&value)
void SetAssetFormsOutput(const Aws::Vector< FormOutput > &value)
DeleteDataSourceResult & WithConfiguration(const DataSourceConfigurationOutput &value)
DeleteDataSourceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetConfiguration(const DataSourceConfigurationOutput &value)
DeleteDataSourceResult & WithSchedule(ScheduleConfiguration &&value)
DeleteDataSourceResult & WithLastRunAt(const Aws::Utils::DateTime &value)
const Aws::Vector< FormOutput > & GetAssetFormsOutput() const
DeleteDataSourceResult & WithEnvironmentId(const char *value)
void SetSchedule(const ScheduleConfiguration &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DeleteDataSourceResult & WithId(const char *value)
DeleteDataSourceResult & WithEnvironmentId(Aws::String &&value)
DeleteDataSourceResult & WithLastRunStatus(DataSourceRunStatus &&value)
DeleteDataSourceResult & WithErrorMessage(DataSourceErrorMessage &&value)
DeleteDataSourceResult & WithProjectId(const char *value)
DeleteDataSourceResult & WithSelfGrantStatus(const SelfGrantStatusOutput &value)
DeleteDataSourceResult & WithRequestId(Aws::String &&value)
DeleteDataSourceResult & WithRequestId(const Aws::String &value)
DeleteDataSourceResult & WithStatus(const DataSourceStatus &value)
DeleteDataSourceResult & WithEnableSetting(EnableSetting &&value)
DeleteDataSourceResult & WithEnvironmentId(const Aws::String &value)
DeleteDataSourceResult & WithDescription(Aws::String &&value)
DeleteDataSourceResult & WithDomainId(const Aws::String &value)
const DataSourceErrorMessage & GetErrorMessage() const
DeleteDataSourceResult & WithType(const char *value)
void SetStatus(const DataSourceStatus &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API DeleteDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteDataSourceResult & WithAssetFormsOutput(const Aws::Vector< FormOutput > &value)
DeleteDataSourceResult & WithLastRunErrorMessage(DataSourceErrorMessage &&value)
DeleteDataSourceResult & WithLastRunStatus(const DataSourceRunStatus &value)
DeleteDataSourceResult & WithSchedule(const ScheduleConfiguration &value)
DeleteDataSourceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetLastRunStatus(DataSourceRunStatus &&value)
DeleteDataSourceResult & WithRetainPermissionsOnRevokeFailure(bool value)
const DataSourceConfigurationOutput & GetConfiguration() const
DeleteDataSourceResult & WithProjectId(Aws::String &&value)
const ScheduleConfiguration & GetSchedule() const
const DataSourceRunStatus & GetLastRunStatus() const
DeleteDataSourceResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
DeleteDataSourceResult & WithDescription(const char *value)
DeleteDataSourceResult & WithName(Aws::String &&value)
void SetLastRunAt(const Aws::Utils::DateTime &value)
void SetLastRunStatus(const DataSourceRunStatus &value)
void SetErrorMessage(DataSourceErrorMessage &&value)
DeleteDataSourceResult & WithName(const char *value)
DeleteDataSourceResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
DeleteDataSourceResult & WithDomainId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetSchedule(ScheduleConfiguration &&value)
void SetSelfGrantStatus(const SelfGrantStatusOutput &value)
DeleteDataSourceResult & WithId(const Aws::String &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