AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
HealthCheckObservation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9#include <aws/route53/model/HealthCheckRegion.h>
10#include <aws/route53/model/StatusReport.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53 {
21namespace Model {
22
30 public:
31 AWS_ROUTE53_API HealthCheckObservation() = default;
32 AWS_ROUTE53_API HealthCheckObservation(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
42 inline HealthCheckRegion GetRegion() const { return m_region; }
43 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
44 inline void SetRegion(HealthCheckRegion value) {
45 m_regionHasBeenSet = true;
46 m_region = value;
47 }
49 SetRegion(value);
50 return *this;
51 }
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) {
63 m_iPAddressHasBeenSet = true;
64 m_iPAddress = std::forward<IPAddressT>(value);
65 }
66 template <typename IPAddressT = Aws::String>
68 SetIPAddress(std::forward<IPAddressT>(value));
69 return *this;
70 }
72
74
78 inline const StatusReport& GetStatusReport() const { return m_statusReport; }
79 inline bool StatusReportHasBeenSet() const { return m_statusReportHasBeenSet; }
80 template <typename StatusReportT = StatusReport>
81 void SetStatusReport(StatusReportT&& value) {
82 m_statusReportHasBeenSet = true;
83 m_statusReport = std::forward<StatusReportT>(value);
84 }
85 template <typename StatusReportT = StatusReport>
86 HealthCheckObservation& WithStatusReport(StatusReportT&& value) {
87 SetStatusReport(std::forward<StatusReportT>(value));
88 return *this;
89 }
91 private:
93
94 Aws::String m_iPAddress;
95
96 StatusReport m_statusReport;
97 bool m_regionHasBeenSet = false;
98 bool m_iPAddressHasBeenSet = false;
99 bool m_statusReportHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Route53
104} // 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