/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status, start time, and end time of a backtest, as well as a failure
* reason if applicable.See Also:
AWS
* API Reference
The time at which the test began.
*/ inline const Aws::Utils::DateTime& GetTestWindowStart() const{ return m_testWindowStart; } /** *The time at which the test began.
*/ inline bool TestWindowStartHasBeenSet() const { return m_testWindowStartHasBeenSet; } /** *The time at which the test began.
*/ inline void SetTestWindowStart(const Aws::Utils::DateTime& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = value; } /** *The time at which the test began.
*/ inline void SetTestWindowStart(Aws::Utils::DateTime&& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = std::move(value); } /** *The time at which the test began.
*/ inline TestWindowSummary& WithTestWindowStart(const Aws::Utils::DateTime& value) { SetTestWindowStart(value); return *this;} /** *The time at which the test began.
*/ inline TestWindowSummary& WithTestWindowStart(Aws::Utils::DateTime&& value) { SetTestWindowStart(std::move(value)); return *this;} /** *The time at which the test ended.
*/ inline const Aws::Utils::DateTime& GetTestWindowEnd() const{ return m_testWindowEnd; } /** *The time at which the test ended.
*/ inline bool TestWindowEndHasBeenSet() const { return m_testWindowEndHasBeenSet; } /** *The time at which the test ended.
*/ inline void SetTestWindowEnd(const Aws::Utils::DateTime& value) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = value; } /** *The time at which the test ended.
*/ inline void SetTestWindowEnd(Aws::Utils::DateTime&& value) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = std::move(value); } /** *The time at which the test ended.
*/ inline TestWindowSummary& WithTestWindowEnd(const Aws::Utils::DateTime& value) { SetTestWindowEnd(value); return *this;} /** *The time at which the test ended.
*/ inline TestWindowSummary& WithTestWindowEnd(Aws::Utils::DateTime&& value) { SetTestWindowEnd(std::move(value)); return *this;} /** *The status of the test. Possible status values are:
* ACTIVE
CREATE_IN_PROGRESS
CREATE_FAILED
The status of the test. Possible status values are:
* ACTIVE
CREATE_IN_PROGRESS
CREATE_FAILED
The status of the test. Possible status values are:
* ACTIVE
CREATE_IN_PROGRESS
CREATE_FAILED
The status of the test. Possible status values are:
* ACTIVE
CREATE_IN_PROGRESS
CREATE_FAILED
The status of the test. Possible status values are:
* ACTIVE
CREATE_IN_PROGRESS
CREATE_FAILED
The status of the test. Possible status values are:
* ACTIVE
CREATE_IN_PROGRESS
CREATE_FAILED
The status of the test. Possible status values are:
* ACTIVE
CREATE_IN_PROGRESS
CREATE_FAILED
The status of the test. Possible status values are:
* ACTIVE
CREATE_IN_PROGRESS
CREATE_FAILED
If the test failed, the reason why it failed.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *If the test failed, the reason why it failed.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *If the test failed, the reason why it failed.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *If the test failed, the reason why it failed.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *If the test failed, the reason why it failed.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *If the test failed, the reason why it failed.
*/ inline TestWindowSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *If the test failed, the reason why it failed.
*/ inline TestWindowSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *If the test failed, the reason why it failed.
*/ inline TestWindowSummary& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::Utils::DateTime m_testWindowStart; bool m_testWindowStartHasBeenSet = false; Aws::Utils::DateTime m_testWindowEnd; bool m_testWindowEndHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws