AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
OidcConfigForResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
29 public:
30 AWS_SAGEMAKER_API OidcConfigForResponse() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetClientId() const { return m_clientId; }
40 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
41 template <typename ClientIdT = Aws::String>
42 void SetClientId(ClientIdT&& value) {
43 m_clientIdHasBeenSet = true;
44 m_clientId = std::forward<ClientIdT>(value);
45 }
46 template <typename ClientIdT = Aws::String>
47 OidcConfigForResponse& WithClientId(ClientIdT&& value) {
48 SetClientId(std::forward<ClientIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIssuer() const { return m_issuer; }
58 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
59 template <typename IssuerT = Aws::String>
60 void SetIssuer(IssuerT&& value) {
61 m_issuerHasBeenSet = true;
62 m_issuer = std::forward<IssuerT>(value);
63 }
64 template <typename IssuerT = Aws::String>
66 SetIssuer(std::forward<IssuerT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetAuthorizationEndpoint() const { return m_authorizationEndpoint; }
77 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
78 template <typename AuthorizationEndpointT = Aws::String>
79 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) {
80 m_authorizationEndpointHasBeenSet = true;
81 m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value);
82 }
83 template <typename AuthorizationEndpointT = Aws::String>
84 OidcConfigForResponse& WithAuthorizationEndpoint(AuthorizationEndpointT&& value) {
85 SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
95 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
96 template <typename TokenEndpointT = Aws::String>
97 void SetTokenEndpoint(TokenEndpointT&& value) {
98 m_tokenEndpointHasBeenSet = true;
99 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
100 }
101 template <typename TokenEndpointT = Aws::String>
102 OidcConfigForResponse& WithTokenEndpoint(TokenEndpointT&& value) {
103 SetTokenEndpoint(std::forward<TokenEndpointT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetUserInfoEndpoint() const { return m_userInfoEndpoint; }
114 inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; }
115 template <typename UserInfoEndpointT = Aws::String>
116 void SetUserInfoEndpoint(UserInfoEndpointT&& value) {
117 m_userInfoEndpointHasBeenSet = true;
118 m_userInfoEndpoint = std::forward<UserInfoEndpointT>(value);
119 }
120 template <typename UserInfoEndpointT = Aws::String>
121 OidcConfigForResponse& WithUserInfoEndpoint(UserInfoEndpointT&& value) {
122 SetUserInfoEndpoint(std::forward<UserInfoEndpointT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetLogoutEndpoint() const { return m_logoutEndpoint; }
132 inline bool LogoutEndpointHasBeenSet() const { return m_logoutEndpointHasBeenSet; }
133 template <typename LogoutEndpointT = Aws::String>
134 void SetLogoutEndpoint(LogoutEndpointT&& value) {
135 m_logoutEndpointHasBeenSet = true;
136 m_logoutEndpoint = std::forward<LogoutEndpointT>(value);
137 }
138 template <typename LogoutEndpointT = Aws::String>
139 OidcConfigForResponse& WithLogoutEndpoint(LogoutEndpointT&& value) {
140 SetLogoutEndpoint(std::forward<LogoutEndpointT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::String& GetJwksUri() const { return m_jwksUri; }
151 inline bool JwksUriHasBeenSet() const { return m_jwksUriHasBeenSet; }
152 template <typename JwksUriT = Aws::String>
153 void SetJwksUri(JwksUriT&& value) {
154 m_jwksUriHasBeenSet = true;
155 m_jwksUri = std::forward<JwksUriT>(value);
156 }
157 template <typename JwksUriT = Aws::String>
159 SetJwksUri(std::forward<JwksUriT>(value));
160 return *this;
161 }
163
165
169 inline const Aws::String& GetScope() const { return m_scope; }
170 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
171 template <typename ScopeT = Aws::String>
172 void SetScope(ScopeT&& value) {
173 m_scopeHasBeenSet = true;
174 m_scope = std::forward<ScopeT>(value);
175 }
176 template <typename ScopeT = Aws::String>
178 SetScope(std::forward<ScopeT>(value));
179 return *this;
180 }
182
184
189 return m_authenticationRequestExtraParams;
190 }
191 inline bool AuthenticationRequestExtraParamsHasBeenSet() const { return m_authenticationRequestExtraParamsHasBeenSet; }
192 template <typename AuthenticationRequestExtraParamsT = Aws::Map<Aws::String, Aws::String>>
193 void SetAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT&& value) {
194 m_authenticationRequestExtraParamsHasBeenSet = true;
195 m_authenticationRequestExtraParams = std::forward<AuthenticationRequestExtraParamsT>(value);
196 }
197 template <typename AuthenticationRequestExtraParamsT = Aws::Map<Aws::String, Aws::String>>
198 OidcConfigForResponse& WithAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT&& value) {
199 SetAuthenticationRequestExtraParams(std::forward<AuthenticationRequestExtraParamsT>(value));
200 return *this;
201 }
202 template <typename AuthenticationRequestExtraParamsKeyT = Aws::String, typename AuthenticationRequestExtraParamsValueT = Aws::String>
203 OidcConfigForResponse& AddAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsKeyT&& key,
204 AuthenticationRequestExtraParamsValueT&& value) {
205 m_authenticationRequestExtraParamsHasBeenSet = true;
206 m_authenticationRequestExtraParams.emplace(std::forward<AuthenticationRequestExtraParamsKeyT>(key),
207 std::forward<AuthenticationRequestExtraParamsValueT>(value));
208 return *this;
209 }
211 private:
212 Aws::String m_clientId;
213
214 Aws::String m_issuer;
215
216 Aws::String m_authorizationEndpoint;
217
218 Aws::String m_tokenEndpoint;
219
220 Aws::String m_userInfoEndpoint;
221
222 Aws::String m_logoutEndpoint;
223
224 Aws::String m_jwksUri;
225
226 Aws::String m_scope;
227
228 Aws::Map<Aws::String, Aws::String> m_authenticationRequestExtraParams;
229 bool m_clientIdHasBeenSet = false;
230 bool m_issuerHasBeenSet = false;
231 bool m_authorizationEndpointHasBeenSet = false;
232 bool m_tokenEndpointHasBeenSet = false;
233 bool m_userInfoEndpointHasBeenSet = false;
234 bool m_logoutEndpointHasBeenSet = false;
235 bool m_jwksUriHasBeenSet = false;
236 bool m_scopeHasBeenSet = false;
237 bool m_authenticationRequestExtraParamsHasBeenSet = false;
238};
239
240} // namespace Model
241} // namespace SageMaker
242} // namespace Aws
AWS_SAGEMAKER_API OidcConfigForResponse(Aws::Utils::Json::JsonView jsonValue)
OidcConfigForResponse & WithIssuer(IssuerT &&value)
OidcConfigForResponse & WithTokenEndpoint(TokenEndpointT &&value)
OidcConfigForResponse & WithUserInfoEndpoint(UserInfoEndpointT &&value)
void SetUserInfoEndpoint(UserInfoEndpointT &&value)
OidcConfigForResponse & WithLogoutEndpoint(LogoutEndpointT &&value)
OidcConfigForResponse & AddAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsKeyT &&key, AuthenticationRequestExtraParamsValueT &&value)
AWS_SAGEMAKER_API OidcConfigForResponse()=default
OidcConfigForResponse & WithScope(ScopeT &&value)
void SetAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT &&value)
AWS_SAGEMAKER_API OidcConfigForResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetAuthenticationRequestExtraParams() const
void SetAuthorizationEndpoint(AuthorizationEndpointT &&value)
OidcConfigForResponse & WithClientId(ClientIdT &&value)
OidcConfigForResponse & WithAuthorizationEndpoint(AuthorizationEndpointT &&value)
OidcConfigForResponse & WithJwksUri(JwksUriT &&value)
OidcConfigForResponse & WithAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue