/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Earliest and latest time an instance can be restored to:See
* Also:
AWS
* API Reference
The earliest time you can restore an instance to.
*/ inline const Aws::Utils::DateTime& GetEarliestTime() const{ return m_earliestTime; } /** *The earliest time you can restore an instance to.
*/ inline bool EarliestTimeHasBeenSet() const { return m_earliestTimeHasBeenSet; } /** *The earliest time you can restore an instance to.
*/ inline void SetEarliestTime(const Aws::Utils::DateTime& value) { m_earliestTimeHasBeenSet = true; m_earliestTime = value; } /** *The earliest time you can restore an instance to.
*/ inline void SetEarliestTime(Aws::Utils::DateTime&& value) { m_earliestTimeHasBeenSet = true; m_earliestTime = std::move(value); } /** *The earliest time you can restore an instance to.
*/ inline RestoreWindow& WithEarliestTime(const Aws::Utils::DateTime& value) { SetEarliestTime(value); return *this;} /** *The earliest time you can restore an instance to.
*/ inline RestoreWindow& WithEarliestTime(Aws::Utils::DateTime&& value) { SetEarliestTime(std::move(value)); return *this;} /** *The latest time you can restore an instance to.
*/ inline const Aws::Utils::DateTime& GetLatestTime() const{ return m_latestTime; } /** *The latest time you can restore an instance to.
*/ inline bool LatestTimeHasBeenSet() const { return m_latestTimeHasBeenSet; } /** *The latest time you can restore an instance to.
*/ inline void SetLatestTime(const Aws::Utils::DateTime& value) { m_latestTimeHasBeenSet = true; m_latestTime = value; } /** *The latest time you can restore an instance to.
*/ inline void SetLatestTime(Aws::Utils::DateTime&& value) { m_latestTimeHasBeenSet = true; m_latestTime = std::move(value); } /** *The latest time you can restore an instance to.
*/ inline RestoreWindow& WithLatestTime(const Aws::Utils::DateTime& value) { SetLatestTime(value); return *this;} /** *The latest time you can restore an instance to.
*/ inline RestoreWindow& 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 RDS } // namespace Aws