/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a single metric data query.See Also:
AWS
* API Reference
The query identifier.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The query identifier.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The query identifier.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The query identifier.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The query identifier.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The query identifier.
*/ inline MetricDataResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The query identifier.
*/ inline MetricDataResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The query identifier.
*/ inline MetricDataResult& WithId(const char* value) { SetId(value); return *this;} /** *A list of timestamps for the metric data results.
*/ inline const Aws::VectorA list of timestamps for the metric data results.
*/ inline bool TimestampsHasBeenSet() const { return m_timestampsHasBeenSet; } /** *A list of timestamps for the metric data results.
*/ inline void SetTimestamps(const Aws::VectorA list of timestamps for the metric data results.
*/ inline void SetTimestamps(Aws::VectorA list of timestamps for the metric data results.
*/ inline MetricDataResult& WithTimestamps(const Aws::VectorA list of timestamps for the metric data results.
*/ inline MetricDataResult& WithTimestamps(Aws::VectorA list of timestamps for the metric data results.
*/ inline MetricDataResult& AddTimestamps(const Aws::Utils::DateTime& value) { m_timestampsHasBeenSet = true; m_timestamps.push_back(value); return *this; } /** *A list of timestamps for the metric data results.
*/ inline MetricDataResult& AddTimestamps(Aws::Utils::DateTime&& value) { m_timestampsHasBeenSet = true; m_timestamps.push_back(std::move(value)); return *this; } /** *A list of values (cumulative / sum) for the metric data results.
*/ inline const Aws::VectorA list of values (cumulative / sum) for the metric data results.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *A list of values (cumulative / sum) for the metric data results.
*/ inline void SetValues(const Aws::VectorA list of values (cumulative / sum) for the metric data results.
*/ inline void SetValues(Aws::VectorA list of values (cumulative / sum) for the metric data results.
*/ inline MetricDataResult& WithValues(const Aws::VectorA list of values (cumulative / sum) for the metric data results.
*/ inline MetricDataResult& WithValues(Aws::VectorA list of values (cumulative / sum) for the metric data results.
*/ inline MetricDataResult& AddValues(long long value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Vector