/** * 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 MTurk { namespace Model { class GetFileUploadURLResult { public: AWS_MTURK_API GetFileUploadURLResult(); AWS_MTURK_API GetFileUploadURLResult(const Aws::AmazonWebServiceResult& result); AWS_MTURK_API GetFileUploadURLResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A temporary URL for the file that the Worker uploaded for the answer.

*/ inline const Aws::String& GetFileUploadURL() const{ return m_fileUploadURL; } /** *

A temporary URL for the file that the Worker uploaded for the answer.

*/ inline void SetFileUploadURL(const Aws::String& value) { m_fileUploadURL = value; } /** *

A temporary URL for the file that the Worker uploaded for the answer.

*/ inline void SetFileUploadURL(Aws::String&& value) { m_fileUploadURL = std::move(value); } /** *

A temporary URL for the file that the Worker uploaded for the answer.

*/ inline void SetFileUploadURL(const char* value) { m_fileUploadURL.assign(value); } /** *

A temporary URL for the file that the Worker uploaded for the answer.

*/ inline GetFileUploadURLResult& WithFileUploadURL(const Aws::String& value) { SetFileUploadURL(value); return *this;} /** *

A temporary URL for the file that the Worker uploaded for the answer.

*/ inline GetFileUploadURLResult& WithFileUploadURL(Aws::String&& value) { SetFileUploadURL(std::move(value)); return *this;} /** *

A temporary URL for the file that the Worker uploaded for the answer.

*/ inline GetFileUploadURLResult& WithFileUploadURL(const char* value) { SetFileUploadURL(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 GetFileUploadURLResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetFileUploadURLResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetFileUploadURLResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_fileUploadURL; Aws::String m_requestId; }; } // namespace Model } // namespace MTurk } // namespace Aws