AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
RegisterOidcConfigTestResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wickr/Wickr_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Wickr {
24namespace Model {
26 public:
27 AWS_WICKR_API RegisterOidcConfigTestResult() = default;
30
32
35 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
36 template <typename TokenEndpointT = Aws::String>
37 void SetTokenEndpoint(TokenEndpointT&& value) {
38 m_tokenEndpointHasBeenSet = true;
39 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
40 }
41 template <typename TokenEndpointT = Aws::String>
43 SetTokenEndpoint(std::forward<TokenEndpointT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetUserinfoEndpoint() const { return m_userinfoEndpoint; }
53 template <typename UserinfoEndpointT = Aws::String>
54 void SetUserinfoEndpoint(UserinfoEndpointT&& value) {
55 m_userinfoEndpointHasBeenSet = true;
56 m_userinfoEndpoint = std::forward<UserinfoEndpointT>(value);
57 }
58 template <typename UserinfoEndpointT = Aws::String>
60 SetUserinfoEndpoint(std::forward<UserinfoEndpointT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Vector<Aws::String>& GetResponseTypesSupported() const { return m_responseTypesSupported; }
70 template <typename ResponseTypesSupportedT = Aws::Vector<Aws::String>>
71 void SetResponseTypesSupported(ResponseTypesSupportedT&& value) {
72 m_responseTypesSupportedHasBeenSet = true;
73 m_responseTypesSupported = std::forward<ResponseTypesSupportedT>(value);
74 }
75 template <typename ResponseTypesSupportedT = Aws::Vector<Aws::String>>
76 RegisterOidcConfigTestResult& WithResponseTypesSupported(ResponseTypesSupportedT&& value) {
77 SetResponseTypesSupported(std::forward<ResponseTypesSupportedT>(value));
78 return *this;
79 }
80 template <typename ResponseTypesSupportedT = Aws::String>
81 RegisterOidcConfigTestResult& AddResponseTypesSupported(ResponseTypesSupportedT&& value) {
82 m_responseTypesSupportedHasBeenSet = true;
83 m_responseTypesSupported.emplace_back(std::forward<ResponseTypesSupportedT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Vector<Aws::String>& GetScopesSupported() const { return m_scopesSupported; }
93 template <typename ScopesSupportedT = Aws::Vector<Aws::String>>
94 void SetScopesSupported(ScopesSupportedT&& value) {
95 m_scopesSupportedHasBeenSet = true;
96 m_scopesSupported = std::forward<ScopesSupportedT>(value);
97 }
98 template <typename ScopesSupportedT = Aws::Vector<Aws::String>>
100 SetScopesSupported(std::forward<ScopesSupportedT>(value));
101 return *this;
102 }
103 template <typename ScopesSupportedT = Aws::String>
105 m_scopesSupportedHasBeenSet = true;
106 m_scopesSupported.emplace_back(std::forward<ScopesSupportedT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetIssuer() const { return m_issuer; }
116 template <typename IssuerT = Aws::String>
117 void SetIssuer(IssuerT&& value) {
118 m_issuerHasBeenSet = true;
119 m_issuer = std::forward<IssuerT>(value);
120 }
121 template <typename IssuerT = Aws::String>
123 SetIssuer(std::forward<IssuerT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetAuthorizationEndpoint() const { return m_authorizationEndpoint; }
133 template <typename AuthorizationEndpointT = Aws::String>
134 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) {
135 m_authorizationEndpointHasBeenSet = true;
136 m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value);
137 }
138 template <typename AuthorizationEndpointT = Aws::String>
140 SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::String& GetEndSessionEndpoint() const { return m_endSessionEndpoint; }
151 template <typename EndSessionEndpointT = Aws::String>
152 void SetEndSessionEndpoint(EndSessionEndpointT&& value) {
153 m_endSessionEndpointHasBeenSet = true;
154 m_endSessionEndpoint = std::forward<EndSessionEndpointT>(value);
155 }
156 template <typename EndSessionEndpointT = Aws::String>
158 SetEndSessionEndpoint(std::forward<EndSessionEndpointT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetLogoutEndpoint() const { return m_logoutEndpoint; }
168 template <typename LogoutEndpointT = Aws::String>
169 void SetLogoutEndpoint(LogoutEndpointT&& value) {
170 m_logoutEndpointHasBeenSet = true;
171 m_logoutEndpoint = std::forward<LogoutEndpointT>(value);
172 }
173 template <typename LogoutEndpointT = Aws::String>
175 SetLogoutEndpoint(std::forward<LogoutEndpointT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::Vector<Aws::String>& GetGrantTypesSupported() const { return m_grantTypesSupported; }
185 template <typename GrantTypesSupportedT = Aws::Vector<Aws::String>>
186 void SetGrantTypesSupported(GrantTypesSupportedT&& value) {
187 m_grantTypesSupportedHasBeenSet = true;
188 m_grantTypesSupported = std::forward<GrantTypesSupportedT>(value);
189 }
190 template <typename GrantTypesSupportedT = Aws::Vector<Aws::String>>
192 SetGrantTypesSupported(std::forward<GrantTypesSupportedT>(value));
193 return *this;
194 }
195 template <typename GrantTypesSupportedT = Aws::String>
197 m_grantTypesSupportedHasBeenSet = true;
198 m_grantTypesSupported.emplace_back(std::forward<GrantTypesSupportedT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::String& GetRevocationEndpoint() const { return m_revocationEndpoint; }
208 template <typename RevocationEndpointT = Aws::String>
209 void SetRevocationEndpoint(RevocationEndpointT&& value) {
210 m_revocationEndpointHasBeenSet = true;
211 m_revocationEndpoint = std::forward<RevocationEndpointT>(value);
212 }
213 template <typename RevocationEndpointT = Aws::String>
215 SetRevocationEndpoint(std::forward<RevocationEndpointT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::Vector<Aws::String>& GetTokenEndpointAuthMethodsSupported() const { return m_tokenEndpointAuthMethodsSupported; }
225 template <typename TokenEndpointAuthMethodsSupportedT = Aws::Vector<Aws::String>>
226 void SetTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT&& value) {
227 m_tokenEndpointAuthMethodsSupportedHasBeenSet = true;
228 m_tokenEndpointAuthMethodsSupported = std::forward<TokenEndpointAuthMethodsSupportedT>(value);
229 }
230 template <typename TokenEndpointAuthMethodsSupportedT = Aws::Vector<Aws::String>>
231 RegisterOidcConfigTestResult& WithTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT&& value) {
232 SetTokenEndpointAuthMethodsSupported(std::forward<TokenEndpointAuthMethodsSupportedT>(value));
233 return *this;
234 }
235 template <typename TokenEndpointAuthMethodsSupportedT = Aws::String>
236 RegisterOidcConfigTestResult& AddTokenEndpointAuthMethodsSupported(TokenEndpointAuthMethodsSupportedT&& value) {
237 m_tokenEndpointAuthMethodsSupportedHasBeenSet = true;
238 m_tokenEndpointAuthMethodsSupported.emplace_back(std::forward<TokenEndpointAuthMethodsSupportedT>(value));
239 return *this;
240 }
242
244
247 inline bool GetMicrosoftMultiRefreshToken() const { return m_microsoftMultiRefreshToken; }
248 inline void SetMicrosoftMultiRefreshToken(bool value) {
249 m_microsoftMultiRefreshTokenHasBeenSet = true;
250 m_microsoftMultiRefreshToken = value;
251 }
254 return *this;
255 }
257
259
260 inline const Aws::String& GetRequestId() const { return m_requestId; }
261 template <typename RequestIdT = Aws::String>
262 void SetRequestId(RequestIdT&& value) {
263 m_requestIdHasBeenSet = true;
264 m_requestId = std::forward<RequestIdT>(value);
265 }
266 template <typename RequestIdT = Aws::String>
268 SetRequestId(std::forward<RequestIdT>(value));
269 return *this;
270 }
272 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
273
274 private:
275 Aws::String m_tokenEndpoint;
276
277 Aws::String m_userinfoEndpoint;
278
279 Aws::Vector<Aws::String> m_responseTypesSupported;
280
281 Aws::Vector<Aws::String> m_scopesSupported;
282
283 Aws::String m_issuer;
284
285 Aws::String m_authorizationEndpoint;
286
287 Aws::String m_endSessionEndpoint;
288
289 Aws::String m_logoutEndpoint;
290
291 Aws::Vector<Aws::String> m_grantTypesSupported;
292
293 Aws::String m_revocationEndpoint;
294
295 Aws::Vector<Aws::String> m_tokenEndpointAuthMethodsSupported;
296
297 bool m_microsoftMultiRefreshToken{false};
298
299 Aws::String m_requestId;
300 Aws::Http::HttpResponseCode m_HttpResponseCode;
301 bool m_tokenEndpointHasBeenSet = false;
302 bool m_userinfoEndpointHasBeenSet = false;
303 bool m_responseTypesSupportedHasBeenSet = false;
304 bool m_scopesSupportedHasBeenSet = false;
305 bool m_issuerHasBeenSet = false;
306 bool m_authorizationEndpointHasBeenSet = false;
307 bool m_endSessionEndpointHasBeenSet = false;
308 bool m_logoutEndpointHasBeenSet = false;
309 bool m_grantTypesSupportedHasBeenSet = false;
310 bool m_revocationEndpointHasBeenSet = false;
311 bool m_tokenEndpointAuthMethodsSupportedHasBeenSet = false;
312 bool m_microsoftMultiRefreshTokenHasBeenSet = false;
313 bool m_requestIdHasBeenSet = false;
314};
315
316} // namespace Model
317} // namespace Wickr
318} // 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