AWS SDK for C++  1.9.108
AWS SDK for C++
VpnDetails.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_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 RDS
22 {
23 namespace Model
24 {
25 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
49  inline const Aws::String& GetVpnId() const{ return m_vpnId; }
50 
54  inline bool VpnIdHasBeenSet() const { return m_vpnIdHasBeenSet; }
55 
59  inline void SetVpnId(const Aws::String& value) { m_vpnIdHasBeenSet = true; m_vpnId = value; }
60 
64  inline void SetVpnId(Aws::String&& value) { m_vpnIdHasBeenSet = true; m_vpnId = std::move(value); }
65 
69  inline void SetVpnId(const char* value) { m_vpnIdHasBeenSet = true; m_vpnId.assign(value); }
70 
74  inline VpnDetails& WithVpnId(const Aws::String& value) { SetVpnId(value); return *this;}
75 
79  inline VpnDetails& WithVpnId(Aws::String&& value) { SetVpnId(std::move(value)); return *this;}
80 
84  inline VpnDetails& WithVpnId(const char* value) { SetVpnId(value); return *this;}
85 
86 
91  inline const Aws::String& GetVpnTunnelOriginatorIP() const{ return m_vpnTunnelOriginatorIP; }
92 
97  inline bool VpnTunnelOriginatorIPHasBeenSet() const { return m_vpnTunnelOriginatorIPHasBeenSet; }
98 
103  inline void SetVpnTunnelOriginatorIP(const Aws::String& value) { m_vpnTunnelOriginatorIPHasBeenSet = true; m_vpnTunnelOriginatorIP = value; }
104 
109  inline void SetVpnTunnelOriginatorIP(Aws::String&& value) { m_vpnTunnelOriginatorIPHasBeenSet = true; m_vpnTunnelOriginatorIP = std::move(value); }
110 
115  inline void SetVpnTunnelOriginatorIP(const char* value) { m_vpnTunnelOriginatorIPHasBeenSet = true; m_vpnTunnelOriginatorIP.assign(value); }
116 
121  inline VpnDetails& WithVpnTunnelOriginatorIP(const Aws::String& value) { SetVpnTunnelOriginatorIP(value); return *this;}
122 
127  inline VpnDetails& WithVpnTunnelOriginatorIP(Aws::String&& value) { SetVpnTunnelOriginatorIP(std::move(value)); return *this;}
128 
133  inline VpnDetails& WithVpnTunnelOriginatorIP(const char* value) { SetVpnTunnelOriginatorIP(value); return *this;}
134 
135 
140  inline const Aws::String& GetVpnGatewayIp() const{ return m_vpnGatewayIp; }
141 
146  inline bool VpnGatewayIpHasBeenSet() const { return m_vpnGatewayIpHasBeenSet; }
147 
152  inline void SetVpnGatewayIp(const Aws::String& value) { m_vpnGatewayIpHasBeenSet = true; m_vpnGatewayIp = value; }
153 
158  inline void SetVpnGatewayIp(Aws::String&& value) { m_vpnGatewayIpHasBeenSet = true; m_vpnGatewayIp = std::move(value); }
159 
164  inline void SetVpnGatewayIp(const char* value) { m_vpnGatewayIpHasBeenSet = true; m_vpnGatewayIp.assign(value); }
165 
170  inline VpnDetails& WithVpnGatewayIp(const Aws::String& value) { SetVpnGatewayIp(value); return *this;}
171 
176  inline VpnDetails& WithVpnGatewayIp(Aws::String&& value) { SetVpnGatewayIp(std::move(value)); return *this;}
177 
182  inline VpnDetails& WithVpnGatewayIp(const char* value) { SetVpnGatewayIp(value); return *this;}
183 
184 
188  inline const Aws::String& GetVpnPSK() const{ return m_vpnPSK; }
189 
193  inline bool VpnPSKHasBeenSet() const { return m_vpnPSKHasBeenSet; }
194 
198  inline void SetVpnPSK(const Aws::String& value) { m_vpnPSKHasBeenSet = true; m_vpnPSK = value; }
199 
203  inline void SetVpnPSK(Aws::String&& value) { m_vpnPSKHasBeenSet = true; m_vpnPSK = std::move(value); }
204 
208  inline void SetVpnPSK(const char* value) { m_vpnPSKHasBeenSet = true; m_vpnPSK.assign(value); }
209 
213  inline VpnDetails& WithVpnPSK(const Aws::String& value) { SetVpnPSK(value); return *this;}
214 
218  inline VpnDetails& WithVpnPSK(Aws::String&& value) { SetVpnPSK(std::move(value)); return *this;}
219 
223  inline VpnDetails& WithVpnPSK(const char* value) { SetVpnPSK(value); return *this;}
224 
225 
229  inline const Aws::String& GetVpnName() const{ return m_vpnName; }
230 
234  inline bool VpnNameHasBeenSet() const { return m_vpnNameHasBeenSet; }
235 
239  inline void SetVpnName(const Aws::String& value) { m_vpnNameHasBeenSet = true; m_vpnName = value; }
240 
244  inline void SetVpnName(Aws::String&& value) { m_vpnNameHasBeenSet = true; m_vpnName = std::move(value); }
245 
249  inline void SetVpnName(const char* value) { m_vpnNameHasBeenSet = true; m_vpnName.assign(value); }
250 
254  inline VpnDetails& WithVpnName(const Aws::String& value) { SetVpnName(value); return *this;}
255 
259  inline VpnDetails& WithVpnName(Aws::String&& value) { SetVpnName(std::move(value)); return *this;}
260 
264  inline VpnDetails& WithVpnName(const char* value) { SetVpnName(value); return *this;}
265 
266 
270  inline const Aws::String& GetVpnState() const{ return m_vpnState; }
271 
275  inline bool VpnStateHasBeenSet() const { return m_vpnStateHasBeenSet; }
276 
280  inline void SetVpnState(const Aws::String& value) { m_vpnStateHasBeenSet = true; m_vpnState = value; }
281 
285  inline void SetVpnState(Aws::String&& value) { m_vpnStateHasBeenSet = true; m_vpnState = std::move(value); }
286 
290  inline void SetVpnState(const char* value) { m_vpnStateHasBeenSet = true; m_vpnState.assign(value); }
291 
295  inline VpnDetails& WithVpnState(const Aws::String& value) { SetVpnState(value); return *this;}
296 
300  inline VpnDetails& WithVpnState(Aws::String&& value) { SetVpnState(std::move(value)); return *this;}
301 
305  inline VpnDetails& WithVpnState(const char* value) { SetVpnState(value); return *this;}
306 
307  private:
308 
309  Aws::String m_vpnId;
310  bool m_vpnIdHasBeenSet;
311 
312  Aws::String m_vpnTunnelOriginatorIP;
313  bool m_vpnTunnelOriginatorIPHasBeenSet;
314 
315  Aws::String m_vpnGatewayIp;
316  bool m_vpnGatewayIpHasBeenSet;
317 
318  Aws::String m_vpnPSK;
319  bool m_vpnPSKHasBeenSet;
320 
321  Aws::String m_vpnName;
322  bool m_vpnNameHasBeenSet;
323 
324  Aws::String m_vpnState;
325  bool m_vpnStateHasBeenSet;
326  };
327 
328 } // namespace Model
329 } // namespace RDS
330 } // namespace Aws
Aws::RDS::Model::VpnDetails::WithVpnTunnelOriginatorIP
VpnDetails & WithVpnTunnelOriginatorIP(const char *value)
Definition: VpnDetails.h:133
Aws::RDS::Model::VpnDetails::SetVpnName
void SetVpnName(Aws::String &&value)
Definition: VpnDetails.h:244
Aws::RDS::Model::VpnDetails::GetVpnName
const Aws::String & GetVpnName() const
Definition: VpnDetails.h:229
Aws::RDS::Model::VpnDetails::operator=
VpnDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::VpnDetails::WithVpnState
VpnDetails & WithVpnState(Aws::String &&value)
Definition: VpnDetails.h:300
Aws::RDS::Model::VpnDetails::GetVpnId
const Aws::String & GetVpnId() const
Definition: VpnDetails.h:49
Aws::RDS::Model::VpnDetails::VpnIdHasBeenSet
bool VpnIdHasBeenSet() const
Definition: VpnDetails.h:54
Aws::RDS::Model::VpnDetails::SetVpnName
void SetVpnName(const Aws::String &value)
Definition: VpnDetails.h:239
Aws::RDS::Model::VpnDetails::VpnGatewayIpHasBeenSet
bool VpnGatewayIpHasBeenSet() const
Definition: VpnDetails.h:146
Aws::RDS::Model::VpnDetails::GetVpnState
const Aws::String & GetVpnState() const
Definition: VpnDetails.h:270
Aws::RDS::Model::VpnDetails::GetVpnPSK
const Aws::String & GetVpnPSK() const
Definition: VpnDetails.h:188
Aws::RDS::Model::VpnDetails::WithVpnId
VpnDetails & WithVpnId(const char *value)
Definition: VpnDetails.h:84
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::VpnDetails::WithVpnGatewayIp
VpnDetails & WithVpnGatewayIp(Aws::String &&value)
Definition: VpnDetails.h:176
Aws::RDS::Model::VpnDetails::WithVpnPSK
VpnDetails & WithVpnPSK(const char *value)
Definition: VpnDetails.h:223
Aws::RDS::Model::VpnDetails
Definition: VpnDetails.h:36
Aws::RDS::Model::VpnDetails::SetVpnGatewayIp
void SetVpnGatewayIp(Aws::String &&value)
Definition: VpnDetails.h:158
Aws::RDS::Model::VpnDetails::SetVpnTunnelOriginatorIP
void SetVpnTunnelOriginatorIP(const Aws::String &value)
Definition: VpnDetails.h:103
Aws::RDS::Model::VpnDetails::WithVpnPSK
VpnDetails & WithVpnPSK(Aws::String &&value)
Definition: VpnDetails.h:218
AWSStreamFwd.h
Aws::RDS::Model::VpnDetails::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::VpnDetails::SetVpnName
void SetVpnName(const char *value)
Definition: VpnDetails.h:249
Aws::RDS::Model::VpnDetails::SetVpnPSK
void SetVpnPSK(Aws::String &&value)
Definition: VpnDetails.h:203
Aws::RDS::Model::VpnDetails::SetVpnState
void SetVpnState(const Aws::String &value)
Definition: VpnDetails.h:280
Aws::RDS::Model::VpnDetails::SetVpnId
void SetVpnId(Aws::String &&value)
Definition: VpnDetails.h:64
Aws::RDS::Model::VpnDetails::WithVpnName
VpnDetails & WithVpnName(const Aws::String &value)
Definition: VpnDetails.h:254
Aws::RDS::Model::VpnDetails::WithVpnState
VpnDetails & WithVpnState(const char *value)
Definition: VpnDetails.h:305
Aws::RDS::Model::VpnDetails::WithVpnId
VpnDetails & WithVpnId(Aws::String &&value)
Definition: VpnDetails.h:79
Aws::RDS::Model::VpnDetails::VpnStateHasBeenSet
bool VpnStateHasBeenSet() const
Definition: VpnDetails.h:275
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::VpnDetails::GetVpnTunnelOriginatorIP
const Aws::String & GetVpnTunnelOriginatorIP() const
Definition: VpnDetails.h:91
Aws::RDS::Model::VpnDetails::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::VpnDetails::SetVpnState
void SetVpnState(Aws::String &&value)
Definition: VpnDetails.h:285
Aws::RDS::Model::VpnDetails::WithVpnGatewayIp
VpnDetails & WithVpnGatewayIp(const char *value)
Definition: VpnDetails.h:182
Aws::RDS::Model::VpnDetails::WithVpnTunnelOriginatorIP
VpnDetails & WithVpnTunnelOriginatorIP(Aws::String &&value)
Definition: VpnDetails.h:127
Aws::RDS::Model::VpnDetails::SetVpnTunnelOriginatorIP
void SetVpnTunnelOriginatorIP(Aws::String &&value)
Definition: VpnDetails.h:109
Aws::RDS::Model::VpnDetails::WithVpnName
VpnDetails & WithVpnName(Aws::String &&value)
Definition: VpnDetails.h:259
Aws::RDS::Model::VpnDetails::SetVpnGatewayIp
void SetVpnGatewayIp(const Aws::String &value)
Definition: VpnDetails.h:152
Aws::RDS::Model::VpnDetails::SetVpnPSK
void SetVpnPSK(const Aws::String &value)
Definition: VpnDetails.h:198
AWSString.h
Aws::RDS::Model::VpnDetails::WithVpnName
VpnDetails & WithVpnName(const char *value)
Definition: VpnDetails.h:264
Aws::RDS::Model::VpnDetails::VpnDetails
VpnDetails()
Aws::RDS::Model::VpnDetails::WithVpnPSK
VpnDetails & WithVpnPSK(const Aws::String &value)
Definition: VpnDetails.h:213
Aws::RDS::Model::VpnDetails::WithVpnTunnelOriginatorIP
VpnDetails & WithVpnTunnelOriginatorIP(const Aws::String &value)
Definition: VpnDetails.h:121
Aws::RDS::Model::VpnDetails::VpnPSKHasBeenSet
bool VpnPSKHasBeenSet() const
Definition: VpnDetails.h:193
Aws::RDS::Model::VpnDetails::SetVpnId
void SetVpnId(const char *value)
Definition: VpnDetails.h:69
Aws::RDS::Model::VpnDetails::WithVpnGatewayIp
VpnDetails & WithVpnGatewayIp(const Aws::String &value)
Definition: VpnDetails.h:170
Aws::RDS::Model::VpnDetails::SetVpnPSK
void SetVpnPSK(const char *value)
Definition: VpnDetails.h:208
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::VpnDetails::VpnTunnelOriginatorIPHasBeenSet
bool VpnTunnelOriginatorIPHasBeenSet() const
Definition: VpnDetails.h:97
Aws::RDS::Model::VpnDetails::VpnDetails
VpnDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::VpnDetails::WithVpnState
VpnDetails & WithVpnState(const Aws::String &value)
Definition: VpnDetails.h:295
Aws::RDS::Model::VpnDetails::SetVpnGatewayIp
void SetVpnGatewayIp(const char *value)
Definition: VpnDetails.h:164
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::RDS::Model::VpnDetails::SetVpnState
void SetVpnState(const char *value)
Definition: VpnDetails.h:290
Aws::RDS::Model::VpnDetails::VpnNameHasBeenSet
bool VpnNameHasBeenSet() const
Definition: VpnDetails.h:234
Aws::RDS::Model::VpnDetails::GetVpnGatewayIp
const Aws::String & GetVpnGatewayIp() const
Definition: VpnDetails.h:140
Aws::RDS::Model::VpnDetails::WithVpnId
VpnDetails & WithVpnId(const Aws::String &value)
Definition: VpnDetails.h:74
Aws::RDS::Model::VpnDetails::SetVpnTunnelOriginatorIP
void SetVpnTunnelOriginatorIP(const char *value)
Definition: VpnDetails.h:115
Aws::RDS::Model::VpnDetails::SetVpnId
void SetVpnId(const Aws::String &value)
Definition: VpnDetails.h:59