/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The forecast value for a specific date. Part of the Forecast
* object.See Also:
AWS
* API Reference
The timestamp of the specific forecast.
*/ inline const Aws::String& GetTimestamp() const{ return m_timestamp; } /** *The timestamp of the specific forecast.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The timestamp of the specific forecast.
*/ inline void SetTimestamp(const Aws::String& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The timestamp of the specific forecast.
*/ inline void SetTimestamp(Aws::String&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *The timestamp of the specific forecast.
*/ inline void SetTimestamp(const char* value) { m_timestampHasBeenSet = true; m_timestamp.assign(value); } /** *The timestamp of the specific forecast.
*/ inline DataPoint& WithTimestamp(const Aws::String& value) { SetTimestamp(value); return *this;} /** *The timestamp of the specific forecast.
*/ inline DataPoint& WithTimestamp(Aws::String&& value) { SetTimestamp(std::move(value)); return *this;} /** *The timestamp of the specific forecast.
*/ inline DataPoint& WithTimestamp(const char* value) { SetTimestamp(value); return *this;} /** *The forecast value.
*/ inline double GetValue() const{ return m_value; } /** *The forecast value.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The forecast value.
*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *The forecast value.
*/ inline DataPoint& WithValue(double value) { SetValue(value); return *this;} private: Aws::String m_timestamp; bool m_timestampHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ForecastQueryService } // namespace Aws