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

Contains the Amazon S3 Glacier response to your request.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the vault.

*/ inline const Aws::String& GetVaultARN() const{ return m_vaultARN; } /** *

The Amazon Resource Name (ARN) of the vault.

*/ inline bool VaultARNHasBeenSet() const { return m_vaultARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the vault.

*/ inline void SetVaultARN(const Aws::String& value) { m_vaultARNHasBeenSet = true; m_vaultARN = value; } /** *

The Amazon Resource Name (ARN) of the vault.

*/ inline void SetVaultARN(Aws::String&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the vault.

*/ inline void SetVaultARN(const char* value) { m_vaultARNHasBeenSet = true; m_vaultARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the vault.

*/ inline DescribeVaultOutput& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the vault.

*/ inline DescribeVaultOutput& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the vault.

*/ inline DescribeVaultOutput& WithVaultARN(const char* value) { SetVaultARN(value); return *this;} /** *

The name of the vault.

*/ inline const Aws::String& GetVaultName() const{ return m_vaultName; } /** *

The name of the vault.

*/ inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; } /** *

The name of the vault.

*/ inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; } /** *

The name of the vault.

*/ inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); } /** *

The name of the vault.

*/ inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); } /** *

The name of the vault.

*/ inline DescribeVaultOutput& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;} /** *

The name of the vault.

*/ inline DescribeVaultOutput& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;} /** *

The name of the vault.

*/ inline DescribeVaultOutput& WithVaultName(const char* value) { SetVaultName(value); return *this;} /** *

The Universal Coordinated Time (UTC) date when the vault was created. This * value should be a string in the ISO 8601 date format, for example * 2012-03-20T17:03:43.221Z.

*/ inline const Aws::String& GetCreationDate() const{ return m_creationDate; } /** *

The Universal Coordinated Time (UTC) date when the vault was created. This * value should be a string in the ISO 8601 date format, for example * 2012-03-20T17:03:43.221Z.

*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *

The Universal Coordinated Time (UTC) date when the vault was created. This * value should be a string in the ISO 8601 date format, for example * 2012-03-20T17:03:43.221Z.

*/ inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *

The Universal Coordinated Time (UTC) date when the vault was created. This * value should be a string in the ISO 8601 date format, for example * 2012-03-20T17:03:43.221Z.

*/ inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *

The Universal Coordinated Time (UTC) date when the vault was created. This * value should be a string in the ISO 8601 date format, for example * 2012-03-20T17:03:43.221Z.

*/ inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } /** *

The Universal Coordinated Time (UTC) date when the vault was created. This * value should be a string in the ISO 8601 date format, for example * 2012-03-20T17:03:43.221Z.

*/ inline DescribeVaultOutput& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} /** *

The Universal Coordinated Time (UTC) date when the vault was created. This * value should be a string in the ISO 8601 date format, for example * 2012-03-20T17:03:43.221Z.

*/ inline DescribeVaultOutput& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The Universal Coordinated Time (UTC) date when the vault was created. This * value should be a string in the ISO 8601 date format, for example * 2012-03-20T17:03:43.221Z.

*/ inline DescribeVaultOutput& WithCreationDate(const char* value) { SetCreationDate(value); return *this;} /** *

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed * the last vault inventory. This value should be a string in the ISO 8601 date * format, for example 2012-03-20T17:03:43.221Z.

*/ inline const Aws::String& GetLastInventoryDate() const{ return m_lastInventoryDate; } /** *

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed * the last vault inventory. This value should be a string in the ISO 8601 date * format, for example 2012-03-20T17:03:43.221Z.

*/ inline bool LastInventoryDateHasBeenSet() const { return m_lastInventoryDateHasBeenSet; } /** *

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed * the last vault inventory. This value should be a string in the ISO 8601 date * format, for example 2012-03-20T17:03:43.221Z.

*/ inline void SetLastInventoryDate(const Aws::String& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = value; } /** *

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed * the last vault inventory. This value should be a string in the ISO 8601 date * format, for example 2012-03-20T17:03:43.221Z.

*/ inline void SetLastInventoryDate(Aws::String&& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = std::move(value); } /** *

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed * the last vault inventory. This value should be a string in the ISO 8601 date * format, for example 2012-03-20T17:03:43.221Z.

*/ inline void SetLastInventoryDate(const char* value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate.assign(value); } /** *

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed * the last vault inventory. This value should be a string in the ISO 8601 date * format, for example 2012-03-20T17:03:43.221Z.

*/ inline DescribeVaultOutput& WithLastInventoryDate(const Aws::String& value) { SetLastInventoryDate(value); return *this;} /** *

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed * the last vault inventory. This value should be a string in the ISO 8601 date * format, for example 2012-03-20T17:03:43.221Z.

*/ inline DescribeVaultOutput& WithLastInventoryDate(Aws::String&& value) { SetLastInventoryDate(std::move(value)); return *this;} /** *

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed * the last vault inventory. This value should be a string in the ISO 8601 date * format, for example 2012-03-20T17:03:43.221Z.

*/ inline DescribeVaultOutput& WithLastInventoryDate(const char* value) { SetLastInventoryDate(value); return *this;} /** *

The number of archives in the vault as of the last inventory date. This field * will return null if an inventory has not yet run on the vault, for * example if you just created the vault.

*/ inline long long GetNumberOfArchives() const{ return m_numberOfArchives; } /** *

The number of archives in the vault as of the last inventory date. This field * will return null if an inventory has not yet run on the vault, for * example if you just created the vault.

*/ inline bool NumberOfArchivesHasBeenSet() const { return m_numberOfArchivesHasBeenSet; } /** *

The number of archives in the vault as of the last inventory date. This field * will return null if an inventory has not yet run on the vault, for * example if you just created the vault.

*/ inline void SetNumberOfArchives(long long value) { m_numberOfArchivesHasBeenSet = true; m_numberOfArchives = value; } /** *

The number of archives in the vault as of the last inventory date. This field * will return null if an inventory has not yet run on the vault, for * example if you just created the vault.

*/ inline DescribeVaultOutput& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;} /** *

Total size, in bytes, of the archives in the vault as of the last inventory * date. This field will return null if an inventory has not yet run on the vault, * for example if you just created the vault.

*/ inline long long GetSizeInBytes() const{ return m_sizeInBytes; } /** *

Total size, in bytes, of the archives in the vault as of the last inventory * date. This field will return null if an inventory has not yet run on the vault, * for example if you just created the vault.

*/ inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; } /** *

Total size, in bytes, of the archives in the vault as of the last inventory * date. This field will return null if an inventory has not yet run on the vault, * for example if you just created the vault.

*/ inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; } /** *

Total size, in bytes, of the archives in the vault as of the last inventory * date. This field will return null if an inventory has not yet run on the vault, * for example if you just created the vault.

*/ inline DescribeVaultOutput& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } inline DescribeVaultOutput& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeVaultOutput& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeVaultOutput& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_vaultARN; bool m_vaultARNHasBeenSet = false; Aws::String m_vaultName; bool m_vaultNameHasBeenSet = false; Aws::String m_creationDate; bool m_creationDateHasBeenSet = false; Aws::String m_lastInventoryDate; bool m_lastInventoryDateHasBeenSet = false; long long m_numberOfArchives; bool m_numberOfArchivesHasBeenSet = false; long long m_sizeInBytes; bool m_sizeInBytesHasBeenSet = false; Aws::String m_requestId; bool m_requestIdHasBeenSet = false; }; } // namespace Model } // namespace Glacier } // namespace Aws