AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EKS {
20namespace Model {
21
31 public:
32 AWS_EKS_API ResourceNotFoundException() = default;
36
38
41 inline const Aws::String& GetClusterName() const { return m_clusterName; }
42 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
43 template <typename ClusterNameT = Aws::String>
44 void SetClusterName(ClusterNameT&& value) {
45 m_clusterNameHasBeenSet = true;
46 m_clusterName = std::forward<ClusterNameT>(value);
47 }
48 template <typename ClusterNameT = Aws::String>
50 SetClusterName(std::forward<ClusterNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetNodegroupName() const { return m_nodegroupName; }
60 inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
61 template <typename NodegroupNameT = Aws::String>
62 void SetNodegroupName(NodegroupNameT&& value) {
63 m_nodegroupNameHasBeenSet = true;
64 m_nodegroupName = std::forward<NodegroupNameT>(value);
65 }
66 template <typename NodegroupNameT = Aws::String>
68 SetNodegroupName(std::forward<NodegroupNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetFargateProfileName() const { return m_fargateProfileName; }
78 inline bool FargateProfileNameHasBeenSet() const { return m_fargateProfileNameHasBeenSet; }
79 template <typename FargateProfileNameT = Aws::String>
80 void SetFargateProfileName(FargateProfileNameT&& value) {
81 m_fargateProfileNameHasBeenSet = true;
82 m_fargateProfileName = std::forward<FargateProfileNameT>(value);
83 }
84 template <typename FargateProfileNameT = Aws::String>
85 ResourceNotFoundException& WithFargateProfileName(FargateProfileNameT&& value) {
86 SetFargateProfileName(std::forward<FargateProfileNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetAddonName() const { return m_addonName; }
96 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
97 template <typename AddonNameT = Aws::String>
98 void SetAddonName(AddonNameT&& value) {
99 m_addonNameHasBeenSet = true;
100 m_addonName = std::forward<AddonNameT>(value);
101 }
102 template <typename AddonNameT = Aws::String>
104 SetAddonName(std::forward<AddonNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
114 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
115 template <typename SubscriptionIdT = Aws::String>
116 void SetSubscriptionId(SubscriptionIdT&& value) {
117 m_subscriptionIdHasBeenSet = true;
118 m_subscriptionId = std::forward<SubscriptionIdT>(value);
119 }
120 template <typename SubscriptionIdT = Aws::String>
122 SetSubscriptionId(std::forward<SubscriptionIdT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetMessage() const { return m_message; }
132 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
133 template <typename MessageT = Aws::String>
134 void SetMessage(MessageT&& value) {
135 m_messageHasBeenSet = true;
136 m_message = std::forward<MessageT>(value);
137 }
138 template <typename MessageT = Aws::String>
140 SetMessage(std::forward<MessageT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_clusterName;
146
147 Aws::String m_nodegroupName;
148
149 Aws::String m_fargateProfileName;
150
151 Aws::String m_addonName;
152
153 Aws::String m_subscriptionId;
154
155 Aws::String m_message;
156 bool m_clusterNameHasBeenSet = false;
157 bool m_nodegroupNameHasBeenSet = false;
158 bool m_fargateProfileNameHasBeenSet = false;
159 bool m_addonNameHasBeenSet = false;
160 bool m_subscriptionIdHasBeenSet = false;
161 bool m_messageHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace EKS
166} // namespace Aws
AWS_EKS_API ResourceNotFoundException()=default
ResourceNotFoundException & WithClusterName(ClusterNameT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceNotFoundException & WithFargateProfileName(FargateProfileNameT &&value)
ResourceNotFoundException & WithSubscriptionId(SubscriptionIdT &&value)
ResourceNotFoundException & WithMessage(MessageT &&value)
AWS_EKS_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithAddonName(AddonNameT &&value)
void SetFargateProfileName(FargateProfileNameT &&value)
AWS_EKS_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithNodegroupName(NodegroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue