AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvalidParameterException.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 InvalidParameterException() = 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 InvalidParameterException& 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 InvalidParameterException& WithNodegroupName(NodegroupNameT&& value) { SetNodegroupName(std::forward<NodegroupNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetFargateProfileName() const { return m_fargateProfileName; }
70 inline bool FargateProfileNameHasBeenSet() const { return m_fargateProfileNameHasBeenSet; }
71 template<typename FargateProfileNameT = Aws::String>
72 void SetFargateProfileName(FargateProfileNameT&& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = std::forward<FargateProfileNameT>(value); }
73 template<typename FargateProfileNameT = Aws::String>
74 InvalidParameterException& WithFargateProfileName(FargateProfileNameT&& value) { SetFargateProfileName(std::forward<FargateProfileNameT>(value)); return *this;}
76
78
82 inline const Aws::String& GetAddonName() const { return m_addonName; }
83 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
84 template<typename AddonNameT = Aws::String>
85 void SetAddonName(AddonNameT&& value) { m_addonNameHasBeenSet = true; m_addonName = std::forward<AddonNameT>(value); }
86 template<typename AddonNameT = Aws::String>
87 InvalidParameterException& WithAddonName(AddonNameT&& value) { SetAddonName(std::forward<AddonNameT>(value)); return *this;}
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) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = std::forward<SubscriptionIdT>(value); }
98 template<typename SubscriptionIdT = Aws::String>
99 InvalidParameterException& WithSubscriptionId(SubscriptionIdT&& value) { SetSubscriptionId(std::forward<SubscriptionIdT>(value)); return *this;}
101
103
107 inline const Aws::String& GetMessage() const { return m_message; }
108 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
109 template<typename MessageT = Aws::String>
110 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
111 template<typename MessageT = Aws::String>
112 InvalidParameterException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
114 private:
115
116 Aws::String m_clusterName;
117 bool m_clusterNameHasBeenSet = false;
118
119 Aws::String m_nodegroupName;
120 bool m_nodegroupNameHasBeenSet = false;
121
122 Aws::String m_fargateProfileName;
123 bool m_fargateProfileNameHasBeenSet = false;
124
125 Aws::String m_addonName;
126 bool m_addonNameHasBeenSet = false;
127
128 Aws::String m_subscriptionId;
129 bool m_subscriptionIdHasBeenSet = false;
130
131 Aws::String m_message;
132 bool m_messageHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace EKS
137} // 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