/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a range of time.See Also:
AWS
* API Reference
The Unix timestamp for the beginning of the time range.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The Unix timestamp for the beginning of the time range.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The Unix timestamp for the beginning of the time range.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The Unix timestamp for the beginning of the time range.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The Unix timestamp for the beginning of the time range.
*/ inline TimeRange& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The Unix timestamp for the beginning of the time range.
*/ inline TimeRange& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The Unix timestamp for the end of the time range.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The Unix timestamp for the end of the time range.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The Unix timestamp for the end of the time range.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The Unix timestamp for the end of the time range.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The Unix timestamp for the end of the time range.
*/ inline TimeRange& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The Unix timestamp for the end of the time range.
*/ inline TimeRange& 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 kendra } // namespace Aws