/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include These errors are usually caused by a client action. Actions can include using
* an action or resource on behalf of a user that doesn't have permissions to use
* the action or resource or specifying an identifier that is not
* valid.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 ClientException& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *The Amazon EKS cluster associated with the exception.
*/ inline ClientException& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *The Amazon EKS cluster associated with the exception.
*/ inline ClientException& 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 ClientException& WithNodegroupName(const Aws::String& value) { SetNodegroupName(value); return *this;} /** *The Amazon EKS managed node group associated with the exception.
*/ inline ClientException& WithNodegroupName(Aws::String&& value) { SetNodegroupName(std::move(value)); return *this;} /** *The Amazon EKS managed node group associated with the exception.
*/ inline ClientException& WithNodegroupName(const char* value) { SetNodegroupName(value); return *this;} inline const Aws::String& GetAddonName() const{ return m_addonName; } inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; } inline void SetAddonName(const Aws::String& value) { m_addonNameHasBeenSet = true; m_addonName = value; } inline void SetAddonName(Aws::String&& value) { m_addonNameHasBeenSet = true; m_addonName = std::move(value); } inline void SetAddonName(const char* value) { m_addonNameHasBeenSet = true; m_addonName.assign(value); } inline ClientException& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;} inline ClientException& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;} inline ClientException& WithAddonName(const char* value) { SetAddonName(value); return *this;} inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } inline ClientException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline ClientException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline ClientException& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; Aws::String m_nodegroupName; bool m_nodegroupNameHasBeenSet = false; Aws::String m_addonName; bool m_addonNameHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws