AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataSourceResult.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 UpdateDataSourceResult();
44
45
47
51 inline const Aws::Vector<FormOutput>& GetAssetFormsOutput() const{ return m_assetFormsOutput; }
52 inline void SetAssetFormsOutput(const Aws::Vector<FormOutput>& value) { m_assetFormsOutput = value; }
53 inline void SetAssetFormsOutput(Aws::Vector<FormOutput>&& value) { m_assetFormsOutput = std::move(value); }
56 inline UpdateDataSourceResult& AddAssetFormsOutput(const FormOutput& value) { m_assetFormsOutput.push_back(value); return *this; }
57 inline UpdateDataSourceResult& AddAssetFormsOutput(FormOutput&& value) { m_assetFormsOutput.push_back(std::move(value)); return *this; }
59
61
65 inline const DataSourceConfigurationOutput& GetConfiguration() const{ return m_configuration; }
66 inline void SetConfiguration(const DataSourceConfigurationOutput& value) { m_configuration = value; }
67 inline void SetConfiguration(DataSourceConfigurationOutput&& value) { m_configuration = std::move(value); }
71
73
76 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
77 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
78 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
79 inline UpdateDataSourceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
80 inline UpdateDataSourceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
82
84
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline void SetDescription(const Aws::String& value) { m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_description.assign(value); }
92 inline UpdateDataSourceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline UpdateDataSourceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline UpdateDataSourceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
102 inline const Aws::String& GetDomainId() const{ return m_domainId; }
103 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
104 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
105 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
106 inline UpdateDataSourceResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
107 inline UpdateDataSourceResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
108 inline UpdateDataSourceResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
110
112
116 inline const EnableSetting& GetEnableSetting() const{ return m_enableSetting; }
117 inline void SetEnableSetting(const EnableSetting& value) { m_enableSetting = value; }
118 inline void SetEnableSetting(EnableSetting&& value) { m_enableSetting = std::move(value); }
119 inline UpdateDataSourceResult& WithEnableSetting(const EnableSetting& value) { SetEnableSetting(value); return *this;}
120 inline UpdateDataSourceResult& WithEnableSetting(EnableSetting&& value) { SetEnableSetting(std::move(value)); return *this;}
122
124
128 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
129 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
130 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
131 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
132 inline UpdateDataSourceResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
133 inline UpdateDataSourceResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
134 inline UpdateDataSourceResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
136
138
142 inline const DataSourceErrorMessage& GetErrorMessage() const{ return m_errorMessage; }
143 inline void SetErrorMessage(const DataSourceErrorMessage& value) { m_errorMessage = value; }
144 inline void SetErrorMessage(DataSourceErrorMessage&& value) { m_errorMessage = std::move(value); }
146 inline UpdateDataSourceResult& WithErrorMessage(DataSourceErrorMessage&& value) { SetErrorMessage(std::move(value)); return *this;}
148
150
153 inline const Aws::String& GetId() const{ return m_id; }
154 inline void SetId(const Aws::String& value) { m_id = value; }
155 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
156 inline void SetId(const char* value) { m_id.assign(value); }
157 inline UpdateDataSourceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
158 inline UpdateDataSourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
159 inline UpdateDataSourceResult& WithId(const char* value) { SetId(value); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetLastRunAt() const{ return m_lastRunAt; }
167 inline void SetLastRunAt(const Aws::Utils::DateTime& value) { m_lastRunAt = value; }
168 inline void SetLastRunAt(Aws::Utils::DateTime&& value) { m_lastRunAt = std::move(value); }
169 inline UpdateDataSourceResult& WithLastRunAt(const Aws::Utils::DateTime& value) { SetLastRunAt(value); return *this;}
170 inline UpdateDataSourceResult& WithLastRunAt(Aws::Utils::DateTime&& value) { SetLastRunAt(std::move(value)); return *this;}
172
174
177 inline const DataSourceErrorMessage& GetLastRunErrorMessage() const{ return m_lastRunErrorMessage; }
178 inline void SetLastRunErrorMessage(const DataSourceErrorMessage& value) { m_lastRunErrorMessage = value; }
179 inline void SetLastRunErrorMessage(DataSourceErrorMessage&& value) { m_lastRunErrorMessage = std::move(value); }
183
185
188 inline const DataSourceRunStatus& GetLastRunStatus() const{ return m_lastRunStatus; }
189 inline void SetLastRunStatus(const DataSourceRunStatus& value) { m_lastRunStatus = value; }
190 inline void SetLastRunStatus(DataSourceRunStatus&& value) { m_lastRunStatus = std::move(value); }
192 inline UpdateDataSourceResult& WithLastRunStatus(DataSourceRunStatus&& value) { SetLastRunStatus(std::move(value)); return *this;}
194
196
200 inline const Aws::String& GetName() const{ return m_name; }
201 inline void SetName(const Aws::String& value) { m_name = value; }
202 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
203 inline void SetName(const char* value) { m_name.assign(value); }
204 inline UpdateDataSourceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
205 inline UpdateDataSourceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
206 inline UpdateDataSourceResult& WithName(const char* value) { SetName(value); return *this;}
208
210
213 inline const Aws::String& GetProjectId() const{ return m_projectId; }
214 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
215 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
216 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
217 inline UpdateDataSourceResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
218 inline UpdateDataSourceResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
219 inline UpdateDataSourceResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
221
223
227 inline bool GetPublishOnImport() const{ return m_publishOnImport; }
228 inline void SetPublishOnImport(bool value) { m_publishOnImport = value; }
229 inline UpdateDataSourceResult& WithPublishOnImport(bool value) { SetPublishOnImport(value); return *this;}
231
233
237 inline const RecommendationConfiguration& GetRecommendation() const{ return m_recommendation; }
238 inline void SetRecommendation(const RecommendationConfiguration& value) { m_recommendation = value; }
239 inline void SetRecommendation(RecommendationConfiguration&& value) { m_recommendation = std::move(value); }
243
245
249 inline bool GetRetainPermissionsOnRevokeFailure() const{ return m_retainPermissionsOnRevokeFailure; }
250 inline void SetRetainPermissionsOnRevokeFailure(bool value) { m_retainPermissionsOnRevokeFailure = value; }
253
255
259 inline const ScheduleConfiguration& GetSchedule() const{ return m_schedule; }
260 inline void SetSchedule(const ScheduleConfiguration& value) { m_schedule = value; }
261 inline void SetSchedule(ScheduleConfiguration&& value) { m_schedule = std::move(value); }
262 inline UpdateDataSourceResult& WithSchedule(const ScheduleConfiguration& value) { SetSchedule(value); return *this;}
263 inline UpdateDataSourceResult& WithSchedule(ScheduleConfiguration&& value) { SetSchedule(std::move(value)); return *this;}
265
267
270 inline const SelfGrantStatusOutput& GetSelfGrantStatus() const{ return m_selfGrantStatus; }
271 inline void SetSelfGrantStatus(const SelfGrantStatusOutput& value) { m_selfGrantStatus = value; }
272 inline void SetSelfGrantStatus(SelfGrantStatusOutput&& value) { m_selfGrantStatus = std::move(value); }
274 inline UpdateDataSourceResult& WithSelfGrantStatus(SelfGrantStatusOutput&& value) { SetSelfGrantStatus(std::move(value)); return *this;}
276
278
282 inline const DataSourceStatus& GetStatus() const{ return m_status; }
283 inline void SetStatus(const DataSourceStatus& value) { m_status = value; }
284 inline void SetStatus(DataSourceStatus&& value) { m_status = std::move(value); }
285 inline UpdateDataSourceResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
286 inline UpdateDataSourceResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
288
290
294 inline const Aws::String& GetType() const{ return m_type; }
295 inline void SetType(const Aws::String& value) { m_type = value; }
296 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
297 inline void SetType(const char* value) { m_type.assign(value); }
298 inline UpdateDataSourceResult& WithType(const Aws::String& value) { SetType(value); return *this;}
299 inline UpdateDataSourceResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
300 inline UpdateDataSourceResult& WithType(const char* value) { SetType(value); return *this;}
302
304
307 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
308 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
309 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
310 inline UpdateDataSourceResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
311 inline UpdateDataSourceResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
313
315
316 inline const Aws::String& GetRequestId() const{ return m_requestId; }
317 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
318 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
319 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
320 inline UpdateDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
321 inline UpdateDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
322 inline UpdateDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
324 private:
325
326 Aws::Vector<FormOutput> m_assetFormsOutput;
327
328 DataSourceConfigurationOutput m_configuration;
329
330 Aws::Utils::DateTime m_createdAt;
331
332 Aws::String m_description;
333
334 Aws::String m_domainId;
335
336 EnableSetting m_enableSetting;
337
338 Aws::String m_environmentId;
339
340 DataSourceErrorMessage m_errorMessage;
341
342 Aws::String m_id;
343
344 Aws::Utils::DateTime m_lastRunAt;
345
346 DataSourceErrorMessage m_lastRunErrorMessage;
347
348 DataSourceRunStatus m_lastRunStatus;
349
350 Aws::String m_name;
351
352 Aws::String m_projectId;
353
354 bool m_publishOnImport;
355
356 RecommendationConfiguration m_recommendation;
357
358 bool m_retainPermissionsOnRevokeFailure;
359
360 ScheduleConfiguration m_schedule;
361
362 SelfGrantStatusOutput m_selfGrantStatus;
363
364 DataSourceStatus m_status;
365
366 Aws::String m_type;
367
368 Aws::Utils::DateTime m_updatedAt;
369
370 Aws::String m_requestId;
371 };
372
373} // namespace Model
374} // namespace DataZone
375} // namespace Aws
UpdateDataSourceResult & WithStatus(const DataSourceStatus &value)
UpdateDataSourceResult & WithType(const char *value)
UpdateDataSourceResult & WithId(const char *value)
UpdateDataSourceResult & WithProjectId(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateDataSourceResult & AddAssetFormsOutput(const FormOutput &value)
UpdateDataSourceResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetLastRunAt(Aws::Utils::DateTime &&value)
UpdateDataSourceResult & WithAssetFormsOutput(Aws::Vector< FormOutput > &&value)
void SetConfiguration(const DataSourceConfigurationOutput &value)
UpdateDataSourceResult & WithConfiguration(DataSourceConfigurationOutput &&value)
UpdateDataSourceResult & WithStatus(DataSourceStatus &&value)
UpdateDataSourceResult & WithEnableSetting(EnableSetting &&value)
UpdateDataSourceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetLastRunStatus(const DataSourceRunStatus &value)
UpdateDataSourceResult & WithErrorMessage(const DataSourceErrorMessage &value)
UpdateDataSourceResult & WithType(const Aws::String &value)
void SetSchedule(const ScheduleConfiguration &value)
UpdateDataSourceResult & WithRecommendation(const RecommendationConfiguration &value)
UpdateDataSourceResult & WithLastRunAt(const Aws::Utils::DateTime &value)
const DataSourceConfigurationOutput & GetConfiguration() const
UpdateDataSourceResult & WithName(const char *value)
UpdateDataSourceResult & WithDomainId(const Aws::String &value)
UpdateDataSourceResult & WithId(Aws::String &&value)
void SetErrorMessage(const DataSourceErrorMessage &value)
UpdateDataSourceResult & WithSelfGrantStatus(const SelfGrantStatusOutput &value)
UpdateDataSourceResult & WithDescription(const Aws::String &value)
UpdateDataSourceResult & WithName(Aws::String &&value)
UpdateDataSourceResult & WithLastRunStatus(const DataSourceRunStatus &value)
void SetStatus(const DataSourceStatus &value)
void SetLastRunErrorMessage(DataSourceErrorMessage &&value)
UpdateDataSourceResult & WithRecommendation(RecommendationConfiguration &&value)
UpdateDataSourceResult & WithDescription(Aws::String &&value)
void SetConfiguration(DataSourceConfigurationOutput &&value)
const RecommendationConfiguration & GetRecommendation() const
void SetLastRunErrorMessage(const DataSourceErrorMessage &value)
UpdateDataSourceResult & WithRequestId(const Aws::String &value)
UpdateDataSourceResult & AddAssetFormsOutput(FormOutput &&value)
UpdateDataSourceResult & WithEnableSetting(const EnableSetting &value)
AWS_DATAZONE_API UpdateDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDataSourceResult & WithId(const Aws::String &value)
UpdateDataSourceResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetRecommendation(RecommendationConfiguration &&value)
UpdateDataSourceResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSelfGrantStatus(SelfGrantStatusOutput &&value)
UpdateDataSourceResult & WithErrorMessage(DataSourceErrorMessage &&value)
const DataSourceRunStatus & GetLastRunStatus() const
UpdateDataSourceResult & WithDescription(const char *value)
const DataSourceErrorMessage & GetErrorMessage() const
UpdateDataSourceResult & WithConfiguration(const DataSourceConfigurationOutput &value)
UpdateDataSourceResult & WithSchedule(ScheduleConfiguration &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
UpdateDataSourceResult & WithLastRunErrorMessage(const DataSourceErrorMessage &value)
UpdateDataSourceResult & WithType(Aws::String &&value)
UpdateDataSourceResult & WithName(const Aws::String &value)
const ScheduleConfiguration & GetSchedule() const
UpdateDataSourceResult & WithEnvironmentId(const char *value)
UpdateDataSourceResult & WithLastRunAt(Aws::Utils::DateTime &&value)
UpdateDataSourceResult & WithProjectId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
UpdateDataSourceResult & WithRetainPermissionsOnRevokeFailure(bool value)
void SetAssetFormsOutput(const Aws::Vector< FormOutput > &value)
void SetSelfGrantStatus(const SelfGrantStatusOutput &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetEnableSetting(const EnableSetting &value)
UpdateDataSourceResult & WithEnvironmentId(const Aws::String &value)
UpdateDataSourceResult & WithPublishOnImport(bool value)
const Aws::Utils::DateTime & GetLastRunAt() const
UpdateDataSourceResult & WithSelfGrantStatus(SelfGrantStatusOutput &&value)
const SelfGrantStatusOutput & GetSelfGrantStatus() const
UpdateDataSourceResult & WithRequestId(const char *value)
void SetRecommendation(const RecommendationConfiguration &value)
void SetLastRunStatus(DataSourceRunStatus &&value)
UpdateDataSourceResult & WithProjectId(Aws::String &&value)
void SetLastRunAt(const Aws::Utils::DateTime &value)
void SetSchedule(ScheduleConfiguration &&value)
UpdateDataSourceResult & WithDomainId(Aws::String &&value)
UpdateDataSourceResult & WithSchedule(const ScheduleConfiguration &value)
void SetErrorMessage(DataSourceErrorMessage &&value)
const Aws::Vector< FormOutput > & GetAssetFormsOutput() const
UpdateDataSourceResult & WithEnvironmentId(Aws::String &&value)
UpdateDataSourceResult & WithLastRunStatus(DataSourceRunStatus &&value)
void SetAssetFormsOutput(Aws::Vector< FormOutput > &&value)
AWS_DATAZONE_API UpdateDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDataSourceResult & WithAssetFormsOutput(const Aws::Vector< FormOutput > &value)
const DataSourceErrorMessage & GetLastRunErrorMessage() const
UpdateDataSourceResult & WithLastRunErrorMessage(DataSourceErrorMessage &&value)
UpdateDataSourceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateDataSourceResult & WithDomainId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&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