/** * 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 an identity provider.

See Also:

AWS API * Reference

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

An object representing the OpenID * Connect identity provider information.

*/ inline const OIDC& GetOidc() const{ return m_oidc; } /** *

An object representing the OpenID * Connect identity provider information.

*/ inline bool OidcHasBeenSet() const { return m_oidcHasBeenSet; } /** *

An object representing the OpenID * Connect identity provider information.

*/ inline void SetOidc(const OIDC& value) { m_oidcHasBeenSet = true; m_oidc = value; } /** *

An object representing the OpenID * Connect identity provider information.

*/ inline void SetOidc(OIDC&& value) { m_oidcHasBeenSet = true; m_oidc = std::move(value); } /** *

An object representing the OpenID * Connect identity provider information.

*/ inline Identity& WithOidc(const OIDC& value) { SetOidc(value); return *this;} /** *

An object representing the OpenID * Connect identity provider information.

*/ inline Identity& WithOidc(OIDC&& value) { SetOidc(std::move(value)); return *this;} private: OIDC m_oidc; bool m_oidcHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws