AWS SDK for C++  1.9.105
AWS SDK for C++
NetworkInterface.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace Redshift
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
45  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
46 
50  inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
51 
55  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
56 
60  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
61 
65  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
66 
70  inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
71 
75  inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
76 
80  inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
81 
82 
86  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
87 
91  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
92 
96  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
97 
101  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
102 
106  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
107 
111  inline NetworkInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
112 
116  inline NetworkInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
117 
121  inline NetworkInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
122 
123 
127  inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
128 
132  inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
133 
137  inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
138 
142  inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
143 
147  inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
148 
152  inline NetworkInterface& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
153 
157  inline NetworkInterface& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
158 
162  inline NetworkInterface& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
163 
164 
168  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
169 
173  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
174 
178  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
179 
183  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
184 
188  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
189 
193  inline NetworkInterface& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
194 
198  inline NetworkInterface& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
199 
203  inline NetworkInterface& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
204 
205  private:
206 
207  Aws::String m_networkInterfaceId;
208  bool m_networkInterfaceIdHasBeenSet;
209 
210  Aws::String m_subnetId;
211  bool m_subnetIdHasBeenSet;
212 
213  Aws::String m_privateIpAddress;
214  bool m_privateIpAddressHasBeenSet;
215 
216  Aws::String m_availabilityZone;
217  bool m_availabilityZoneHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace Redshift
222 } // namespace Aws
Aws::Redshift::Model::NetworkInterface::WithPrivateIpAddress
NetworkInterface & WithPrivateIpAddress(Aws::String &&value)
Definition: NetworkInterface.h:157
Aws::Redshift::Model::NetworkInterface::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: NetworkInterface.h:178
Aws::Redshift::Model::NetworkInterface::GetNetworkInterfaceId
const Aws::String & GetNetworkInterfaceId() const
Definition: NetworkInterface.h:45
Aws::Redshift::Model::NetworkInterface::SetSubnetId
void SetSubnetId(const char *value)
Definition: NetworkInterface.h:106
Aws::Redshift::Model::NetworkInterface::operator=
NetworkInterface & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::NetworkInterface::WithAvailabilityZone
NetworkInterface & WithAvailabilityZone(const Aws::String &value)
Definition: NetworkInterface.h:193
Aws::Redshift::Model::NetworkInterface::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: NetworkInterface.h:173
Aws::Redshift::Model::NetworkInterface::NetworkInterface
NetworkInterface(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::NetworkInterface::WithNetworkInterfaceId
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
Definition: NetworkInterface.h:75
Aws::Redshift::Model::NetworkInterface::SetNetworkInterfaceId
void SetNetworkInterfaceId(const char *value)
Definition: NetworkInterface.h:65
Aws::Redshift::Model::NetworkInterface::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: NetworkInterface.h:168
Aws::Redshift::Model::NetworkInterface::WithSubnetId
NetworkInterface & WithSubnetId(const char *value)
Definition: NetworkInterface.h:121
AWSStreamFwd.h
Aws::Redshift::Model::NetworkInterface::SetPrivateIpAddress
void SetPrivateIpAddress(const char *value)
Definition: NetworkInterface.h:147
Aws::Redshift::Model::NetworkInterface::WithPrivateIpAddress
NetworkInterface & WithPrivateIpAddress(const char *value)
Definition: NetworkInterface.h:162
Aws::Redshift::Model::NetworkInterface::WithSubnetId
NetworkInterface & WithSubnetId(const Aws::String &value)
Definition: NetworkInterface.h:111
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::NetworkInterface::WithAvailabilityZone
NetworkInterface & WithAvailabilityZone(Aws::String &&value)
Definition: NetworkInterface.h:198
Aws::Redshift::Model::NetworkInterface::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: NetworkInterface.h:86
Aws::Redshift::Model::NetworkInterface::SetNetworkInterfaceId
void SetNetworkInterfaceId(Aws::String &&value)
Definition: NetworkInterface.h:60
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::NetworkInterface::PrivateIpAddressHasBeenSet
bool PrivateIpAddressHasBeenSet() const
Definition: NetworkInterface.h:132
Aws::Redshift::Model::NetworkInterface::SetPrivateIpAddress
void SetPrivateIpAddress(const Aws::String &value)
Definition: NetworkInterface.h:137
Aws::Redshift::Model::NetworkInterface::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::NetworkInterface::GetPrivateIpAddress
const Aws::String & GetPrivateIpAddress() const
Definition: NetworkInterface.h:127
Aws::Redshift::Model::NetworkInterface::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: NetworkInterface.h:96
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::NetworkInterface::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::NetworkInterface::WithSubnetId
NetworkInterface & WithSubnetId(Aws::String &&value)
Definition: NetworkInterface.h:116
Aws::Redshift::Model::NetworkInterface::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: NetworkInterface.h:91
Aws::Redshift::Model::NetworkInterface::WithAvailabilityZone
NetworkInterface & WithAvailabilityZone(const char *value)
Definition: NetworkInterface.h:203
Aws::Redshift::Model::NetworkInterface::WithNetworkInterfaceId
NetworkInterface & WithNetworkInterfaceId(const char *value)
Definition: NetworkInterface.h:80
AWSString.h
Aws::Redshift::Model::NetworkInterface::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: NetworkInterface.h:101
Aws::Redshift::Model::NetworkInterface::WithPrivateIpAddress
NetworkInterface & WithPrivateIpAddress(const Aws::String &value)
Definition: NetworkInterface.h:152
Aws::Redshift::Model::NetworkInterface::WithNetworkInterfaceId
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
Definition: NetworkInterface.h:70
Aws::Redshift::Model::NetworkInterface::SetPrivateIpAddress
void SetPrivateIpAddress(Aws::String &&value)
Definition: NetworkInterface.h:142
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::NetworkInterface::NetworkInterfaceIdHasBeenSet
bool NetworkInterfaceIdHasBeenSet() const
Definition: NetworkInterface.h:50
Aws::Redshift::Model::NetworkInterface
Definition: NetworkInterface.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::NetworkInterface::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: NetworkInterface.h:188
Aws::Redshift::Model::NetworkInterface::NetworkInterface
NetworkInterface()
Aws::Redshift::Model::NetworkInterface::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: NetworkInterface.h:183
Aws::Redshift::Model::NetworkInterface::SetNetworkInterfaceId
void SetNetworkInterfaceId(const Aws::String &value)
Definition: NetworkInterface.h:55