AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataSourceResult.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/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 CreateDataSourceResult();
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 CreateDataSourceResult& AddAssetFormsOutput(const FormOutput& value) { m_assetFormsOutput.push_back(value); return *this; }
55 inline CreateDataSourceResult& AddAssetFormsOutput(FormOutput&& value) { m_assetFormsOutput.push_back(std::move(value)); return *this; }
57
59
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); }
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 CreateDataSourceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
78 inline CreateDataSourceResult& 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 CreateDataSourceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline CreateDataSourceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline CreateDataSourceResult& 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 CreateDataSourceResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
103 inline CreateDataSourceResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
104 inline CreateDataSourceResult& 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 CreateDataSourceResult& WithEnableSetting(const EnableSetting& value) { SetEnableSetting(value); return *this;}
115 inline CreateDataSourceResult& 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 CreateDataSourceResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
128 inline CreateDataSourceResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
129 inline CreateDataSourceResult& 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); }
141 inline CreateDataSourceResult& 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 CreateDataSourceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
153 inline CreateDataSourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
154 inline CreateDataSourceResult& WithId(const char* value) { SetId(value); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetLastRunAt() const{ return m_lastRunAt; }
162 inline void SetLastRunAt(const Aws::Utils::DateTime& value) { m_lastRunAt = value; }
163 inline void SetLastRunAt(Aws::Utils::DateTime&& value) { m_lastRunAt = std::move(value); }
164 inline CreateDataSourceResult& WithLastRunAt(const Aws::Utils::DateTime& value) { SetLastRunAt(value); return *this;}
165 inline CreateDataSourceResult& WithLastRunAt(Aws::Utils::DateTime&& value) { SetLastRunAt(std::move(value)); return *this;}
167
169
173 inline const DataSourceErrorMessage& GetLastRunErrorMessage() const{ return m_lastRunErrorMessage; }
174 inline void SetLastRunErrorMessage(const DataSourceErrorMessage& value) { m_lastRunErrorMessage = value; }
175 inline void SetLastRunErrorMessage(DataSourceErrorMessage&& value) { m_lastRunErrorMessage = std::move(value); }
179
181
184 inline const DataSourceRunStatus& GetLastRunStatus() const{ return m_lastRunStatus; }
185 inline void SetLastRunStatus(const DataSourceRunStatus& value) { m_lastRunStatus = value; }
186 inline void SetLastRunStatus(DataSourceRunStatus&& value) { m_lastRunStatus = std::move(value); }
188 inline CreateDataSourceResult& WithLastRunStatus(DataSourceRunStatus&& value) { SetLastRunStatus(std::move(value)); return *this;}
190
192
195 inline const Aws::String& GetName() const{ return m_name; }
196 inline void SetName(const Aws::String& value) { m_name = value; }
197 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
198 inline void SetName(const char* value) { m_name.assign(value); }
199 inline CreateDataSourceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
200 inline CreateDataSourceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
201 inline CreateDataSourceResult& WithName(const char* value) { SetName(value); return *this;}
203
205
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 CreateDataSourceResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
213 inline CreateDataSourceResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
214 inline CreateDataSourceResult& 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 CreateDataSourceResult& WithPublishOnImport(bool value) { SetPublishOnImport(value); return *this;}
226
228
232 inline const RecommendationConfiguration& GetRecommendation() const{ return m_recommendation; }
233 inline void SetRecommendation(const RecommendationConfiguration& value) { m_recommendation = value; }
234 inline void SetRecommendation(RecommendationConfiguration&& value) { m_recommendation = std::move(value); }
238
240
243 inline const ScheduleConfiguration& GetSchedule() const{ return m_schedule; }
244 inline void SetSchedule(const ScheduleConfiguration& value) { m_schedule = value; }
245 inline void SetSchedule(ScheduleConfiguration&& value) { m_schedule = std::move(value); }
246 inline CreateDataSourceResult& WithSchedule(const ScheduleConfiguration& value) { SetSchedule(value); return *this;}
247 inline CreateDataSourceResult& WithSchedule(ScheduleConfiguration&& value) { SetSchedule(std::move(value)); return *this;}
249
251
254 inline const DataSourceStatus& GetStatus() const{ return m_status; }
255 inline void SetStatus(const DataSourceStatus& value) { m_status = value; }
256 inline void SetStatus(DataSourceStatus&& value) { m_status = std::move(value); }
257 inline CreateDataSourceResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
258 inline CreateDataSourceResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
260
262
265 inline const Aws::String& GetType() const{ return m_type; }
266 inline void SetType(const Aws::String& value) { m_type = value; }
267 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
268 inline void SetType(const char* value) { m_type.assign(value); }
269 inline CreateDataSourceResult& WithType(const Aws::String& value) { SetType(value); return *this;}
270 inline CreateDataSourceResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
271 inline CreateDataSourceResult& WithType(const char* value) { SetType(value); return *this;}
273
275
278 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
279 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
280 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
281 inline CreateDataSourceResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
282 inline CreateDataSourceResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
284
286
287 inline const Aws::String& GetRequestId() const{ return m_requestId; }
288 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
289 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
290 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
291 inline CreateDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
292 inline CreateDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
293 inline CreateDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
295 private:
296
297 Aws::Vector<FormOutput> m_assetFormsOutput;
298
299 DataSourceConfigurationOutput m_configuration;
300
301 Aws::Utils::DateTime m_createdAt;
302
303 Aws::String m_description;
304
305 Aws::String m_domainId;
306
307 EnableSetting m_enableSetting;
308
309 Aws::String m_environmentId;
310
311 DataSourceErrorMessage m_errorMessage;
312
313 Aws::String m_id;
314
315 Aws::Utils::DateTime m_lastRunAt;
316
317 DataSourceErrorMessage m_lastRunErrorMessage;
318
319 DataSourceRunStatus m_lastRunStatus;
320
321 Aws::String m_name;
322
323 Aws::String m_projectId;
324
325 bool m_publishOnImport;
326
327 RecommendationConfiguration m_recommendation;
328
329 ScheduleConfiguration m_schedule;
330
331 DataSourceStatus m_status;
332
333 Aws::String m_type;
334
335 Aws::Utils::DateTime m_updatedAt;
336
337 Aws::String m_requestId;
338 };
339
340} // namespace Model
341} // namespace DataZone
342} // namespace Aws
CreateDataSourceResult & WithConfiguration(DataSourceConfigurationOutput &&value)
CreateDataSourceResult & WithType(const Aws::String &value)
CreateDataSourceResult & WithRequestId(const Aws::String &value)
CreateDataSourceResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
CreateDataSourceResult & WithName(const Aws::String &value)
void SetErrorMessage(DataSourceErrorMessage &&value)
CreateDataSourceResult & WithDomainId(const char *value)
CreateDataSourceResult & WithId(Aws::String &&value)
CreateDataSourceResult & WithDomainId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetLastRunStatus(const DataSourceRunStatus &value)
CreateDataSourceResult & WithProjectId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateDataSourceResult & WithDescription(Aws::String &&value)
const DataSourceRunStatus & GetLastRunStatus() const
CreateDataSourceResult & WithStatus(const DataSourceStatus &value)
CreateDataSourceResult & WithLastRunErrorMessage(DataSourceErrorMessage &&value)
CreateDataSourceResult & WithPublishOnImport(bool value)
CreateDataSourceResult & WithProjectId(const Aws::String &value)
CreateDataSourceResult & WithName(Aws::String &&value)
CreateDataSourceResult & WithAssetFormsOutput(Aws::Vector< FormOutput > &&value)
CreateDataSourceResult & WithEnableSetting(EnableSetting &&value)
const DataSourceErrorMessage & GetLastRunErrorMessage() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetLastRunAt(Aws::Utils::DateTime &&value)
CreateDataSourceResult & WithLastRunErrorMessage(const DataSourceErrorMessage &value)
CreateDataSourceResult & WithDescription(const char *value)
AWS_DATAZONE_API CreateDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataSourceResult & WithRecommendation(const RecommendationConfiguration &value)
CreateDataSourceResult & WithAssetFormsOutput(const Aws::Vector< FormOutput > &value)
CreateDataSourceResult & WithType(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
CreateDataSourceResult & WithId(const char *value)
CreateDataSourceResult & WithLastRunStatus(DataSourceRunStatus &&value)
CreateDataSourceResult & WithErrorMessage(DataSourceErrorMessage &&value)
CreateDataSourceResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
CreateDataSourceResult & WithProjectId(const char *value)
CreateDataSourceResult & WithEnvironmentId(Aws::String &&value)
void SetEnableSetting(const EnableSetting &value)
CreateDataSourceResult & WithConfiguration(const DataSourceConfigurationOutput &value)
CreateDataSourceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastRunAt() const
CreateDataSourceResult & WithLastRunStatus(const DataSourceRunStatus &value)
const DataSourceConfigurationOutput & GetConfiguration() const
void SetSchedule(ScheduleConfiguration &&value)
void SetSchedule(const ScheduleConfiguration &value)
const Aws::Vector< FormOutput > & GetAssetFormsOutput() const
void SetStatus(const DataSourceStatus &value)
CreateDataSourceResult & WithDescription(const Aws::String &value)
CreateDataSourceResult & WithSchedule(ScheduleConfiguration &&value)
CreateDataSourceResult & WithName(const char *value)
CreateDataSourceResult & WithDomainId(const Aws::String &value)
CreateDataSourceResult & WithRequestId(Aws::String &&value)
CreateDataSourceResult & AddAssetFormsOutput(const FormOutput &value)
CreateDataSourceResult & WithRequestId(const char *value)
AWS_DATAZONE_API CreateDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateDataSourceResult & WithStatus(DataSourceStatus &&value)
void SetAssetFormsOutput(Aws::Vector< FormOutput > &&value)
void SetLastRunAt(const Aws::Utils::DateTime &value)
void SetLastRunStatus(DataSourceRunStatus &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
CreateDataSourceResult & WithEnableSetting(const EnableSetting &value)
void SetConfiguration(DataSourceConfigurationOutput &&value)
CreateDataSourceResult & WithId(const Aws::String &value)
CreateDataSourceResult & WithEnvironmentId(const char *value)
void SetConfiguration(const DataSourceConfigurationOutput &value)
CreateDataSourceResult & WithSchedule(const ScheduleConfiguration &value)
CreateDataSourceResult & WithLastRunAt(Aws::Utils::DateTime &&value)
CreateDataSourceResult & WithRecommendation(RecommendationConfiguration &&value)
const ScheduleConfiguration & GetSchedule() const
const DataSourceErrorMessage & GetErrorMessage() const
CreateDataSourceResult & AddAssetFormsOutput(FormOutput &&value)
void SetRecommendation(RecommendationConfiguration &&value)
CreateDataSourceResult & WithErrorMessage(const DataSourceErrorMessage &value)
CreateDataSourceResult & WithLastRunAt(const Aws::Utils::DateTime &value)
void SetLastRunErrorMessage(const DataSourceErrorMessage &value)
void SetErrorMessage(const DataSourceErrorMessage &value)
CreateDataSourceResult & WithEnvironmentId(const Aws::String &value)
const RecommendationConfiguration & GetRecommendation() const
void SetAssetFormsOutput(const Aws::Vector< FormOutput > &value)
void SetRecommendation(const RecommendationConfiguration &value)
CreateDataSourceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateDataSourceResult & WithType(const char *value)
void SetLastRunErrorMessage(DataSourceErrorMessage &&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