/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains the health check request
* information.See Also:
AWS
* API Reference
A unique string that identifies the request and that allows you to retry a
* failed CreateHealthCheck
request without the risk of creating two
* identical health checks:
If you send a
* CreateHealthCheck
request with the same
* CallerReference
and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.
If you send a CreateHealthCheck
request
* with the same CallerReference
as a deleted health check, regardless
* of the settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with the same CallerReference
as an existing health check but with
* different settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with a unique CallerReference
but settings identical to an existing
* health check, Route 53 creates the health check.
A unique string that identifies the request and that allows you to retry a
* failed CreateHealthCheck
request without the risk of creating two
* identical health checks:
If you send a
* CreateHealthCheck
request with the same
* CallerReference
and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.
If you send a CreateHealthCheck
request
* with the same CallerReference
as a deleted health check, regardless
* of the settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with the same CallerReference
as an existing health check but with
* different settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with a unique CallerReference
but settings identical to an existing
* health check, Route 53 creates the health check.
A unique string that identifies the request and that allows you to retry a
* failed CreateHealthCheck
request without the risk of creating two
* identical health checks:
If you send a
* CreateHealthCheck
request with the same
* CallerReference
and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.
If you send a CreateHealthCheck
request
* with the same CallerReference
as a deleted health check, regardless
* of the settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with the same CallerReference
as an existing health check but with
* different settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with a unique CallerReference
but settings identical to an existing
* health check, Route 53 creates the health check.
A unique string that identifies the request and that allows you to retry a
* failed CreateHealthCheck
request without the risk of creating two
* identical health checks:
If you send a
* CreateHealthCheck
request with the same
* CallerReference
and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.
If you send a CreateHealthCheck
request
* with the same CallerReference
as a deleted health check, regardless
* of the settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with the same CallerReference
as an existing health check but with
* different settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with a unique CallerReference
but settings identical to an existing
* health check, Route 53 creates the health check.
A unique string that identifies the request and that allows you to retry a
* failed CreateHealthCheck
request without the risk of creating two
* identical health checks:
If you send a
* CreateHealthCheck
request with the same
* CallerReference
and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.
If you send a CreateHealthCheck
request
* with the same CallerReference
as a deleted health check, regardless
* of the settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with the same CallerReference
as an existing health check but with
* different settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with a unique CallerReference
but settings identical to an existing
* health check, Route 53 creates the health check.
A unique string that identifies the request and that allows you to retry a
* failed CreateHealthCheck
request without the risk of creating two
* identical health checks:
If you send a
* CreateHealthCheck
request with the same
* CallerReference
and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.
If you send a CreateHealthCheck
request
* with the same CallerReference
as a deleted health check, regardless
* of the settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with the same CallerReference
as an existing health check but with
* different settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with a unique CallerReference
but settings identical to an existing
* health check, Route 53 creates the health check.
A unique string that identifies the request and that allows you to retry a
* failed CreateHealthCheck
request without the risk of creating two
* identical health checks:
If you send a
* CreateHealthCheck
request with the same
* CallerReference
and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.
If you send a CreateHealthCheck
request
* with the same CallerReference
as a deleted health check, regardless
* of the settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with the same CallerReference
as an existing health check but with
* different settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with a unique CallerReference
but settings identical to an existing
* health check, Route 53 creates the health check.
A unique string that identifies the request and that allows you to retry a
* failed CreateHealthCheck
request without the risk of creating two
* identical health checks:
If you send a
* CreateHealthCheck
request with the same
* CallerReference
and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.
If you send a CreateHealthCheck
request
* with the same CallerReference
as a deleted health check, regardless
* of the settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with the same CallerReference
as an existing health check but with
* different settings, Route 53 returns a HealthCheckAlreadyExists
* error.
If you send a CreateHealthCheck
request
* with a unique CallerReference
but settings identical to an existing
* health check, Route 53 creates the health check.
A complex type that contains settings for a new health check.
*/ inline const HealthCheckConfig& GetHealthCheckConfig() const{ return m_healthCheckConfig; } /** *A complex type that contains settings for a new health check.
*/ inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; } /** *A complex type that contains settings for a new health check.
*/ inline void SetHealthCheckConfig(const HealthCheckConfig& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = value; } /** *A complex type that contains settings for a new health check.
*/ inline void SetHealthCheckConfig(HealthCheckConfig&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::move(value); } /** *A complex type that contains settings for a new health check.
*/ inline CreateHealthCheckRequest& WithHealthCheckConfig(const HealthCheckConfig& value) { SetHealthCheckConfig(value); return *this;} /** *A complex type that contains settings for a new health check.
*/ inline CreateHealthCheckRequest& WithHealthCheckConfig(HealthCheckConfig&& value) { SetHealthCheckConfig(std::move(value)); return *this;} private: Aws::String m_callerReference; bool m_callerReferenceHasBeenSet = false; HealthCheckConfig m_healthCheckConfig; bool m_healthCheckConfigHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws