AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetHealthCheckStatusResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/HealthCheckObservation.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace Route53 {
24namespace Model {
32 public:
33 AWS_ROUTE53_API GetHealthCheckStatusResult() = default;
36
38
43 inline const Aws::Vector<HealthCheckObservation>& GetHealthCheckObservations() const { return m_healthCheckObservations; }
44 template <typename HealthCheckObservationsT = Aws::Vector<HealthCheckObservation>>
45 void SetHealthCheckObservations(HealthCheckObservationsT&& value) {
46 m_healthCheckObservationsHasBeenSet = true;
47 m_healthCheckObservations = std::forward<HealthCheckObservationsT>(value);
48 }
49 template <typename HealthCheckObservationsT = Aws::Vector<HealthCheckObservation>>
50 GetHealthCheckStatusResult& WithHealthCheckObservations(HealthCheckObservationsT&& value) {
51 SetHealthCheckObservations(std::forward<HealthCheckObservationsT>(value));
52 return *this;
53 }
54 template <typename HealthCheckObservationsT = HealthCheckObservation>
55 GetHealthCheckStatusResult& AddHealthCheckObservations(HealthCheckObservationsT&& value) {
56 m_healthCheckObservationsHasBeenSet = true;
57 m_healthCheckObservations.emplace_back(std::forward<HealthCheckObservationsT>(value));
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 private:
77 Aws::Vector<HealthCheckObservation> m_healthCheckObservations;
78 bool m_healthCheckObservationsHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Route53
86} // namespace Aws
GetHealthCheckStatusResult & WithHealthCheckObservations(HealthCheckObservationsT &&value)
AWS_ROUTE53_API GetHealthCheckStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetHealthCheckStatusResult & AddHealthCheckObservations(HealthCheckObservationsT &&value)
void SetHealthCheckObservations(HealthCheckObservationsT &&value)
AWS_ROUTE53_API GetHealthCheckStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< HealthCheckObservation > & GetHealthCheckObservations() const
AWS_ROUTE53_API GetHealthCheckStatusResult()=default
GetHealthCheckStatusResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument