AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
CreateHealthCheckResult.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/HealthCheck.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace Route53 {
23namespace Model {
31 public:
32 AWS_ROUTE53_API CreateHealthCheckResult() = default;
35
37
41 inline const HealthCheck& GetHealthCheck() const { return m_healthCheck; }
42 template <typename HealthCheckT = HealthCheck>
43 void SetHealthCheck(HealthCheckT&& value) {
44 m_healthCheckHasBeenSet = true;
45 m_healthCheck = std::forward<HealthCheckT>(value);
46 }
47 template <typename HealthCheckT = HealthCheck>
49 SetHealthCheck(std::forward<HealthCheckT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetLocation() const { return m_location; }
59 template <typename LocationT = Aws::String>
60 void SetLocation(LocationT&& value) {
61 m_locationHasBeenSet = true;
62 m_location = std::forward<LocationT>(value);
63 }
64 template <typename LocationT = Aws::String>
66 SetLocation(std::forward<LocationT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
86 HealthCheck m_healthCheck;
87 bool m_healthCheckHasBeenSet = false;
88
89 Aws::String m_location;
90 bool m_locationHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Route53
98} // namespace Aws
CreateHealthCheckResult & WithHealthCheck(HealthCheckT &&value)
CreateHealthCheckResult & WithLocation(LocationT &&value)
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