AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OidcConfigForResponse.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SAGEMAKER_API OidcConfigForResponse() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetClientId() const { return m_clientId; }
46 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
47 template<typename ClientIdT = Aws::String>
48 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
49 template<typename ClientIdT = Aws::String>
50 OidcConfigForResponse& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
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) { m_issuerHasBeenSet = true; m_issuer = std::forward<IssuerT>(value); }
61 template<typename IssuerT = Aws::String>
62 OidcConfigForResponse& WithIssuer(IssuerT&& value) { SetIssuer(std::forward<IssuerT>(value)); return *this;}
64
66
70 inline const Aws::String& GetAuthorizationEndpoint() const { return m_authorizationEndpoint; }
71 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
72 template<typename AuthorizationEndpointT = Aws::String>
73 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value); }
74 template<typename AuthorizationEndpointT = Aws::String>
75 OidcConfigForResponse& WithAuthorizationEndpoint(AuthorizationEndpointT&& value) { SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value)); return *this;}
77
79
82 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
83 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
84 template<typename TokenEndpointT = Aws::String>
85 void SetTokenEndpoint(TokenEndpointT&& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = std::forward<TokenEndpointT>(value); }
86 template<typename TokenEndpointT = Aws::String>
87 OidcConfigForResponse& WithTokenEndpoint(TokenEndpointT&& value) { SetTokenEndpoint(std::forward<TokenEndpointT>(value)); return *this;}
89
91
95 inline const Aws::String& GetUserInfoEndpoint() const { return m_userInfoEndpoint; }
96 inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; }
97 template<typename UserInfoEndpointT = Aws::String>
98 void SetUserInfoEndpoint(UserInfoEndpointT&& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = std::forward<UserInfoEndpointT>(value); }
99 template<typename UserInfoEndpointT = Aws::String>
100 OidcConfigForResponse& WithUserInfoEndpoint(UserInfoEndpointT&& value) { SetUserInfoEndpoint(std::forward<UserInfoEndpointT>(value)); return *this;}
102
104
107 inline const Aws::String& GetLogoutEndpoint() const { return m_logoutEndpoint; }
108 inline bool LogoutEndpointHasBeenSet() const { return m_logoutEndpointHasBeenSet; }
109 template<typename LogoutEndpointT = Aws::String>
110 void SetLogoutEndpoint(LogoutEndpointT&& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = std::forward<LogoutEndpointT>(value); }
111 template<typename LogoutEndpointT = Aws::String>
112 OidcConfigForResponse& WithLogoutEndpoint(LogoutEndpointT&& value) { SetLogoutEndpoint(std::forward<LogoutEndpointT>(value)); return *this;}
114
116
120 inline const Aws::String& GetJwksUri() const { return m_jwksUri; }
121 inline bool JwksUriHasBeenSet() const { return m_jwksUriHasBeenSet; }
122 template<typename JwksUriT = Aws::String>
123 void SetJwksUri(JwksUriT&& value) { m_jwksUriHasBeenSet = true; m_jwksUri = std::forward<JwksUriT>(value); }
124 template<typename JwksUriT = Aws::String>
125 OidcConfigForResponse& WithJwksUri(JwksUriT&& value) { SetJwksUri(std::forward<JwksUriT>(value)); return *this;}
127
129
133 inline const Aws::String& GetScope() const { return m_scope; }
134 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
135 template<typename ScopeT = Aws::String>
136 void SetScope(ScopeT&& value) { m_scopeHasBeenSet = true; m_scope = std::forward<ScopeT>(value); }
137 template<typename ScopeT = Aws::String>
138 OidcConfigForResponse& WithScope(ScopeT&& value) { SetScope(std::forward<ScopeT>(value)); return *this;}
140
142
146 inline const Aws::Map<Aws::String, Aws::String>& GetAuthenticationRequestExtraParams() const { return m_authenticationRequestExtraParams; }
147 inline bool AuthenticationRequestExtraParamsHasBeenSet() const { return m_authenticationRequestExtraParamsHasBeenSet; }
148 template<typename AuthenticationRequestExtraParamsT = Aws::Map<Aws::String, Aws::String>>
149 void SetAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = std::forward<AuthenticationRequestExtraParamsT>(value); }
150 template<typename AuthenticationRequestExtraParamsT = Aws::Map<Aws::String, Aws::String>>
151 OidcConfigForResponse& WithAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT&& value) { SetAuthenticationRequestExtraParams(std::forward<AuthenticationRequestExtraParamsT>(value)); return *this;}
152 template<typename AuthenticationRequestExtraParamsKeyT = Aws::String, typename AuthenticationRequestExtraParamsValueT = Aws::String>
153 OidcConfigForResponse& AddAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsKeyT&& key, AuthenticationRequestExtraParamsValueT&& value) {
154 m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::forward<AuthenticationRequestExtraParamsKeyT>(key), std::forward<AuthenticationRequestExtraParamsValueT>(value)); return *this;
155 }
157 private:
158
159 Aws::String m_clientId;
160 bool m_clientIdHasBeenSet = false;
161
162 Aws::String m_issuer;
163 bool m_issuerHasBeenSet = false;
164
165 Aws::String m_authorizationEndpoint;
166 bool m_authorizationEndpointHasBeenSet = false;
167
168 Aws::String m_tokenEndpoint;
169 bool m_tokenEndpointHasBeenSet = false;
170
171 Aws::String m_userInfoEndpoint;
172 bool m_userInfoEndpointHasBeenSet = false;
173
174 Aws::String m_logoutEndpoint;
175 bool m_logoutEndpointHasBeenSet = false;
176
177 Aws::String m_jwksUri;
178 bool m_jwksUriHasBeenSet = false;
179
180 Aws::String m_scope;
181 bool m_scopeHasBeenSet = false;
182
183 Aws::Map<Aws::String, Aws::String> m_authenticationRequestExtraParams;
184 bool m_authenticationRequestExtraParamsHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace SageMaker
189} // 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