/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This is a resource filter containing FromDate: DateTime and ToDate: DateTime.
* Both values are required. Future DateTime values are not permitted. The
* date and time are in Unix format and Coordinated Universal Time (UTC), and it is
* accurate to milliseconds ((milliseconds are optional). For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
* AM.See Also:
AWS
* API Reference
This value is the beginning date, inclusive.
The date and time are in * Unix format and Coordinated Universal Time (UTC), and it is accurate to * milliseconds (milliseconds are optional).
*/ inline const Aws::Utils::DateTime& GetFromDate() const{ return m_fromDate; } /** *This value is the beginning date, inclusive.
The date and time are in * Unix format and Coordinated Universal Time (UTC), and it is accurate to * milliseconds (milliseconds are optional).
*/ inline bool FromDateHasBeenSet() const { return m_fromDateHasBeenSet; } /** *This value is the beginning date, inclusive.
The date and time are in * Unix format and Coordinated Universal Time (UTC), and it is accurate to * milliseconds (milliseconds are optional).
*/ inline void SetFromDate(const Aws::Utils::DateTime& value) { m_fromDateHasBeenSet = true; m_fromDate = value; } /** *This value is the beginning date, inclusive.
The date and time are in * Unix format and Coordinated Universal Time (UTC), and it is accurate to * milliseconds (milliseconds are optional).
*/ inline void SetFromDate(Aws::Utils::DateTime&& value) { m_fromDateHasBeenSet = true; m_fromDate = std::move(value); } /** *This value is the beginning date, inclusive.
The date and time are in * Unix format and Coordinated Universal Time (UTC), and it is accurate to * milliseconds (milliseconds are optional).
*/ inline DateRange& WithFromDate(const Aws::Utils::DateTime& value) { SetFromDate(value); return *this;} /** *This value is the beginning date, inclusive.
The date and time are in * Unix format and Coordinated Universal Time (UTC), and it is accurate to * milliseconds (milliseconds are optional).
*/ inline DateRange& WithFromDate(Aws::Utils::DateTime&& value) { SetFromDate(std::move(value)); return *this;} /** *This value is the end date, inclusive.
The date and time are in Unix * format and Coordinated Universal Time (UTC), and it is accurate to milliseconds * (milliseconds are optional).
*/ inline const Aws::Utils::DateTime& GetToDate() const{ return m_toDate; } /** *This value is the end date, inclusive.
The date and time are in Unix * format and Coordinated Universal Time (UTC), and it is accurate to milliseconds * (milliseconds are optional).
*/ inline bool ToDateHasBeenSet() const { return m_toDateHasBeenSet; } /** *This value is the end date, inclusive.
The date and time are in Unix * format and Coordinated Universal Time (UTC), and it is accurate to milliseconds * (milliseconds are optional).
*/ inline void SetToDate(const Aws::Utils::DateTime& value) { m_toDateHasBeenSet = true; m_toDate = value; } /** *This value is the end date, inclusive.
The date and time are in Unix * format and Coordinated Universal Time (UTC), and it is accurate to milliseconds * (milliseconds are optional).
*/ inline void SetToDate(Aws::Utils::DateTime&& value) { m_toDateHasBeenSet = true; m_toDate = std::move(value); } /** *This value is the end date, inclusive.
The date and time are in Unix * format and Coordinated Universal Time (UTC), and it is accurate to milliseconds * (milliseconds are optional).
*/ inline DateRange& WithToDate(const Aws::Utils::DateTime& value) { SetToDate(value); return *this;} /** *This value is the end date, inclusive.
The date and time are in Unix * format and Coordinated Universal Time (UTC), and it is accurate to milliseconds * (milliseconds are optional).
*/ inline DateRange& WithToDate(Aws::Utils::DateTime&& value) { SetToDate(std::move(value)); return *this;} private: Aws::Utils::DateTime m_fromDate; bool m_fromDateHasBeenSet = false; Aws::Utils::DateTime m_toDate; bool m_toDateHasBeenSet = false; }; } // namespace Model } // namespace Backup } // namespace Aws