AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ResourceLimitExceededException.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
29 public:
30 AWS_EKS_API ResourceLimitExceededException() = default;
34
36
39 inline const Aws::String& GetClusterName() const { return m_clusterName; }
40 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
41 template <typename ClusterNameT = Aws::String>
42 void SetClusterName(ClusterNameT&& value) {
43 m_clusterNameHasBeenSet = true;
44 m_clusterName = std::forward<ClusterNameT>(value);
45 }
46 template <typename ClusterNameT = Aws::String>
48 SetClusterName(std::forward<ClusterNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetNodegroupName() const { return m_nodegroupName; }
58 inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
59 template <typename NodegroupNameT = Aws::String>
60 void SetNodegroupName(NodegroupNameT&& value) {
61 m_nodegroupNameHasBeenSet = true;
62 m_nodegroupName = std::forward<NodegroupNameT>(value);
63 }
64 template <typename NodegroupNameT = Aws::String>
66 SetNodegroupName(std::forward<NodegroupNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
76 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
77 template <typename SubscriptionIdT = Aws::String>
78 void SetSubscriptionId(SubscriptionIdT&& value) {
79 m_subscriptionIdHasBeenSet = true;
80 m_subscriptionId = std::forward<SubscriptionIdT>(value);
81 }
82 template <typename SubscriptionIdT = Aws::String>
84 SetSubscriptionId(std::forward<SubscriptionIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetMessage() const { return m_message; }
94 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
95 template <typename MessageT = Aws::String>
96 void SetMessage(MessageT&& value) {
97 m_messageHasBeenSet = true;
98 m_message = std::forward<MessageT>(value);
99 }
100 template <typename MessageT = Aws::String>
102 SetMessage(std::forward<MessageT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_clusterName;
108
109 Aws::String m_nodegroupName;
110
111 Aws::String m_subscriptionId;
112
113 Aws::String m_message;
114 bool m_clusterNameHasBeenSet = false;
115 bool m_nodegroupNameHasBeenSet = false;
116 bool m_subscriptionIdHasBeenSet = false;
117 bool m_messageHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace EKS
122} // namespace Aws
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceLimitExceededException & WithNodegroupName(NodegroupNameT &&value)
AWS_EKS_API ResourceLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
ResourceLimitExceededException & WithMessage(MessageT &&value)
ResourceLimitExceededException & WithSubscriptionId(SubscriptionIdT &&value)
ResourceLimitExceededException & WithClusterName(ClusterNameT &&value)
AWS_EKS_API ResourceLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue