AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDataSourceResult.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/RecommendationConfiguration.h>
16#include <aws/datazone/model/ScheduleConfiguration.h>
17#include <aws/datazone/model/SelfGrantStatusOutput.h>
18#include <aws/datazone/model/DataSourceStatus.h>
19#include <aws/datazone/model/FormOutput.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace DataZone
35{
36namespace Model
37{
39 {
40 public:
41 AWS_DATAZONE_API GetDataSourceResult();
44
45
47
50 inline const Aws::Vector<FormOutput>& GetAssetFormsOutput() const{ return m_assetFormsOutput; }
51 inline void SetAssetFormsOutput(const Aws::Vector<FormOutput>& value) { m_assetFormsOutput = value; }
52 inline void SetAssetFormsOutput(Aws::Vector<FormOutput>&& value) { m_assetFormsOutput = std::move(value); }
54 inline GetDataSourceResult& WithAssetFormsOutput(Aws::Vector<FormOutput>&& value) { SetAssetFormsOutput(std::move(value)); return *this;}
55 inline GetDataSourceResult& AddAssetFormsOutput(const FormOutput& value) { m_assetFormsOutput.push_back(value); return *this; }
56 inline GetDataSourceResult& AddAssetFormsOutput(FormOutput&& value) { m_assetFormsOutput.push_back(std::move(value)); return *this; }
58
60
63 inline const DataSourceConfigurationOutput& GetConfiguration() const{ return m_configuration; }
64 inline void SetConfiguration(const DataSourceConfigurationOutput& value) { m_configuration = value; }
65 inline void SetConfiguration(DataSourceConfigurationOutput&& value) { m_configuration = std::move(value); }
67 inline GetDataSourceResult& WithConfiguration(DataSourceConfigurationOutput&& value) { SetConfiguration(std::move(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
75 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
76 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
77 inline GetDataSourceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
78 inline GetDataSourceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline void SetDescription(const Aws::String& value) { m_description = value; }
87 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
88 inline void SetDescription(const char* value) { m_description.assign(value); }
89 inline GetDataSourceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline GetDataSourceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline GetDataSourceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
98 inline const Aws::String& GetDomainId() const{ return m_domainId; }
99 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
100 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
101 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
102 inline GetDataSourceResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
103 inline GetDataSourceResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
104 inline GetDataSourceResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
106
108
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 GetDataSourceResult& WithEnableSetting(const EnableSetting& value) { SetEnableSetting(value); return *this;}
115 inline GetDataSourceResult& WithEnableSetting(EnableSetting&& value) { SetEnableSetting(std::move(value)); return *this;}
117
119
123 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
124 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
125 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
126 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
127 inline GetDataSourceResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
128 inline GetDataSourceResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
129 inline GetDataSourceResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
131
133
137 inline const DataSourceErrorMessage& GetErrorMessage() const{ return m_errorMessage; }
138 inline void SetErrorMessage(const DataSourceErrorMessage& value) { m_errorMessage = value; }
139 inline void SetErrorMessage(DataSourceErrorMessage&& value) { m_errorMessage = std::move(value); }
140 inline GetDataSourceResult& WithErrorMessage(const DataSourceErrorMessage& value) { SetErrorMessage(value); return *this;}
141 inline GetDataSourceResult& WithErrorMessage(DataSourceErrorMessage&& value) { SetErrorMessage(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetId() const{ return m_id; }
149 inline void SetId(const Aws::String& value) { m_id = value; }
150 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
151 inline void SetId(const char* value) { m_id.assign(value); }
152 inline GetDataSourceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
153 inline GetDataSourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
154 inline GetDataSourceResult& WithId(const char* value) { SetId(value); return *this;}
156
158
161 inline int GetLastRunAssetCount() const{ return m_lastRunAssetCount; }
162 inline void SetLastRunAssetCount(int value) { m_lastRunAssetCount = value; }
163 inline GetDataSourceResult& WithLastRunAssetCount(int value) { SetLastRunAssetCount(value); return *this;}
165
167
170 inline const Aws::Utils::DateTime& GetLastRunAt() const{ return m_lastRunAt; }
171 inline void SetLastRunAt(const Aws::Utils::DateTime& value) { m_lastRunAt = value; }
172 inline void SetLastRunAt(Aws::Utils::DateTime&& value) { m_lastRunAt = std::move(value); }
173 inline GetDataSourceResult& WithLastRunAt(const Aws::Utils::DateTime& value) { SetLastRunAt(value); return *this;}
174 inline GetDataSourceResult& WithLastRunAt(Aws::Utils::DateTime&& value) { SetLastRunAt(std::move(value)); return *this;}
176
178
182 inline const DataSourceErrorMessage& GetLastRunErrorMessage() const{ return m_lastRunErrorMessage; }
183 inline void SetLastRunErrorMessage(const DataSourceErrorMessage& value) { m_lastRunErrorMessage = value; }
184 inline void SetLastRunErrorMessage(DataSourceErrorMessage&& value) { m_lastRunErrorMessage = std::move(value); }
188
190
193 inline const DataSourceRunStatus& GetLastRunStatus() const{ return m_lastRunStatus; }
194 inline void SetLastRunStatus(const DataSourceRunStatus& value) { m_lastRunStatus = value; }
195 inline void SetLastRunStatus(DataSourceRunStatus&& value) { m_lastRunStatus = std::move(value); }
196 inline GetDataSourceResult& WithLastRunStatus(const DataSourceRunStatus& value) { SetLastRunStatus(value); return *this;}
197 inline GetDataSourceResult& WithLastRunStatus(DataSourceRunStatus&& value) { SetLastRunStatus(std::move(value)); return *this;}
199
201
204 inline const Aws::String& GetName() const{ return m_name; }
205 inline void SetName(const Aws::String& value) { m_name = value; }
206 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
207 inline void SetName(const char* value) { m_name.assign(value); }
208 inline GetDataSourceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
209 inline GetDataSourceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
210 inline GetDataSourceResult& WithName(const char* value) { SetName(value); return *this;}
212
214
217 inline const Aws::String& GetProjectId() const{ return m_projectId; }
218 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
219 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
220 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
221 inline GetDataSourceResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
222 inline GetDataSourceResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
223 inline GetDataSourceResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
225
227
231 inline bool GetPublishOnImport() const{ return m_publishOnImport; }
232 inline void SetPublishOnImport(bool value) { m_publishOnImport = value; }
233 inline GetDataSourceResult& WithPublishOnImport(bool value) { SetPublishOnImport(value); return *this;}
235
237
240 inline const RecommendationConfiguration& GetRecommendation() const{ return m_recommendation; }
241 inline void SetRecommendation(const RecommendationConfiguration& value) { m_recommendation = value; }
242 inline void SetRecommendation(RecommendationConfiguration&& value) { m_recommendation = std::move(value); }
244 inline GetDataSourceResult& WithRecommendation(RecommendationConfiguration&& value) { SetRecommendation(std::move(value)); return *this;}
246
248
251 inline const ScheduleConfiguration& GetSchedule() const{ return m_schedule; }
252 inline void SetSchedule(const ScheduleConfiguration& value) { m_schedule = value; }
253 inline void SetSchedule(ScheduleConfiguration&& value) { m_schedule = std::move(value); }
254 inline GetDataSourceResult& WithSchedule(const ScheduleConfiguration& value) { SetSchedule(value); return *this;}
255 inline GetDataSourceResult& WithSchedule(ScheduleConfiguration&& value) { SetSchedule(std::move(value)); return *this;}
257
259
262 inline const SelfGrantStatusOutput& GetSelfGrantStatus() const{ return m_selfGrantStatus; }
263 inline void SetSelfGrantStatus(const SelfGrantStatusOutput& value) { m_selfGrantStatus = value; }
264 inline void SetSelfGrantStatus(SelfGrantStatusOutput&& value) { m_selfGrantStatus = std::move(value); }
266 inline GetDataSourceResult& WithSelfGrantStatus(SelfGrantStatusOutput&& value) { SetSelfGrantStatus(std::move(value)); return *this;}
268
270
273 inline const DataSourceStatus& GetStatus() const{ return m_status; }
274 inline void SetStatus(const DataSourceStatus& value) { m_status = value; }
275 inline void SetStatus(DataSourceStatus&& value) { m_status = std::move(value); }
276 inline GetDataSourceResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
277 inline GetDataSourceResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
279
281
284 inline const Aws::String& GetType() const{ return m_type; }
285 inline void SetType(const Aws::String& value) { m_type = value; }
286 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
287 inline void SetType(const char* value) { m_type.assign(value); }
288 inline GetDataSourceResult& WithType(const Aws::String& value) { SetType(value); return *this;}
289 inline GetDataSourceResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
290 inline GetDataSourceResult& WithType(const char* value) { SetType(value); return *this;}
292
294
297 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
298 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
299 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
300 inline GetDataSourceResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
301 inline GetDataSourceResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
303
305
306 inline const Aws::String& GetRequestId() const{ return m_requestId; }
307 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
308 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
309 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
310 inline GetDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
311 inline GetDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
312 inline GetDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
314 private:
315
316 Aws::Vector<FormOutput> m_assetFormsOutput;
317
318 DataSourceConfigurationOutput m_configuration;
319
320 Aws::Utils::DateTime m_createdAt;
321
322 Aws::String m_description;
323
324 Aws::String m_domainId;
325
326 EnableSetting m_enableSetting;
327
328 Aws::String m_environmentId;
329
330 DataSourceErrorMessage m_errorMessage;
331
332 Aws::String m_id;
333
334 int m_lastRunAssetCount;
335
336 Aws::Utils::DateTime m_lastRunAt;
337
338 DataSourceErrorMessage m_lastRunErrorMessage;
339
340 DataSourceRunStatus m_lastRunStatus;
341
342 Aws::String m_name;
343
344 Aws::String m_projectId;
345
346 bool m_publishOnImport;
347
348 RecommendationConfiguration m_recommendation;
349
350 ScheduleConfiguration m_schedule;
351
352 SelfGrantStatusOutput m_selfGrantStatus;
353
354 DataSourceStatus m_status;
355
356 Aws::String m_type;
357
358 Aws::Utils::DateTime m_updatedAt;
359
360 Aws::String m_requestId;
361 };
362
363} // namespace Model
364} // namespace DataZone
365} // namespace Aws
GetDataSourceResult & WithDescription(const Aws::String &value)
void SetProjectId(const Aws::String &value)
GetDataSourceResult & WithEnvironmentId(const char *value)
void SetSelfGrantStatus(SelfGrantStatusOutput &&value)
void SetRecommendation(RecommendationConfiguration &&value)
const DataSourceRunStatus & GetLastRunStatus() const
GetDataSourceResult & WithProjectId(Aws::String &&value)
GetDataSourceResult & WithAssetFormsOutput(const Aws::Vector< FormOutput > &value)
void SetLastRunErrorMessage(DataSourceErrorMessage &&value)
const Aws::Utils::DateTime & GetLastRunAt() const
GetDataSourceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithEnableSetting(const EnableSetting &value)
GetDataSourceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithDomainId(const char *value)
GetDataSourceResult & WithEnableSetting(EnableSetting &&value)
GetDataSourceResult & WithSchedule(ScheduleConfiguration &&value)
GetDataSourceResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetAssetFormsOutput(Aws::Vector< FormOutput > &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const DataSourceStatus & GetStatus() const
GetDataSourceResult & WithId(Aws::String &&value)
const Aws::Vector< FormOutput > & GetAssetFormsOutput() const
GetDataSourceResult & WithRecommendation(RecommendationConfiguration &&value)
void SetEnvironmentId(const Aws::String &value)
void SetRecommendation(const RecommendationConfiguration &value)
GetDataSourceResult & WithLastRunStatus(DataSourceRunStatus &&value)
void SetSchedule(const ScheduleConfiguration &value)
GetDataSourceResult & WithRequestId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithType(Aws::String &&value)
GetDataSourceResult & WithRequestId(const Aws::String &value)
GetDataSourceResult & WithSelfGrantStatus(SelfGrantStatusOutput &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithRequestId(const char *value)
GetDataSourceResult & WithSelfGrantStatus(const SelfGrantStatusOutput &value)
void SetLastRunAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API GetDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceResult & WithSchedule(const ScheduleConfiguration &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetDataSourceResult & WithLastRunAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithProjectId(const Aws::String &value)
GetDataSourceResult & WithConfiguration(const DataSourceConfigurationOutput &value)
GetDataSourceResult & WithConfiguration(DataSourceConfigurationOutput &&value)
void SetStatus(const DataSourceStatus &value)
GetDataSourceResult & WithLastRunErrorMessage(const DataSourceErrorMessage &value)
void SetRequestId(const Aws::String &value)
const ScheduleConfiguration & GetSchedule() const
GetDataSourceResult & WithType(const char *value)
void SetDomainId(const Aws::String &value)
void SetSchedule(ScheduleConfiguration &&value)
GetDataSourceResult & WithProjectId(const char *value)
GetDataSourceResult & WithEnvironmentId(const Aws::String &value)
void SetAssetFormsOutput(const Aws::Vector< FormOutput > &value)
GetDataSourceResult & AddAssetFormsOutput(FormOutput &&value)
GetDataSourceResult & WithDescription(const char *value)
void SetErrorMessage(const DataSourceErrorMessage &value)
void SetDescription(const Aws::String &value)
void SetSelfGrantStatus(const SelfGrantStatusOutput &value)
const RecommendationConfiguration & GetRecommendation() const
void SetEnableSetting(const EnableSetting &value)
const DataSourceConfigurationOutput & GetConfiguration() const
void SetConfiguration(DataSourceConfigurationOutput &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API GetDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceResult & WithStatus(const DataSourceStatus &value)
GetDataSourceResult & WithStatus(DataSourceStatus &&value)
const EnableSetting & GetEnableSetting() const
GetDataSourceResult & WithName(const Aws::String &value)
GetDataSourceResult & WithEnvironmentId(Aws::String &&value)
GetDataSourceResult & WithDomainId(Aws::String &&value)
void SetLastRunStatus(DataSourceRunStatus &&value)
GetDataSourceResult & WithLastRunErrorMessage(DataSourceErrorMessage &&value)
GetDataSourceResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithErrorMessage(DataSourceErrorMessage &&value)
GetDataSourceResult & WithDescription(Aws::String &&value)
GetDataSourceResult & WithId(const char *value)
GetDataSourceResult & WithId(const Aws::String &value)
void SetLastRunStatus(const DataSourceRunStatus &value)
GetDataSourceResult & WithErrorMessage(const DataSourceErrorMessage &value)
void SetLastRunAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithDomainId(const Aws::String &value)
GetDataSourceResult & WithRecommendation(const RecommendationConfiguration &value)
GetDataSourceResult & AddAssetFormsOutput(const FormOutput &value)
void SetConfiguration(const DataSourceConfigurationOutput &value)
GetDataSourceResult & WithLastRunAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithLastRunAssetCount(int value)
const DataSourceErrorMessage & GetLastRunErrorMessage() const
GetDataSourceResult & WithPublishOnImport(bool value)
GetDataSourceResult & WithName(Aws::String &&value)
const DataSourceErrorMessage & GetErrorMessage() const
void SetErrorMessage(DataSourceErrorMessage &&value)
GetDataSourceResult & WithType(const Aws::String &value)
GetDataSourceResult & WithLastRunStatus(const DataSourceRunStatus &value)
const SelfGrantStatusOutput & GetSelfGrantStatus() const
GetDataSourceResult & WithAssetFormsOutput(Aws::Vector< FormOutput > &&value)
void SetLastRunErrorMessage(const DataSourceErrorMessage &value)
GetDataSourceResult & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue