AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
InvalidParameterException.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 InvalidParameterException() = 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& GetFargateProfileName() const { return m_fargateProfileName; }
76 inline bool FargateProfileNameHasBeenSet() const { return m_fargateProfileNameHasBeenSet; }
77 template <typename FargateProfileNameT = Aws::String>
78 void SetFargateProfileName(FargateProfileNameT&& value) {
79 m_fargateProfileNameHasBeenSet = true;
80 m_fargateProfileName = std::forward<FargateProfileNameT>(value);
81 }
82 template <typename FargateProfileNameT = Aws::String>
83 InvalidParameterException& WithFargateProfileName(FargateProfileNameT&& value) {
84 SetFargateProfileName(std::forward<FargateProfileNameT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetAddonName() const { return m_addonName; }
95 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
96 template <typename AddonNameT = Aws::String>
97 void SetAddonName(AddonNameT&& value) {
98 m_addonNameHasBeenSet = true;
99 m_addonName = std::forward<AddonNameT>(value);
100 }
101 template <typename AddonNameT = Aws::String>
103 SetAddonName(std::forward<AddonNameT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
113 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
114 template <typename SubscriptionIdT = Aws::String>
115 void SetSubscriptionId(SubscriptionIdT&& value) {
116 m_subscriptionIdHasBeenSet = true;
117 m_subscriptionId = std::forward<SubscriptionIdT>(value);
118 }
119 template <typename SubscriptionIdT = Aws::String>
121 SetSubscriptionId(std::forward<SubscriptionIdT>(value));
122 return *this;
123 }
125
127
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
InvalidParameterException & WithNodegroupName(NodegroupNameT &&value)
AWS_EKS_API InvalidParameterException()=default
InvalidParameterException & WithFargateProfileName(FargateProfileNameT &&value)
AWS_EKS_API InvalidParameterException(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API InvalidParameterException & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidParameterException & WithClusterName(ClusterNameT &&value)
void SetFargateProfileName(FargateProfileNameT &&value)
InvalidParameterException & WithMessage(MessageT &&value)
InvalidParameterException & WithAddonName(AddonNameT &&value)
InvalidParameterException & WithSubscriptionId(SubscriptionIdT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue