AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GetRetrieverResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/RetrieverConfiguration.h>
11#include <aws/qbusiness/model/RetrieverStatus.h>
12#include <aws/qbusiness/model/RetrieverType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QBusiness {
26namespace Model {
28 public:
29 AWS_QBUSINESS_API GetRetrieverResult() = default;
32
34
37 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
38 template <typename ApplicationIdT = Aws::String>
40 m_applicationIdHasBeenSet = true;
41 m_applicationId = std::forward<ApplicationIdT>(value);
42 }
43 template <typename ApplicationIdT = Aws::String>
45 SetApplicationId(std::forward<ApplicationIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetRetrieverId() const { return m_retrieverId; }
55 template <typename RetrieverIdT = Aws::String>
57 m_retrieverIdHasBeenSet = true;
58 m_retrieverId = std::forward<RetrieverIdT>(value);
59 }
60 template <typename RetrieverIdT = Aws::String>
62 SetRetrieverId(std::forward<RetrieverIdT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetRetrieverArn() const { return m_retrieverArn; }
73 template <typename RetrieverArnT = Aws::String>
75 m_retrieverArnHasBeenSet = true;
76 m_retrieverArn = std::forward<RetrieverArnT>(value);
77 }
78 template <typename RetrieverArnT = Aws::String>
80 SetRetrieverArn(std::forward<RetrieverArnT>(value));
81 return *this;
82 }
84
86
89 inline RetrieverType GetType() const { return m_type; }
90 inline void SetType(RetrieverType value) {
91 m_typeHasBeenSet = true;
92 m_type = value;
93 }
95 SetType(value);
96 return *this;
97 }
99
101
104 inline RetrieverStatus GetStatus() const { return m_status; }
105 inline void SetStatus(RetrieverStatus value) {
106 m_statusHasBeenSet = true;
107 m_status = value;
108 }
110 SetStatus(value);
111 return *this;
112 }
114
116
119 inline const Aws::String& GetDisplayName() const { return m_displayName; }
120 template <typename DisplayNameT = Aws::String>
122 m_displayNameHasBeenSet = true;
123 m_displayName = std::forward<DisplayNameT>(value);
124 }
125 template <typename DisplayNameT = Aws::String>
127 SetDisplayName(std::forward<DisplayNameT>(value));
128 return *this;
129 }
131
133
134 inline const RetrieverConfiguration& GetConfiguration() const { return m_configuration; }
135 template <typename ConfigurationT = RetrieverConfiguration>
137 m_configurationHasBeenSet = true;
138 m_configuration = std::forward<ConfigurationT>(value);
139 }
140 template <typename ConfigurationT = RetrieverConfiguration>
142 SetConfiguration(std::forward<ConfigurationT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
153 template <typename RoleArnT = Aws::String>
154 void SetRoleArn(RoleArnT&& value) {
155 m_roleArnHasBeenSet = true;
156 m_roleArn = std::forward<RoleArnT>(value);
157 }
158 template <typename RoleArnT = Aws::String>
160 SetRoleArn(std::forward<RoleArnT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
170 template <typename CreatedAtT = Aws::Utils::DateTime>
171 void SetCreatedAt(CreatedAtT&& value) {
172 m_createdAtHasBeenSet = true;
173 m_createdAt = std::forward<CreatedAtT>(value);
174 }
175 template <typename CreatedAtT = Aws::Utils::DateTime>
177 SetCreatedAt(std::forward<CreatedAtT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
187 template <typename UpdatedAtT = Aws::Utils::DateTime>
188 void SetUpdatedAt(UpdatedAtT&& value) {
189 m_updatedAtHasBeenSet = true;
190 m_updatedAt = std::forward<UpdatedAtT>(value);
191 }
192 template <typename UpdatedAtT = Aws::Utils::DateTime>
194 SetUpdatedAt(std::forward<UpdatedAtT>(value));
195 return *this;
196 }
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template <typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) {
204 m_requestIdHasBeenSet = true;
205 m_requestId = std::forward<RequestIdT>(value);
206 }
207 template <typename RequestIdT = Aws::String>
209 SetRequestId(std::forward<RequestIdT>(value));
210 return *this;
211 }
213 private:
214 Aws::String m_applicationId;
215
216 Aws::String m_retrieverId;
217
218 Aws::String m_retrieverArn;
219
221
223
224 Aws::String m_displayName;
225
226 RetrieverConfiguration m_configuration;
227
228 Aws::String m_roleArn;
229
230 Aws::Utils::DateTime m_createdAt{};
231
232 Aws::Utils::DateTime m_updatedAt{};
233
234 Aws::String m_requestId;
235 bool m_applicationIdHasBeenSet = false;
236 bool m_retrieverIdHasBeenSet = false;
237 bool m_retrieverArnHasBeenSet = false;
238 bool m_typeHasBeenSet = false;
239 bool m_statusHasBeenSet = false;
240 bool m_displayNameHasBeenSet = false;
241 bool m_configurationHasBeenSet = false;
242 bool m_roleArnHasBeenSet = false;
243 bool m_createdAtHasBeenSet = false;
244 bool m_updatedAtHasBeenSet = false;
245 bool m_requestIdHasBeenSet = false;
246};
247
248} // namespace Model
249} // namespace QBusiness
250} // 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
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