/** * 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 contains the status that one Amazon Route 53 health * checker reports and the time of the health check.

See Also:

AWS * API Reference

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

A description of the status of the health check endpoint as reported by one * of the Amazon Route 53 health checkers.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

A description of the status of the health check endpoint as reported by one * of the Amazon Route 53 health checkers.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

A description of the status of the health check endpoint as reported by one * of the Amazon Route 53 health checkers.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

A description of the status of the health check endpoint as reported by one * of the Amazon Route 53 health checkers.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

A description of the status of the health check endpoint as reported by one * of the Amazon Route 53 health checkers.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

A description of the status of the health check endpoint as reported by one * of the Amazon Route 53 health checkers.

*/ inline StatusReport& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

A description of the status of the health check endpoint as reported by one * of the Amazon Route 53 health checkers.

*/ inline StatusReport& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

A description of the status of the health check endpoint as reported by one * of the Amazon Route 53 health checkers.

*/ inline StatusReport& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The date and time that the health checker performed the health check in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline const Aws::Utils::DateTime& GetCheckedTime() const{ return m_checkedTime; } /** *

The date and time that the health checker performed the health check in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline bool CheckedTimeHasBeenSet() const { return m_checkedTimeHasBeenSet; } /** *

The date and time that the health checker performed the health check in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline void SetCheckedTime(const Aws::Utils::DateTime& value) { m_checkedTimeHasBeenSet = true; m_checkedTime = value; } /** *

The date and time that the health checker performed the health check in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline void SetCheckedTime(Aws::Utils::DateTime&& value) { m_checkedTimeHasBeenSet = true; m_checkedTime = std::move(value); } /** *

The date and time that the health checker performed the health check in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline StatusReport& WithCheckedTime(const Aws::Utils::DateTime& value) { SetCheckedTime(value); return *this;} /** *

The date and time that the health checker performed the health check in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline StatusReport& WithCheckedTime(Aws::Utils::DateTime&& value) { SetCheckedTime(std::move(value)); return *this;} private: Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_checkedTime; bool m_checkedTimeHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws