AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeUpdateRequest.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 Http
15 {
16  class URI;
17 } //namespace Http
18 namespace EKS
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeUpdate"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline DescribeUpdateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline DescribeUpdateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline DescribeUpdateRequest& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetUpdateId() const{ return m_updateId; }
86 
90  inline bool UpdateIdHasBeenSet() const { return m_updateIdHasBeenSet; }
91 
95  inline void SetUpdateId(const Aws::String& value) { m_updateIdHasBeenSet = true; m_updateId = value; }
96 
100  inline void SetUpdateId(Aws::String&& value) { m_updateIdHasBeenSet = true; m_updateId = std::move(value); }
101 
105  inline void SetUpdateId(const char* value) { m_updateIdHasBeenSet = true; m_updateId.assign(value); }
106 
110  inline DescribeUpdateRequest& WithUpdateId(const Aws::String& value) { SetUpdateId(value); return *this;}
111 
115  inline DescribeUpdateRequest& WithUpdateId(Aws::String&& value) { SetUpdateId(std::move(value)); return *this;}
116 
120  inline DescribeUpdateRequest& WithUpdateId(const char* value) { SetUpdateId(value); return *this;}
121 
122 
126  inline const Aws::String& GetNodegroupName() const{ return m_nodegroupName; }
127 
131  inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
132 
136  inline void SetNodegroupName(const Aws::String& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = value; }
137 
141  inline void SetNodegroupName(Aws::String&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::move(value); }
142 
146  inline void SetNodegroupName(const char* value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName.assign(value); }
147 
151  inline DescribeUpdateRequest& WithNodegroupName(const Aws::String& value) { SetNodegroupName(value); return *this;}
152 
156  inline DescribeUpdateRequest& WithNodegroupName(Aws::String&& value) { SetNodegroupName(std::move(value)); return *this;}
157 
161  inline DescribeUpdateRequest& WithNodegroupName(const char* value) { SetNodegroupName(value); return *this;}
162 
163  private:
164 
165  Aws::String m_name;
166  bool m_nameHasBeenSet;
167 
168  Aws::String m_updateId;
169  bool m_updateIdHasBeenSet;
170 
171  Aws::String m_nodegroupName;
172  bool m_nodegroupNameHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace EKS
177 } // namespace Aws
void SetNodegroupName(const Aws::String &value)
DescribeUpdateRequest & WithNodegroupName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeUpdateRequest & WithNodegroupName(const char *value)
DescribeUpdateRequest & WithName(const Aws::String &value)
DescribeUpdateRequest & WithName(const char *value)
DescribeUpdateRequest & WithName(Aws::String &&value)
void SetUpdateId(const Aws::String &value)
DescribeUpdateRequest & WithUpdateId(Aws::String &&value)
DescribeUpdateRequest & WithUpdateId(const Aws::String &value)
DescribeUpdateRequest & WithNodegroupName(Aws::String &&value)
void SetName(const Aws::String &value)
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
DescribeUpdateRequest & WithUpdateId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::String & GetNodegroupName() const