/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace EKS { namespace Model { /** */ class DeleteFargateProfileRequest : public EKSRequest { public: AWS_EKS_API DeleteFargateProfileRequest(); // 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 "DeleteFargateProfile"; } AWS_EKS_API Aws::String SerializePayload() const override; /** *

The name of the Amazon EKS cluster associated with the Fargate profile to * delete.

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

The name of the Amazon EKS cluster associated with the Fargate profile to * delete.

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

The name of the Amazon EKS cluster associated with the Fargate profile to * delete.

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

The name of the Amazon EKS cluster associated with the Fargate profile to * delete.

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

The name of the Amazon EKS cluster associated with the Fargate profile to * delete.

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

The name of the Amazon EKS cluster associated with the Fargate profile to * delete.

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

The name of the Amazon EKS cluster associated with the Fargate profile to * delete.

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

The name of the Amazon EKS cluster associated with the Fargate profile to * delete.

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

The name of the Fargate profile to delete.

*/ inline const Aws::String& GetFargateProfileName() const{ return m_fargateProfileName; } /** *

The name of the Fargate profile to delete.

*/ inline bool FargateProfileNameHasBeenSet() const { return m_fargateProfileNameHasBeenSet; } /** *

The name of the Fargate profile to delete.

*/ inline void SetFargateProfileName(const Aws::String& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = value; } /** *

The name of the Fargate profile to delete.

*/ inline void SetFargateProfileName(Aws::String&& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = std::move(value); } /** *

The name of the Fargate profile to delete.

*/ inline void SetFargateProfileName(const char* value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName.assign(value); } /** *

The name of the Fargate profile to delete.

*/ inline DeleteFargateProfileRequest& WithFargateProfileName(const Aws::String& value) { SetFargateProfileName(value); return *this;} /** *

The name of the Fargate profile to delete.

*/ inline DeleteFargateProfileRequest& WithFargateProfileName(Aws::String&& value) { SetFargateProfileName(std::move(value)); return *this;} /** *

The name of the Fargate profile to delete.

*/ inline DeleteFargateProfileRequest& WithFargateProfileName(const char* value) { SetFargateProfileName(value); return *this;} private: Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; Aws::String m_fargateProfileName; bool m_fargateProfileNameHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws