AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ConfigureHealthCheckResult.h
1
6#pragma once
7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/elasticloadbalancing/model/HealthCheck.h>
9#include <aws/elasticloadbalancing/model/ResponseMetadata.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 ElasticLoadBalancing {
23namespace Model {
30 public:
31 AWS_ELASTICLOADBALANCING_API ConfigureHealthCheckResult() = default;
33 AWS_ELASTICLOADBALANCING_API ConfigureHealthCheckResult& operator=(
35
37
40 inline const HealthCheck& GetHealthCheck() const { return m_healthCheck; }
41 template <typename HealthCheckT = HealthCheck>
42 void SetHealthCheck(HealthCheckT&& value) {
43 m_healthCheckHasBeenSet = true;
44 m_healthCheck = std::forward<HealthCheckT>(value);
45 }
46 template <typename HealthCheckT = HealthCheck>
48 SetHealthCheck(std::forward<HealthCheckT>(value));
49 return *this;
50 }
52
54
55 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
56 template <typename ResponseMetadataT = ResponseMetadata>
57 void SetResponseMetadata(ResponseMetadataT&& value) {
58 m_responseMetadataHasBeenSet = true;
59 m_responseMetadata = std::forward<ResponseMetadataT>(value);
60 }
61 template <typename ResponseMetadataT = ResponseMetadata>
63 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
64 return *this;
65 }
67 private:
68 HealthCheck m_healthCheck;
69
70 ResponseMetadata m_responseMetadata;
71 bool m_healthCheckHasBeenSet = false;
72 bool m_responseMetadataHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace ElasticLoadBalancing
77} // 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