AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
UpdateHealthCheckResult.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 UpdateHealthCheckResult() = 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
56 inline const Aws::String& GetRequestId() const { return m_requestId; }
57 template <typename RequestIdT = Aws::String>
58 void SetRequestId(RequestIdT&& value) {
59 m_requestIdHasBeenSet = true;
60 m_requestId = std::forward<RequestIdT>(value);
61 }
62 template <typename RequestIdT = Aws::String>
64 SetRequestId(std::forward<RequestIdT>(value));
65 return *this;
66 }
68 private:
69 HealthCheck m_healthCheck;
70
71 Aws::String m_requestId;
72 bool m_healthCheckHasBeenSet = false;
73 bool m_requestIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Route53
78} // namespace Aws
UpdateHealthCheckResult & WithHealthCheck(HealthCheckT &&value)
AWS_ROUTE53_API UpdateHealthCheckResult()=default
UpdateHealthCheckResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53_API UpdateHealthCheckResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ROUTE53_API UpdateHealthCheckResult & 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