AWS SDK for C++  1.9.75
AWS SDK for C++
InstanceNetworkInterfaceAssociation.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
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 EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetCarrierIp() const{ return m_carrierIp; }
47 
51  inline bool CarrierIpHasBeenSet() const { return m_carrierIpHasBeenSet; }
52 
56  inline void SetCarrierIp(const Aws::String& value) { m_carrierIpHasBeenSet = true; m_carrierIp = value; }
57 
61  inline void SetCarrierIp(Aws::String&& value) { m_carrierIpHasBeenSet = true; m_carrierIp = std::move(value); }
62 
66  inline void SetCarrierIp(const char* value) { m_carrierIpHasBeenSet = true; m_carrierIp.assign(value); }
67 
71  inline InstanceNetworkInterfaceAssociation& WithCarrierIp(const Aws::String& value) { SetCarrierIp(value); return *this;}
72 
76  inline InstanceNetworkInterfaceAssociation& WithCarrierIp(Aws::String&& value) { SetCarrierIp(std::move(value)); return *this;}
77 
81  inline InstanceNetworkInterfaceAssociation& WithCarrierIp(const char* value) { SetCarrierIp(value); return *this;}
82 
83 
87  inline const Aws::String& GetIpOwnerId() const{ return m_ipOwnerId; }
88 
92  inline bool IpOwnerIdHasBeenSet() const { return m_ipOwnerIdHasBeenSet; }
93 
97  inline void SetIpOwnerId(const Aws::String& value) { m_ipOwnerIdHasBeenSet = true; m_ipOwnerId = value; }
98 
102  inline void SetIpOwnerId(Aws::String&& value) { m_ipOwnerIdHasBeenSet = true; m_ipOwnerId = std::move(value); }
103 
107  inline void SetIpOwnerId(const char* value) { m_ipOwnerIdHasBeenSet = true; m_ipOwnerId.assign(value); }
108 
112  inline InstanceNetworkInterfaceAssociation& WithIpOwnerId(const Aws::String& value) { SetIpOwnerId(value); return *this;}
113 
117  inline InstanceNetworkInterfaceAssociation& WithIpOwnerId(Aws::String&& value) { SetIpOwnerId(std::move(value)); return *this;}
118 
122  inline InstanceNetworkInterfaceAssociation& WithIpOwnerId(const char* value) { SetIpOwnerId(value); return *this;}
123 
124 
128  inline const Aws::String& GetPublicDnsName() const{ return m_publicDnsName; }
129 
133  inline bool PublicDnsNameHasBeenSet() const { return m_publicDnsNameHasBeenSet; }
134 
138  inline void SetPublicDnsName(const Aws::String& value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName = value; }
139 
143  inline void SetPublicDnsName(Aws::String&& value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName = std::move(value); }
144 
148  inline void SetPublicDnsName(const char* value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName.assign(value); }
149 
153  inline InstanceNetworkInterfaceAssociation& WithPublicDnsName(const Aws::String& value) { SetPublicDnsName(value); return *this;}
154 
158  inline InstanceNetworkInterfaceAssociation& WithPublicDnsName(Aws::String&& value) { SetPublicDnsName(std::move(value)); return *this;}
159 
163  inline InstanceNetworkInterfaceAssociation& WithPublicDnsName(const char* value) { SetPublicDnsName(value); return *this;}
164 
165 
170  inline const Aws::String& GetPublicIp() const{ return m_publicIp; }
171 
176  inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; }
177 
182  inline void SetPublicIp(const Aws::String& value) { m_publicIpHasBeenSet = true; m_publicIp = value; }
183 
188  inline void SetPublicIp(Aws::String&& value) { m_publicIpHasBeenSet = true; m_publicIp = std::move(value); }
189 
194  inline void SetPublicIp(const char* value) { m_publicIpHasBeenSet = true; m_publicIp.assign(value); }
195 
200  inline InstanceNetworkInterfaceAssociation& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;}
201 
206  inline InstanceNetworkInterfaceAssociation& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;}
207 
212  inline InstanceNetworkInterfaceAssociation& WithPublicIp(const char* value) { SetPublicIp(value); return *this;}
213 
214  private:
215 
216  Aws::String m_carrierIp;
217  bool m_carrierIpHasBeenSet;
218 
219  Aws::String m_ipOwnerId;
220  bool m_ipOwnerIdHasBeenSet;
221 
222  Aws::String m_publicDnsName;
223  bool m_publicDnsNameHasBeenSet;
224 
225  Aws::String m_publicIp;
226  bool m_publicIpHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace EC2
231 } // namespace Aws
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithIpOwnerId
InstanceNetworkInterfaceAssociation & WithIpOwnerId(const Aws::String &value)
Definition: InstanceNetworkInterfaceAssociation.h:112
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::CarrierIpHasBeenSet
bool CarrierIpHasBeenSet() const
Definition: InstanceNetworkInterfaceAssociation.h:51
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::GetPublicIp
const Aws::String & GetPublicIp() const
Definition: InstanceNetworkInterfaceAssociation.h:170
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithPublicDnsName
InstanceNetworkInterfaceAssociation & WithPublicDnsName(Aws::String &&value)
Definition: InstanceNetworkInterfaceAssociation.h:158
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::GetCarrierIp
const Aws::String & GetCarrierIp() const
Definition: InstanceNetworkInterfaceAssociation.h:46
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithCarrierIp
InstanceNetworkInterfaceAssociation & WithCarrierIp(Aws::String &&value)
Definition: InstanceNetworkInterfaceAssociation.h:76
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetCarrierIp
void SetCarrierIp(const Aws::String &value)
Definition: InstanceNetworkInterfaceAssociation.h:56
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithPublicIp
InstanceNetworkInterfaceAssociation & WithPublicIp(const Aws::String &value)
Definition: InstanceNetworkInterfaceAssociation.h:200
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetPublicIp
void SetPublicIp(const char *value)
Definition: InstanceNetworkInterfaceAssociation.h:194
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::IpOwnerIdHasBeenSet
bool IpOwnerIdHasBeenSet() const
Definition: InstanceNetworkInterfaceAssociation.h:92
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithPublicIp
InstanceNetworkInterfaceAssociation & WithPublicIp(Aws::String &&value)
Definition: InstanceNetworkInterfaceAssociation.h:206
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithCarrierIp
InstanceNetworkInterfaceAssociation & WithCarrierIp(const char *value)
Definition: InstanceNetworkInterfaceAssociation.h:81
AWSStreamFwd.h
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::InstanceNetworkInterfaceAssociation
InstanceNetworkInterfaceAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithPublicDnsName
InstanceNetworkInterfaceAssociation & WithPublicDnsName(const char *value)
Definition: InstanceNetworkInterfaceAssociation.h:163
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::InstanceNetworkInterfaceAssociation
InstanceNetworkInterfaceAssociation()
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithPublicIp
InstanceNetworkInterfaceAssociation & WithPublicIp(const char *value)
Definition: InstanceNetworkInterfaceAssociation.h:212
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetPublicDnsName
void SetPublicDnsName(const char *value)
Definition: InstanceNetworkInterfaceAssociation.h:148
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithCarrierIp
InstanceNetworkInterfaceAssociation & WithCarrierIp(const Aws::String &value)
Definition: InstanceNetworkInterfaceAssociation.h:71
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithIpOwnerId
InstanceNetworkInterfaceAssociation & WithIpOwnerId(const char *value)
Definition: InstanceNetworkInterfaceAssociation.h:122
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithIpOwnerId
InstanceNetworkInterfaceAssociation & WithIpOwnerId(Aws::String &&value)
Definition: InstanceNetworkInterfaceAssociation.h:117
AWSString.h
Aws::EC2::Model::InstanceNetworkInterfaceAssociation
Definition: InstanceNetworkInterfaceAssociation.h:33
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::operator=
InstanceNetworkInterfaceAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetIpOwnerId
void SetIpOwnerId(Aws::String &&value)
Definition: InstanceNetworkInterfaceAssociation.h:102
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::WithPublicDnsName
InstanceNetworkInterfaceAssociation & WithPublicDnsName(const Aws::String &value)
Definition: InstanceNetworkInterfaceAssociation.h:153
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetIpOwnerId
void SetIpOwnerId(const char *value)
Definition: InstanceNetworkInterfaceAssociation.h:107
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetPublicDnsName
void SetPublicDnsName(Aws::String &&value)
Definition: InstanceNetworkInterfaceAssociation.h:143
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetIpOwnerId
void SetIpOwnerId(const Aws::String &value)
Definition: InstanceNetworkInterfaceAssociation.h:97
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::GetIpOwnerId
const Aws::String & GetIpOwnerId() const
Definition: InstanceNetworkInterfaceAssociation.h:87
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::PublicIpHasBeenSet
bool PublicIpHasBeenSet() const
Definition: InstanceNetworkInterfaceAssociation.h:176
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::GetPublicDnsName
const Aws::String & GetPublicDnsName() const
Definition: InstanceNetworkInterfaceAssociation.h:128
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetCarrierIp
void SetCarrierIp(Aws::String &&value)
Definition: InstanceNetworkInterfaceAssociation.h:61
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetPublicDnsName
void SetPublicDnsName(const Aws::String &value)
Definition: InstanceNetworkInterfaceAssociation.h:138
EC2_EXPORTS.h
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::PublicDnsNameHasBeenSet
bool PublicDnsNameHasBeenSet() const
Definition: InstanceNetworkInterfaceAssociation.h:133
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetPublicIp
void SetPublicIp(Aws::String &&value)
Definition: InstanceNetworkInterfaceAssociation.h:188
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetPublicIp
void SetPublicIp(const Aws::String &value)
Definition: InstanceNetworkInterfaceAssociation.h:182
Aws::EC2::Model::InstanceNetworkInterfaceAssociation::SetCarrierIp
void SetCarrierIp(const char *value)
Definition: InstanceNetworkInterfaceAssociation.h:66