/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include At least one of your specified cluster subnets is in an Availability Zone
* that does not support Amazon EKS. The exception output specifies the supported
* Availability Zones for your account, from which you can choose subnets for your
* cluster.See Also:
AWS
* API Reference
The Amazon EKS cluster associated with the exception.
*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *The Amazon EKS cluster associated with the exception.
*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *The Amazon EKS cluster associated with the exception.
*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *The Amazon EKS cluster associated with the exception.
*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *The Amazon EKS cluster associated with the exception.
*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *The Amazon EKS cluster associated with the exception.
*/ inline UnsupportedAvailabilityZoneException& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *The Amazon EKS cluster associated with the exception.
*/ inline UnsupportedAvailabilityZoneException& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *The Amazon EKS cluster associated with the exception.
*/ inline UnsupportedAvailabilityZoneException& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *The Amazon EKS managed node group associated with the exception.
*/ inline const Aws::String& GetNodegroupName() const{ return m_nodegroupName; } /** *The Amazon EKS managed node group associated with the exception.
*/ inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; } /** *The Amazon EKS managed node group associated with the exception.
*/ inline void SetNodegroupName(const Aws::String& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = value; } /** *The Amazon EKS managed node group associated with the exception.
*/ inline void SetNodegroupName(Aws::String&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::move(value); } /** *The Amazon EKS managed node group associated with the exception.
*/ inline void SetNodegroupName(const char* value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName.assign(value); } /** *The Amazon EKS managed node group associated with the exception.
*/ inline UnsupportedAvailabilityZoneException& WithNodegroupName(const Aws::String& value) { SetNodegroupName(value); return *this;} /** *The Amazon EKS managed node group associated with the exception.
*/ inline UnsupportedAvailabilityZoneException& WithNodegroupName(Aws::String&& value) { SetNodegroupName(std::move(value)); return *this;} /** *The Amazon EKS managed node group associated with the exception.
*/ inline UnsupportedAvailabilityZoneException& WithNodegroupName(const char* value) { SetNodegroupName(value); return *this;} /** *The supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline const Aws::VectorThe supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline bool ValidZonesHasBeenSet() const { return m_validZonesHasBeenSet; } /** *The supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline void SetValidZones(const Aws::VectorThe supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline void SetValidZones(Aws::VectorThe supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline UnsupportedAvailabilityZoneException& WithValidZones(const Aws::VectorThe supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline UnsupportedAvailabilityZoneException& WithValidZones(Aws::VectorThe supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline UnsupportedAvailabilityZoneException& AddValidZones(const Aws::String& value) { m_validZonesHasBeenSet = true; m_validZones.push_back(value); return *this; } /** *The supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline UnsupportedAvailabilityZoneException& AddValidZones(Aws::String&& value) { m_validZonesHasBeenSet = true; m_validZones.push_back(std::move(value)); return *this; } /** *The supported Availability Zones for your account. Choose subnets in these * Availability Zones for your cluster.
*/ inline UnsupportedAvailabilityZoneException& AddValidZones(const char* value) { m_validZonesHasBeenSet = true; m_validZones.push_back(value); return *this; } private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; Aws::String m_nodegroupName; bool m_nodegroupNameHasBeenSet = false; Aws::Vector