AWS SDK for C++  1.9.154
AWS SDK for C++
OidcConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetClientId() const{ return m_clientId; }
45 
49  inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
50 
54  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
55 
59  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
60 
64  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
65 
69  inline OidcConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
70 
74  inline OidcConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
75 
79  inline OidcConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
80 
81 
85  inline const Aws::String& GetClientSecret() const{ return m_clientSecret; }
86 
90  inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
91 
95  inline void SetClientSecret(const Aws::String& value) { m_clientSecretHasBeenSet = true; m_clientSecret = value; }
96 
100  inline void SetClientSecret(Aws::String&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::move(value); }
101 
105  inline void SetClientSecret(const char* value) { m_clientSecretHasBeenSet = true; m_clientSecret.assign(value); }
106 
110  inline OidcConfig& WithClientSecret(const Aws::String& value) { SetClientSecret(value); return *this;}
111 
115  inline OidcConfig& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;}
116 
120  inline OidcConfig& WithClientSecret(const char* value) { SetClientSecret(value); return *this;}
121 
122 
126  inline const Aws::String& GetIssuer() const{ return m_issuer; }
127 
131  inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
132 
136  inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
137 
141  inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
142 
146  inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
147 
151  inline OidcConfig& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
152 
156  inline OidcConfig& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
157 
161  inline OidcConfig& WithIssuer(const char* value) { SetIssuer(value); return *this;}
162 
163 
168  inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; }
169 
174  inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
175 
180  inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; }
181 
186  inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); }
187 
192  inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); }
193 
198  inline OidcConfig& WithAuthorizationEndpoint(const Aws::String& value) { SetAuthorizationEndpoint(value); return *this;}
199 
204  inline OidcConfig& WithAuthorizationEndpoint(Aws::String&& value) { SetAuthorizationEndpoint(std::move(value)); return *this;}
205 
210  inline OidcConfig& WithAuthorizationEndpoint(const char* value) { SetAuthorizationEndpoint(value); return *this;}
211 
212 
216  inline const Aws::String& GetTokenEndpoint() const{ return m_tokenEndpoint; }
217 
221  inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
222 
226  inline void SetTokenEndpoint(const Aws::String& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = value; }
227 
231  inline void SetTokenEndpoint(Aws::String&& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = std::move(value); }
232 
236  inline void SetTokenEndpoint(const char* value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint.assign(value); }
237 
241  inline OidcConfig& WithTokenEndpoint(const Aws::String& value) { SetTokenEndpoint(value); return *this;}
242 
246  inline OidcConfig& WithTokenEndpoint(Aws::String&& value) { SetTokenEndpoint(std::move(value)); return *this;}
247 
251  inline OidcConfig& WithTokenEndpoint(const char* value) { SetTokenEndpoint(value); return *this;}
252 
253 
258  inline const Aws::String& GetUserInfoEndpoint() const{ return m_userInfoEndpoint; }
259 
264  inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; }
265 
270  inline void SetUserInfoEndpoint(const Aws::String& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = value; }
271 
276  inline void SetUserInfoEndpoint(Aws::String&& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = std::move(value); }
277 
282  inline void SetUserInfoEndpoint(const char* value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint.assign(value); }
283 
288  inline OidcConfig& WithUserInfoEndpoint(const Aws::String& value) { SetUserInfoEndpoint(value); return *this;}
289 
294  inline OidcConfig& WithUserInfoEndpoint(Aws::String&& value) { SetUserInfoEndpoint(std::move(value)); return *this;}
295 
300  inline OidcConfig& WithUserInfoEndpoint(const char* value) { SetUserInfoEndpoint(value); return *this;}
301 
302 
306  inline const Aws::String& GetLogoutEndpoint() const{ return m_logoutEndpoint; }
307 
311  inline bool LogoutEndpointHasBeenSet() const { return m_logoutEndpointHasBeenSet; }
312 
316  inline void SetLogoutEndpoint(const Aws::String& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = value; }
317 
321  inline void SetLogoutEndpoint(Aws::String&& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = std::move(value); }
322 
326  inline void SetLogoutEndpoint(const char* value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint.assign(value); }
327 
331  inline OidcConfig& WithLogoutEndpoint(const Aws::String& value) { SetLogoutEndpoint(value); return *this;}
332 
336  inline OidcConfig& WithLogoutEndpoint(Aws::String&& value) { SetLogoutEndpoint(std::move(value)); return *this;}
337 
341  inline OidcConfig& WithLogoutEndpoint(const char* value) { SetLogoutEndpoint(value); return *this;}
342 
343 
348  inline const Aws::String& GetJwksUri() const{ return m_jwksUri; }
349 
354  inline bool JwksUriHasBeenSet() const { return m_jwksUriHasBeenSet; }
355 
360  inline void SetJwksUri(const Aws::String& value) { m_jwksUriHasBeenSet = true; m_jwksUri = value; }
361 
366  inline void SetJwksUri(Aws::String&& value) { m_jwksUriHasBeenSet = true; m_jwksUri = std::move(value); }
367 
372  inline void SetJwksUri(const char* value) { m_jwksUriHasBeenSet = true; m_jwksUri.assign(value); }
373 
378  inline OidcConfig& WithJwksUri(const Aws::String& value) { SetJwksUri(value); return *this;}
379 
384  inline OidcConfig& WithJwksUri(Aws::String&& value) { SetJwksUri(std::move(value)); return *this;}
385 
390  inline OidcConfig& WithJwksUri(const char* value) { SetJwksUri(value); return *this;}
391 
392  private:
393 
394  Aws::String m_clientId;
395  bool m_clientIdHasBeenSet;
396 
397  Aws::String m_clientSecret;
398  bool m_clientSecretHasBeenSet;
399 
400  Aws::String m_issuer;
401  bool m_issuerHasBeenSet;
402 
403  Aws::String m_authorizationEndpoint;
404  bool m_authorizationEndpointHasBeenSet;
405 
406  Aws::String m_tokenEndpoint;
407  bool m_tokenEndpointHasBeenSet;
408 
409  Aws::String m_userInfoEndpoint;
410  bool m_userInfoEndpointHasBeenSet;
411 
412  Aws::String m_logoutEndpoint;
413  bool m_logoutEndpointHasBeenSet;
414 
415  Aws::String m_jwksUri;
416  bool m_jwksUriHasBeenSet;
417  };
418 
419 } // namespace Model
420 } // namespace SageMaker
421 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::OidcConfig::SetLogoutEndpoint
void SetLogoutEndpoint(const Aws::String &value)
Definition: OidcConfig.h:316
Aws::SageMaker::Model::OidcConfig::SetAuthorizationEndpoint
void SetAuthorizationEndpoint(const Aws::String &value)
Definition: OidcConfig.h:180
Aws::SageMaker::Model::OidcConfig::GetTokenEndpoint
const Aws::String & GetTokenEndpoint() const
Definition: OidcConfig.h:216
SageMaker_EXPORTS.h
Aws::SageMaker::Model::OidcConfig::SetJwksUri
void SetJwksUri(const Aws::String &value)
Definition: OidcConfig.h:360
Aws::SageMaker::Model::OidcConfig::ClientSecretHasBeenSet
bool ClientSecretHasBeenSet() const
Definition: OidcConfig.h:90
Aws::SageMaker::Model::OidcConfig::GetLogoutEndpoint
const Aws::String & GetLogoutEndpoint() const
Definition: OidcConfig.h:306
Aws::SageMaker::Model::OidcConfig::SetIssuer
void SetIssuer(const char *value)
Definition: OidcConfig.h:146
Aws::SageMaker::Model::OidcConfig::WithAuthorizationEndpoint
OidcConfig & WithAuthorizationEndpoint(Aws::String &&value)
Definition: OidcConfig.h:204
Aws::SageMaker::Model::OidcConfig::SetTokenEndpoint
void SetTokenEndpoint(Aws::String &&value)
Definition: OidcConfig.h:231
Aws::SageMaker::Model::OidcConfig::WithAuthorizationEndpoint
OidcConfig & WithAuthorizationEndpoint(const char *value)
Definition: OidcConfig.h:210
Aws::SageMaker::Model::OidcConfig::WithClientId
OidcConfig & WithClientId(const char *value)
Definition: OidcConfig.h:79
Aws::SageMaker::Model::OidcConfig::WithIssuer
OidcConfig & WithIssuer(Aws::String &&value)
Definition: OidcConfig.h:156
Aws::SageMaker::Model::OidcConfig::WithTokenEndpoint
OidcConfig & WithTokenEndpoint(Aws::String &&value)
Definition: OidcConfig.h:246
Aws::SageMaker::Model::OidcConfig::WithClientId
OidcConfig & WithClientId(Aws::String &&value)
Definition: OidcConfig.h:74
Aws::SageMaker::Model::OidcConfig::SetUserInfoEndpoint
void SetUserInfoEndpoint(const Aws::String &value)
Definition: OidcConfig.h:270
Aws::SageMaker::Model::OidcConfig::SetIssuer
void SetIssuer(Aws::String &&value)
Definition: OidcConfig.h:141
Aws::SageMaker::Model::OidcConfig::IssuerHasBeenSet
bool IssuerHasBeenSet() const
Definition: OidcConfig.h:131
Aws::SageMaker::Model::OidcConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::OidcConfig::SetJwksUri
void SetJwksUri(const char *value)
Definition: OidcConfig.h:372
Aws::SageMaker::Model::OidcConfig::WithUserInfoEndpoint
OidcConfig & WithUserInfoEndpoint(Aws::String &&value)
Definition: OidcConfig.h:294
Aws::SageMaker::Model::OidcConfig::TokenEndpointHasBeenSet
bool TokenEndpointHasBeenSet() const
Definition: OidcConfig.h:221
Aws::SageMaker::Model::OidcConfig::WithLogoutEndpoint
OidcConfig & WithLogoutEndpoint(const char *value)
Definition: OidcConfig.h:341
Aws::SageMaker::Model::OidcConfig::SetClientId
void SetClientId(Aws::String &&value)
Definition: OidcConfig.h:59
Aws::SageMaker::Model::OidcConfig::WithUserInfoEndpoint
OidcConfig & WithUserInfoEndpoint(const char *value)
Definition: OidcConfig.h:300
Aws::SageMaker::Model::OidcConfig::SetLogoutEndpoint
void SetLogoutEndpoint(Aws::String &&value)
Definition: OidcConfig.h:321
Aws::SageMaker::Model::OidcConfig::SetTokenEndpoint
void SetTokenEndpoint(const Aws::String &value)
Definition: OidcConfig.h:226
Aws::SageMaker::Model::OidcConfig::WithClientSecret
OidcConfig & WithClientSecret(const char *value)
Definition: OidcConfig.h:120
Aws::SageMaker::Model::OidcConfig::SetLogoutEndpoint
void SetLogoutEndpoint(const char *value)
Definition: OidcConfig.h:326
Aws::SageMaker::Model::OidcConfig::GetClientId
const Aws::String & GetClientId() const
Definition: OidcConfig.h:44
Aws::SageMaker::Model::OidcConfig::SetClientId
void SetClientId(const char *value)
Definition: OidcConfig.h:64
Aws::SageMaker::Model::OidcConfig::WithAuthorizationEndpoint
OidcConfig & WithAuthorizationEndpoint(const Aws::String &value)
Definition: OidcConfig.h:198
Aws::SageMaker::Model::OidcConfig::WithIssuer
OidcConfig & WithIssuer(const char *value)
Definition: OidcConfig.h:161
Aws::SageMaker::Model::OidcConfig::WithClientId
OidcConfig & WithClientId(const Aws::String &value)
Definition: OidcConfig.h:69
Aws::SageMaker::Model::OidcConfig::GetClientSecret
const Aws::String & GetClientSecret() const
Definition: OidcConfig.h:85
Aws::SageMaker::Model::OidcConfig
Definition: OidcConfig.h:33
Aws::SageMaker::Model::OidcConfig::WithClientSecret
OidcConfig & WithClientSecret(Aws::String &&value)
Definition: OidcConfig.h:115
Aws::SageMaker::Model::OidcConfig::WithTokenEndpoint
OidcConfig & WithTokenEndpoint(const char *value)
Definition: OidcConfig.h:251
Aws::SageMaker::Model::OidcConfig::SetClientSecret
void SetClientSecret(const Aws::String &value)
Definition: OidcConfig.h:95
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::OidcConfig::WithJwksUri
OidcConfig & WithJwksUri(const char *value)
Definition: OidcConfig.h:390
Aws::SageMaker::Model::OidcConfig::SetIssuer
void SetIssuer(const Aws::String &value)
Definition: OidcConfig.h:136
Aws::SageMaker::Model::OidcConfig::SetJwksUri
void SetJwksUri(Aws::String &&value)
Definition: OidcConfig.h:366
Aws::SageMaker::Model::OidcConfig::JwksUriHasBeenSet
bool JwksUriHasBeenSet() const
Definition: OidcConfig.h:354
Aws::SageMaker::Model::OidcConfig::SetUserInfoEndpoint
void SetUserInfoEndpoint(const char *value)
Definition: OidcConfig.h:282
Aws::SageMaker::Model::OidcConfig::WithLogoutEndpoint
OidcConfig & WithLogoutEndpoint(const Aws::String &value)
Definition: OidcConfig.h:331
Aws::SageMaker::Model::OidcConfig::WithLogoutEndpoint
OidcConfig & WithLogoutEndpoint(Aws::String &&value)
Definition: OidcConfig.h:336
Aws::SageMaker::Model::OidcConfig::SetTokenEndpoint
void SetTokenEndpoint(const char *value)
Definition: OidcConfig.h:236
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::OidcConfig::WithIssuer
OidcConfig & WithIssuer(const Aws::String &value)
Definition: OidcConfig.h:151
AWSString.h
Aws::SageMaker::Model::OidcConfig::WithJwksUri
OidcConfig & WithJwksUri(Aws::String &&value)
Definition: OidcConfig.h:384
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::OidcConfig::SetClientSecret
void SetClientSecret(Aws::String &&value)
Definition: OidcConfig.h:100
Aws::SageMaker::Model::OidcConfig::SetClientSecret
void SetClientSecret(const char *value)
Definition: OidcConfig.h:105
Aws::SageMaker::Model::OidcConfig::SetAuthorizationEndpoint
void SetAuthorizationEndpoint(const char *value)
Definition: OidcConfig.h:192
Aws::SageMaker::Model::OidcConfig::SetAuthorizationEndpoint
void SetAuthorizationEndpoint(Aws::String &&value)
Definition: OidcConfig.h:186
Aws::SageMaker::Model::OidcConfig::operator=
OidcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::OidcConfig::GetIssuer
const Aws::String & GetIssuer() const
Definition: OidcConfig.h:126
Aws::SageMaker::Model::OidcConfig::WithJwksUri
OidcConfig & WithJwksUri(const Aws::String &value)
Definition: OidcConfig.h:378
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::OidcConfig::AuthorizationEndpointHasBeenSet
bool AuthorizationEndpointHasBeenSet() const
Definition: OidcConfig.h:174
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::OidcConfig::ClientIdHasBeenSet
bool ClientIdHasBeenSet() const
Definition: OidcConfig.h:49
Aws::SageMaker::Model::OidcConfig::GetJwksUri
const Aws::String & GetJwksUri() const
Definition: OidcConfig.h:348
Aws::SageMaker::Model::OidcConfig::SetClientId
void SetClientId(const Aws::String &value)
Definition: OidcConfig.h:54
Aws::SageMaker::Model::OidcConfig::GetUserInfoEndpoint
const Aws::String & GetUserInfoEndpoint() const
Definition: OidcConfig.h:258
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::OidcConfig::WithTokenEndpoint
OidcConfig & WithTokenEndpoint(const Aws::String &value)
Definition: OidcConfig.h:241
Aws::SageMaker::Model::OidcConfig::GetAuthorizationEndpoint
const Aws::String & GetAuthorizationEndpoint() const
Definition: OidcConfig.h:168
Aws::SageMaker::Model::OidcConfig::WithUserInfoEndpoint
OidcConfig & WithUserInfoEndpoint(const Aws::String &value)
Definition: OidcConfig.h:288
Aws::SageMaker::Model::OidcConfig::OidcConfig
OidcConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::OidcConfig::UserInfoEndpointHasBeenSet
bool UserInfoEndpointHasBeenSet() const
Definition: OidcConfig.h:264
Aws::SageMaker::Model::OidcConfig::LogoutEndpointHasBeenSet
bool LogoutEndpointHasBeenSet() const
Definition: OidcConfig.h:311
Aws::SageMaker::Model::OidcConfig::SetUserInfoEndpoint
void SetUserInfoEndpoint(Aws::String &&value)
Definition: OidcConfig.h:276
Aws::SageMaker::Model::OidcConfig::WithClientSecret
OidcConfig & WithClientSecret(const Aws::String &value)
Definition: OidcConfig.h:110
Aws::SageMaker::Model::OidcConfig::OidcConfig
OidcConfig()