/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { /** *

A complex type that contains the response to a GetHealthCheck * request.

See Also:

AWS * API Reference

*/ class GetHealthCheckResult { public: AWS_ROUTE53_API GetHealthCheckResult(); AWS_ROUTE53_API GetHealthCheckResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53_API GetHealthCheckResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A complex type that contains information about one health check that is * associated with the current Amazon Web Services account.

*/ inline const HealthCheck& GetHealthCheck() const{ return m_healthCheck; } /** *

A complex type that contains information about one health check that is * associated with the current Amazon Web Services account.

*/ inline void SetHealthCheck(const HealthCheck& value) { m_healthCheck = value; } /** *

A complex type that contains information about one health check that is * associated with the current Amazon Web Services account.

*/ inline void SetHealthCheck(HealthCheck&& value) { m_healthCheck = std::move(value); } /** *

A complex type that contains information about one health check that is * associated with the current Amazon Web Services account.

*/ inline GetHealthCheckResult& WithHealthCheck(const HealthCheck& value) { SetHealthCheck(value); return *this;} /** *

A complex type that contains information about one health check that is * associated with the current Amazon Web Services account.

*/ inline GetHealthCheckResult& WithHealthCheck(HealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetHealthCheckResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetHealthCheckResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetHealthCheckResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: HealthCheck m_healthCheck; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws