/** * 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 Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { /** *

A complex type that identifies the CloudWatch alarm that you want Amazon * Route 53 health checkers to use to determine whether the specified health check * is healthy.

See Also:

AWS * API Reference

*/ class AlarmIdentifier { public: AWS_ROUTE53_API AlarmIdentifier(); AWS_ROUTE53_API AlarmIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API AlarmIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

For the CloudWatch alarm that you want Route 53 health checkers to use to * determine whether this health check is healthy, the region that the alarm was * created in.

For the current list of CloudWatch regions, see Amazon * CloudWatch endpoints and quotas in the Amazon Web Services General * Reference.

*/ inline const CloudWatchRegion& GetRegion() const{ return m_region; } /** *

For the CloudWatch alarm that you want Route 53 health checkers to use to * determine whether this health check is healthy, the region that the alarm was * created in.

For the current list of CloudWatch regions, see Amazon * CloudWatch endpoints and quotas in the Amazon Web Services General * Reference.

*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *

For the CloudWatch alarm that you want Route 53 health checkers to use to * determine whether this health check is healthy, the region that the alarm was * created in.

For the current list of CloudWatch regions, see Amazon * CloudWatch endpoints and quotas in the Amazon Web Services General * Reference.

*/ inline void SetRegion(const CloudWatchRegion& value) { m_regionHasBeenSet = true; m_region = value; } /** *

For the CloudWatch alarm that you want Route 53 health checkers to use to * determine whether this health check is healthy, the region that the alarm was * created in.

For the current list of CloudWatch regions, see Amazon * CloudWatch endpoints and quotas in the Amazon Web Services General * Reference.

*/ inline void SetRegion(CloudWatchRegion&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *

For the CloudWatch alarm that you want Route 53 health checkers to use to * determine whether this health check is healthy, the region that the alarm was * created in.

For the current list of CloudWatch regions, see Amazon * CloudWatch endpoints and quotas in the Amazon Web Services General * Reference.

*/ inline AlarmIdentifier& WithRegion(const CloudWatchRegion& value) { SetRegion(value); return *this;} /** *

For the CloudWatch alarm that you want Route 53 health checkers to use to * determine whether this health check is healthy, the region that the alarm was * created in.

For the current list of CloudWatch regions, see Amazon * CloudWatch endpoints and quotas in the Amazon Web Services General * Reference.

*/ inline AlarmIdentifier& WithRegion(CloudWatchRegion&& value) { SetRegion(std::move(value)); return *this;} /** *

The name of the CloudWatch alarm that you want Amazon Route 53 health * checkers to use to determine whether this health check is healthy.

*

Route 53 supports CloudWatch alarms with the following features:

    *
  • Standard-resolution metrics. High-resolution metrics aren't supported. * For more information, see High-Resolution * Metrics in the Amazon CloudWatch User Guide.

  • *

    Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended * statistics aren't supported.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the CloudWatch alarm that you want Amazon Route 53 health * checkers to use to determine whether this health check is healthy.

*

Route 53 supports CloudWatch alarms with the following features:

    *
  • Standard-resolution metrics. High-resolution metrics aren't supported. * For more information, see High-Resolution * Metrics in the Amazon CloudWatch User Guide.

  • *

    Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended * statistics aren't supported.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the CloudWatch alarm that you want Amazon Route 53 health * checkers to use to determine whether this health check is healthy.

*

Route 53 supports CloudWatch alarms with the following features:

    *
  • Standard-resolution metrics. High-resolution metrics aren't supported. * For more information, see High-Resolution * Metrics in the Amazon CloudWatch User Guide.

  • *

    Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended * statistics aren't supported.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the CloudWatch alarm that you want Amazon Route 53 health * checkers to use to determine whether this health check is healthy.

*

Route 53 supports CloudWatch alarms with the following features:

    *
  • Standard-resolution metrics. High-resolution metrics aren't supported. * For more information, see High-Resolution * Metrics in the Amazon CloudWatch User Guide.

  • *

    Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended * statistics aren't supported.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the CloudWatch alarm that you want Amazon Route 53 health * checkers to use to determine whether this health check is healthy.

*

Route 53 supports CloudWatch alarms with the following features:

    *
  • Standard-resolution metrics. High-resolution metrics aren't supported. * For more information, see High-Resolution * Metrics in the Amazon CloudWatch User Guide.

  • *

    Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended * statistics aren't supported.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the CloudWatch alarm that you want Amazon Route 53 health * checkers to use to determine whether this health check is healthy.

*

Route 53 supports CloudWatch alarms with the following features:

    *
  • Standard-resolution metrics. High-resolution metrics aren't supported. * For more information, see High-Resolution * Metrics in the Amazon CloudWatch User Guide.

  • *

    Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended * statistics aren't supported.

*/ inline AlarmIdentifier& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the CloudWatch alarm that you want Amazon Route 53 health * checkers to use to determine whether this health check is healthy.

*

Route 53 supports CloudWatch alarms with the following features:

    *
  • Standard-resolution metrics. High-resolution metrics aren't supported. * For more information, see High-Resolution * Metrics in the Amazon CloudWatch User Guide.

  • *

    Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended * statistics aren't supported.

*/ inline AlarmIdentifier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the CloudWatch alarm that you want Amazon Route 53 health * checkers to use to determine whether this health check is healthy.

*

Route 53 supports CloudWatch alarms with the following features:

    *
  • Standard-resolution metrics. High-resolution metrics aren't supported. * For more information, see High-Resolution * Metrics in the Amazon CloudWatch User Guide.

  • *

    Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended * statistics aren't supported.

*/ inline AlarmIdentifier& WithName(const char* value) { SetName(value); return *this;} private: CloudWatchRegion m_region; bool m_regionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws