AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DescribeExperienceResult.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/model/ExperienceConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/kendra/model/ExperienceStatus.h>
13#include <aws/kendra/model/ExperienceEndpoint.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace kendra
29{
30namespace Model
31{
33 {
34 public:
35 AWS_KENDRA_API DescribeExperienceResult() = default;
38
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 DescribeExperienceResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetIndexId() const { return m_indexId; }
56 template<typename IndexIdT = Aws::String>
57 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet = true; m_indexId = std::forward<IndexIdT>(value); }
58 template<typename IndexIdT = Aws::String>
59 DescribeExperienceResult& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 DescribeExperienceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72
74
78 inline const Aws::Vector<ExperienceEndpoint>& GetEndpoints() const { return m_endpoints; }
79 template<typename EndpointsT = Aws::Vector<ExperienceEndpoint>>
80 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
81 template<typename EndpointsT = Aws::Vector<ExperienceEndpoint>>
82 DescribeExperienceResult& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
83 template<typename EndpointsT = ExperienceEndpoint>
84 DescribeExperienceResult& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
86
88
95 inline const ExperienceConfiguration& GetConfiguration() const { return m_configuration; }
96 template<typename ConfigurationT = ExperienceConfiguration>
97 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
98 template<typename ConfigurationT = ExperienceConfiguration>
99 DescribeExperienceResult& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
107 template<typename CreatedAtT = Aws::Utils::DateTime>
108 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
109 template<typename CreatedAtT = Aws::Utils::DateTime>
110 DescribeExperienceResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
118 template<typename UpdatedAtT = Aws::Utils::DateTime>
119 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
120 template<typename UpdatedAtT = Aws::Utils::DateTime>
121 DescribeExperienceResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
123
125
128 inline const Aws::String& GetDescription() const { return m_description; }
129 template<typename DescriptionT = Aws::String>
130 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
131 template<typename DescriptionT = Aws::String>
132 DescribeExperienceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
134
136
142 inline ExperienceStatus GetStatus() const { return m_status; }
143 inline void SetStatus(ExperienceStatus value) { m_statusHasBeenSet = true; m_status = value; }
144 inline DescribeExperienceResult& WithStatus(ExperienceStatus value) { SetStatus(value); return *this;}
146
148
154 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
155 template<typename RoleArnT = Aws::String>
156 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
157 template<typename RoleArnT = Aws::String>
158 DescribeExperienceResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
160
162
165 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
166 template<typename ErrorMessageT = Aws::String>
167 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
168 template<typename ErrorMessageT = Aws::String>
169 DescribeExperienceResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template<typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
177 template<typename RequestIdT = Aws::String>
178 DescribeExperienceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
180 private:
181
182 Aws::String m_id;
183 bool m_idHasBeenSet = false;
184
185 Aws::String m_indexId;
186 bool m_indexIdHasBeenSet = false;
187
188 Aws::String m_name;
189 bool m_nameHasBeenSet = false;
190
192 bool m_endpointsHasBeenSet = false;
193
194 ExperienceConfiguration m_configuration;
195 bool m_configurationHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt{};
198 bool m_createdAtHasBeenSet = false;
199
200 Aws::Utils::DateTime m_updatedAt{};
201 bool m_updatedAtHasBeenSet = false;
202
203 Aws::String m_description;
204 bool m_descriptionHasBeenSet = false;
205
207 bool m_statusHasBeenSet = false;
208
209 Aws::String m_roleArn;
210 bool m_roleArnHasBeenSet = false;
211
212 Aws::String m_errorMessage;
213 bool m_errorMessageHasBeenSet = false;
214
215 Aws::String m_requestId;
216 bool m_requestIdHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace kendra
221} // 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