208 lines
7.0 KiB
C++
208 lines
7.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/eks/EKS_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace EKS
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>The specified resource could not be found. You can view your available
|
|
* clusters with <a>ListClusters</a>. You can view your available managed node
|
|
* groups with <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
|
|
* Region-specific.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ResourceNotFoundException">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_EKS_API ResourceNotFoundException
|
|
{
|
|
public:
|
|
ResourceNotFoundException();
|
|
ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue);
|
|
ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
*/
|
|
inline const Aws::String& GetClusterName() const{ return m_clusterName; }
|
|
|
|
/**
|
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
*/
|
|
inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
*/
|
|
inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
|
|
|
|
/**
|
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
*/
|
|
inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
*/
|
|
inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithClusterName(const char* value) { SetClusterName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
*/
|
|
inline const Aws::String& GetNodegroupName() const{ return m_nodegroupName; }
|
|
|
|
/**
|
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
*/
|
|
inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
*/
|
|
inline void SetNodegroupName(const Aws::String& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = value; }
|
|
|
|
/**
|
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
*/
|
|
inline void SetNodegroupName(Aws::String&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
*/
|
|
inline void SetNodegroupName(const char* value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithNodegroupName(const Aws::String& value) { SetNodegroupName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithNodegroupName(Aws::String&& value) { SetNodegroupName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithNodegroupName(const char* value) { SetNodegroupName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Fargate profile associated with the exception.</p>
|
|
*/
|
|
inline const Aws::String& GetFargateProfileName() const{ return m_fargateProfileName; }
|
|
|
|
/**
|
|
* <p>The Fargate profile associated with the exception.</p>
|
|
*/
|
|
inline bool FargateProfileNameHasBeenSet() const { return m_fargateProfileNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Fargate profile associated with the exception.</p>
|
|
*/
|
|
inline void SetFargateProfileName(const Aws::String& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = value; }
|
|
|
|
/**
|
|
* <p>The Fargate profile associated with the exception.</p>
|
|
*/
|
|
inline void SetFargateProfileName(Aws::String&& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Fargate profile associated with the exception.</p>
|
|
*/
|
|
inline void SetFargateProfileName(const char* value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName.assign(value); }
|
|
|
|
/**
|
|
* <p>The Fargate profile associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithFargateProfileName(const Aws::String& value) { SetFargateProfileName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Fargate profile associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithFargateProfileName(Aws::String&& value) { SetFargateProfileName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Fargate profile associated with the exception.</p>
|
|
*/
|
|
inline ResourceNotFoundException& WithFargateProfileName(const char* value) { SetFargateProfileName(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;
|
|
|
|
Aws::String m_nodegroupName;
|
|
bool m_nodegroupNameHasBeenSet;
|
|
|
|
Aws::String m_fargateProfileName;
|
|
bool m_fargateProfileNameHasBeenSet;
|
|
|
|
Aws::String m_message;
|
|
bool m_messageHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace EKS
|
|
} // namespace Aws
|