AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
ConfigureHealthCheckResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
9#include <aws/elasticloadbalancing/model/HealthCheck.h>
10#include <aws/elasticloadbalancing/model/ResponseMetadata.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 ElasticLoadBalancing {
24namespace Model {
31 public:
32 AWS_ELASTICLOADBALANCING_API ConfigureHealthCheckResult() = default;
34 AWS_ELASTICLOADBALANCING_API ConfigureHealthCheckResult& operator=(
36
38
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 ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
57 template <typename ResponseMetadataT = ResponseMetadata>
58 void SetResponseMetadata(ResponseMetadataT&& value) {
59 m_responseMetadataHasBeenSet = true;
60 m_responseMetadata = std::forward<ResponseMetadataT>(value);
61 }
62 template <typename ResponseMetadataT = ResponseMetadata>
64 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
65 return *this;
66 }
68 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
69
70 private:
71 HealthCheck m_healthCheck;
72
73 ResponseMetadata m_responseMetadata;
74 Aws::Http::HttpResponseCode m_HttpResponseCode;
75 bool m_healthCheckHasBeenSet = false;
76 bool m_responseMetadataHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ElasticLoadBalancing
81} // namespace Aws
AWS_ELASTICLOADBALANCING_API ConfigureHealthCheckResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICLOADBALANCING_API ConfigureHealthCheckResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ConfigureHealthCheckResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICLOADBALANCING_API ConfigureHealthCheckResult()=default
ConfigureHealthCheckResult & WithHealthCheck(HealthCheckT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument