/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the result of a create upload request.See Also:
* AWS
* API Reference
The newly created upload.
*/ inline const Upload& GetUpload() const{ return m_upload; } /** *The newly created upload.
*/ inline void SetUpload(const Upload& value) { m_upload = value; } /** *The newly created upload.
*/ inline void SetUpload(Upload&& value) { m_upload = std::move(value); } /** *The newly created upload.
*/ inline CreateUploadResult& WithUpload(const Upload& value) { SetUpload(value); return *this;} /** *The newly created upload.
*/ inline CreateUploadResult& WithUpload(Upload&& value) { SetUpload(std::move(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 CreateUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Upload m_upload; Aws::String m_requestId; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws