/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Use this parameter to configure your OIDC Identity Provider * (IdP).

See Also:

AWS * API Reference

*/ class OidcConfig { public: AWS_SAGEMAKER_API OidcConfig(); AWS_SAGEMAKER_API OidcConfig(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API OidcConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The OIDC IdP client ID used to configure your private workforce.

*/ inline const Aws::String& GetClientId() const{ return m_clientId; } /** *

The OIDC IdP client ID used to configure your private workforce.

*/ inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; } /** *

The OIDC IdP client ID used to configure your private workforce.

*/ inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; } /** *

The OIDC IdP client ID used to configure your private workforce.

*/ inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); } /** *

The OIDC IdP client ID used to configure your private workforce.

*/ inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); } /** *

The OIDC IdP client ID used to configure your private workforce.

*/ inline OidcConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;} /** *

The OIDC IdP client ID used to configure your private workforce.

*/ inline OidcConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;} /** *

The OIDC IdP client ID used to configure your private workforce.

*/ inline OidcConfig& WithClientId(const char* value) { SetClientId(value); return *this;} /** *

The OIDC IdP client secret used to configure your private workforce.

*/ inline const Aws::String& GetClientSecret() const{ return m_clientSecret; } /** *

The OIDC IdP client secret used to configure your private workforce.

*/ inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; } /** *

The OIDC IdP client secret used to configure your private workforce.

*/ inline void SetClientSecret(const Aws::String& value) { m_clientSecretHasBeenSet = true; m_clientSecret = value; } /** *

The OIDC IdP client secret used to configure your private workforce.

*/ inline void SetClientSecret(Aws::String&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::move(value); } /** *

The OIDC IdP client secret used to configure your private workforce.

*/ inline void SetClientSecret(const char* value) { m_clientSecretHasBeenSet = true; m_clientSecret.assign(value); } /** *

The OIDC IdP client secret used to configure your private workforce.

*/ inline OidcConfig& WithClientSecret(const Aws::String& value) { SetClientSecret(value); return *this;} /** *

The OIDC IdP client secret used to configure your private workforce.

*/ inline OidcConfig& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;} /** *

The OIDC IdP client secret used to configure your private workforce.

*/ inline OidcConfig& WithClientSecret(const char* value) { SetClientSecret(value); return *this;} /** *

The OIDC IdP issuer used to configure your private workforce.

*/ inline const Aws::String& GetIssuer() const{ return m_issuer; } /** *

The OIDC IdP issuer used to configure your private workforce.

*/ inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; } /** *

The OIDC IdP issuer used to configure your private workforce.

*/ inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; } /** *

The OIDC IdP issuer used to configure your private workforce.

*/ inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); } /** *

The OIDC IdP issuer used to configure your private workforce.

*/ inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); } /** *

The OIDC IdP issuer used to configure your private workforce.

*/ inline OidcConfig& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;} /** *

The OIDC IdP issuer used to configure your private workforce.

*/ inline OidcConfig& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;} /** *

The OIDC IdP issuer used to configure your private workforce.

*/ inline OidcConfig& WithIssuer(const char* value) { SetIssuer(value); return *this;} /** *

The OIDC IdP authorization endpoint used to configure your private * workforce.

*/ inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; } /** *

The OIDC IdP authorization endpoint used to configure your private * workforce.

*/ inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; } /** *

The OIDC IdP authorization endpoint used to configure your private * workforce.

*/ inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; } /** *

The OIDC IdP authorization endpoint used to configure your private * workforce.

*/ inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); } /** *

The OIDC IdP authorization endpoint used to configure your private * workforce.

*/ inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); } /** *

The OIDC IdP authorization endpoint used to configure your private * workforce.

*/ inline OidcConfig& WithAuthorizationEndpoint(const Aws::String& value) { SetAuthorizationEndpoint(value); return *this;} /** *

The OIDC IdP authorization endpoint used to configure your private * workforce.

*/ inline OidcConfig& WithAuthorizationEndpoint(Aws::String&& value) { SetAuthorizationEndpoint(std::move(value)); return *this;} /** *

The OIDC IdP authorization endpoint used to configure your private * workforce.

*/ inline OidcConfig& WithAuthorizationEndpoint(const char* value) { SetAuthorizationEndpoint(value); return *this;} /** *

The OIDC IdP token endpoint used to configure your private workforce.

*/ inline const Aws::String& GetTokenEndpoint() const{ return m_tokenEndpoint; } /** *

The OIDC IdP token endpoint used to configure your private workforce.

*/ inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; } /** *

The OIDC IdP token endpoint used to configure your private workforce.

*/ inline void SetTokenEndpoint(const Aws::String& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = value; } /** *

The OIDC IdP token endpoint used to configure your private workforce.

*/ inline void SetTokenEndpoint(Aws::String&& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = std::move(value); } /** *

The OIDC IdP token endpoint used to configure your private workforce.

*/ inline void SetTokenEndpoint(const char* value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint.assign(value); } /** *

The OIDC IdP token endpoint used to configure your private workforce.

*/ inline OidcConfig& WithTokenEndpoint(const Aws::String& value) { SetTokenEndpoint(value); return *this;} /** *

The OIDC IdP token endpoint used to configure your private workforce.

*/ inline OidcConfig& WithTokenEndpoint(Aws::String&& value) { SetTokenEndpoint(std::move(value)); return *this;} /** *

The OIDC IdP token endpoint used to configure your private workforce.

*/ inline OidcConfig& WithTokenEndpoint(const char* value) { SetTokenEndpoint(value); return *this;} /** *

The OIDC IdP user information endpoint used to configure your private * workforce.

*/ inline const Aws::String& GetUserInfoEndpoint() const{ return m_userInfoEndpoint; } /** *

The OIDC IdP user information endpoint used to configure your private * workforce.

*/ inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; } /** *

The OIDC IdP user information endpoint used to configure your private * workforce.

*/ inline void SetUserInfoEndpoint(const Aws::String& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = value; } /** *

The OIDC IdP user information endpoint used to configure your private * workforce.

*/ inline void SetUserInfoEndpoint(Aws::String&& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = std::move(value); } /** *

The OIDC IdP user information endpoint used to configure your private * workforce.

*/ inline void SetUserInfoEndpoint(const char* value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint.assign(value); } /** *

The OIDC IdP user information endpoint used to configure your private * workforce.

*/ inline OidcConfig& WithUserInfoEndpoint(const Aws::String& value) { SetUserInfoEndpoint(value); return *this;} /** *

The OIDC IdP user information endpoint used to configure your private * workforce.

*/ inline OidcConfig& WithUserInfoEndpoint(Aws::String&& value) { SetUserInfoEndpoint(std::move(value)); return *this;} /** *

The OIDC IdP user information endpoint used to configure your private * workforce.

*/ inline OidcConfig& WithUserInfoEndpoint(const char* value) { SetUserInfoEndpoint(value); return *this;} /** *

The OIDC IdP logout endpoint used to configure your private workforce.

*/ inline const Aws::String& GetLogoutEndpoint() const{ return m_logoutEndpoint; } /** *

The OIDC IdP logout endpoint used to configure your private workforce.

*/ inline bool LogoutEndpointHasBeenSet() const { return m_logoutEndpointHasBeenSet; } /** *

The OIDC IdP logout endpoint used to configure your private workforce.

*/ inline void SetLogoutEndpoint(const Aws::String& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = value; } /** *

The OIDC IdP logout endpoint used to configure your private workforce.

*/ inline void SetLogoutEndpoint(Aws::String&& value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint = std::move(value); } /** *

The OIDC IdP logout endpoint used to configure your private workforce.

*/ inline void SetLogoutEndpoint(const char* value) { m_logoutEndpointHasBeenSet = true; m_logoutEndpoint.assign(value); } /** *

The OIDC IdP logout endpoint used to configure your private workforce.

*/ inline OidcConfig& WithLogoutEndpoint(const Aws::String& value) { SetLogoutEndpoint(value); return *this;} /** *

The OIDC IdP logout endpoint used to configure your private workforce.

*/ inline OidcConfig& WithLogoutEndpoint(Aws::String&& value) { SetLogoutEndpoint(std::move(value)); return *this;} /** *

The OIDC IdP logout endpoint used to configure your private workforce.

*/ inline OidcConfig& WithLogoutEndpoint(const char* value) { SetLogoutEndpoint(value); return *this;} /** *

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private * workforce.

*/ inline const Aws::String& GetJwksUri() const{ return m_jwksUri; } /** *

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private * workforce.

*/ inline bool JwksUriHasBeenSet() const { return m_jwksUriHasBeenSet; } /** *

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private * workforce.

*/ inline void SetJwksUri(const Aws::String& value) { m_jwksUriHasBeenSet = true; m_jwksUri = value; } /** *

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private * workforce.

*/ inline void SetJwksUri(Aws::String&& value) { m_jwksUriHasBeenSet = true; m_jwksUri = std::move(value); } /** *

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private * workforce.

*/ inline void SetJwksUri(const char* value) { m_jwksUriHasBeenSet = true; m_jwksUri.assign(value); } /** *

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private * workforce.

*/ inline OidcConfig& WithJwksUri(const Aws::String& value) { SetJwksUri(value); return *this;} /** *

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private * workforce.

*/ inline OidcConfig& WithJwksUri(Aws::String&& value) { SetJwksUri(std::move(value)); return *this;} /** *

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private * workforce.

*/ inline OidcConfig& WithJwksUri(const char* value) { SetJwksUri(value); return *this;} private: Aws::String m_clientId; bool m_clientIdHasBeenSet = false; Aws::String m_clientSecret; bool m_clientSecretHasBeenSet = false; Aws::String m_issuer; bool m_issuerHasBeenSet = false; Aws::String m_authorizationEndpoint; bool m_authorizationEndpointHasBeenSet = false; Aws::String m_tokenEndpoint; bool m_tokenEndpointHasBeenSet = false; Aws::String m_userInfoEndpoint; bool m_userInfoEndpointHasBeenSet = false; Aws::String m_logoutEndpoint; bool m_logoutEndpointHasBeenSet = false; Aws::String m_jwksUri; bool m_jwksUriHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws