/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Route53 { namespace Model { /** *

A request to get information about a specified health check.

See * Also:

AWS * API Reference

*/ class GetHealthCheckRequest : public Route53Request { public: AWS_ROUTE53_API GetHealthCheckRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetHealthCheck"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; /** *

The identifier that Amazon Route 53 assigned to the health check when you * created it. When you add or update a resource record set, you use this value to * specify which health check to use. The value can be up to 64 characters * long.

*/ inline const Aws::String& GetHealthCheckId() const{ return m_healthCheckId; } /** *

The identifier that Amazon Route 53 assigned to the health check when you * created it. When you add or update a resource record set, you use this value to * specify which health check to use. The value can be up to 64 characters * long.

*/ inline bool HealthCheckIdHasBeenSet() const { return m_healthCheckIdHasBeenSet; } /** *

The identifier that Amazon Route 53 assigned to the health check when you * created it. When you add or update a resource record set, you use this value to * specify which health check to use. The value can be up to 64 characters * long.

*/ inline void SetHealthCheckId(const Aws::String& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; } /** *

The identifier that Amazon Route 53 assigned to the health check when you * created it. When you add or update a resource record set, you use this value to * specify which health check to use. The value can be up to 64 characters * long.

*/ inline void SetHealthCheckId(Aws::String&& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = std::move(value); } /** *

The identifier that Amazon Route 53 assigned to the health check when you * created it. When you add or update a resource record set, you use this value to * specify which health check to use. The value can be up to 64 characters * long.

*/ inline void SetHealthCheckId(const char* value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId.assign(value); } /** *

The identifier that Amazon Route 53 assigned to the health check when you * created it. When you add or update a resource record set, you use this value to * specify which health check to use. The value can be up to 64 characters * long.

*/ inline GetHealthCheckRequest& WithHealthCheckId(const Aws::String& value) { SetHealthCheckId(value); return *this;} /** *

The identifier that Amazon Route 53 assigned to the health check when you * created it. When you add or update a resource record set, you use this value to * specify which health check to use. The value can be up to 64 characters * long.

*/ inline GetHealthCheckRequest& WithHealthCheckId(Aws::String&& value) { SetHealthCheckId(std::move(value)); return *this;} /** *

The identifier that Amazon Route 53 assigned to the health check when you * created it. When you add or update a resource record set, you use this value to * specify which health check to use. The value can be up to 64 characters * long.

*/ inline GetHealthCheckRequest& WithHealthCheckId(const char* value) { SetHealthCheckId(value); return *this;} private: Aws::String m_healthCheckId; bool m_healthCheckIdHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws