AWS SDK for C++

AWS SDK for C++ Version 1.11.792

Loading...
Searching...
No Matches
GetDataAccessorResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/qbusiness/QBusiness_EXPORTS.h>
12#include <aws/qbusiness/model/ActionConfiguration.h>
13#include <aws/qbusiness/model/DataAccessorAuthenticationDetail.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 GetDataAccessorResult() = default;
33
35
38 inline const Aws::String& GetDisplayName() const { return m_displayName; }
39 template <typename DisplayNameT = Aws::String>
41 m_displayNameHasBeenSet = true;
42 m_displayName = std::forward<DisplayNameT>(value);
43 }
44 template <typename DisplayNameT = Aws::String>
46 SetDisplayName(std::forward<DisplayNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDataAccessorId() const { return m_dataAccessorId; }
56 template <typename DataAccessorIdT = Aws::String>
58 m_dataAccessorIdHasBeenSet = true;
59 m_dataAccessorId = std::forward<DataAccessorIdT>(value);
60 }
61 template <typename DataAccessorIdT = Aws::String>
63 SetDataAccessorId(std::forward<DataAccessorIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDataAccessorArn() const { return m_dataAccessorArn; }
73 template <typename DataAccessorArnT = Aws::String>
75 m_dataAccessorArnHasBeenSet = true;
76 m_dataAccessorArn = std::forward<DataAccessorArnT>(value);
77 }
78 template <typename DataAccessorArnT = Aws::String>
80 SetDataAccessorArn(std::forward<DataAccessorArnT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
91 template <typename ApplicationIdT = Aws::String>
93 m_applicationIdHasBeenSet = true;
94 m_applicationId = std::forward<ApplicationIdT>(value);
95 }
96 template <typename ApplicationIdT = Aws::String>
98 SetApplicationId(std::forward<ApplicationIdT>(value));
99 return *this;
100 }
102
104
108 inline const Aws::String& GetIdcApplicationArn() const { return m_idcApplicationArn; }
109 template <typename IdcApplicationArnT = Aws::String>
111 m_idcApplicationArnHasBeenSet = true;
112 m_idcApplicationArn = std::forward<IdcApplicationArnT>(value);
113 }
114 template <typename IdcApplicationArnT = Aws::String>
116 SetIdcApplicationArn(std::forward<IdcApplicationArnT>(value));
117 return *this;
118 }
120
122
126 inline const Aws::String& GetPrincipal() const { return m_principal; }
127 template <typename PrincipalT = Aws::String>
128 void SetPrincipal(PrincipalT&& value) {
129 m_principalHasBeenSet = true;
130 m_principal = std::forward<PrincipalT>(value);
131 }
132 template <typename PrincipalT = Aws::String>
134 SetPrincipal(std::forward<PrincipalT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::Vector<ActionConfiguration>& GetActionConfigurations() const { return m_actionConfigurations; }
145 template <typename ActionConfigurationsT = Aws::Vector<ActionConfiguration>>
147 m_actionConfigurationsHasBeenSet = true;
148 m_actionConfigurations = std::forward<ActionConfigurationsT>(value);
149 }
150 template <typename ActionConfigurationsT = Aws::Vector<ActionConfiguration>>
152 SetActionConfigurations(std::forward<ActionConfigurationsT>(value));
153 return *this;
154 }
155 template <typename ActionConfigurationsT = ActionConfiguration>
157 m_actionConfigurationsHasBeenSet = true;
158 m_actionConfigurations.emplace_back(std::forward<ActionConfigurationsT>(value));
159 return *this;
160 }
162
164
169 inline const DataAccessorAuthenticationDetail& GetAuthenticationDetail() const { return m_authenticationDetail; }
170 template <typename AuthenticationDetailT = DataAccessorAuthenticationDetail>
172 m_authenticationDetailHasBeenSet = true;
173 m_authenticationDetail = std::forward<AuthenticationDetailT>(value);
174 }
175 template <typename AuthenticationDetailT = DataAccessorAuthenticationDetail>
177 SetAuthenticationDetail(std::forward<AuthenticationDetailT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
187 template <typename CreatedAtT = Aws::Utils::DateTime>
188 void SetCreatedAt(CreatedAtT&& value) {
189 m_createdAtHasBeenSet = true;
190 m_createdAt = std::forward<CreatedAtT>(value);
191 }
192 template <typename CreatedAtT = Aws::Utils::DateTime>
194 SetCreatedAt(std::forward<CreatedAtT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
204 template <typename UpdatedAtT = Aws::Utils::DateTime>
205 void SetUpdatedAt(UpdatedAtT&& value) {
206 m_updatedAtHasBeenSet = true;
207 m_updatedAt = std::forward<UpdatedAtT>(value);
208 }
209 template <typename UpdatedAtT = Aws::Utils::DateTime>
211 SetUpdatedAt(std::forward<UpdatedAtT>(value));
212 return *this;
213 }
215
217
218 inline const Aws::String& GetRequestId() const { return m_requestId; }
219 template <typename RequestIdT = Aws::String>
220 void SetRequestId(RequestIdT&& value) {
221 m_requestIdHasBeenSet = true;
222 m_requestId = std::forward<RequestIdT>(value);
223 }
224 template <typename RequestIdT = Aws::String>
226 SetRequestId(std::forward<RequestIdT>(value));
227 return *this;
228 }
230 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
231
232 private:
233 Aws::String m_displayName;
234
235 Aws::String m_dataAccessorId;
236
237 Aws::String m_dataAccessorArn;
238
239 Aws::String m_applicationId;
240
241 Aws::String m_idcApplicationArn;
242
243 Aws::String m_principal;
244
245 Aws::Vector<ActionConfiguration> m_actionConfigurations;
246
247 DataAccessorAuthenticationDetail m_authenticationDetail;
248
249 Aws::Utils::DateTime m_createdAt{};
250
251 Aws::Utils::DateTime m_updatedAt{};
252
253 Aws::String m_requestId;
254 Aws::Http::HttpResponseCode m_HttpResponseCode;
255 bool m_displayNameHasBeenSet = false;
256 bool m_dataAccessorIdHasBeenSet = false;
257 bool m_dataAccessorArnHasBeenSet = false;
258 bool m_applicationIdHasBeenSet = false;
259 bool m_idcApplicationArnHasBeenSet = false;
260 bool m_principalHasBeenSet = false;
261 bool m_actionConfigurationsHasBeenSet = false;
262 bool m_authenticationDetailHasBeenSet = false;
263 bool m_createdAtHasBeenSet = false;
264 bool m_updatedAtHasBeenSet = false;
265 bool m_requestIdHasBeenSet = false;
266};
267
268} // namespace Model
269} // namespace QBusiness
270} // namespace Aws
void SetDataAccessorArn(DataAccessorArnT &&value)
GetDataAccessorResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataAccessorResult & WithAuthenticationDetail(AuthenticationDetailT &&value)
const Aws::Vector< ActionConfiguration > & GetActionConfigurations() const
GetDataAccessorResult & WithDataAccessorArn(DataAccessorArnT &&value)
AWS_QBUSINESS_API GetDataAccessorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdcApplicationArn(IdcApplicationArnT &&value)
AWS_QBUSINESS_API GetDataAccessorResult()=default
GetDataAccessorResult & WithIdcApplicationArn(IdcApplicationArnT &&value)
void SetActionConfigurations(ActionConfigurationsT &&value)
GetDataAccessorResult & WithPrincipal(PrincipalT &&value)
GetDataAccessorResult & AddActionConfigurations(ActionConfigurationsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetDataAccessorResult & WithDataAccessorId(DataAccessorIdT &&value)
GetDataAccessorResult & WithActionConfigurations(ActionConfigurationsT &&value)
GetDataAccessorResult & WithUpdatedAt(UpdatedAtT &&value)
GetDataAccessorResult & WithDisplayName(DisplayNameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetDataAccessorResult & WithCreatedAt(CreatedAtT &&value)
GetDataAccessorResult & WithApplicationId(ApplicationIdT &&value)
void SetAuthenticationDetail(AuthenticationDetailT &&value)
AWS_QBUSINESS_API GetDataAccessorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DataAccessorAuthenticationDetail & GetAuthenticationDetail() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue