/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Indicates whether the network was healthy or degraded at a particular point.
* The value is aggregated from the startDate
to the
* endDate
. Currently only five_minutes
is
* supported.See Also:
AWS API
* Reference
The start date for the metric point. The starting date for the metric point.
* The starting time must be formatted as yyyy-mm-ddThh:mm:ss
. For
* example, 2022-06-10T12:00:00.000Z
.
The start date for the metric point. The starting date for the metric point.
* The starting time must be formatted as yyyy-mm-ddThh:mm:ss
. For
* example, 2022-06-10T12:00:00.000Z
.
The start date for the metric point. The starting date for the metric point.
* The starting time must be formatted as yyyy-mm-ddThh:mm:ss
. For
* example, 2022-06-10T12:00:00.000Z
.
The start date for the metric point. The starting date for the metric point.
* The starting time must be formatted as yyyy-mm-ddThh:mm:ss
. For
* example, 2022-06-10T12:00:00.000Z
.
The start date for the metric point. The starting date for the metric point.
* The starting time must be formatted as yyyy-mm-ddThh:mm:ss
. For
* example, 2022-06-10T12:00:00.000Z
.
The start date for the metric point. The starting date for the metric point.
* The starting time must be formatted as yyyy-mm-ddThh:mm:ss
. For
* example, 2022-06-10T12:00:00.000Z
.
The end date for the metric point. The ending time must be formatted as
* yyyy-mm-ddThh:mm:ss
. For example,
* 2022-06-12T12:00:00.000Z
.
The end date for the metric point. The ending time must be formatted as
* yyyy-mm-ddThh:mm:ss
. For example,
* 2022-06-12T12:00:00.000Z
.
The end date for the metric point. The ending time must be formatted as
* yyyy-mm-ddThh:mm:ss
. For example,
* 2022-06-12T12:00:00.000Z
.
The end date for the metric point. The ending time must be formatted as
* yyyy-mm-ddThh:mm:ss
. For example,
* 2022-06-12T12:00:00.000Z
.
The end date for the metric point. The ending time must be formatted as
* yyyy-mm-ddThh:mm:ss
. For example,
* 2022-06-12T12:00:00.000Z
.
The end date for the metric point. The ending time must be formatted as
* yyyy-mm-ddThh:mm:ss
. For example,
* 2022-06-12T12:00:00.000Z
.
The status of the metric point.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the metric point.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the metric point.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the metric point.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the metric point.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the metric point.
*/ inline MetricPoint& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the metric point.
*/ inline MetricPoint& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the metric point.
*/ inline MetricPoint& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::Utils::DateTime m_startDate; bool m_startDateHasBeenSet = false; Aws::Utils::DateTime m_endDate; bool m_endDateHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws