/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glacier { namespace Model { /** *

Provides options for specifying a range inventory retrieval * job.

See Also:

AWS * API Reference

*/ class InventoryRetrievalJobInput { public: AWS_GLACIER_API InventoryRetrievalJobInput(); AWS_GLACIER_API InventoryRetrievalJobInput(Aws::Utils::Json::JsonView jsonValue); AWS_GLACIER_API InventoryRetrievalJobInput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The start of the date range in UTC for vault inventory retrieval that * includes archives created on or after this date. This value should be a string * in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

*/ inline const Aws::String& GetStartDate() const{ return m_startDate; } /** *

The start of the date range in UTC for vault inventory retrieval that * includes archives created on or after this date. This value should be a string * in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

*/ inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; } /** *

The start of the date range in UTC for vault inventory retrieval that * includes archives created on or after this date. This value should be a string * in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

*/ inline void SetStartDate(const Aws::String& value) { m_startDateHasBeenSet = true; m_startDate = value; } /** *

The start of the date range in UTC for vault inventory retrieval that * includes archives created on or after this date. This value should be a string * in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

*/ inline void SetStartDate(Aws::String&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); } /** *

The start of the date range in UTC for vault inventory retrieval that * includes archives created on or after this date. This value should be a string * in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

*/ inline void SetStartDate(const char* value) { m_startDateHasBeenSet = true; m_startDate.assign(value); } /** *

The start of the date range in UTC for vault inventory retrieval that * includes archives created on or after this date. This value should be a string * in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

*/ inline InventoryRetrievalJobInput& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;} /** *

The start of the date range in UTC for vault inventory retrieval that * includes archives created on or after this date. This value should be a string * in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

*/ inline InventoryRetrievalJobInput& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;} /** *

The start of the date range in UTC for vault inventory retrieval that * includes archives created on or after this date. This value should be a string * in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

*/ inline InventoryRetrievalJobInput& WithStartDate(const char* value) { SetStartDate(value); return *this;} /** *

The end of the date range in UTC for vault inventory retrieval that includes * archives created before this date. This value should be a string in the ISO 8601 * date format, for example 2013-03-20T17:03:43Z.

*/ inline const Aws::String& GetEndDate() const{ return m_endDate; } /** *

The end of the date range in UTC for vault inventory retrieval that includes * archives created before this date. This value should be a string in the ISO 8601 * date format, for example 2013-03-20T17:03:43Z.

*/ inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; } /** *

The end of the date range in UTC for vault inventory retrieval that includes * archives created before this date. This value should be a string in the ISO 8601 * date format, for example 2013-03-20T17:03:43Z.

*/ inline void SetEndDate(const Aws::String& value) { m_endDateHasBeenSet = true; m_endDate = value; } /** *

The end of the date range in UTC for vault inventory retrieval that includes * archives created before this date. This value should be a string in the ISO 8601 * date format, for example 2013-03-20T17:03:43Z.

*/ inline void SetEndDate(Aws::String&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); } /** *

The end of the date range in UTC for vault inventory retrieval that includes * archives created before this date. This value should be a string in the ISO 8601 * date format, for example 2013-03-20T17:03:43Z.

*/ inline void SetEndDate(const char* value) { m_endDateHasBeenSet = true; m_endDate.assign(value); } /** *

The end of the date range in UTC for vault inventory retrieval that includes * archives created before this date. This value should be a string in the ISO 8601 * date format, for example 2013-03-20T17:03:43Z.

*/ inline InventoryRetrievalJobInput& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;} /** *

The end of the date range in UTC for vault inventory retrieval that includes * archives created before this date. This value should be a string in the ISO 8601 * date format, for example 2013-03-20T17:03:43Z.

*/ inline InventoryRetrievalJobInput& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;} /** *

The end of the date range in UTC for vault inventory retrieval that includes * archives created before this date. This value should be a string in the ISO 8601 * date format, for example 2013-03-20T17:03:43Z.

*/ inline InventoryRetrievalJobInput& WithEndDate(const char* value) { SetEndDate(value); return *this;} /** *

Specifies the maximum number of inventory items returned per vault inventory * retrieval request. Valid values are greater than or equal to 1.

*/ inline const Aws::String& GetLimit() const{ return m_limit; } /** *

Specifies the maximum number of inventory items returned per vault inventory * retrieval request. Valid values are greater than or equal to 1.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

Specifies the maximum number of inventory items returned per vault inventory * retrieval request. Valid values are greater than or equal to 1.

*/ inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; } /** *

Specifies the maximum number of inventory items returned per vault inventory * retrieval request. Valid values are greater than or equal to 1.

*/ inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); } /** *

Specifies the maximum number of inventory items returned per vault inventory * retrieval request. Valid values are greater than or equal to 1.

*/ inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); } /** *

Specifies the maximum number of inventory items returned per vault inventory * retrieval request. Valid values are greater than or equal to 1.

*/ inline InventoryRetrievalJobInput& WithLimit(const Aws::String& value) { SetLimit(value); return *this;} /** *

Specifies the maximum number of inventory items returned per vault inventory * retrieval request. Valid values are greater than or equal to 1.

*/ inline InventoryRetrievalJobInput& WithLimit(Aws::String&& value) { SetLimit(std::move(value)); return *this;} /** *

Specifies the maximum number of inventory items returned per vault inventory * retrieval request. Valid values are greater than or equal to 1.

*/ inline InventoryRetrievalJobInput& WithLimit(const char* value) { SetLimit(value); return *this;} /** *

An opaque string that represents where to continue pagination of the vault * inventory retrieval results. You use the marker in a new InitiateJob * request to obtain additional inventory items. If there are no more inventory * items, this value is null.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

An opaque string that represents where to continue pagination of the vault * inventory retrieval results. You use the marker in a new InitiateJob * request to obtain additional inventory items. If there are no more inventory * items, this value is null.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

An opaque string that represents where to continue pagination of the vault * inventory retrieval results. You use the marker in a new InitiateJob * request to obtain additional inventory items. If there are no more inventory * items, this value is null.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

An opaque string that represents where to continue pagination of the vault * inventory retrieval results. You use the marker in a new InitiateJob * request to obtain additional inventory items. If there are no more inventory * items, this value is null.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

An opaque string that represents where to continue pagination of the vault * inventory retrieval results. You use the marker in a new InitiateJob * request to obtain additional inventory items. If there are no more inventory * items, this value is null.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

An opaque string that represents where to continue pagination of the vault * inventory retrieval results. You use the marker in a new InitiateJob * request to obtain additional inventory items. If there are no more inventory * items, this value is null.

*/ inline InventoryRetrievalJobInput& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An opaque string that represents where to continue pagination of the vault * inventory retrieval results. You use the marker in a new InitiateJob * request to obtain additional inventory items. If there are no more inventory * items, this value is null.

*/ inline InventoryRetrievalJobInput& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An opaque string that represents where to continue pagination of the vault * inventory retrieval results. You use the marker in a new InitiateJob * request to obtain additional inventory items. If there are no more inventory * items, this value is null.

*/ inline InventoryRetrievalJobInput& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::String m_startDate; bool m_startDateHasBeenSet = false; Aws::String m_endDate; bool m_endDateHasBeenSet = false; Aws::String m_limit; bool m_limitHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; }; } // namespace Model } // namespace Glacier } // namespace Aws