AWS SDK for C++  1.9.123
AWS SDK for C++
VgwTelemetry.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
27 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline int GetAcceptedRouteCount() const{ return m_acceptedRouteCount; }
48 
52  inline bool AcceptedRouteCountHasBeenSet() const { return m_acceptedRouteCountHasBeenSet; }
53 
57  inline void SetAcceptedRouteCount(int value) { m_acceptedRouteCountHasBeenSet = true; m_acceptedRouteCount = value; }
58 
62  inline VgwTelemetry& WithAcceptedRouteCount(int value) { SetAcceptedRouteCount(value); return *this;}
63 
64 
68  inline const Aws::Utils::DateTime& GetLastStatusChange() const{ return m_lastStatusChange; }
69 
73  inline bool LastStatusChangeHasBeenSet() const { return m_lastStatusChangeHasBeenSet; }
74 
78  inline void SetLastStatusChange(const Aws::Utils::DateTime& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = value; }
79 
83  inline void SetLastStatusChange(Aws::Utils::DateTime&& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = std::move(value); }
84 
88  inline VgwTelemetry& WithLastStatusChange(const Aws::Utils::DateTime& value) { SetLastStatusChange(value); return *this;}
89 
93  inline VgwTelemetry& WithLastStatusChange(Aws::Utils::DateTime&& value) { SetLastStatusChange(std::move(value)); return *this;}
94 
95 
100  inline const Aws::String& GetOutsideIpAddress() const{ return m_outsideIpAddress; }
101 
106  inline bool OutsideIpAddressHasBeenSet() const { return m_outsideIpAddressHasBeenSet; }
107 
112  inline void SetOutsideIpAddress(const Aws::String& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = value; }
113 
118  inline void SetOutsideIpAddress(Aws::String&& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = std::move(value); }
119 
124  inline void SetOutsideIpAddress(const char* value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress.assign(value); }
125 
130  inline VgwTelemetry& WithOutsideIpAddress(const Aws::String& value) { SetOutsideIpAddress(value); return *this;}
131 
136  inline VgwTelemetry& WithOutsideIpAddress(Aws::String&& value) { SetOutsideIpAddress(std::move(value)); return *this;}
137 
142  inline VgwTelemetry& WithOutsideIpAddress(const char* value) { SetOutsideIpAddress(value); return *this;}
143 
144 
148  inline const TelemetryStatus& GetStatus() const{ return m_status; }
149 
153  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 
158  inline void SetStatus(const TelemetryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
159 
163  inline void SetStatus(TelemetryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
164 
168  inline VgwTelemetry& WithStatus(const TelemetryStatus& value) { SetStatus(value); return *this;}
169 
173  inline VgwTelemetry& WithStatus(TelemetryStatus&& value) { SetStatus(std::move(value)); return *this;}
174 
175 
179  inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
180 
184  inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
185 
189  inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
190 
194  inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
195 
199  inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
200 
204  inline VgwTelemetry& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
205 
209  inline VgwTelemetry& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
210 
214  inline VgwTelemetry& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
215 
216 
220  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
221 
225  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
226 
230  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
231 
235  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
236 
240  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
241 
245  inline VgwTelemetry& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
246 
250  inline VgwTelemetry& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
251 
255  inline VgwTelemetry& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
256 
257  private:
258 
259  int m_acceptedRouteCount;
260  bool m_acceptedRouteCountHasBeenSet;
261 
262  Aws::Utils::DateTime m_lastStatusChange;
263  bool m_lastStatusChangeHasBeenSet;
264 
265  Aws::String m_outsideIpAddress;
266  bool m_outsideIpAddressHasBeenSet;
267 
268  TelemetryStatus m_status;
269  bool m_statusHasBeenSet;
270 
271  Aws::String m_statusMessage;
272  bool m_statusMessageHasBeenSet;
273 
274  Aws::String m_certificateArn;
275  bool m_certificateArnHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace EC2
280 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::VgwTelemetry::GetOutsideIpAddress
const Aws::String & GetOutsideIpAddress() const
Definition: VgwTelemetry.h:100
Aws::EC2::Model::VgwTelemetry::LastStatusChangeHasBeenSet
bool LastStatusChangeHasBeenSet() const
Definition: VgwTelemetry.h:73
Aws::EC2::Model::VgwTelemetry::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: VgwTelemetry.h:235
Aws::EC2::Model::VgwTelemetry::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: VgwTelemetry.h:220
Aws::EC2::Model::VgwTelemetry::GetLastStatusChange
const Aws::Utils::DateTime & GetLastStatusChange() const
Definition: VgwTelemetry.h:68
Aws::EC2::Model::VgwTelemetry::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::VgwTelemetry::SetLastStatusChange
void SetLastStatusChange(const Aws::Utils::DateTime &value)
Definition: VgwTelemetry.h:78
Aws::EC2::Model::VgwTelemetry::VgwTelemetry
VgwTelemetry(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::VgwTelemetry::WithOutsideIpAddress
VgwTelemetry & WithOutsideIpAddress(Aws::String &&value)
Definition: VgwTelemetry.h:136
Aws::EC2::Model::VgwTelemetry::GetAcceptedRouteCount
int GetAcceptedRouteCount() const
Definition: VgwTelemetry.h:47
Aws::EC2::Model::VgwTelemetry::SetLastStatusChange
void SetLastStatusChange(Aws::Utils::DateTime &&value)
Definition: VgwTelemetry.h:83
Aws::EC2::Model::VgwTelemetry::GetStatus
const TelemetryStatus & GetStatus() const
Definition: VgwTelemetry.h:148
Aws::EC2::Model::VgwTelemetry::WithStatus
VgwTelemetry & WithStatus(TelemetryStatus &&value)
Definition: VgwTelemetry.h:173
Aws::EC2::Model::VgwTelemetry::OutsideIpAddressHasBeenSet
bool OutsideIpAddressHasBeenSet() const
Definition: VgwTelemetry.h:106
DateTime.h
Aws::EC2::Model::TelemetryStatus
TelemetryStatus
Definition: TelemetryStatus.h:17
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::VgwTelemetry::WithStatusMessage
VgwTelemetry & WithStatusMessage(const Aws::String &value)
Definition: VgwTelemetry.h:204
Aws::EC2::Model::VgwTelemetry::AcceptedRouteCountHasBeenSet
bool AcceptedRouteCountHasBeenSet() const
Definition: VgwTelemetry.h:52
Aws::EC2::Model::VgwTelemetry::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: VgwTelemetry.h:225
AWSStreamFwd.h
Aws::EC2::Model::VgwTelemetry::operator=
VgwTelemetry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::VgwTelemetry::SetOutsideIpAddress
void SetOutsideIpAddress(const char *value)
Definition: VgwTelemetry.h:124
Aws::EC2::Model::VgwTelemetry::SetStatus
void SetStatus(TelemetryStatus &&value)
Definition: VgwTelemetry.h:163
Aws::EC2::Model::VgwTelemetry::SetStatusMessage
void SetStatusMessage(const Aws::String &value)
Definition: VgwTelemetry.h:189
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::VgwTelemetry::SetStatusMessage
void SetStatusMessage(const char *value)
Definition: VgwTelemetry.h:199
Aws::EC2::Model::VgwTelemetry::StatusMessageHasBeenSet
bool StatusMessageHasBeenSet() const
Definition: VgwTelemetry.h:184
Aws::EC2::Model::VgwTelemetry::WithCertificateArn
VgwTelemetry & WithCertificateArn(const char *value)
Definition: VgwTelemetry.h:255
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::VgwTelemetry::WithCertificateArn
VgwTelemetry & WithCertificateArn(Aws::String &&value)
Definition: VgwTelemetry.h:250
Aws::EC2::Model::VgwTelemetry::SetOutsideIpAddress
void SetOutsideIpAddress(const Aws::String &value)
Definition: VgwTelemetry.h:112
Aws::EC2::Model::VgwTelemetry::WithStatus
VgwTelemetry & WithStatus(const TelemetryStatus &value)
Definition: VgwTelemetry.h:168
Aws::EC2::Model::VgwTelemetry::VgwTelemetry
VgwTelemetry()
Aws::EC2::Model::VgwTelemetry::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: VgwTelemetry.h:153
AWSString.h
Aws::EC2::Model::VgwTelemetry
Definition: VgwTelemetry.h:34
Aws::EC2::Model::VgwTelemetry::WithOutsideIpAddress
VgwTelemetry & WithOutsideIpAddress(const Aws::String &value)
Definition: VgwTelemetry.h:130
Aws::EC2::Model::VgwTelemetry::WithLastStatusChange
VgwTelemetry & WithLastStatusChange(Aws::Utils::DateTime &&value)
Definition: VgwTelemetry.h:93
Aws::EC2::Model::VgwTelemetry::SetStatusMessage
void SetStatusMessage(Aws::String &&value)
Definition: VgwTelemetry.h:194
Aws::EC2::Model::VgwTelemetry::GetStatusMessage
const Aws::String & GetStatusMessage() const
Definition: VgwTelemetry.h:179
TelemetryStatus.h
Aws::EC2::Model::VgwTelemetry::SetStatus
void SetStatus(const TelemetryStatus &value)
Definition: VgwTelemetry.h:158
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::VgwTelemetry::WithStatusMessage
VgwTelemetry & WithStatusMessage(Aws::String &&value)
Definition: VgwTelemetry.h:209
Aws::EC2::Model::VgwTelemetry::SetOutsideIpAddress
void SetOutsideIpAddress(Aws::String &&value)
Definition: VgwTelemetry.h:118
Aws::EC2::Model::VgwTelemetry::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: VgwTelemetry.h:240
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::VgwTelemetry::WithCertificateArn
VgwTelemetry & WithCertificateArn(const Aws::String &value)
Definition: VgwTelemetry.h:245
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::VgwTelemetry::WithAcceptedRouteCount
VgwTelemetry & WithAcceptedRouteCount(int value)
Definition: VgwTelemetry.h:62
Aws::EC2::Model::VgwTelemetry::SetAcceptedRouteCount
void SetAcceptedRouteCount(int value)
Definition: VgwTelemetry.h:57
Aws::EC2::Model::VgwTelemetry::WithStatusMessage
VgwTelemetry & WithStatusMessage(const char *value)
Definition: VgwTelemetry.h:214
Aws::EC2::Model::VgwTelemetry::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: VgwTelemetry.h:230
Aws::EC2::Model::VgwTelemetry::WithOutsideIpAddress
VgwTelemetry & WithOutsideIpAddress(const char *value)
Definition: VgwTelemetry.h:142
EC2_EXPORTS.h
Aws::EC2::Model::VgwTelemetry::WithLastStatusChange
VgwTelemetry & WithLastStatusChange(const Aws::Utils::DateTime &value)
Definition: VgwTelemetry.h:88
Aws::EC2::Model::VgwTelemetry::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const