/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** *

The time period for when the predictions were generated.

See * Also:

AWS * API Reference

*/ class PredictionTimeRange { public: AWS_FRAUDDETECTOR_API PredictionTimeRange(); AWS_FRAUDDETECTOR_API PredictionTimeRange(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API PredictionTimeRange& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The start time of the time period for when the predictions were generated. *

*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *

The start time of the time period for when the predictions were generated. *

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The start time of the time period for when the predictions were generated. *

*/ inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The start time of the time period for when the predictions were generated. *

*/ inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The start time of the time period for when the predictions were generated. *

*/ inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); } /** *

The start time of the time period for when the predictions were generated. *

*/ inline PredictionTimeRange& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *

The start time of the time period for when the predictions were generated. *

*/ inline PredictionTimeRange& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *

The start time of the time period for when the predictions were generated. *

*/ inline PredictionTimeRange& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *

The end time of the time period for when the predictions were generated. *

*/ inline const Aws::String& GetEndTime() const{ return m_endTime; } /** *

The end time of the time period for when the predictions were generated. *

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The end time of the time period for when the predictions were generated. *

*/ inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The end time of the time period for when the predictions were generated. *

*/ inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The end time of the time period for when the predictions were generated. *

*/ inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); } /** *

The end time of the time period for when the predictions were generated. *

*/ inline PredictionTimeRange& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;} /** *

The end time of the time period for when the predictions were generated. *

*/ inline PredictionTimeRange& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;} /** *

The end time of the time period for when the predictions were generated. *

*/ inline PredictionTimeRange& WithEndTime(const char* value) { SetEndTime(value); return *this;} private: Aws::String m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_endTime; bool m_endTimeHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws