/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The start and end times of an inference experiment. The maximum
* duration that you can set for an inference experiment is 30 days.See
* Also:
AWS
* API Reference
The timestamp at which the inference experiment started or will start.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The timestamp at which the inference experiment started or will start.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The timestamp at which the inference experiment started or will start.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The timestamp at which the inference experiment started or will start.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The timestamp at which the inference experiment started or will start.
*/ inline InferenceExperimentSchedule& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The timestamp at which the inference experiment started or will start.
*/ inline InferenceExperimentSchedule& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The timestamp at which the inference experiment ended or will end.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The timestamp at which the inference experiment ended or will end.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The timestamp at which the inference experiment ended or will end.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The timestamp at which the inference experiment ended or will end.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The timestamp at which the inference experiment ended or will end.
*/ inline InferenceExperimentSchedule& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The timestamp at which the inference experiment ended or will end.
*/ inline InferenceExperimentSchedule& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws