7#include <aws/cloudhsmv2/CloudHSMV2_EXPORTS.h>
8#include <aws/cloudhsmv2/model/HsmState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
31 AWS_CLOUDHSMV2_API
Hsm() =
default;
32 AWS_CLOUDHSMV2_API
Hsm(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CLOUDHSMV2_API
Hsm&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CLOUDHSMV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename AvailabilityZoneT = Aws::String>
44 m_availabilityZoneHasBeenSet =
true;
45 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
47 template <
typename AvailabilityZoneT = Aws::String>
60 template <
typename ClusterIdT = Aws::String>
62 m_clusterIdHasBeenSet =
true;
63 m_clusterId = std::forward<ClusterIdT>(value);
65 template <
typename ClusterIdT = Aws::String>
78 template <
typename SubnetIdT = Aws::String>
80 m_subnetIdHasBeenSet =
true;
81 m_subnetId = std::forward<SubnetIdT>(value);
83 template <
typename SubnetIdT = Aws::String>
96 template <
typename EniIdT = Aws::String>
98 m_eniIdHasBeenSet =
true;
99 m_eniId = std::forward<EniIdT>(value);
101 template <
typename EniIdT = Aws::String>
103 SetEniId(std::forward<EniIdT>(value));
114 template <
typename EniIpT = Aws::String>
116 m_eniIpHasBeenSet =
true;
117 m_eniIp = std::forward<EniIpT>(value);
119 template <
typename EniIpT = Aws::String>
121 SetEniIp(std::forward<EniIpT>(value));
132 template <
typename EniIpV6T = Aws::String>
134 m_eniIpV6HasBeenSet =
true;
135 m_eniIpV6 = std::forward<EniIpV6T>(value);
137 template <
typename EniIpV6T = Aws::String>
150 template <
typename HsmIdT = Aws::String>
152 m_hsmIdHasBeenSet =
true;
153 m_hsmId = std::forward<HsmIdT>(value);
155 template <
typename HsmIdT = Aws::String>
157 SetHsmId(std::forward<HsmIdT>(value));
168 template <
typename HsmTypeT = Aws::String>
170 m_hsmTypeHasBeenSet =
true;
171 m_hsmType = std::forward<HsmTypeT>(value);
173 template <
typename HsmTypeT = Aws::String>
187 m_stateHasBeenSet =
true;
202 template <
typename StateMessageT = Aws::String>
204 m_stateMessageHasBeenSet =
true;
205 m_stateMessage = std::forward<StateMessageT>(value);
207 template <
typename StateMessageT = Aws::String>
233 bool m_availabilityZoneHasBeenSet =
false;
234 bool m_clusterIdHasBeenSet =
false;
235 bool m_subnetIdHasBeenSet =
false;
236 bool m_eniIdHasBeenSet =
false;
237 bool m_eniIpHasBeenSet =
false;
238 bool m_eniIpV6HasBeenSet =
false;
239 bool m_hsmIdHasBeenSet =
false;
240 bool m_hsmTypeHasBeenSet =
false;
241 bool m_stateHasBeenSet =
false;
242 bool m_stateMessageHasBeenSet =
false;
Hsm & WithStateMessage(StateMessageT &&value)
Hsm & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_CLOUDHSMV2_API Hsm & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool HsmTypeHasBeenSet() const
const Aws::String & GetSubnetId() const
bool EniIpV6HasBeenSet() const
Hsm & WithHsmType(HsmTypeT &&value)
Hsm & WithEniIp(EniIpT &&value)
AWS_CLOUDHSMV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetAvailabilityZone() const
void SetEniId(EniIdT &&value)
void SetHsmId(HsmIdT &&value)
const Aws::String & GetEniIp() const
void SetState(HsmState value)
void SetStateMessage(StateMessageT &&value)
bool HsmIdHasBeenSet() const
void SetSubnetId(SubnetIdT &&value)
const Aws::String & GetEniId() const
bool EniIpHasBeenSet() const
AWS_CLOUDHSMV2_API Hsm(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Hsm & WithEniIpV6(EniIpV6T &&value)
AWS_CLOUDHSMV2_API Hsm()=default
const Aws::String & GetStateMessage() const
const Aws::String & GetHsmType() const
const Aws::String & GetEniIpV6() const
Hsm & WithSubnetId(SubnetIdT &&value)
bool EniIdHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool StateMessageHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetHsmId() const
void SetEniIpV6(EniIpV6T &&value)
bool ClusterIdHasBeenSet() const
bool StateHasBeenSet() const
Hsm & WithEniId(EniIdT &&value)
void SetHsmType(HsmTypeT &&value)
Hsm & WithClusterId(ClusterIdT &&value)
void SetClusterId(ClusterIdT &&value)
void SetEniIp(EniIpT &&value)
Hsm & WithState(HsmState value)
const Aws::String & GetClusterId() const
Hsm & WithHsmId(HsmIdT &&value)
bool SubnetIdHasBeenSet() const
HsmState GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String