/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon S3 Glacier response to your request.See Also:
AWS
* API Reference
The relative URI path of the multipart upload ID Amazon S3 Glacier * created.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *The relative URI path of the multipart upload ID Amazon S3 Glacier * created.
*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *The relative URI path of the multipart upload ID Amazon S3 Glacier * created.
*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *The relative URI path of the multipart upload ID Amazon S3 Glacier * created.
*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *The relative URI path of the multipart upload ID Amazon S3 Glacier * created.
*/ inline InitiateMultipartUploadResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *The relative URI path of the multipart upload ID Amazon S3 Glacier * created.
*/ inline InitiateMultipartUploadResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *The relative URI path of the multipart upload ID Amazon S3 Glacier * created.
*/ inline InitiateMultipartUploadResult& WithLocation(const char* value) { SetLocation(value); return *this;} /** *The ID of the multipart upload. This value is also included as part of the * location.
*/ inline const Aws::String& GetUploadId() const{ return m_uploadId; } /** *The ID of the multipart upload. This value is also included as part of the * location.
*/ inline void SetUploadId(const Aws::String& value) { m_uploadId = value; } /** *The ID of the multipart upload. This value is also included as part of the * location.
*/ inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); } /** *The ID of the multipart upload. This value is also included as part of the * location.
*/ inline void SetUploadId(const char* value) { m_uploadId.assign(value); } /** *The ID of the multipart upload. This value is also included as part of the * location.
*/ inline InitiateMultipartUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;} /** *The ID of the multipart upload. This value is also included as part of the * location.
*/ inline InitiateMultipartUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;} /** *The ID of the multipart upload. This value is also included as part of the * location.
*/ inline InitiateMultipartUploadResult& WithUploadId(const char* value) { SetUploadId(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 InitiateMultipartUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline InitiateMultipartUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline InitiateMultipartUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_location; Aws::String m_uploadId; Aws::String m_requestId; }; } // namespace Model } // namespace Glacier } // namespace Aws