/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace EKS { namespace Model { /** */ class DescribeIdentityProviderConfigRequest : public EKSRequest { public: AWS_EKS_API DescribeIdentityProviderConfigRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeIdentityProviderConfig"; } AWS_EKS_API Aws::String SerializePayload() const override; /** *

The cluster name that the identity provider configuration is associated * to.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *

The cluster name that the identity provider configuration is associated * to.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *

The cluster name that the identity provider configuration is associated * to.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *

The cluster name that the identity provider configuration is associated * to.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *

The cluster name that the identity provider configuration is associated * to.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *

The cluster name that the identity provider configuration is associated * to.

*/ inline DescribeIdentityProviderConfigRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *

The cluster name that the identity provider configuration is associated * to.

*/ inline DescribeIdentityProviderConfigRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *

The cluster name that the identity provider configuration is associated * to.

*/ inline DescribeIdentityProviderConfigRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *

An object representing an identity provider configuration.

*/ inline const IdentityProviderConfig& GetIdentityProviderConfig() const{ return m_identityProviderConfig; } /** *

An object representing an identity provider configuration.

*/ inline bool IdentityProviderConfigHasBeenSet() const { return m_identityProviderConfigHasBeenSet; } /** *

An object representing an identity provider configuration.

*/ inline void SetIdentityProviderConfig(const IdentityProviderConfig& value) { m_identityProviderConfigHasBeenSet = true; m_identityProviderConfig = value; } /** *

An object representing an identity provider configuration.

*/ inline void SetIdentityProviderConfig(IdentityProviderConfig&& value) { m_identityProviderConfigHasBeenSet = true; m_identityProviderConfig = std::move(value); } /** *

An object representing an identity provider configuration.

*/ inline DescribeIdentityProviderConfigRequest& WithIdentityProviderConfig(const IdentityProviderConfig& value) { SetIdentityProviderConfig(value); return *this;} /** *

An object representing an identity provider configuration.

*/ inline DescribeIdentityProviderConfigRequest& WithIdentityProviderConfig(IdentityProviderConfig&& value) { SetIdentityProviderConfig(std::move(value)); return *this;} private: Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; IdentityProviderConfig m_identityProviderConfig; bool m_identityProviderConfigHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws