AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetHealthCheckStatusResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/HealthCheckObservation.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Route53
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ROUTE53_API GetHealthCheckStatusResult();
41
42
44
49 inline const Aws::Vector<HealthCheckObservation>& GetHealthCheckObservations() const{ return m_healthCheckObservations; }
50 inline void SetHealthCheckObservations(const Aws::Vector<HealthCheckObservation>& value) { m_healthCheckObservations = value; }
51 inline void SetHealthCheckObservations(Aws::Vector<HealthCheckObservation>&& value) { m_healthCheckObservations = std::move(value); }
54 inline GetHealthCheckStatusResult& AddHealthCheckObservations(const HealthCheckObservation& value) { m_healthCheckObservations.push_back(value); return *this; }
55 inline GetHealthCheckStatusResult& AddHealthCheckObservations(HealthCheckObservation&& value) { m_healthCheckObservations.push_back(std::move(value)); return *this; }
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline GetHealthCheckStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline GetHealthCheckStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline GetHealthCheckStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::Vector<HealthCheckObservation> m_healthCheckObservations;
71
72 Aws::String m_requestId;
73 };
74
75} // namespace Model
76} // namespace Route53
77} // namespace Aws
GetHealthCheckStatusResult & WithHealthCheckObservations(Aws::Vector< HealthCheckObservation > &&value)
GetHealthCheckStatusResult & AddHealthCheckObservations(HealthCheckObservation &&value)
AWS_ROUTE53_API GetHealthCheckStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetHealthCheckObservations(Aws::Vector< HealthCheckObservation > &&value)
void SetHealthCheckObservations(const Aws::Vector< HealthCheckObservation > &value)
GetHealthCheckStatusResult & WithRequestId(const Aws::String &value)
AWS_ROUTE53_API GetHealthCheckStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetHealthCheckStatusResult & WithRequestId(Aws::String &&value)
GetHealthCheckStatusResult & WithHealthCheckObservations(const Aws::Vector< HealthCheckObservation > &value)
const Aws::Vector< HealthCheckObservation > & GetHealthCheckObservations() const
GetHealthCheckStatusResult & AddHealthCheckObservations(const HealthCheckObservation &value)
GetHealthCheckStatusResult & WithRequestId(const char *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