AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
48 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
49 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
50 inline OidcConfigForResponse& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
51 inline OidcConfigForResponse& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
52 inline OidcConfigForResponse& WithClientId(const char* value) { SetClientId(value); return *this;}
54
56
59 inline const Aws::String& GetIssuer() const{ return m_issuer; }
60 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
61 inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
62 inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
63 inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
64 inline OidcConfigForResponse& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
65 inline OidcConfigForResponse& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
66 inline OidcConfigForResponse& WithIssuer(const char* value) { SetIssuer(value); return *this;}
68
70
74 inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; }
75 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
76 inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; }
77 inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); }
78 inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); }
80 inline OidcConfigForResponse& WithAuthorizationEndpoint(Aws::String&& value) { SetAuthorizationEndpoint(std::move(value)); return *this;}
81 inline OidcConfigForResponse& WithAuthorizationEndpoint(const char* value) { SetAuthorizationEndpoint(value); return *this;}
83
85
88 inline const Aws::String& GetTokenEndpoint() const{ return m_tokenEndpoint; }
89 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
90 inline void SetTokenEndpoint(const Aws::String& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = value; }
91 inline void SetTokenEndpoint(Aws::String&& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = std::move(value); }
92 inline void SetTokenEndpoint(const char* value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint.assign(value); }
93 inline OidcConfigForResponse& WithTokenEndpoint(const Aws::String& value) { SetTokenEndpoint(value); return *this;}
94 inline OidcConfigForResponse& WithTokenEndpoint(Aws::String&& value) { SetTokenEndpoint(std::move(value)); return *this;}
95 inline OidcConfigForResponse& WithTokenEndpoint(const char* value) { SetTokenEndpoint(value); return *this;}
97
99
103 inline const Aws::String& GetUserInfoEndpoint() const{ return m_userInfoEndpoint; }
104 inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; }
105 inline void SetUserInfoEndpoint(const Aws::String& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = value; }
106 inline void SetUserInfoEndpoint(Aws::String&& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = std::move(value); }
107 inline void SetUserInfoEndpoint(const char* value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint.assign(value); }
108 inline OidcConfigForResponse& WithUserInfoEndpoint(const Aws::String& value) { SetUserInfoEndpoint(value); return *this;}
109 inline OidcConfigForResponse& WithUserInfoEndpoint(Aws::String&& value) { SetUserInfoEndpoint(std::move(value)); return *this;}
110 inline OidcConfigForResponse& WithUserInfoEndpoint(const char* value) { SetUserInfoEndpoint(value); return *this;}
112
114
117 inline const Aws::String& GetLogoutEndpoint() const{ return m_logoutEndpoint; }
118 inline bool LogoutEndpointHasBeenSet() const { return m_logoutEndpointHasBeenSet; }
119 inline void SetLogoutEndpoint(const Aws::String& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = value; }
120 inline void SetLogoutEndpoint(Aws::String&& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = std::move(value); }
121 inline void SetLogoutEndpoint(const char* value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint.assign(value); }
122 inline OidcConfigForResponse& WithLogoutEndpoint(const Aws::String& value) { SetLogoutEndpoint(value); return *this;}
123 inline OidcConfigForResponse& WithLogoutEndpoint(Aws::String&& value) { SetLogoutEndpoint(std::move(value)); return *this;}
124 inline OidcConfigForResponse& WithLogoutEndpoint(const char* value) { SetLogoutEndpoint(value); return *this;}
126
128
132 inline const Aws::String& GetJwksUri() const{ return m_jwksUri; }
133 inline bool JwksUriHasBeenSet() const { return m_jwksUriHasBeenSet; }
134 inline void SetJwksUri(const Aws::String& value) { m_jwksUriHasBeenSet = true; m_jwksUri = value; }
135 inline void SetJwksUri(Aws::String&& value) { m_jwksUriHasBeenSet = true; m_jwksUri = std::move(value); }
136 inline void SetJwksUri(const char* value) { m_jwksUriHasBeenSet = true; m_jwksUri.assign(value); }
137 inline OidcConfigForResponse& WithJwksUri(const Aws::String& value) { SetJwksUri(value); return *this;}
138 inline OidcConfigForResponse& WithJwksUri(Aws::String&& value) { SetJwksUri(std::move(value)); return *this;}
139 inline OidcConfigForResponse& WithJwksUri(const char* value) { SetJwksUri(value); return *this;}
141
143
147 inline const Aws::String& GetScope() const{ return m_scope; }
148 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
149 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
150 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
151 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
152 inline OidcConfigForResponse& WithScope(const Aws::String& value) { SetScope(value); return *this;}
153 inline OidcConfigForResponse& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
154 inline OidcConfigForResponse& WithScope(const char* value) { SetScope(value); return *this;}
156
158
162 inline const Aws::Map<Aws::String, Aws::String>& GetAuthenticationRequestExtraParams() const{ return m_authenticationRequestExtraParams; }
163 inline bool AuthenticationRequestExtraParamsHasBeenSet() const { return m_authenticationRequestExtraParamsHasBeenSet; }
164 inline void SetAuthenticationRequestExtraParams(const Aws::Map<Aws::String, Aws::String>& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = value; }
165 inline void SetAuthenticationRequestExtraParams(Aws::Map<Aws::String, Aws::String>&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = std::move(value); }
168 inline OidcConfigForResponse& AddAuthenticationRequestExtraParams(const Aws::String& key, const Aws::String& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, value); return *this; }
169 inline OidcConfigForResponse& AddAuthenticationRequestExtraParams(Aws::String&& key, const Aws::String& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), value); return *this; }
170 inline OidcConfigForResponse& AddAuthenticationRequestExtraParams(const Aws::String& key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, std::move(value)); return *this; }
171 inline OidcConfigForResponse& AddAuthenticationRequestExtraParams(Aws::String&& key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), std::move(value)); return *this; }
172 inline OidcConfigForResponse& AddAuthenticationRequestExtraParams(const char* key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, std::move(value)); return *this; }
173 inline OidcConfigForResponse& AddAuthenticationRequestExtraParams(Aws::String&& key, const char* value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), value); return *this; }
174 inline OidcConfigForResponse& AddAuthenticationRequestExtraParams(const char* key, const char* value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, value); return *this; }
176 private:
177
178 Aws::String m_clientId;
179 bool m_clientIdHasBeenSet = false;
180
181 Aws::String m_issuer;
182 bool m_issuerHasBeenSet = false;
183
184 Aws::String m_authorizationEndpoint;
185 bool m_authorizationEndpointHasBeenSet = false;
186
187 Aws::String m_tokenEndpoint;
188 bool m_tokenEndpointHasBeenSet = false;
189
190 Aws::String m_userInfoEndpoint;
191 bool m_userInfoEndpointHasBeenSet = false;
192
193 Aws::String m_logoutEndpoint;
194 bool m_logoutEndpointHasBeenSet = false;
195
196 Aws::String m_jwksUri;
197 bool m_jwksUriHasBeenSet = false;
198
199 Aws::String m_scope;
200 bool m_scopeHasBeenSet = false;
201
202 Aws::Map<Aws::String, Aws::String> m_authenticationRequestExtraParams;
203 bool m_authenticationRequestExtraParamsHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace SageMaker
208} // namespace Aws
void SetAuthenticationRequestExtraParams(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SAGEMAKER_API OidcConfigForResponse(Aws::Utils::Json::JsonView jsonValue)
OidcConfigForResponse & AddAuthenticationRequestExtraParams(const Aws::String &key, const Aws::String &value)
OidcConfigForResponse & WithLogoutEndpoint(const char *value)
OidcConfigForResponse & WithAuthorizationEndpoint(const Aws::String &value)
OidcConfigForResponse & AddAuthenticationRequestExtraParams(const char *key, Aws::String &&value)
OidcConfigForResponse & WithTokenEndpoint(const char *value)
OidcConfigForResponse & WithAuthorizationEndpoint(const char *value)
OidcConfigForResponse & WithAuthorizationEndpoint(Aws::String &&value)
OidcConfigForResponse & WithIssuer(const Aws::String &value)
OidcConfigForResponse & WithLogoutEndpoint(Aws::String &&value)
OidcConfigForResponse & WithLogoutEndpoint(const Aws::String &value)
OidcConfigForResponse & WithJwksUri(Aws::String &&value)
OidcConfigForResponse & WithUserInfoEndpoint(Aws::String &&value)
OidcConfigForResponse & AddAuthenticationRequestExtraParams(const char *key, const char *value)
OidcConfigForResponse & WithScope(Aws::String &&value)
OidcConfigForResponse & WithClientId(const Aws::String &value)
OidcConfigForResponse & WithClientId(Aws::String &&value)
OidcConfigForResponse & AddAuthenticationRequestExtraParams(const Aws::String &key, Aws::String &&value)
OidcConfigForResponse & WithScope(const char *value)
OidcConfigForResponse & WithUserInfoEndpoint(const char *value)
OidcConfigForResponse & WithTokenEndpoint(Aws::String &&value)
OidcConfigForResponse & AddAuthenticationRequestExtraParams(Aws::String &&key, const Aws::String &value)
OidcConfigForResponse & WithUserInfoEndpoint(const Aws::String &value)
OidcConfigForResponse & WithScope(const Aws::String &value)
OidcConfigForResponse & WithJwksUri(const Aws::String &value)
OidcConfigForResponse & WithJwksUri(const char *value)
OidcConfigForResponse & WithIssuer(const char *value)
OidcConfigForResponse & AddAuthenticationRequestExtraParams(Aws::String &&key, Aws::String &&value)
OidcConfigForResponse & WithAuthenticationRequestExtraParams(Aws::Map< Aws::String, Aws::String > &&value)
OidcConfigForResponse & AddAuthenticationRequestExtraParams(Aws::String &&key, const char *value)
OidcConfigForResponse & WithTokenEndpoint(const Aws::String &value)
void SetAuthenticationRequestExtraParams(Aws::Map< Aws::String, Aws::String > &&value)
void SetAuthorizationEndpoint(const Aws::String &value)
OidcConfigForResponse & WithClientId(const char *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
OidcConfigForResponse & WithIssuer(Aws::String &&value)
OidcConfigForResponse & WithAuthenticationRequestExtraParams(const Aws::Map< Aws::String, Aws::String > &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