AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkInterface.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Redshift
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_REDSHIFT_API NetworkInterface();
35 AWS_REDSHIFT_API NetworkInterface(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_REDSHIFT_API NetworkInterface& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
47 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
48 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
49 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
50 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
51 inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
52 inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
53 inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
55
57
60 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
61 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
62 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
63 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
64 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
65 inline NetworkInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
66 inline NetworkInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
67 inline NetworkInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
69
71
74 inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
75 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
76 inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
77 inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
78 inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
79 inline NetworkInterface& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
80 inline NetworkInterface& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
81 inline NetworkInterface& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
83
85
88 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
89 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
90 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
91 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
92 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
93 inline NetworkInterface& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
94 inline NetworkInterface& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
95 inline NetworkInterface& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
97
99
102 inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; }
103 inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; }
104 inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; }
105 inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); }
106 inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); }
107 inline NetworkInterface& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;}
108 inline NetworkInterface& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;}
109 inline NetworkInterface& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;}
111 private:
112
113 Aws::String m_networkInterfaceId;
114 bool m_networkInterfaceIdHasBeenSet = false;
115
116 Aws::String m_subnetId;
117 bool m_subnetIdHasBeenSet = false;
118
119 Aws::String m_privateIpAddress;
120 bool m_privateIpAddressHasBeenSet = false;
121
122 Aws::String m_availabilityZone;
123 bool m_availabilityZoneHasBeenSet = false;
124
125 Aws::String m_ipv6Address;
126 bool m_ipv6AddressHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Redshift
131} // namespace Aws
void SetPrivateIpAddress(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
void SetNetworkInterfaceId(const Aws::String &value)
NetworkInterface & WithPrivateIpAddress(Aws::String &&value)
NetworkInterface & WithAvailabilityZone(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNetworkInterfaceId(const char *value)
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
void SetSubnetId(Aws::String &&value)
void SetIpv6Address(Aws::String &&value)
NetworkInterface & WithNetworkInterfaceId(const char *value)
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
const Aws::String & GetNetworkInterfaceId() const
NetworkInterface & WithAvailabilityZone(const Aws::String &value)
AWS_REDSHIFT_API NetworkInterface(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIpv6Address(const Aws::String &value)
void SetAvailabilityZone(const char *value)
const Aws::String & GetSubnetId() const
NetworkInterface & WithPrivateIpAddress(const Aws::String &value)
NetworkInterface & WithIpv6Address(Aws::String &&value)
void SetPrivateIpAddress(const Aws::String &value)
NetworkInterface & WithPrivateIpAddress(const char *value)
NetworkInterface & WithIpv6Address(const char *value)
NetworkInterface & WithSubnetId(const char *value)
AWS_REDSHIFT_API NetworkInterface & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubnetId(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetPrivateIpAddress() const
void SetPrivateIpAddress(const char *value)
NetworkInterface & WithSubnetId(Aws::String &&value)
const Aws::String & GetIpv6Address() const
NetworkInterface & WithAvailabilityZone(Aws::String &&value)
NetworkInterface & WithIpv6Address(const Aws::String &value)
void SetAvailabilityZone(Aws::String &&value)
const Aws::String & GetAvailabilityZone() const
void SetNetworkInterfaceId(Aws::String &&value)
NetworkInterface & WithSubnetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream