/** * 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 { /** *

Describes the options for a range inventory retrieval job.

See * Also:

AWS * API Reference

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

The output format for the vault inventory list, which is set by the * InitiateJob request when initiating a job to retrieve a vault inventory. * Valid values are CSV and JSON.

*/ inline const Aws::String& GetFormat() const{ return m_format; } /** *

The output format for the vault inventory list, which is set by the * InitiateJob request when initiating a job to retrieve a vault inventory. * Valid values are CSV and JSON.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The output format for the vault inventory list, which is set by the * InitiateJob request when initiating a job to retrieve a vault inventory. * Valid values are CSV and JSON.

*/ inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The output format for the vault inventory list, which is set by the * InitiateJob request when initiating a job to retrieve a vault inventory. * Valid values are CSV and JSON.

*/ inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The output format for the vault inventory list, which is set by the * InitiateJob request when initiating a job to retrieve a vault inventory. * Valid values are CSV and JSON.

*/ inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); } /** *

The output format for the vault inventory list, which is set by the * InitiateJob request when initiating a job to retrieve a vault inventory. * Valid values are CSV and JSON.

*/ inline InventoryRetrievalJobDescription& WithFormat(const Aws::String& value) { SetFormat(value); return *this;} /** *

The output format for the vault inventory list, which is set by the * InitiateJob request when initiating a job to retrieve a vault inventory. * Valid values are CSV and JSON.

*/ inline InventoryRetrievalJobDescription& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;} /** *

The output format for the vault inventory list, which is set by the * InitiateJob request when initiating a job to retrieve a vault inventory. * Valid values are CSV and JSON.

*/ inline InventoryRetrievalJobDescription& WithFormat(const char* value) { SetFormat(value); return *this;} /** *

The start of the date range in Universal Coordinated Time (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 Universal Coordinated Time (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 Universal Coordinated Time (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 Universal Coordinated Time (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 Universal Coordinated Time (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 Universal Coordinated Time (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 InventoryRetrievalJobDescription& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;} /** *

The start of the date range in Universal Coordinated Time (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 InventoryRetrievalJobDescription& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;} /** *

The start of the date range in Universal Coordinated Time (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 InventoryRetrievalJobDescription& 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 InventoryRetrievalJobDescription& 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 InventoryRetrievalJobDescription& 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 InventoryRetrievalJobDescription& WithEndDate(const char* value) { SetEndDate(value); return *this;} /** *

The maximum number of inventory items returned per vault inventory retrieval * request. This limit is set when initiating the job with the a InitiateJob * request.

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

The maximum number of inventory items returned per vault inventory retrieval * request. This limit is set when initiating the job with the a InitiateJob * request.

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

The maximum number of inventory items returned per vault inventory retrieval * request. This limit is set when initiating the job with the a InitiateJob * request.

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

The maximum number of inventory items returned per vault inventory retrieval * request. This limit is set when initiating the job with the a InitiateJob * request.

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

The maximum number of inventory items returned per vault inventory retrieval * request. This limit is set when initiating the job with the a InitiateJob * request.

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

The maximum number of inventory items returned per vault inventory retrieval * request. This limit is set when initiating the job with the a InitiateJob * request.

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

The maximum number of inventory items returned per vault inventory retrieval * request. This limit is set when initiating the job with the a InitiateJob * request.

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

The maximum number of inventory items returned per vault inventory retrieval * request. This limit is set when initiating the job with the a InitiateJob * request.

*/ inline InventoryRetrievalJobDescription& 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. For more information, see * Range Inventory Retrieval.

*/ 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. For more information, see * Range Inventory Retrieval.

*/ 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. For more information, see * Range Inventory Retrieval.

*/ 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. For more information, see * Range Inventory Retrieval.

*/ 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. For more information, see * Range Inventory Retrieval.

*/ 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. For more information, see * Range Inventory Retrieval.

*/ inline InventoryRetrievalJobDescription& 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. For more information, see * Range Inventory Retrieval.

*/ inline InventoryRetrievalJobDescription& 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. For more information, see * Range Inventory Retrieval.

*/ inline InventoryRetrievalJobDescription& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::String m_format; bool m_formatHasBeenSet = false; 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