/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { /** *

Represents the result of a get upload request.

See Also:

AWS * API Reference

*/ class GetUploadResult { public: AWS_DEVICEFARM_API GetUploadResult(); AWS_DEVICEFARM_API GetUploadResult(const Aws::AmazonWebServiceResult& result); AWS_DEVICEFARM_API GetUploadResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An app or a set of one or more tests to upload or that have been * uploaded.

*/ inline const Upload& GetUpload() const{ return m_upload; } /** *

An app or a set of one or more tests to upload or that have been * uploaded.

*/ inline void SetUpload(const Upload& value) { m_upload = value; } /** *

An app or a set of one or more tests to upload or that have been * uploaded.

*/ inline void SetUpload(Upload&& value) { m_upload = std::move(value); } /** *

An app or a set of one or more tests to upload or that have been * uploaded.

*/ inline GetUploadResult& WithUpload(const Upload& value) { SetUpload(value); return *this;} /** *

An app or a set of one or more tests to upload or that have been * uploaded.

*/ inline GetUploadResult& 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 GetUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Upload m_upload; Aws::String m_requestId; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws