AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
GetRetrieverResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/RetrieverConfiguration.h>
12#include <aws/qbusiness/model/RetrieverStatus.h>
13#include <aws/qbusiness/model/RetrieverType.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 QBusiness {
27namespace Model {
29 public:
30 AWS_QBUSINESS_API GetRetrieverResult() = default;
33
35
38 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
39 template <typename ApplicationIdT = Aws::String>
41 m_applicationIdHasBeenSet = true;
42 m_applicationId = std::forward<ApplicationIdT>(value);
43 }
44 template <typename ApplicationIdT = Aws::String>
46 SetApplicationId(std::forward<ApplicationIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetRetrieverId() const { return m_retrieverId; }
56 template <typename RetrieverIdT = Aws::String>
58 m_retrieverIdHasBeenSet = true;
59 m_retrieverId = std::forward<RetrieverIdT>(value);
60 }
61 template <typename RetrieverIdT = Aws::String>
63 SetRetrieverId(std::forward<RetrieverIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetRetrieverArn() const { return m_retrieverArn; }
74 template <typename RetrieverArnT = Aws::String>
76 m_retrieverArnHasBeenSet = true;
77 m_retrieverArn = std::forward<RetrieverArnT>(value);
78 }
79 template <typename RetrieverArnT = Aws::String>
81 SetRetrieverArn(std::forward<RetrieverArnT>(value));
82 return *this;
83 }
85
87
90 inline RetrieverType GetType() const { return m_type; }
91 inline void SetType(RetrieverType value) {
92 m_typeHasBeenSet = true;
93 m_type = value;
94 }
96 SetType(value);
97 return *this;
98 }
100
102
105 inline RetrieverStatus GetStatus() const { return m_status; }
106 inline void SetStatus(RetrieverStatus value) {
107 m_statusHasBeenSet = true;
108 m_status = value;
109 }
111 SetStatus(value);
112 return *this;
113 }
115
117
120 inline const Aws::String& GetDisplayName() const { return m_displayName; }
121 template <typename DisplayNameT = Aws::String>
123 m_displayNameHasBeenSet = true;
124 m_displayName = std::forward<DisplayNameT>(value);
125 }
126 template <typename DisplayNameT = Aws::String>
128 SetDisplayName(std::forward<DisplayNameT>(value));
129 return *this;
130 }
132
134
135 inline const RetrieverConfiguration& GetConfiguration() const { return m_configuration; }
136 template <typename ConfigurationT = RetrieverConfiguration>
138 m_configurationHasBeenSet = true;
139 m_configuration = std::forward<ConfigurationT>(value);
140 }
141 template <typename ConfigurationT = RetrieverConfiguration>
143 SetConfiguration(std::forward<ConfigurationT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
154 template <typename RoleArnT = Aws::String>
155 void SetRoleArn(RoleArnT&& value) {
156 m_roleArnHasBeenSet = true;
157 m_roleArn = std::forward<RoleArnT>(value);
158 }
159 template <typename RoleArnT = Aws::String>
161 SetRoleArn(std::forward<RoleArnT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
171 template <typename CreatedAtT = Aws::Utils::DateTime>
172 void SetCreatedAt(CreatedAtT&& value) {
173 m_createdAtHasBeenSet = true;
174 m_createdAt = std::forward<CreatedAtT>(value);
175 }
176 template <typename CreatedAtT = Aws::Utils::DateTime>
178 SetCreatedAt(std::forward<CreatedAtT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
188 template <typename UpdatedAtT = Aws::Utils::DateTime>
189 void SetUpdatedAt(UpdatedAtT&& value) {
190 m_updatedAtHasBeenSet = true;
191 m_updatedAt = std::forward<UpdatedAtT>(value);
192 }
193 template <typename UpdatedAtT = Aws::Utils::DateTime>
195 SetUpdatedAt(std::forward<UpdatedAtT>(value));
196 return *this;
197 }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template <typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) {
205 m_requestIdHasBeenSet = true;
206 m_requestId = std::forward<RequestIdT>(value);
207 }
208 template <typename RequestIdT = Aws::String>
210 SetRequestId(std::forward<RequestIdT>(value));
211 return *this;
212 }
214 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
215
216 private:
217 Aws::String m_applicationId;
218
219 Aws::String m_retrieverId;
220
221 Aws::String m_retrieverArn;
222
224
226
227 Aws::String m_displayName;
228
229 RetrieverConfiguration m_configuration;
230
231 Aws::String m_roleArn;
232
233 Aws::Utils::DateTime m_createdAt{};
234
235 Aws::Utils::DateTime m_updatedAt{};
236
237 Aws::String m_requestId;
238 Aws::Http::HttpResponseCode m_HttpResponseCode;
239 bool m_applicationIdHasBeenSet = false;
240 bool m_retrieverIdHasBeenSet = false;
241 bool m_retrieverArnHasBeenSet = false;
242 bool m_typeHasBeenSet = false;
243 bool m_statusHasBeenSet = false;
244 bool m_displayNameHasBeenSet = false;
245 bool m_configurationHasBeenSet = false;
246 bool m_roleArnHasBeenSet = false;
247 bool m_createdAtHasBeenSet = false;
248 bool m_updatedAtHasBeenSet = false;
249 bool m_requestIdHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace QBusiness
254} // namespace Aws
void SetConfiguration(ConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetRetrieverResult & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetApplicationId() const
GetRetrieverResult & WithType(RetrieverType value)
GetRetrieverResult & WithRequestId(RequestIdT &&value)
GetRetrieverResult & WithConfiguration(ConfigurationT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_QBUSINESS_API GetRetrieverResult()=default
AWS_QBUSINESS_API GetRetrieverResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRetrieverResult & WithCreatedAt(CreatedAtT &&value)
const RetrieverConfiguration & GetConfiguration() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetRetrieverResult & WithStatus(RetrieverStatus value)
GetRetrieverResult & WithUpdatedAt(UpdatedAtT &&value)
GetRetrieverResult & WithRetrieverId(RetrieverIdT &&value)
const Aws::String & GetRetrieverArn() const
AWS_QBUSINESS_API GetRetrieverResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRetrieverResult & WithApplicationId(ApplicationIdT &&value)
void SetRetrieverArn(RetrieverArnT &&value)
GetRetrieverResult & WithRetrieverArn(RetrieverArnT &&value)
void SetApplicationId(ApplicationIdT &&value)
GetRetrieverResult & WithRoleArn(RoleArnT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue