AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceLimitExceededException.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
33 {
34 public:
35 AWS_EKS_API ResourceLimitExceededException() = default;
39
40
42
45 inline const Aws::String& GetClusterName() const { return m_clusterName; }
46 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
47 template<typename ClusterNameT = Aws::String>
48 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
49 template<typename ClusterNameT = Aws::String>
50 ResourceLimitExceededException& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
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) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::forward<NodegroupNameT>(value); }
61 template<typename NodegroupNameT = Aws::String>
62 ResourceLimitExceededException& WithNodegroupName(NodegroupNameT&& value) { SetNodegroupName(std::forward<NodegroupNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
70 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
71 template<typename SubscriptionIdT = Aws::String>
72 void SetSubscriptionId(SubscriptionIdT&& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = std::forward<SubscriptionIdT>(value); }
73 template<typename SubscriptionIdT = Aws::String>
74 ResourceLimitExceededException& WithSubscriptionId(SubscriptionIdT&& value) { SetSubscriptionId(std::forward<SubscriptionIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetMessage() const { return m_message; }
82 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
83 template<typename MessageT = Aws::String>
84 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
85 template<typename MessageT = Aws::String>
86 ResourceLimitExceededException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
88 private:
89
90 Aws::String m_clusterName;
91 bool m_clusterNameHasBeenSet = false;
92
93 Aws::String m_nodegroupName;
94 bool m_nodegroupNameHasBeenSet = false;
95
96 Aws::String m_subscriptionId;
97 bool m_subscriptionIdHasBeenSet = false;
98
99 Aws::String m_message;
100 bool m_messageHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace EKS
105} // 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