/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The specified resource could not be found. You can view your available
* clusters with ListClusters. You can view your available managed node
* groups with ListNodegroups. Amazon EKS clusters and node groups are
* Region-specific.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 ResourceNotFoundException& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *The Amazon EKS cluster associated with the exception.
*/ inline ResourceNotFoundException& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *The Amazon EKS cluster associated with the exception.
*/ inline ResourceNotFoundException& 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 ResourceNotFoundException& WithNodegroupName(const Aws::String& value) { SetNodegroupName(value); return *this;} /** *The Amazon EKS managed node group associated with the exception.
*/ inline ResourceNotFoundException& WithNodegroupName(Aws::String&& value) { SetNodegroupName(std::move(value)); return *this;} /** *The Amazon EKS managed node group associated with the exception.
*/ inline ResourceNotFoundException& WithNodegroupName(const char* value) { SetNodegroupName(value); return *this;} /** *The Fargate profile associated with the exception.
*/ inline const Aws::String& GetFargateProfileName() const{ return m_fargateProfileName; } /** *The Fargate profile associated with the exception.
*/ inline bool FargateProfileNameHasBeenSet() const { return m_fargateProfileNameHasBeenSet; } /** *The Fargate profile associated with the exception.
*/ inline void SetFargateProfileName(const Aws::String& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = value; } /** *The Fargate profile associated with the exception.
*/ inline void SetFargateProfileName(Aws::String&& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = std::move(value); } /** *The Fargate profile associated with the exception.
*/ inline void SetFargateProfileName(const char* value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName.assign(value); } /** *The Fargate profile associated with the exception.
*/ inline ResourceNotFoundException& WithFargateProfileName(const Aws::String& value) { SetFargateProfileName(value); return *this;} /** *The Fargate profile associated with the exception.
*/ inline ResourceNotFoundException& WithFargateProfileName(Aws::String&& value) { SetFargateProfileName(std::move(value)); return *this;} /** *The Fargate profile associated with the exception.
*/ inline ResourceNotFoundException& WithFargateProfileName(const char* value) { SetFargateProfileName(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 ResourceNotFoundException& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;} inline ResourceNotFoundException& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;} inline ResourceNotFoundException& 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 ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline ResourceNotFoundException& 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_fargateProfileName; bool m_fargateProfileNameHasBeenSet = false; Aws::String m_addonName; bool m_addonNameHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws