AWS SDK for C++  1.8.95
AWS SDK for C++
DeleteHsmRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudHSMV2
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 "DeleteHsm"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35 
36 
41  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
42 
47  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
48 
53  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
54 
59  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
60 
65  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
66 
71  inline DeleteHsmRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
72 
77  inline DeleteHsmRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
78 
83  inline DeleteHsmRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
84 
85 
89  inline const Aws::String& GetHsmId() const{ return m_hsmId; }
90 
94  inline bool HsmIdHasBeenSet() const { return m_hsmIdHasBeenSet; }
95 
99  inline void SetHsmId(const Aws::String& value) { m_hsmIdHasBeenSet = true; m_hsmId = value; }
100 
104  inline void SetHsmId(Aws::String&& value) { m_hsmIdHasBeenSet = true; m_hsmId = std::move(value); }
105 
109  inline void SetHsmId(const char* value) { m_hsmIdHasBeenSet = true; m_hsmId.assign(value); }
110 
114  inline DeleteHsmRequest& WithHsmId(const Aws::String& value) { SetHsmId(value); return *this;}
115 
119  inline DeleteHsmRequest& WithHsmId(Aws::String&& value) { SetHsmId(std::move(value)); return *this;}
120 
124  inline DeleteHsmRequest& WithHsmId(const char* value) { SetHsmId(value); return *this;}
125 
126 
131  inline const Aws::String& GetEniId() const{ return m_eniId; }
132 
137  inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; }
138 
143  inline void SetEniId(const Aws::String& value) { m_eniIdHasBeenSet = true; m_eniId = value; }
144 
149  inline void SetEniId(Aws::String&& value) { m_eniIdHasBeenSet = true; m_eniId = std::move(value); }
150 
155  inline void SetEniId(const char* value) { m_eniIdHasBeenSet = true; m_eniId.assign(value); }
156 
161  inline DeleteHsmRequest& WithEniId(const Aws::String& value) { SetEniId(value); return *this;}
162 
167  inline DeleteHsmRequest& WithEniId(Aws::String&& value) { SetEniId(std::move(value)); return *this;}
168 
173  inline DeleteHsmRequest& WithEniId(const char* value) { SetEniId(value); return *this;}
174 
175 
180  inline const Aws::String& GetEniIp() const{ return m_eniIp; }
181 
186  inline bool EniIpHasBeenSet() const { return m_eniIpHasBeenSet; }
187 
192  inline void SetEniIp(const Aws::String& value) { m_eniIpHasBeenSet = true; m_eniIp = value; }
193 
198  inline void SetEniIp(Aws::String&& value) { m_eniIpHasBeenSet = true; m_eniIp = std::move(value); }
199 
204  inline void SetEniIp(const char* value) { m_eniIpHasBeenSet = true; m_eniIp.assign(value); }
205 
210  inline DeleteHsmRequest& WithEniIp(const Aws::String& value) { SetEniIp(value); return *this;}
211 
216  inline DeleteHsmRequest& WithEniIp(Aws::String&& value) { SetEniIp(std::move(value)); return *this;}
217 
222  inline DeleteHsmRequest& WithEniIp(const char* value) { SetEniIp(value); return *this;}
223 
224  private:
225 
226  Aws::String m_clusterId;
227  bool m_clusterIdHasBeenSet;
228 
229  Aws::String m_hsmId;
230  bool m_hsmIdHasBeenSet;
231 
232  Aws::String m_eniId;
233  bool m_eniIdHasBeenSet;
234 
235  Aws::String m_eniIp;
236  bool m_eniIpHasBeenSet;
237  };
238 
239 } // namespace Model
240 } // namespace CloudHSMV2
241 } // namespace Aws
void SetEniIp(const Aws::String &value)
DeleteHsmRequest & WithHsmId(const char *value)
#define AWS_CLOUDHSMV2_API
DeleteHsmRequest & WithHsmId(Aws::String &&value)
DeleteHsmRequest & WithClusterId(const Aws::String &value)
void SetEniId(const Aws::String &value)
const Aws::String & GetEniId() const
void SetHsmId(const Aws::String &value)
DeleteHsmRequest & WithEniIp(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteHsmRequest & WithEniIp(const Aws::String &value)
DeleteHsmRequest & WithEniIp(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
DeleteHsmRequest & WithEniId(const Aws::String &value)
const Aws::String & GetEniIp() const
DeleteHsmRequest & WithClusterId(Aws::String &&value)
DeleteHsmRequest & WithEniId(const char *value)
void SetClusterId(const Aws::String &value)
const Aws::String & GetHsmId() const
DeleteHsmRequest & WithEniId(Aws::String &&value)
void SetClusterId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteHsmRequest & WithHsmId(const Aws::String &value)
DeleteHsmRequest & WithClusterId(const char *value)
const Aws::String & GetClusterId() const