AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RegisterOidcConfigTestResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Wickr {
23namespace Model {
25 public:
26 AWS_WICKR_API RegisterOidcConfigTestResult() = default;
29
31
34 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
35 template <typename TokenEndpointT = Aws::String>
36 void SetTokenEndpoint(TokenEndpointT&& value) {
37 m_tokenEndpointHasBeenSet = true;
38 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
39 }
40 template <typename TokenEndpointT = Aws::String>
42 SetTokenEndpoint(std::forward<TokenEndpointT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetUserinfoEndpoint() const { return m_userinfoEndpoint; }
52 template <typename UserinfoEndpointT = Aws::String>
53 void SetUserinfoEndpoint(UserinfoEndpointT&& value) {
54 m_userinfoEndpointHasBeenSet = true;
55 m_userinfoEndpoint = std::forward<UserinfoEndpointT>(value);
56 }
57 template <typename UserinfoEndpointT = Aws::String>
59 SetUserinfoEndpoint(std::forward<UserinfoEndpointT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Vector<Aws::String>& GetResponseTypesSupported() const { return m_responseTypesSupported; }
69 template <typename ResponseTypesSupportedT = Aws::Vector<Aws::String>>
70 void SetResponseTypesSupported(ResponseTypesSupportedT&& value) {
71 m_responseTypesSupportedHasBeenSet = true;
72 m_responseTypesSupported = std::forward<ResponseTypesSupportedT>(value);
73 }
74 template <typename ResponseTypesSupportedT = Aws::Vector<Aws::String>>
75 RegisterOidcConfigTestResult& WithResponseTypesSupported(ResponseTypesSupportedT&& value) {
76 SetResponseTypesSupported(std::forward<ResponseTypesSupportedT>(value));
77 return *this;
78 }
79 template <typename ResponseTypesSupportedT = Aws::String>
80 RegisterOidcConfigTestResult& AddResponseTypesSupported(ResponseTypesSupportedT&& value) {
81 m_responseTypesSupportedHasBeenSet = true;
82 m_responseTypesSupported.emplace_back(std::forward<ResponseTypesSupportedT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Vector<Aws::String>& GetScopesSupported() const { return m_scopesSupported; }
92 template <typename ScopesSupportedT = Aws::Vector<Aws::String>>
93 void SetScopesSupported(ScopesSupportedT&& value) {
94 m_scopesSupportedHasBeenSet = true;
95 m_scopesSupported = std::forward<ScopesSupportedT>(value);
96 }
97 template <typename ScopesSupportedT = Aws::Vector<Aws::String>>
99 SetScopesSupported(std::forward<ScopesSupportedT>(value));
100 return *this;
101 }
102 template <typename ScopesSupportedT = Aws::String>
104 m_scopesSupportedHasBeenSet = true;
105 m_scopesSupported.emplace_back(std::forward<ScopesSupportedT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetIssuer() const { return m_issuer; }
115 template <typename IssuerT = Aws::String>
116 void SetIssuer(IssuerT&& value) {
117 m_issuerHasBeenSet = true;
118 m_issuer = std::forward<IssuerT>(value);
119 }
120 template <typename IssuerT = Aws::String>
122 SetIssuer(std::forward<IssuerT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetAuthorizationEndpoint() const { return m_authorizationEndpoint; }
132 template <typename AuthorizationEndpointT = Aws::String>
133 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) {
134 m_authorizationEndpointHasBeenSet = true;
135 m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value);
136 }
137 template <typename AuthorizationEndpointT = Aws::String>
139 SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value));
140 return *this;
141 }
143
145
149 inline const Aws::String& GetEndSessionEndpoint() const { return m_endSessionEndpoint; }
150 template <typename EndSessionEndpointT = Aws::String>
151 void SetEndSessionEndpoint(EndSessionEndpointT&& value) {
152 m_endSessionEndpointHasBeenSet = true;
153 m_endSessionEndpoint = std::forward<EndSessionEndpointT>(value);
154 }
155 template <typename EndSessionEndpointT = Aws::String>
157 SetEndSessionEndpoint(std::forward<EndSessionEndpointT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetLogoutEndpoint() const { return m_logoutEndpoint; }
167 template <typename LogoutEndpointT = Aws::String>
168 void SetLogoutEndpoint(LogoutEndpointT&& value) {
169 m_logoutEndpointHasBeenSet = true;
170 m_logoutEndpoint = std::forward<LogoutEndpointT>(value);
171 }
172 template <typename LogoutEndpointT = Aws::String>
174 SetLogoutEndpoint(std::forward<LogoutEndpointT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::Vector<Aws::String>& GetGrantTypesSupported() const { return m_grantTypesSupported; }
184 template <typename GrantTypesSupportedT = Aws::Vector<Aws::String>>
185 void SetGrantTypesSupported(GrantTypesSupportedT&& value) {
186 m_grantTypesSupportedHasBeenSet = true;
187 m_grantTypesSupported = std::forward<GrantTypesSupportedT>(value);
188 }
189 template <typename GrantTypesSupportedT = Aws::Vector<Aws::String>>
191 SetGrantTypesSupported(std::forward<GrantTypesSupportedT>(value));
192 return *this;
193 }
194 template <typename GrantTypesSupportedT = Aws::String>
196 m_grantTypesSupportedHasBeenSet = true;
197 m_grantTypesSupported.emplace_back(std::forward<GrantTypesSupportedT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::String& GetRevocationEndpoint() const { return m_revocationEndpoint; }
207 template <typename RevocationEndpointT = Aws::String>
208 void SetRevocationEndpoint(RevocationEndpointT&& value) {
209 m_revocationEndpointHasBeenSet = true;
210 m_revocationEndpoint = std::forward<RevocationEndpointT>(value);
211 }
212 template <typename RevocationEndpointT = Aws::String>
214 SetRevocationEndpoint(std::forward<RevocationEndpointT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::Vector<Aws::String>& GetTokenEndpointAuthMethodsSupported() const { return m_tokenEndpointAuthMethodsSupported; }
224 template <typename TokenEndpointAuthMethodsSupportedT = Aws::Vector<Aws::String>>
225 void SetTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT&& value) {
226 m_tokenEndpointAuthMethodsSupportedHasBeenSet = true;
227 m_tokenEndpointAuthMethodsSupported = std::forward<TokenEndpointAuthMethodsSupportedT>(value);
228 }
229 template <typename TokenEndpointAuthMethodsSupportedT = Aws::Vector<Aws::String>>
230 RegisterOidcConfigTestResult& WithTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT&& value) {
231 SetTokenEndpointAuthMethodsSupported(std::forward<TokenEndpointAuthMethodsSupportedT>(value));
232 return *this;
233 }
234 template <typename TokenEndpointAuthMethodsSupportedT = Aws::String>
235 RegisterOidcConfigTestResult& AddTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT&& value) {
236 m_tokenEndpointAuthMethodsSupportedHasBeenSet = true;
237 m_tokenEndpointAuthMethodsSupported.emplace_back(std::forward<TokenEndpointAuthMethodsSupportedT>(value));
238 return *this;
239 }
241
243
246 inline bool GetMicrosoftMultiRefreshToken() const { return m_microsoftMultiRefreshToken; }
247 inline void SetMicrosoftMultiRefreshToken(bool value) {
248 m_microsoftMultiRefreshTokenHasBeenSet = true;
249 m_microsoftMultiRefreshToken = value;
250 }
253 return *this;
254 }
256
258
259 inline const Aws::String& GetRequestId() const { return m_requestId; }
260 template <typename RequestIdT = Aws::String>
261 void SetRequestId(RequestIdT&& value) {
262 m_requestIdHasBeenSet = true;
263 m_requestId = std::forward<RequestIdT>(value);
264 }
265 template <typename RequestIdT = Aws::String>
267 SetRequestId(std::forward<RequestIdT>(value));
268 return *this;
269 }
271 private:
272 Aws::String m_tokenEndpoint;
273
274 Aws::String m_userinfoEndpoint;
275
276 Aws::Vector<Aws::String> m_responseTypesSupported;
277
278 Aws::Vector<Aws::String> m_scopesSupported;
279
280 Aws::String m_issuer;
281
282 Aws::String m_authorizationEndpoint;
283
284 Aws::String m_endSessionEndpoint;
285
286 Aws::String m_logoutEndpoint;
287
288 Aws::Vector<Aws::String> m_grantTypesSupported;
289
290 Aws::String m_revocationEndpoint;
291
292 Aws::Vector<Aws::String> m_tokenEndpointAuthMethodsSupported;
293
294 bool m_microsoftMultiRefreshToken{false};
295
296 Aws::String m_requestId;
297 bool m_tokenEndpointHasBeenSet = false;
298 bool m_userinfoEndpointHasBeenSet = false;
299 bool m_responseTypesSupportedHasBeenSet = false;
300 bool m_scopesSupportedHasBeenSet = false;
301 bool m_issuerHasBeenSet = false;
302 bool m_authorizationEndpointHasBeenSet = false;
303 bool m_endSessionEndpointHasBeenSet = false;
304 bool m_logoutEndpointHasBeenSet = false;
305 bool m_grantTypesSupportedHasBeenSet = false;
306 bool m_revocationEndpointHasBeenSet = false;
307 bool m_tokenEndpointAuthMethodsSupportedHasBeenSet = false;
308 bool m_microsoftMultiRefreshTokenHasBeenSet = false;
309 bool m_requestIdHasBeenSet = false;
310};
311
312} // namespace Model
313} // namespace Wickr
314} // namespace Aws
AWS_WICKR_API RegisterOidcConfigTestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetResponseTypesSupported() const
RegisterOidcConfigTestResult & WithIssuer(IssuerT &&value)
void SetTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT &&value)
RegisterOidcConfigTestResult & AddTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT &&value)
const Aws::Vector< Aws::String > & GetScopesSupported() const
RegisterOidcConfigTestResult & WithEndSessionEndpoint(EndSessionEndpointT &&value)
RegisterOidcConfigTestResult & WithRequestId(RequestIdT &&value)
RegisterOidcConfigTestResult & WithGrantTypesSupported(GrantTypesSupportedT &&value)
RegisterOidcConfigTestResult & WithTokenEndpoint(TokenEndpointT &&value)
RegisterOidcConfigTestResult & AddGrantTypesSupported(GrantTypesSupportedT &&value)
RegisterOidcConfigTestResult & AddResponseTypesSupported(ResponseTypesSupportedT &&value)
RegisterOidcConfigTestResult & WithScopesSupported(ScopesSupportedT &&value)
AWS_WICKR_API RegisterOidcConfigTestResult()=default
void SetAuthorizationEndpoint(AuthorizationEndpointT &&value)
RegisterOidcConfigTestResult & WithResponseTypesSupported(ResponseTypesSupportedT &&value)
RegisterOidcConfigTestResult & WithRevocationEndpoint(RevocationEndpointT &&value)
const Aws::Vector< Aws::String > & GetTokenEndpointAuthMethodsSupported() const
RegisterOidcConfigTestResult & AddScopesSupported(ScopesSupportedT &&value)
RegisterOidcConfigTestResult & WithTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT &&value)
AWS_WICKR_API RegisterOidcConfigTestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterOidcConfigTestResult & WithUserinfoEndpoint(UserinfoEndpointT &&value)
RegisterOidcConfigTestResult & WithMicrosoftMultiRefreshToken(bool value)
void SetResponseTypesSupported(ResponseTypesSupportedT &&value)
RegisterOidcConfigTestResult & WithAuthorizationEndpoint(AuthorizationEndpointT &&value)
RegisterOidcConfigTestResult & WithLogoutEndpoint(LogoutEndpointT &&value)
const Aws::Vector< Aws::String > & GetGrantTypesSupported() 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