/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the Amazon S3 Glacier response to your request. For
* information about the underlying REST API, see Upload
* Archive. For conceptual information, see Working
* with Archives in Amazon S3 Glacier.See Also:
AWS
* API Reference
The relative URI path of the newly added archive resource.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *The relative URI path of the newly added archive resource.
*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *The relative URI path of the newly added archive resource.
*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *The relative URI path of the newly added archive resource.
*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *The relative URI path of the newly added archive resource.
*/ inline UploadArchiveResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *The relative URI path of the newly added archive resource.
*/ inline UploadArchiveResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *The relative URI path of the newly added archive resource.
*/ inline UploadArchiveResult& WithLocation(const char* value) { SetLocation(value); return *this;} /** *The checksum of the archive computed by Amazon S3 Glacier.
*/ inline const Aws::String& GetChecksum() const{ return m_checksum; } /** *The checksum of the archive computed by Amazon S3 Glacier.
*/ inline void SetChecksum(const Aws::String& value) { m_checksum = value; } /** *The checksum of the archive computed by Amazon S3 Glacier.
*/ inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); } /** *The checksum of the archive computed by Amazon S3 Glacier.
*/ inline void SetChecksum(const char* value) { m_checksum.assign(value); } /** *The checksum of the archive computed by Amazon S3 Glacier.
*/ inline UploadArchiveResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;} /** *The checksum of the archive computed by Amazon S3 Glacier.
*/ inline UploadArchiveResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;} /** *The checksum of the archive computed by Amazon S3 Glacier.
*/ inline UploadArchiveResult& WithChecksum(const char* value) { SetChecksum(value); return *this;} /** *The ID of the archive. This value is also included as part of the * location.
*/ inline const Aws::String& GetArchiveId() const{ return m_archiveId; } /** *The ID of the archive. This value is also included as part of the * location.
*/ inline void SetArchiveId(const Aws::String& value) { m_archiveId = value; } /** *The ID of the archive. This value is also included as part of the * location.
*/ inline void SetArchiveId(Aws::String&& value) { m_archiveId = std::move(value); } /** *The ID of the archive. This value is also included as part of the * location.
*/ inline void SetArchiveId(const char* value) { m_archiveId.assign(value); } /** *The ID of the archive. This value is also included as part of the * location.
*/ inline UploadArchiveResult& WithArchiveId(const Aws::String& value) { SetArchiveId(value); return *this;} /** *The ID of the archive. This value is also included as part of the * location.
*/ inline UploadArchiveResult& WithArchiveId(Aws::String&& value) { SetArchiveId(std::move(value)); return *this;} /** *The ID of the archive. This value is also included as part of the * location.
*/ inline UploadArchiveResult& WithArchiveId(const char* value) { SetArchiveId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UploadArchiveResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UploadArchiveResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UploadArchiveResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_location; Aws::String m_checksum; Aws::String m_archiveId; Aws::String m_requestId; }; } // namespace Model } // namespace Glacier } // namespace Aws