AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
InvalidRequestException.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 InvalidRequestException() = 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>
65 InvalidRequestException& WithNodegroupName(NodegroupNameT&& value) {
66 SetNodegroupName(std::forward<NodegroupNameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetAddonName() const { return m_addonName; }
77 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
78 template <typename AddonNameT = Aws::String>
79 void SetAddonName(AddonNameT&& value) {
80 m_addonNameHasBeenSet = true;
81 m_addonName = std::forward<AddonNameT>(value);
82 }
83 template <typename AddonNameT = Aws::String>
85 SetAddonName(std::forward<AddonNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
95 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
96 template <typename SubscriptionIdT = Aws::String>
97 void SetSubscriptionId(SubscriptionIdT&& value) {
98 m_subscriptionIdHasBeenSet = true;
99 m_subscriptionId = std::forward<SubscriptionIdT>(value);
100 }
101 template <typename SubscriptionIdT = Aws::String>
102 InvalidRequestException& WithSubscriptionId(SubscriptionIdT&& value) {
103 SetSubscriptionId(std::forward<SubscriptionIdT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetMessage() const { return m_message; }
113 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
114 template <typename MessageT = Aws::String>
115 void SetMessage(MessageT&& value) {
116 m_messageHasBeenSet = true;
117 m_message = std::forward<MessageT>(value);
118 }
119 template <typename MessageT = Aws::String>
121 SetMessage(std::forward<MessageT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_clusterName;
127
128 Aws::String m_nodegroupName;
129
130 Aws::String m_addonName;
131
132 Aws::String m_subscriptionId;
133
134 Aws::String m_message;
135 bool m_clusterNameHasBeenSet = false;
136 bool m_nodegroupNameHasBeenSet = false;
137 bool m_addonNameHasBeenSet = false;
138 bool m_subscriptionIdHasBeenSet = false;
139 bool m_messageHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace EKS
144} // namespace Aws
InvalidRequestException & WithAddonName(AddonNameT &&value)
AWS_EKS_API InvalidRequestException & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidRequestException & WithSubscriptionId(SubscriptionIdT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidRequestException & WithNodegroupName(NodegroupNameT &&value)
void SetSubscriptionId(SubscriptionIdT &&value)
InvalidRequestException & WithClusterName(ClusterNameT &&value)
InvalidRequestException & WithMessage(MessageT &&value)
AWS_EKS_API InvalidRequestException()=default
AWS_EKS_API InvalidRequestException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue