AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VgwTelemetry.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/TelemetryStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_EC2_API VgwTelemetry();
37 AWS_EC2_API VgwTelemetry(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_EC2_API VgwTelemetry& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline int GetAcceptedRouteCount() const{ return m_acceptedRouteCount; }
49 inline bool AcceptedRouteCountHasBeenSet() const { return m_acceptedRouteCountHasBeenSet; }
50 inline void SetAcceptedRouteCount(int value) { m_acceptedRouteCountHasBeenSet = true; m_acceptedRouteCount = value; }
51 inline VgwTelemetry& WithAcceptedRouteCount(int value) { SetAcceptedRouteCount(value); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetLastStatusChange() const{ return m_lastStatusChange; }
60 inline bool LastStatusChangeHasBeenSet() const { return m_lastStatusChangeHasBeenSet; }
61 inline void SetLastStatusChange(const Aws::Utils::DateTime& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = value; }
62 inline void SetLastStatusChange(Aws::Utils::DateTime&& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = std::move(value); }
63 inline VgwTelemetry& WithLastStatusChange(const Aws::Utils::DateTime& value) { SetLastStatusChange(value); return *this;}
64 inline VgwTelemetry& WithLastStatusChange(Aws::Utils::DateTime&& value) { SetLastStatusChange(std::move(value)); return *this;}
66
68
72 inline const Aws::String& GetOutsideIpAddress() const{ return m_outsideIpAddress; }
73 inline bool OutsideIpAddressHasBeenSet() const { return m_outsideIpAddressHasBeenSet; }
74 inline void SetOutsideIpAddress(const Aws::String& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = value; }
75 inline void SetOutsideIpAddress(Aws::String&& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = std::move(value); }
76 inline void SetOutsideIpAddress(const char* value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress.assign(value); }
77 inline VgwTelemetry& WithOutsideIpAddress(const Aws::String& value) { SetOutsideIpAddress(value); return *this;}
78 inline VgwTelemetry& WithOutsideIpAddress(Aws::String&& value) { SetOutsideIpAddress(std::move(value)); return *this;}
79 inline VgwTelemetry& WithOutsideIpAddress(const char* value) { SetOutsideIpAddress(value); return *this;}
81
83
86 inline const TelemetryStatus& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const TelemetryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(TelemetryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline VgwTelemetry& WithStatus(const TelemetryStatus& value) { SetStatus(value); return *this;}
91 inline VgwTelemetry& WithStatus(TelemetryStatus&& value) { SetStatus(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
99 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
100 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
101 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
102 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
103 inline VgwTelemetry& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
104 inline VgwTelemetry& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
105 inline VgwTelemetry& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
107
109
112 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
113 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
114 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
115 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
116 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
117 inline VgwTelemetry& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
118 inline VgwTelemetry& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
119 inline VgwTelemetry& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
121 private:
122
123 int m_acceptedRouteCount;
124 bool m_acceptedRouteCountHasBeenSet = false;
125
126 Aws::Utils::DateTime m_lastStatusChange;
127 bool m_lastStatusChangeHasBeenSet = false;
128
129 Aws::String m_outsideIpAddress;
130 bool m_outsideIpAddressHasBeenSet = false;
131
132 TelemetryStatus m_status;
133 bool m_statusHasBeenSet = false;
134
135 Aws::String m_statusMessage;
136 bool m_statusMessageHasBeenSet = false;
137
138 Aws::String m_certificateArn;
139 bool m_certificateArnHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace EC2
144} // namespace Aws
VgwTelemetry & WithStatus(TelemetryStatus &&value)
void SetCertificateArn(const char *value)
VgwTelemetry & WithCertificateArn(const Aws::String &value)
VgwTelemetry & WithLastStatusChange(Aws::Utils::DateTime &&value)
VgwTelemetry & WithStatusMessage(Aws::String &&value)
void SetStatusMessage(const char *value)
VgwTelemetry & WithAcceptedRouteCount(int value)
void SetLastStatusChange(Aws::Utils::DateTime &&value)
bool OutsideIpAddressHasBeenSet() const
VgwTelemetry & WithStatus(const TelemetryStatus &value)
AWS_EC2_API VgwTelemetry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(TelemetryStatus &&value)
bool LastStatusChangeHasBeenSet() const
VgwTelemetry & WithLastStatusChange(const Aws::Utils::DateTime &value)
void SetAcceptedRouteCount(int value)
VgwTelemetry & WithOutsideIpAddress(const Aws::String &value)
void SetOutsideIpAddress(const Aws::String &value)
const Aws::Utils::DateTime & GetLastStatusChange() const
AWS_EC2_API VgwTelemetry(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStatusMessage() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOutsideIpAddress(Aws::String &&value)
const TelemetryStatus & GetStatus() const
VgwTelemetry & WithStatusMessage(const char *value)
void SetStatusMessage(Aws::String &&value)
VgwTelemetry & WithStatusMessage(const Aws::String &value)
VgwTelemetry & WithCertificateArn(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
VgwTelemetry & WithOutsideIpAddress(Aws::String &&value)
const Aws::String & GetOutsideIpAddress() const
VgwTelemetry & WithCertificateArn(const char *value)
void SetCertificateArn(Aws::String &&value)
bool AcceptedRouteCountHasBeenSet() const
void SetLastStatusChange(const Aws::Utils::DateTime &value)
VgwTelemetry & WithOutsideIpAddress(const char *value)
void SetCertificateArn(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatus(const TelemetryStatus &value)
const Aws::String & GetCertificateArn() const
void SetOutsideIpAddress(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream