/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the time period for a Scheduled Instance to start its first
* schedule. The time period must span less than one day.See Also:
* AWS
* API Reference
The earliest date and time, in UTC, for the Scheduled Instance to start.
*/ inline const Aws::Utils::DateTime& GetEarliestTime() const{ return m_earliestTime; } /** *The earliest date and time, in UTC, for the Scheduled Instance to start.
*/ inline bool EarliestTimeHasBeenSet() const { return m_earliestTimeHasBeenSet; } /** *The earliest date and time, in UTC, for the Scheduled Instance to start.
*/ inline void SetEarliestTime(const Aws::Utils::DateTime& value) { m_earliestTimeHasBeenSet = true; m_earliestTime = value; } /** *The earliest date and time, in UTC, for the Scheduled Instance to start.
*/ inline void SetEarliestTime(Aws::Utils::DateTime&& value) { m_earliestTimeHasBeenSet = true; m_earliestTime = std::move(value); } /** *The earliest date and time, in UTC, for the Scheduled Instance to start.
*/ inline SlotDateTimeRangeRequest& WithEarliestTime(const Aws::Utils::DateTime& value) { SetEarliestTime(value); return *this;} /** *The earliest date and time, in UTC, for the Scheduled Instance to start.
*/ inline SlotDateTimeRangeRequest& WithEarliestTime(Aws::Utils::DateTime&& value) { SetEarliestTime(std::move(value)); return *this;} /** *The latest date and time, in UTC, for the Scheduled Instance to start. This * value must be later than or equal to the earliest date and at most three months * in the future.
*/ inline const Aws::Utils::DateTime& GetLatestTime() const{ return m_latestTime; } /** *The latest date and time, in UTC, for the Scheduled Instance to start. This * value must be later than or equal to the earliest date and at most three months * in the future.
*/ inline bool LatestTimeHasBeenSet() const { return m_latestTimeHasBeenSet; } /** *The latest date and time, in UTC, for the Scheduled Instance to start. This * value must be later than or equal to the earliest date and at most three months * in the future.
*/ inline void SetLatestTime(const Aws::Utils::DateTime& value) { m_latestTimeHasBeenSet = true; m_latestTime = value; } /** *The latest date and time, in UTC, for the Scheduled Instance to start. This * value must be later than or equal to the earliest date and at most three months * in the future.
*/ inline void SetLatestTime(Aws::Utils::DateTime&& value) { m_latestTimeHasBeenSet = true; m_latestTime = std::move(value); } /** *The latest date and time, in UTC, for the Scheduled Instance to start. This * value must be later than or equal to the earliest date and at most three months * in the future.
*/ inline SlotDateTimeRangeRequest& WithLatestTime(const Aws::Utils::DateTime& value) { SetLatestTime(value); return *this;} /** *The latest date and time, in UTC, for the Scheduled Instance to start. This * value must be later than or equal to the earliest date and at most three months * in the future.
*/ inline SlotDateTimeRangeRequest& WithLatestTime(Aws::Utils::DateTime&& value) { SetLatestTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_earliestTime; bool m_earliestTimeHasBeenSet = false; Aws::Utils::DateTime m_latestTime; bool m_latestTimeHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws