AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeExperienceResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/Kendra_EXPORTS.h>
11#include <aws/kendra/model/ExperienceConfiguration.h>
12#include <aws/kendra/model/ExperienceEndpoint.h>
13#include <aws/kendra/model/ExperienceStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace kendra {
27namespace Model {
29 public:
30 AWS_KENDRA_API DescribeExperienceResult() = default;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetIndexId() const { return m_indexId; }
56 template <typename IndexIdT = Aws::String>
57 void SetIndexId(IndexIdT&& value) {
58 m_indexIdHasBeenSet = true;
59 m_indexId = std::forward<IndexIdT>(value);
60 }
61 template <typename IndexIdT = Aws::String>
63 SetIndexId(std::forward<IndexIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 template <typename NameT = Aws::String>
74 void SetName(NameT&& value) {
75 m_nameHasBeenSet = true;
76 m_name = std::forward<NameT>(value);
77 }
78 template <typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::Vector<ExperienceEndpoint>& GetEndpoints() const { return m_endpoints; }
91 template <typename EndpointsT = Aws::Vector<ExperienceEndpoint>>
92 void SetEndpoints(EndpointsT&& value) {
93 m_endpointsHasBeenSet = true;
94 m_endpoints = std::forward<EndpointsT>(value);
95 }
96 template <typename EndpointsT = Aws::Vector<ExperienceEndpoint>>
98 SetEndpoints(std::forward<EndpointsT>(value));
99 return *this;
100 }
101 template <typename EndpointsT = ExperienceEndpoint>
103 m_endpointsHasBeenSet = true;
104 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
105 return *this;
106 }
108
110
117 inline const ExperienceConfiguration& GetConfiguration() const { return m_configuration; }
118 template <typename ConfigurationT = ExperienceConfiguration>
119 void SetConfiguration(ConfigurationT&& value) {
120 m_configurationHasBeenSet = true;
121 m_configuration = std::forward<ConfigurationT>(value);
122 }
123 template <typename ConfigurationT = ExperienceConfiguration>
125 SetConfiguration(std::forward<ConfigurationT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
135 template <typename CreatedAtT = Aws::Utils::DateTime>
136 void SetCreatedAt(CreatedAtT&& value) {
137 m_createdAtHasBeenSet = true;
138 m_createdAt = std::forward<CreatedAtT>(value);
139 }
140 template <typename CreatedAtT = Aws::Utils::DateTime>
142 SetCreatedAt(std::forward<CreatedAtT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
152 template <typename UpdatedAtT = Aws::Utils::DateTime>
153 void SetUpdatedAt(UpdatedAtT&& value) {
154 m_updatedAtHasBeenSet = true;
155 m_updatedAt = std::forward<UpdatedAtT>(value);
156 }
157 template <typename UpdatedAtT = Aws::Utils::DateTime>
159 SetUpdatedAt(std::forward<UpdatedAtT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::String& GetDescription() const { return m_description; }
169 template <typename DescriptionT = Aws::String>
170 void SetDescription(DescriptionT&& value) {
171 m_descriptionHasBeenSet = true;
172 m_description = std::forward<DescriptionT>(value);
173 }
174 template <typename DescriptionT = Aws::String>
176 SetDescription(std::forward<DescriptionT>(value));
177 return *this;
178 }
180
182
188 inline ExperienceStatus GetStatus() const { return m_status; }
189 inline void SetStatus(ExperienceStatus value) {
190 m_statusHasBeenSet = true;
191 m_status = value;
192 }
194 SetStatus(value);
195 return *this;
196 }
198
200
206 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
207 template <typename RoleArnT = Aws::String>
208 void SetRoleArn(RoleArnT&& value) {
209 m_roleArnHasBeenSet = true;
210 m_roleArn = std::forward<RoleArnT>(value);
211 }
212 template <typename RoleArnT = Aws::String>
214 SetRoleArn(std::forward<RoleArnT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
224 template <typename ErrorMessageT = Aws::String>
225 void SetErrorMessage(ErrorMessageT&& value) {
226 m_errorMessageHasBeenSet = true;
227 m_errorMessage = std::forward<ErrorMessageT>(value);
228 }
229 template <typename ErrorMessageT = Aws::String>
231 SetErrorMessage(std::forward<ErrorMessageT>(value));
232 return *this;
233 }
235
237
238 inline const Aws::String& GetRequestId() const { return m_requestId; }
239 template <typename RequestIdT = Aws::String>
240 void SetRequestId(RequestIdT&& value) {
241 m_requestIdHasBeenSet = true;
242 m_requestId = std::forward<RequestIdT>(value);
243 }
244 template <typename RequestIdT = Aws::String>
246 SetRequestId(std::forward<RequestIdT>(value));
247 return *this;
248 }
250 private:
251 Aws::String m_id;
252 bool m_idHasBeenSet = false;
253
254 Aws::String m_indexId;
255 bool m_indexIdHasBeenSet = false;
256
257 Aws::String m_name;
258 bool m_nameHasBeenSet = false;
259
261 bool m_endpointsHasBeenSet = false;
262
263 ExperienceConfiguration m_configuration;
264 bool m_configurationHasBeenSet = false;
265
266 Aws::Utils::DateTime m_createdAt{};
267 bool m_createdAtHasBeenSet = false;
268
269 Aws::Utils::DateTime m_updatedAt{};
270 bool m_updatedAtHasBeenSet = false;
271
272 Aws::String m_description;
273 bool m_descriptionHasBeenSet = false;
274
276 bool m_statusHasBeenSet = false;
277
278 Aws::String m_roleArn;
279 bool m_roleArnHasBeenSet = false;
280
281 Aws::String m_errorMessage;
282 bool m_errorMessageHasBeenSet = false;
283
284 Aws::String m_requestId;
285 bool m_requestIdHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace kendra
290} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_KENDRA_API DescribeExperienceResult()=default
DescribeExperienceResult & WithId(IdT &&value)
DescribeExperienceResult & WithConfiguration(ConfigurationT &&value)
DescribeExperienceResult & WithUpdatedAt(UpdatedAtT &&value)
DescribeExperienceResult & WithName(NameT &&value)
DescribeExperienceResult & WithEndpoints(EndpointsT &&value)
AWS_KENDRA_API DescribeExperienceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
DescribeExperienceResult & AddEndpoints(EndpointsT &&value)
DescribeExperienceResult & WithRequestId(RequestIdT &&value)
DescribeExperienceResult & WithRoleArn(RoleArnT &&value)
AWS_KENDRA_API DescribeExperienceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExperienceResult & WithStatus(ExperienceStatus value)
const ExperienceConfiguration & GetConfiguration() const
DescribeExperienceResult & WithErrorMessage(ErrorMessageT &&value)
DescribeExperienceResult & WithDescription(DescriptionT &&value)
DescribeExperienceResult & WithCreatedAt(CreatedAtT &&value)
DescribeExperienceResult & WithIndexId(IndexIdT &&value)
const Aws::Vector< ExperienceEndpoint > & GetEndpoints() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue