AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
CreateHealthCheckResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/HealthCheck.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 CreateHealthCheckResult() = default;
36
38
42 inline const HealthCheck& GetHealthCheck() const { return m_healthCheck; }
43 template <typename HealthCheckT = HealthCheck>
44 void SetHealthCheck(HealthCheckT&& value) {
45 m_healthCheckHasBeenSet = true;
46 m_healthCheck = std::forward<HealthCheckT>(value);
47 }
48 template <typename HealthCheckT = HealthCheck>
50 SetHealthCheck(std::forward<HealthCheckT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetLocation() const { return m_location; }
60 template <typename LocationT = Aws::String>
61 void SetLocation(LocationT&& value) {
62 m_locationHasBeenSet = true;
63 m_location = std::forward<LocationT>(value);
64 }
65 template <typename LocationT = Aws::String>
67 SetLocation(std::forward<LocationT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 HealthCheck m_healthCheck;
90
91 Aws::String m_location;
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_healthCheckHasBeenSet = false;
96 bool m_locationHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Route53
102} // namespace Aws
CreateHealthCheckResult & WithHealthCheck(HealthCheckT &&value)
CreateHealthCheckResult & WithLocation(LocationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateHealthCheckResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53_API CreateHealthCheckResult()=default
AWS_ROUTE53_API CreateHealthCheckResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ROUTE53_API CreateHealthCheckResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument