AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HealthCheckObservation.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/HealthCheckRegion.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/StatusReport.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Route53
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROUTE53_API HealthCheckObservation() = default;
37 AWS_ROUTE53_API HealthCheckObservation(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
48 inline HealthCheckRegion GetRegion() const { return m_region; }
49 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
50 inline void SetRegion(HealthCheckRegion value) { m_regionHasBeenSet = true; m_region = value; }
51 inline HealthCheckObservation& WithRegion(HealthCheckRegion value) { SetRegion(value); return *this;}
53
55
59 inline const Aws::String& GetIPAddress() const { return m_iPAddress; }
60 inline bool IPAddressHasBeenSet() const { return m_iPAddressHasBeenSet; }
61 template<typename IPAddressT = Aws::String>
62 void SetIPAddress(IPAddressT&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = std::forward<IPAddressT>(value); }
63 template<typename IPAddressT = Aws::String>
64 HealthCheckObservation& WithIPAddress(IPAddressT&& value) { SetIPAddress(std::forward<IPAddressT>(value)); return *this;}
66
68
72 inline const StatusReport& GetStatusReport() const { return m_statusReport; }
73 inline bool StatusReportHasBeenSet() const { return m_statusReportHasBeenSet; }
74 template<typename StatusReportT = StatusReport>
75 void SetStatusReport(StatusReportT&& value) { m_statusReportHasBeenSet = true; m_statusReport = std::forward<StatusReportT>(value); }
76 template<typename StatusReportT = StatusReport>
77 HealthCheckObservation& WithStatusReport(StatusReportT&& value) { SetStatusReport(std::forward<StatusReportT>(value)); return *this;}
79 private:
80
82 bool m_regionHasBeenSet = false;
83
84 Aws::String m_iPAddress;
85 bool m_iPAddressHasBeenSet = false;
86
87 StatusReport m_statusReport;
88 bool m_statusReportHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Route53
93} // namespace Aws
HealthCheckObservation & WithRegion(HealthCheckRegion value)
HealthCheckObservation & WithIPAddress(IPAddressT &&value)
HealthCheckObservation & WithStatusReport(StatusReportT &&value)
AWS_ROUTE53_API HealthCheckObservation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API HealthCheckObservation()=default
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API HealthCheckObservation(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String