AWS SDK for C++  1.9.20
AWS SDK for C++
NetworkInterface.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace RoboMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
44 
48  inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
49 
53  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
54 
58  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
59 
63  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
64 
68  inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
69 
73  inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
74 
78  inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
79 
80 
84  inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
85 
89  inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
90 
94  inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
95 
99  inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
100 
104  inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
105 
109  inline NetworkInterface& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
110 
114  inline NetworkInterface& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
115 
119  inline NetworkInterface& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
120 
121 
125  inline const Aws::String& GetPublicIpAddress() const{ return m_publicIpAddress; }
126 
130  inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; }
131 
135  inline void SetPublicIpAddress(const Aws::String& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = value; }
136 
140  inline void SetPublicIpAddress(Aws::String&& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = std::move(value); }
141 
145  inline void SetPublicIpAddress(const char* value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress.assign(value); }
146 
150  inline NetworkInterface& WithPublicIpAddress(const Aws::String& value) { SetPublicIpAddress(value); return *this;}
151 
155  inline NetworkInterface& WithPublicIpAddress(Aws::String&& value) { SetPublicIpAddress(std::move(value)); return *this;}
156 
160  inline NetworkInterface& WithPublicIpAddress(const char* value) { SetPublicIpAddress(value); return *this;}
161 
162  private:
163 
164  Aws::String m_networkInterfaceId;
165  bool m_networkInterfaceIdHasBeenSet;
166 
167  Aws::String m_privateIpAddress;
168  bool m_privateIpAddressHasBeenSet;
169 
170  Aws::String m_publicIpAddress;
171  bool m_publicIpAddressHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace RoboMaker
176 } // namespace Aws
Aws::RoboMaker::Model::NetworkInterface::GetNetworkInterfaceId
const Aws::String & GetNetworkInterfaceId() const
Definition: NetworkInterface.h:43
Aws::RoboMaker::Model::NetworkInterface::SetNetworkInterfaceId
void SetNetworkInterfaceId(Aws::String &&value)
Definition: NetworkInterface.h:58
Aws::RoboMaker::Model::NetworkInterface::GetPrivateIpAddress
const Aws::String & GetPrivateIpAddress() const
Definition: NetworkInterface.h:84
Aws::RoboMaker::Model::NetworkInterface::SetPublicIpAddress
void SetPublicIpAddress(const Aws::String &value)
Definition: NetworkInterface.h:135
Aws::RoboMaker::Model::NetworkInterface::WithPrivateIpAddress
NetworkInterface & WithPrivateIpAddress(Aws::String &&value)
Definition: NetworkInterface.h:114
Aws::RoboMaker::Model::NetworkInterface::WithPublicIpAddress
NetworkInterface & WithPublicIpAddress(const Aws::String &value)
Definition: NetworkInterface.h:150
Aws::RoboMaker::Model::NetworkInterface::WithNetworkInterfaceId
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
Definition: NetworkInterface.h:68
Aws::RoboMaker::Model::NetworkInterface::WithNetworkInterfaceId
NetworkInterface & WithNetworkInterfaceId(const char *value)
Definition: NetworkInterface.h:78
Aws::RoboMaker::Model::NetworkInterface::NetworkInterface
NetworkInterface()
Aws::RoboMaker::Model::NetworkInterface::operator=
NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::NetworkInterface::SetNetworkInterfaceId
void SetNetworkInterfaceId(const Aws::String &value)
Definition: NetworkInterface.h:53
Aws::RoboMaker::Model::NetworkInterface::NetworkInterface
NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::NetworkInterface::PublicIpAddressHasBeenSet
bool PublicIpAddressHasBeenSet() const
Definition: NetworkInterface.h:130
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::NetworkInterface::SetNetworkInterfaceId
void SetNetworkInterfaceId(const char *value)
Definition: NetworkInterface.h:63
RoboMaker_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::RoboMaker::Model::NetworkInterface::NetworkInterfaceIdHasBeenSet
bool NetworkInterfaceIdHasBeenSet() const
Definition: NetworkInterface.h:48
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::NetworkInterface::PrivateIpAddressHasBeenSet
bool PrivateIpAddressHasBeenSet() const
Definition: NetworkInterface.h:89
Aws::RoboMaker::Model::NetworkInterface::SetPrivateIpAddress
void SetPrivateIpAddress(const char *value)
Definition: NetworkInterface.h:104
Aws::RoboMaker::Model::NetworkInterface::GetPublicIpAddress
const Aws::String & GetPublicIpAddress() const
Definition: NetworkInterface.h:125
Aws::RoboMaker::Model::NetworkInterface
Definition: NetworkInterface.h:32
Aws::RoboMaker::Model::NetworkInterface::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::NetworkInterface::SetPrivateIpAddress
void SetPrivateIpAddress(const Aws::String &value)
Definition: NetworkInterface.h:94
Aws::RoboMaker::Model::NetworkInterface::WithPublicIpAddress
NetworkInterface & WithPublicIpAddress(const char *value)
Definition: NetworkInterface.h:160
Aws::RoboMaker::Model::NetworkInterface::WithPrivateIpAddress
NetworkInterface & WithPrivateIpAddress(const char *value)
Definition: NetworkInterface.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::NetworkInterface::WithNetworkInterfaceId
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
Definition: NetworkInterface.h:73
Aws::RoboMaker::Model::NetworkInterface::WithPublicIpAddress
NetworkInterface & WithPublicIpAddress(Aws::String &&value)
Definition: NetworkInterface.h:155
Aws::RoboMaker::Model::NetworkInterface::SetPrivateIpAddress
void SetPrivateIpAddress(Aws::String &&value)
Definition: NetworkInterface.h:99
Aws::RoboMaker::Model::NetworkInterface::SetPublicIpAddress
void SetPublicIpAddress(Aws::String &&value)
Definition: NetworkInterface.h:140
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::NetworkInterface::WithPrivateIpAddress
NetworkInterface & WithPrivateIpAddress(const Aws::String &value)
Definition: NetworkInterface.h:109
Aws::RoboMaker::Model::NetworkInterface::SetPublicIpAddress
void SetPublicIpAddress(const char *value)
Definition: NetworkInterface.h:145