/** * 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 AWS_MTURK_API GetFileUploadURLResult { public: GetFileUploadURLResult(); GetFileUploadURLResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_fileUploadURL; }; } // namespace Model } // namespace MTurk } // namespace Aws