/** * 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 { /** *

The placement configuration for all the control plane instances of your local * Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see * Capacity * considerations in the Amazon EKS User Guide

See Also:

* AWS * API Reference

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

The name of the placement group for the Kubernetes control plane instances. * This setting can't be changed after cluster creation.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The name of the placement group for the Kubernetes control plane instances. * This setting can't be changed after cluster creation.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The name of the placement group for the Kubernetes control plane instances. * This setting can't be changed after cluster creation.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The name of the placement group for the Kubernetes control plane instances. * This setting can't be changed after cluster creation.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The name of the placement group for the Kubernetes control plane instances. * This setting can't be changed after cluster creation.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The name of the placement group for the Kubernetes control plane instances. * This setting can't be changed after cluster creation.

*/ inline ControlPlanePlacementRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The name of the placement group for the Kubernetes control plane instances. * This setting can't be changed after cluster creation.

*/ inline ControlPlanePlacementRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The name of the placement group for the Kubernetes control plane instances. * This setting can't be changed after cluster creation.

*/ inline ControlPlanePlacementRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;} private: Aws::String m_groupName; bool m_groupNameHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws