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/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <aws/qbusiness/model/DataSourceVpcConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/qbusiness/model/DataSourceStatus.h>
13#include <aws/qbusiness/model/ErrorDetail.h>
14#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace QBusiness
30{
31namespace Model
32{
34 {
35 public:
36 AWS_QBUSINESS_API GetDataSourceResult();
39
40
42
45 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
47 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
48 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
49 inline GetDataSourceResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
50 inline GetDataSourceResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
51 inline GetDataSourceResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
53
55
58 inline const Aws::String& GetIndexId() const{ return m_indexId; }
59 inline void SetIndexId(const Aws::String& value) { m_indexId = value; }
60 inline void SetIndexId(Aws::String&& value) { m_indexId = std::move(value); }
61 inline void SetIndexId(const char* value) { m_indexId.assign(value); }
62 inline GetDataSourceResult& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
63 inline GetDataSourceResult& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
64 inline GetDataSourceResult& WithIndexId(const char* value) { SetIndexId(value); return *this;}
66
68
71 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
72 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
73 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
74 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
75 inline GetDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
76 inline GetDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
77 inline GetDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
79
81
84 inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; }
85 inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArn = value; }
86 inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArn = std::move(value); }
87 inline void SetDataSourceArn(const char* value) { m_dataSourceArn.assign(value); }
88 inline GetDataSourceResult& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
89 inline GetDataSourceResult& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
90 inline GetDataSourceResult& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
92
94
97 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
98 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
99 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
100 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
101 inline GetDataSourceResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
102 inline GetDataSourceResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
103 inline GetDataSourceResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
105
107
110 inline const Aws::String& GetType() const{ return m_type; }
111 inline void SetType(const Aws::String& value) { m_type = value; }
112 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
113 inline void SetType(const char* value) { m_type.assign(value); }
114 inline GetDataSourceResult& WithType(const Aws::String& value) { SetType(value); return *this;}
115 inline GetDataSourceResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
116 inline GetDataSourceResult& WithType(const char* value) { SetType(value); return *this;}
118
120
123 inline Aws::Utils::DocumentView GetConfiguration() const{ return m_configuration; }
124 inline void SetConfiguration(const Aws::Utils::Document& value) { m_configuration = value; }
125 inline void SetConfiguration(Aws::Utils::Document&& value) { m_configuration = std::move(value); }
126 inline GetDataSourceResult& WithConfiguration(const Aws::Utils::Document& value) { SetConfiguration(value); return *this;}
127 inline GetDataSourceResult& WithConfiguration(Aws::Utils::Document&& value) { SetConfiguration(std::move(value)); return *this;}
129
131
135 inline const DataSourceVpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
136 inline void SetVpcConfiguration(const DataSourceVpcConfiguration& value) { m_vpcConfiguration = value; }
137 inline void SetVpcConfiguration(DataSourceVpcConfiguration&& value) { m_vpcConfiguration = std::move(value); }
141
143
146 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
147 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
148 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
149 inline GetDataSourceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
150 inline GetDataSourceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
158 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
159 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
160 inline GetDataSourceResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
161 inline GetDataSourceResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
163
165
168 inline const Aws::String& GetDescription() const{ return m_description; }
169 inline void SetDescription(const Aws::String& value) { m_description = value; }
170 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
171 inline void SetDescription(const char* value) { m_description.assign(value); }
172 inline GetDataSourceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
173 inline GetDataSourceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
174 inline GetDataSourceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
176
178
183 inline const DataSourceStatus& GetStatus() const{ return m_status; }
184 inline void SetStatus(const DataSourceStatus& value) { m_status = value; }
185 inline void SetStatus(DataSourceStatus&& value) { m_status = std::move(value); }
186 inline GetDataSourceResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
187 inline GetDataSourceResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
189
191
194 inline const Aws::String& GetSyncSchedule() const{ return m_syncSchedule; }
195 inline void SetSyncSchedule(const Aws::String& value) { m_syncSchedule = value; }
196 inline void SetSyncSchedule(Aws::String&& value) { m_syncSchedule = std::move(value); }
197 inline void SetSyncSchedule(const char* value) { m_syncSchedule.assign(value); }
198 inline GetDataSourceResult& WithSyncSchedule(const Aws::String& value) { SetSyncSchedule(value); return *this;}
199 inline GetDataSourceResult& WithSyncSchedule(Aws::String&& value) { SetSyncSchedule(std::move(value)); return *this;}
200 inline GetDataSourceResult& WithSyncSchedule(const char* value) { SetSyncSchedule(value); return *this;}
202
204
208 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
209 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
210 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
211 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
212 inline GetDataSourceResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
213 inline GetDataSourceResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
214 inline GetDataSourceResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
216
218
223 inline const ErrorDetail& GetError() const{ return m_error; }
224 inline void SetError(const ErrorDetail& value) { m_error = value; }
225 inline void SetError(ErrorDetail&& value) { m_error = std::move(value); }
226 inline GetDataSourceResult& WithError(const ErrorDetail& value) { SetError(value); return *this;}
227 inline GetDataSourceResult& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
229
231
232 inline const DocumentEnrichmentConfiguration& GetDocumentEnrichmentConfiguration() const{ return m_documentEnrichmentConfiguration; }
233 inline void SetDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration& value) { m_documentEnrichmentConfiguration = value; }
234 inline void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration&& value) { m_documentEnrichmentConfiguration = std::move(value); }
238
240
241 inline const Aws::String& GetRequestId() const{ return m_requestId; }
242 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
243 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
244 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
245 inline GetDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
246 inline GetDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
247 inline GetDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
249 private:
250
251 Aws::String m_applicationId;
252
253 Aws::String m_indexId;
254
255 Aws::String m_dataSourceId;
256
257 Aws::String m_dataSourceArn;
258
259 Aws::String m_displayName;
260
261 Aws::String m_type;
262
263 Aws::Utils::Document m_configuration;
264
265 DataSourceVpcConfiguration m_vpcConfiguration;
266
267 Aws::Utils::DateTime m_createdAt;
268
269 Aws::Utils::DateTime m_updatedAt;
270
271 Aws::String m_description;
272
273 DataSourceStatus m_status;
274
275 Aws::String m_syncSchedule;
276
277 Aws::String m_roleArn;
278
279 ErrorDetail m_error;
280
281 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
282
283 Aws::String m_requestId;
284 };
285
286} // namespace Model
287} // namespace QBusiness
288} // namespace Aws
GetDataSourceResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithIndexId(const char *value)
GetDataSourceResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithSyncSchedule(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithIndexId(Aws::String &&value)
void SetDataSourceArn(const Aws::String &value)
GetDataSourceResult & WithDataSourceArn(Aws::String &&value)
GetDataSourceResult & WithApplicationId(Aws::String &&value)
void SetConfiguration(Aws::Utils::Document &&value)
GetDataSourceResult & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
GetDataSourceResult & WithDataSourceArn(const char *value)
GetDataSourceResult & WithType(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_QBUSINESS_API GetDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const DataSourceStatus &value)
GetDataSourceResult & WithSyncSchedule(const Aws::String &value)
GetDataSourceResult & WithDescription(const Aws::String &value)
GetDataSourceResult & WithDisplayName(const Aws::String &value)
GetDataSourceResult & WithDisplayName(Aws::String &&value)
GetDataSourceResult & WithStatus(DataSourceStatus &&value)
void SetDataSourceId(const Aws::String &value)
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
GetDataSourceResult & WithDescription(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
GetDataSourceResult & WithDataSourceArn(const Aws::String &value)
GetDataSourceResult & WithRequestId(Aws::String &&value)
GetDataSourceResult & WithDataSourceId(const char *value)
GetDataSourceResult & WithType(const char *value)
GetDataSourceResult & WithVpcConfiguration(const DataSourceVpcConfiguration &value)
GetDataSourceResult & WithRoleArn(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const DataSourceVpcConfiguration & GetVpcConfiguration() const
AWS_QBUSINESS_API GetDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVpcConfiguration(const DataSourceVpcConfiguration &value)
GetDataSourceResult & WithError(const ErrorDetail &value)
GetDataSourceResult & WithRequestId(const char *value)
GetDataSourceResult & WithVpcConfiguration(DataSourceVpcConfiguration &&value)
void SetConfiguration(const Aws::Utils::Document &value)
GetDataSourceResult & WithIndexId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
GetDataSourceResult & WithDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
const DataSourceStatus & GetStatus() const
void SetApplicationId(const Aws::String &value)
GetDataSourceResult & WithDescription(const char *value)
GetDataSourceResult & WithStatus(const DataSourceStatus &value)
void SetVpcConfiguration(DataSourceVpcConfiguration &&value)
GetDataSourceResult & WithDataSourceId(const Aws::String &value)
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
GetDataSourceResult & WithDisplayName(const char *value)
GetDataSourceResult & WithApplicationId(const Aws::String &value)
GetDataSourceResult & WithDataSourceId(Aws::String &&value)
GetDataSourceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithApplicationId(const char *value)
void SetDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetSyncSchedule(const Aws::String &value)
GetDataSourceResult & WithRoleArn(const Aws::String &value)
GetDataSourceResult & WithRoleArn(Aws::String &&value)
Aws::Utils::DocumentView GetConfiguration() const
GetDataSourceResult & WithError(ErrorDetail &&value)
GetDataSourceResult & WithConfiguration(const Aws::Utils::Document &value)
GetDataSourceResult & WithRequestId(const Aws::String &value)
GetDataSourceResult & WithType(Aws::String &&value)
GetDataSourceResult & WithConfiguration(Aws::Utils::Document &&value)
GetDataSourceResult & WithSyncSchedule(const char *value)
void SetIndexId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue