7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace RedshiftServerless
47 template<
typename AvailabilityZoneT = Aws::String>
48 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
49 template<
typename AvailabilityZoneT = Aws::String>
59 template<
typename Ipv6AddressT = Aws::String>
60 void SetIpv6Address(Ipv6AddressT&& value) { m_ipv6AddressHasBeenSet =
true; m_ipv6Address = std::forward<Ipv6AddressT>(value); }
61 template<
typename Ipv6AddressT = Aws::String>
71 template<
typename NetworkInterfaceIdT = Aws::String>
72 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
73 template<
typename NetworkInterfaceIdT = Aws::String>
83 template<
typename PrivateIpAddressT = Aws::String>
84 void SetPrivateIpAddress(PrivateIpAddressT&& value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress = std::forward<PrivateIpAddressT>(value); }
85 template<
typename PrivateIpAddressT = Aws::String>
95 template<
typename SubnetIdT = Aws::String>
96 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
97 template<
typename SubnetIdT = Aws::String>
103 bool m_availabilityZoneHasBeenSet =
false;
106 bool m_ipv6AddressHasBeenSet =
false;
109 bool m_networkInterfaceIdHasBeenSet =
false;
112 bool m_privateIpAddressHasBeenSet =
false;
115 bool m_subnetIdHasBeenSet =
false;
bool PrivateIpAddressHasBeenSet() const
NetworkInterface & WithPrivateIpAddress(PrivateIpAddressT &&value)
AWS_REDSHIFTSERVERLESS_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetSubnetId() const
NetworkInterface & WithAvailabilityZone(AvailabilityZoneT &&value)
bool Ipv6AddressHasBeenSet() const
void SetIpv6Address(Ipv6AddressT &&value)
NetworkInterface & WithIpv6Address(Ipv6AddressT &&value)
NetworkInterface & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
bool NetworkInterfaceIdHasBeenSet() const
bool SubnetIdHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAvailabilityZone() const
void SetPrivateIpAddress(PrivateIpAddressT &&value)
AWS_REDSHIFTSERVERLESS_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetId(SubnetIdT &&value)
const Aws::String & GetPrivateIpAddress() const
const Aws::String & GetNetworkInterfaceId() const
const Aws::String & GetIpv6Address() const
NetworkInterface & WithSubnetId(SubnetIdT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
AWS_REDSHIFTSERVERLESS_API NetworkInterface()=default
void SetAvailabilityZone(AvailabilityZoneT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue