/** * 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 containing the response information for the new health * check.

See Also:

AWS * API Reference

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

A complex type that contains identifying information about the health * check.

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

A complex type that contains identifying information about the health * check.

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

A complex type that contains identifying information about the health * check.

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

A complex type that contains identifying information about the health * check.

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

A complex type that contains identifying information about the health * check.

*/ inline CreateHealthCheckResult& WithHealthCheck(HealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;} /** *

The unique URL representing the new health check.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

The unique URL representing the new health check.

*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *

The unique URL representing the new health check.

*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *

The unique URL representing the new health check.

*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *

The unique URL representing the new health check.

*/ inline CreateHealthCheckResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

The unique URL representing the new health check.

*/ inline CreateHealthCheckResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

The unique URL representing the new health check.

*/ inline CreateHealthCheckResult& WithLocation(const char* value) { SetLocation(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 CreateHealthCheckResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateHealthCheckResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateHealthCheckResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: HealthCheck m_healthCheck; Aws::String m_location; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws