/** * 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 EKS { namespace Model { /** *

An object representing the OpenID * Connect (OIDC) identity provider information for the cluster.

See * Also:

AWS API * Reference

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

The issuer URL for the OIDC identity provider.

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

The issuer URL for the OIDC identity provider.

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

The issuer URL for the OIDC identity provider.

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

The issuer URL for the OIDC identity provider.

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

The issuer URL for the OIDC identity provider.

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

The issuer URL for the OIDC identity provider.

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

The issuer URL for the OIDC identity provider.

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

The issuer URL for the OIDC identity provider.

*/ inline OIDC& WithIssuer(const char* value) { SetIssuer(value); return *this;} private: Aws::String m_issuer; bool m_issuerHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws