/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 AWS_ROUTE53_API GetHealthCheckResult { public: GetHealthCheckResult(); GetHealthCheckResult(const Aws::AmazonWebServiceResult& result); GetHealthCheckResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A complex type that contains information about one health check that is * associated with the current AWS 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 AWS 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 AWS 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 AWS 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 AWS account.

*/ inline GetHealthCheckResult& WithHealthCheck(HealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;} private: HealthCheck m_healthCheck; }; } // namespace Model } // namespace Route53 } // namespace Aws