AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceInUseException.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EKS
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_EKS_API ResourceInUseException() = default;
38
39
41
44 inline const Aws::String& GetClusterName() const { return m_clusterName; }
45 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
46 template<typename ClusterNameT = Aws::String>
47 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
48 template<typename ClusterNameT = Aws::String>
49 ResourceInUseException& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetNodegroupName() const { return m_nodegroupName; }
57 inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
58 template<typename NodegroupNameT = Aws::String>
59 void SetNodegroupName(NodegroupNameT&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::forward<NodegroupNameT>(value); }
60 template<typename NodegroupNameT = Aws::String>
61 ResourceInUseException& WithNodegroupName(NodegroupNameT&& value) { SetNodegroupName(std::forward<NodegroupNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetAddonName() const { return m_addonName; }
69 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
70 template<typename AddonNameT = Aws::String>
71 void SetAddonName(AddonNameT&& value) { m_addonNameHasBeenSet = true; m_addonName = std::forward<AddonNameT>(value); }
72 template<typename AddonNameT = Aws::String>
73 ResourceInUseException& WithAddonName(AddonNameT&& value) { SetAddonName(std::forward<AddonNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetMessage() const { return m_message; }
81 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
82 template<typename MessageT = Aws::String>
83 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
84 template<typename MessageT = Aws::String>
85 ResourceInUseException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
87 private:
88
89 Aws::String m_clusterName;
90 bool m_clusterNameHasBeenSet = false;
91
92 Aws::String m_nodegroupName;
93 bool m_nodegroupNameHasBeenSet = false;
94
95 Aws::String m_addonName;
96 bool m_addonNameHasBeenSet = false;
97
98 Aws::String m_message;
99 bool m_messageHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace EKS
104} // namespace Aws
ResourceInUseException & WithNodegroupName(NodegroupNameT &&value)
ResourceInUseException & WithAddonName(AddonNameT &&value)
void SetNodegroupName(NodegroupNameT &&value)
ResourceInUseException & WithMessage(MessageT &&value)
AWS_EKS_API ResourceInUseException(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API ResourceInUseException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceInUseException & WithClusterName(ClusterNameT &&value)
AWS_EKS_API ResourceInUseException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue