AWS SDK for C++  1.9.131
AWS SDK for C++
DeleteNodegroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/eks/EKS_EXPORTS.h>
8 #include <aws/eks/EKSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EKS
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteNodegroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetClusterName() const{ return m_clusterName; }
40 
45  inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
46 
51  inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
52 
57  inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
58 
63  inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
64 
69  inline DeleteNodegroupRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
70 
75  inline DeleteNodegroupRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
76 
81  inline DeleteNodegroupRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
82 
83 
87  inline const Aws::String& GetNodegroupName() const{ return m_nodegroupName; }
88 
92  inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
93 
97  inline void SetNodegroupName(const Aws::String& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = value; }
98 
102  inline void SetNodegroupName(Aws::String&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::move(value); }
103 
107  inline void SetNodegroupName(const char* value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName.assign(value); }
108 
112  inline DeleteNodegroupRequest& WithNodegroupName(const Aws::String& value) { SetNodegroupName(value); return *this;}
113 
117  inline DeleteNodegroupRequest& WithNodegroupName(Aws::String&& value) { SetNodegroupName(std::move(value)); return *this;}
118 
122  inline DeleteNodegroupRequest& WithNodegroupName(const char* value) { SetNodegroupName(value); return *this;}
123 
124  private:
125 
126  Aws::String m_clusterName;
127  bool m_clusterNameHasBeenSet;
128 
129  Aws::String m_nodegroupName;
130  bool m_nodegroupNameHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace EKS
135 } // namespace Aws
Aws::EKS::Model::DeleteNodegroupRequest::SetClusterName
void SetClusterName(const char *value)
Definition: DeleteNodegroupRequest.h:63
Aws::EKS::Model::DeleteNodegroupRequest::SetClusterName
void SetClusterName(const Aws::String &value)
Definition: DeleteNodegroupRequest.h:51
Aws::EKS::Model::DeleteNodegroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EKS::Model::DeleteNodegroupRequest::GetNodegroupName
const Aws::String & GetNodegroupName() const
Definition: DeleteNodegroupRequest.h:87
Aws::EKS::Model::DeleteNodegroupRequest::SetNodegroupName
void SetNodegroupName(Aws::String &&value)
Definition: DeleteNodegroupRequest.h:102
Aws::EKS::Model::DeleteNodegroupRequest::WithNodegroupName
DeleteNodegroupRequest & WithNodegroupName(Aws::String &&value)
Definition: DeleteNodegroupRequest.h:117
Aws::EKS::Model::DeleteNodegroupRequest
Definition: DeleteNodegroupRequest.h:22
Aws::EKS::EKSRequest
Definition: EKSRequest.h:17
AWS_EKS_API
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
Aws::EKS::Model::DeleteNodegroupRequest::ClusterNameHasBeenSet
bool ClusterNameHasBeenSet() const
Definition: DeleteNodegroupRequest.h:45
Aws::EKS::Model::DeleteNodegroupRequest::NodegroupNameHasBeenSet
bool NodegroupNameHasBeenSet() const
Definition: DeleteNodegroupRequest.h:92
Aws::EMRContainers::Model::ContainerProviderType::NOT_SET
@ NOT_SET
EKSRequest.h
Aws::EKS::Model::DeleteNodegroupRequest::SetNodegroupName
void SetNodegroupName(const Aws::String &value)
Definition: DeleteNodegroupRequest.h:97
AWSString.h
Aws::EKS::Model::DeleteNodegroupRequest::DeleteNodegroupRequest
DeleteNodegroupRequest()
Aws::EKS::Model::DeleteNodegroupRequest::WithNodegroupName
DeleteNodegroupRequest & WithNodegroupName(const char *value)
Definition: DeleteNodegroupRequest.h:122
Aws::EKS::Model::DeleteNodegroupRequest::WithClusterName
DeleteNodegroupRequest & WithClusterName(const char *value)
Definition: DeleteNodegroupRequest.h:81
Aws::EKS::Model::DeleteNodegroupRequest::SetNodegroupName
void SetNodegroupName(const char *value)
Definition: DeleteNodegroupRequest.h:107
EKS_EXPORTS.h
Aws::EKS::Model::DeleteNodegroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteNodegroupRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::EKS::Model::DeleteNodegroupRequest::WithNodegroupName
DeleteNodegroupRequest & WithNodegroupName(const Aws::String &value)
Definition: DeleteNodegroupRequest.h:112
Aws::EKS::Model::DeleteNodegroupRequest::WithClusterName
DeleteNodegroupRequest & WithClusterName(Aws::String &&value)
Definition: DeleteNodegroupRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EKS::Model::DeleteNodegroupRequest::SetClusterName
void SetClusterName(Aws::String &&value)
Definition: DeleteNodegroupRequest.h:57
Aws::EKS::Model::DeleteNodegroupRequest::GetClusterName
const Aws::String & GetClusterName() const
Definition: DeleteNodegroupRequest.h:39
Aws::EKS::Model::DeleteNodegroupRequest::WithClusterName
DeleteNodegroupRequest & WithClusterName(const Aws::String &value)
Definition: DeleteNodegroupRequest.h:69