/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides options for deleting an archive from an Amazon S3 Glacier
* vault.See Also:
AWS
* API Reference
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID of the account that
* owns the vault. You can either specify an AWS account ID or optionally a single
* '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account
* ID associated with the credentials used to sign the request. If you use an
* account ID, do not include any hyphens ('-') in the ID.
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 DeleteArchiveRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;} /** *The name of the vault.
*/ inline DeleteArchiveRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;} /** *The name of the vault.
*/ inline DeleteArchiveRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;} /** *The ID of the archive to delete.
*/ inline const Aws::String& GetArchiveId() const{ return m_archiveId; } /** *The ID of the archive to delete.
*/ inline bool ArchiveIdHasBeenSet() const { return m_archiveIdHasBeenSet; } /** *The ID of the archive to delete.
*/ inline void SetArchiveId(const Aws::String& value) { m_archiveIdHasBeenSet = true; m_archiveId = value; } /** *The ID of the archive to delete.
*/ inline void SetArchiveId(Aws::String&& value) { m_archiveIdHasBeenSet = true; m_archiveId = std::move(value); } /** *The ID of the archive to delete.
*/ inline void SetArchiveId(const char* value) { m_archiveIdHasBeenSet = true; m_archiveId.assign(value); } /** *The ID of the archive to delete.
*/ inline DeleteArchiveRequest& WithArchiveId(const Aws::String& value) { SetArchiveId(value); return *this;} /** *The ID of the archive to delete.
*/ inline DeleteArchiveRequest& WithArchiveId(Aws::String&& value) { SetArchiveId(std::move(value)); return *this;} /** *The ID of the archive to delete.
*/ inline DeleteArchiveRequest& WithArchiveId(const char* value) { SetArchiveId(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_vaultName; bool m_vaultNameHasBeenSet = false; Aws::String m_archiveId; bool m_archiveIdHasBeenSet = false; }; } // namespace Model } // namespace Glacier } // namespace Aws