AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
DeleteHsmRequest.h
1
6#pragma once
7#include <aws/cloudhsmv2/CloudHSMV2Request.h>
8#include <aws/cloudhsmv2/CloudHSMV2_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudHSMV2 {
15namespace Model {
16
20 public:
21 AWS_CLOUDHSMV2_API DeleteHsmRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteHsm"; }
28
29 AWS_CLOUDHSMV2_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetClusterId() const { return m_clusterId; }
39 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
40 template <typename ClusterIdT = Aws::String>
41 void SetClusterId(ClusterIdT&& value) {
42 m_clusterIdHasBeenSet = true;
43 m_clusterId = std::forward<ClusterIdT>(value);
44 }
45 template <typename ClusterIdT = Aws::String>
46 DeleteHsmRequest& WithClusterId(ClusterIdT&& value) {
47 SetClusterId(std::forward<ClusterIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetHsmId() const { return m_hsmId; }
57 inline bool HsmIdHasBeenSet() const { return m_hsmIdHasBeenSet; }
58 template <typename HsmIdT = Aws::String>
59 void SetHsmId(HsmIdT&& value) {
60 m_hsmIdHasBeenSet = true;
61 m_hsmId = std::forward<HsmIdT>(value);
62 }
63 template <typename HsmIdT = Aws::String>
64 DeleteHsmRequest& WithHsmId(HsmIdT&& value) {
65 SetHsmId(std::forward<HsmIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetEniId() const { return m_eniId; }
76 inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; }
77 template <typename EniIdT = Aws::String>
78 void SetEniId(EniIdT&& value) {
79 m_eniIdHasBeenSet = true;
80 m_eniId = std::forward<EniIdT>(value);
81 }
82 template <typename EniIdT = Aws::String>
83 DeleteHsmRequest& WithEniId(EniIdT&& value) {
84 SetEniId(std::forward<EniIdT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetEniIp() const { return m_eniIp; }
95 inline bool EniIpHasBeenSet() const { return m_eniIpHasBeenSet; }
96 template <typename EniIpT = Aws::String>
97 void SetEniIp(EniIpT&& value) {
98 m_eniIpHasBeenSet = true;
99 m_eniIp = std::forward<EniIpT>(value);
100 }
101 template <typename EniIpT = Aws::String>
102 DeleteHsmRequest& WithEniIp(EniIpT&& value) {
103 SetEniIp(std::forward<EniIpT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_clusterId;
109
110 Aws::String m_hsmId;
111
112 Aws::String m_eniId;
113
114 Aws::String m_eniIp;
115 bool m_clusterIdHasBeenSet = false;
116 bool m_hsmIdHasBeenSet = false;
117 bool m_eniIdHasBeenSet = false;
118 bool m_eniIpHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace CloudHSMV2
123} // namespace Aws
DeleteHsmRequest & WithHsmId(HsmIdT &&value)
AWS_CLOUDHSMV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDHSMV2_API DeleteHsmRequest()=default
DeleteHsmRequest & WithEniIp(EniIpT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDHSMV2_API Aws::String SerializePayload() const override
DeleteHsmRequest & WithEniId(EniIdT &&value)
const Aws::String & GetClusterId() const
DeleteHsmRequest & WithClusterId(ClusterIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String