AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticLoadBalancing
25{
26namespace Model
27{
34 {
35 public:
36 AWS_ELASTICLOADBALANCING_API ConfigureHealthCheckResult() = default;
39
40
42
45 inline const HealthCheck& GetHealthCheck() const { return m_healthCheck; }
46 template<typename HealthCheckT = HealthCheck>
47 void SetHealthCheck(HealthCheckT&& value) { m_healthCheckHasBeenSet = true; m_healthCheck = std::forward<HealthCheckT>(value); }
48 template<typename HealthCheckT = HealthCheck>
49 ConfigureHealthCheckResult& WithHealthCheck(HealthCheckT&& value) { SetHealthCheck(std::forward<HealthCheckT>(value)); return *this;}
51
53
54 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
55 template<typename ResponseMetadataT = ResponseMetadata>
56 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
57 template<typename ResponseMetadataT = ResponseMetadata>
58 ConfigureHealthCheckResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
60 private:
61
62 HealthCheck m_healthCheck;
63 bool m_healthCheckHasBeenSet = false;
64
65 ResponseMetadata m_responseMetadata;
66 bool m_responseMetadataHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace ElasticLoadBalancing
71} // 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