AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OidcConfig.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
34 {
35 public:
36 AWS_SAGEMAKER_API OidcConfig();
37 AWS_SAGEMAKER_API OidcConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API OidcConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetClientId() const{ return m_clientId; }
47 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
48 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
49 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
50 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
51 inline OidcConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
52 inline OidcConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
53 inline OidcConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
55
57
60 inline const Aws::String& GetClientSecret() const{ return m_clientSecret; }
61 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
62 inline void SetClientSecret(const Aws::String& value) { m_clientSecretHasBeenSet = true; m_clientSecret = value; }
63 inline void SetClientSecret(Aws::String&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::move(value); }
64 inline void SetClientSecret(const char* value) { m_clientSecretHasBeenSet = true; m_clientSecret.assign(value); }
65 inline OidcConfig& WithClientSecret(const Aws::String& value) { SetClientSecret(value); return *this;}
66 inline OidcConfig& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;}
67 inline OidcConfig& WithClientSecret(const char* value) { SetClientSecret(value); return *this;}
69
71
74 inline const Aws::String& GetIssuer() const{ return m_issuer; }
75 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
76 inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
77 inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
78 inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
79 inline OidcConfig& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
80 inline OidcConfig& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
81 inline OidcConfig& WithIssuer(const char* value) { SetIssuer(value); return *this;}
83
85
89 inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; }
90 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
91 inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; }
92 inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); }
93 inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); }
94 inline OidcConfig& WithAuthorizationEndpoint(const Aws::String& value) { SetAuthorizationEndpoint(value); return *this;}
95 inline OidcConfig& WithAuthorizationEndpoint(Aws::String&& value) { SetAuthorizationEndpoint(std::move(value)); return *this;}
96 inline OidcConfig& WithAuthorizationEndpoint(const char* value) { SetAuthorizationEndpoint(value); return *this;}
98
100
103 inline const Aws::String& GetTokenEndpoint() const{ return m_tokenEndpoint; }
104 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
105 inline void SetTokenEndpoint(const Aws::String& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = value; }
106 inline void SetTokenEndpoint(Aws::String&& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = std::move(value); }
107 inline void SetTokenEndpoint(const char* value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint.assign(value); }
108 inline OidcConfig& WithTokenEndpoint(const Aws::String& value) { SetTokenEndpoint(value); return *this;}
109 inline OidcConfig& WithTokenEndpoint(Aws::String&& value) { SetTokenEndpoint(std::move(value)); return *this;}
110 inline OidcConfig& WithTokenEndpoint(const char* value) { SetTokenEndpoint(value); return *this;}
112
114
118 inline const Aws::String& GetUserInfoEndpoint() const{ return m_userInfoEndpoint; }
119 inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; }
120 inline void SetUserInfoEndpoint(const Aws::String& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = value; }
121 inline void SetUserInfoEndpoint(Aws::String&& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = std::move(value); }
122 inline void SetUserInfoEndpoint(const char* value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint.assign(value); }
123 inline OidcConfig& WithUserInfoEndpoint(const Aws::String& value) { SetUserInfoEndpoint(value); return *this;}
124 inline OidcConfig& WithUserInfoEndpoint(Aws::String&& value) { SetUserInfoEndpoint(std::move(value)); return *this;}
125 inline OidcConfig& WithUserInfoEndpoint(const char* value) { SetUserInfoEndpoint(value); return *this;}
127
129
132 inline const Aws::String& GetLogoutEndpoint() const{ return m_logoutEndpoint; }
133 inline bool LogoutEndpointHasBeenSet() const { return m_logoutEndpointHasBeenSet; }
134 inline void SetLogoutEndpoint(const Aws::String& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = value; }
135 inline void SetLogoutEndpoint(Aws::String&& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = std::move(value); }
136 inline void SetLogoutEndpoint(const char* value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint.assign(value); }
137 inline OidcConfig& WithLogoutEndpoint(const Aws::String& value) { SetLogoutEndpoint(value); return *this;}
138 inline OidcConfig& WithLogoutEndpoint(Aws::String&& value) { SetLogoutEndpoint(std::move(value)); return *this;}
139 inline OidcConfig& WithLogoutEndpoint(const char* value) { SetLogoutEndpoint(value); return *this;}
141
143
147 inline const Aws::String& GetJwksUri() const{ return m_jwksUri; }
148 inline bool JwksUriHasBeenSet() const { return m_jwksUriHasBeenSet; }
149 inline void SetJwksUri(const Aws::String& value) { m_jwksUriHasBeenSet = true; m_jwksUri = value; }
150 inline void SetJwksUri(Aws::String&& value) { m_jwksUriHasBeenSet = true; m_jwksUri = std::move(value); }
151 inline void SetJwksUri(const char* value) { m_jwksUriHasBeenSet = true; m_jwksUri.assign(value); }
152 inline OidcConfig& WithJwksUri(const Aws::String& value) { SetJwksUri(value); return *this;}
153 inline OidcConfig& WithJwksUri(Aws::String&& value) { SetJwksUri(std::move(value)); return *this;}
154 inline OidcConfig& WithJwksUri(const char* value) { SetJwksUri(value); return *this;}
156
158
162 inline const Aws::String& GetScope() const{ return m_scope; }
163 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
164 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
165 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
166 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
167 inline OidcConfig& WithScope(const Aws::String& value) { SetScope(value); return *this;}
168 inline OidcConfig& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
169 inline OidcConfig& WithScope(const char* value) { SetScope(value); return *this;}
171
173
177 inline const Aws::Map<Aws::String, Aws::String>& GetAuthenticationRequestExtraParams() const{ return m_authenticationRequestExtraParams; }
178 inline bool AuthenticationRequestExtraParamsHasBeenSet() const { return m_authenticationRequestExtraParamsHasBeenSet; }
179 inline void SetAuthenticationRequestExtraParams(const Aws::Map<Aws::String, Aws::String>& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = value; }
180 inline void SetAuthenticationRequestExtraParams(Aws::Map<Aws::String, Aws::String>&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = std::move(value); }
183 inline OidcConfig& AddAuthenticationRequestExtraParams(const Aws::String& key, const Aws::String& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, value); return *this; }
184 inline OidcConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, const Aws::String& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), value); return *this; }
185 inline OidcConfig& AddAuthenticationRequestExtraParams(const Aws::String& key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, std::move(value)); return *this; }
186 inline OidcConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), std::move(value)); return *this; }
187 inline OidcConfig& AddAuthenticationRequestExtraParams(const char* key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, std::move(value)); return *this; }
188 inline OidcConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, const char* value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), value); return *this; }
189 inline OidcConfig& AddAuthenticationRequestExtraParams(const char* key, const char* value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, value); return *this; }
191 private:
192
193 Aws::String m_clientId;
194 bool m_clientIdHasBeenSet = false;
195
196 Aws::String m_clientSecret;
197 bool m_clientSecretHasBeenSet = false;
198
199 Aws::String m_issuer;
200 bool m_issuerHasBeenSet = false;
201
202 Aws::String m_authorizationEndpoint;
203 bool m_authorizationEndpointHasBeenSet = false;
204
205 Aws::String m_tokenEndpoint;
206 bool m_tokenEndpointHasBeenSet = false;
207
208 Aws::String m_userInfoEndpoint;
209 bool m_userInfoEndpointHasBeenSet = false;
210
211 Aws::String m_logoutEndpoint;
212 bool m_logoutEndpointHasBeenSet = false;
213
214 Aws::String m_jwksUri;
215 bool m_jwksUriHasBeenSet = false;
216
217 Aws::String m_scope;
218 bool m_scopeHasBeenSet = false;
219
220 Aws::Map<Aws::String, Aws::String> m_authenticationRequestExtraParams;
221 bool m_authenticationRequestExtraParamsHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace SageMaker
226} // namespace Aws
const Aws::String & GetUserInfoEndpoint() const
Definition OidcConfig.h:118
OidcConfig & AddAuthenticationRequestExtraParams(const Aws::String &key, Aws::String &&value)
Definition OidcConfig.h:185
OidcConfig & WithJwksUri(const Aws::String &value)
Definition OidcConfig.h:152
OidcConfig & WithLogoutEndpoint(const char *value)
Definition OidcConfig.h:139
OidcConfig & WithUserInfoEndpoint(Aws::String &&value)
Definition OidcConfig.h:124
OidcConfig & WithClientId(const char *value)
Definition OidcConfig.h:53
void SetAuthorizationEndpoint(const Aws::String &value)
Definition OidcConfig.h:91
OidcConfig & WithIssuer(Aws::String &&value)
Definition OidcConfig.h:80
OidcConfig & WithScope(const Aws::String &value)
Definition OidcConfig.h:167
OidcConfig & WithUserInfoEndpoint(const char *value)
Definition OidcConfig.h:125
OidcConfig & AddAuthenticationRequestExtraParams(const char *key, const char *value)
Definition OidcConfig.h:189
void SetIssuer(const char *value)
Definition OidcConfig.h:78
const Aws::String & GetJwksUri() const
Definition OidcConfig.h:147
OidcConfig & WithTokenEndpoint(const char *value)
Definition OidcConfig.h:110
void SetIssuer(const Aws::String &value)
Definition OidcConfig.h:76
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTokenEndpoint(const char *value)
Definition OidcConfig.h:107
OidcConfig & WithTokenEndpoint(Aws::String &&value)
Definition OidcConfig.h:109
void SetAuthenticationRequestExtraParams(Aws::Map< Aws::String, Aws::String > &&value)
Definition OidcConfig.h:180
AWS_SAGEMAKER_API OidcConfig()
OidcConfig & WithScope(const char *value)
Definition OidcConfig.h:169
void SetTokenEndpoint(const Aws::String &value)
Definition OidcConfig.h:105
OidcConfig & WithScope(Aws::String &&value)
Definition OidcConfig.h:168
OidcConfig & WithClientSecret(const Aws::String &value)
Definition OidcConfig.h:65
const Aws::String & GetClientSecret() const
Definition OidcConfig.h:60
void SetTokenEndpoint(Aws::String &&value)
Definition OidcConfig.h:106
OidcConfig & WithTokenEndpoint(const Aws::String &value)
Definition OidcConfig.h:108
void SetScope(const char *value)
Definition OidcConfig.h:166
OidcConfig & WithLogoutEndpoint(Aws::String &&value)
Definition OidcConfig.h:138
void SetClientSecret(const Aws::String &value)
Definition OidcConfig.h:62
void SetLogoutEndpoint(const char *value)
Definition OidcConfig.h:136
void SetAuthorizationEndpoint(const char *value)
Definition OidcConfig.h:93
OidcConfig & WithLogoutEndpoint(const Aws::String &value)
Definition OidcConfig.h:137
OidcConfig & WithAuthorizationEndpoint(Aws::String &&value)
Definition OidcConfig.h:95
void SetAuthorizationEndpoint(Aws::String &&value)
Definition OidcConfig.h:92
OidcConfig & WithAuthorizationEndpoint(const Aws::String &value)
Definition OidcConfig.h:94
OidcConfig & WithClientSecret(const char *value)
Definition OidcConfig.h:67
const Aws::String & GetScope() const
Definition OidcConfig.h:162
void SetUserInfoEndpoint(const char *value)
Definition OidcConfig.h:122
OidcConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, Aws::String &&value)
Definition OidcConfig.h:186
void SetJwksUri(Aws::String &&value)
Definition OidcConfig.h:150
void SetClientId(const Aws::String &value)
Definition OidcConfig.h:48
void SetUserInfoEndpoint(Aws::String &&value)
Definition OidcConfig.h:121
OidcConfig & AddAuthenticationRequestExtraParams(const char *key, Aws::String &&value)
Definition OidcConfig.h:187
OidcConfig & WithIssuer(const Aws::String &value)
Definition OidcConfig.h:79
void SetClientSecret(const char *value)
Definition OidcConfig.h:64
void SetLogoutEndpoint(Aws::String &&value)
Definition OidcConfig.h:135
const Aws::String & GetLogoutEndpoint() const
Definition OidcConfig.h:132
void SetUserInfoEndpoint(const Aws::String &value)
Definition OidcConfig.h:120
OidcConfig & WithClientId(const Aws::String &value)
Definition OidcConfig.h:51
OidcConfig & WithClientSecret(Aws::String &&value)
Definition OidcConfig.h:66
bool AuthenticationRequestExtraParamsHasBeenSet() const
Definition OidcConfig.h:178
OidcConfig & WithAuthenticationRequestExtraParams(Aws::Map< Aws::String, Aws::String > &&value)
Definition OidcConfig.h:182
const Aws::String & GetAuthorizationEndpoint() const
Definition OidcConfig.h:89
OidcConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, const char *value)
Definition OidcConfig.h:188
void SetScope(const Aws::String &value)
Definition OidcConfig.h:164
void SetJwksUri(const char *value)
Definition OidcConfig.h:151
AWS_SAGEMAKER_API OidcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClientId(Aws::String &&value)
Definition OidcConfig.h:49
void SetIssuer(Aws::String &&value)
Definition OidcConfig.h:77
const Aws::String & GetIssuer() const
Definition OidcConfig.h:74
OidcConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, const Aws::String &value)
Definition OidcConfig.h:184
const Aws::String & GetTokenEndpoint() const
Definition OidcConfig.h:103
OidcConfig & AddAuthenticationRequestExtraParams(const Aws::String &key, const Aws::String &value)
Definition OidcConfig.h:183
OidcConfig & WithUserInfoEndpoint(const Aws::String &value)
Definition OidcConfig.h:123
void SetLogoutEndpoint(const Aws::String &value)
Definition OidcConfig.h:134
AWS_SAGEMAKER_API OidcConfig(Aws::Utils::Json::JsonView jsonValue)
OidcConfig & WithIssuer(const char *value)
Definition OidcConfig.h:81
bool AuthorizationEndpointHasBeenSet() const
Definition OidcConfig.h:90
void SetClientSecret(Aws::String &&value)
Definition OidcConfig.h:63
void SetClientId(const char *value)
Definition OidcConfig.h:50
OidcConfig & WithAuthorizationEndpoint(const char *value)
Definition OidcConfig.h:96
const Aws::String & GetClientId() const
Definition OidcConfig.h:46
void SetScope(Aws::String &&value)
Definition OidcConfig.h:165
OidcConfig & WithJwksUri(Aws::String &&value)
Definition OidcConfig.h:153
const Aws::Map< Aws::String, Aws::String > & GetAuthenticationRequestExtraParams() const
Definition OidcConfig.h:177
OidcConfig & WithJwksUri(const char *value)
Definition OidcConfig.h:154
OidcConfig & WithAuthenticationRequestExtraParams(const Aws::Map< Aws::String, Aws::String > &value)
Definition OidcConfig.h:181
OidcConfig & WithClientId(Aws::String &&value)
Definition OidcConfig.h:52
void SetAuthenticationRequestExtraParams(const Aws::Map< Aws::String, Aws::String > &value)
Definition OidcConfig.h:179
void SetJwksUri(const Aws::String &value)
Definition OidcConfig.h:149
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