AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const HealthCheckRegion& GetRegion() const{ return m_region; }
49 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
50 inline void SetRegion(const HealthCheckRegion& value) { m_regionHasBeenSet = true; m_region = value; }
51 inline void SetRegion(HealthCheckRegion&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
52 inline HealthCheckObservation& WithRegion(const HealthCheckRegion& value) { SetRegion(value); return *this;}
53 inline HealthCheckObservation& WithRegion(HealthCheckRegion&& value) { SetRegion(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetIPAddress() const{ return m_iPAddress; }
62 inline bool IPAddressHasBeenSet() const { return m_iPAddressHasBeenSet; }
63 inline void SetIPAddress(const Aws::String& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
64 inline void SetIPAddress(Aws::String&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = std::move(value); }
65 inline void SetIPAddress(const char* value) { m_iPAddressHasBeenSet = true; m_iPAddress.assign(value); }
66 inline HealthCheckObservation& WithIPAddress(const Aws::String& value) { SetIPAddress(value); return *this;}
67 inline HealthCheckObservation& WithIPAddress(Aws::String&& value) { SetIPAddress(std::move(value)); return *this;}
68 inline HealthCheckObservation& WithIPAddress(const char* value) { SetIPAddress(value); return *this;}
70
72
76 inline const StatusReport& GetStatusReport() const{ return m_statusReport; }
77 inline bool StatusReportHasBeenSet() const { return m_statusReportHasBeenSet; }
78 inline void SetStatusReport(const StatusReport& value) { m_statusReportHasBeenSet = true; m_statusReport = value; }
79 inline void SetStatusReport(StatusReport&& value) { m_statusReportHasBeenSet = true; m_statusReport = std::move(value); }
80 inline HealthCheckObservation& WithStatusReport(const StatusReport& value) { SetStatusReport(value); return *this;}
81 inline HealthCheckObservation& WithStatusReport(StatusReport&& value) { SetStatusReport(std::move(value)); return *this;}
83 private:
84
85 HealthCheckRegion m_region;
86 bool m_regionHasBeenSet = false;
87
88 Aws::String m_iPAddress;
89 bool m_iPAddressHasBeenSet = false;
90
91 StatusReport m_statusReport;
92 bool m_statusReportHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Route53
97} // namespace Aws
void SetRegion(const HealthCheckRegion &value)
HealthCheckObservation & WithIPAddress(Aws::String &&value)
const HealthCheckRegion & GetRegion() const
HealthCheckObservation & WithRegion(const HealthCheckRegion &value)
AWS_ROUTE53_API HealthCheckObservation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HealthCheckObservation & WithIPAddress(const Aws::String &value)
HealthCheckObservation & WithRegion(HealthCheckRegion &&value)
HealthCheckObservation & WithIPAddress(const char *value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
HealthCheckObservation & WithStatusReport(const StatusReport &value)
AWS_ROUTE53_API HealthCheckObservation(const Aws::Utils::Xml::XmlNode &xmlNode)
HealthCheckObservation & WithStatusReport(StatusReport &&value)
void SetStatusReport(const StatusReport &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String