/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 AWS_DEVICEFARM_API GetUploadResult { public: GetUploadResult(); GetUploadResult(const Aws::AmazonWebServiceResult& result); 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;} private: Upload m_upload; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws