AWS SDK for C++  1.9.105
AWS SDK for C++
GetFileUploadURLResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace MTurk
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetFileUploadURL() const{ return m_fileUploadURL; }
39 
43  inline void SetFileUploadURL(const Aws::String& value) { m_fileUploadURL = value; }
44 
48  inline void SetFileUploadURL(Aws::String&& value) { m_fileUploadURL = std::move(value); }
49 
53  inline void SetFileUploadURL(const char* value) { m_fileUploadURL.assign(value); }
54 
58  inline GetFileUploadURLResult& WithFileUploadURL(const Aws::String& value) { SetFileUploadURL(value); return *this;}
59 
63  inline GetFileUploadURLResult& WithFileUploadURL(Aws::String&& value) { SetFileUploadURL(std::move(value)); return *this;}
64 
68  inline GetFileUploadURLResult& WithFileUploadURL(const char* value) { SetFileUploadURL(value); return *this;}
69 
70  private:
71 
72  Aws::String m_fileUploadURL;
73  };
74 
75 } // namespace Model
76 } // namespace MTurk
77 } // namespace Aws
Aws::MTurk::Model::GetFileUploadURLResult::SetFileUploadURL
void SetFileUploadURL(const Aws::String &value)
Definition: GetFileUploadURLResult.h:43
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::GetFileUploadURLResult::GetFileUploadURLResult
GetFileUploadURLResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::GetFileUploadURLResult::operator=
GetFileUploadURLResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::GetFileUploadURLResult::GetFileUploadURL
const Aws::String & GetFileUploadURL() const
Definition: GetFileUploadURLResult.h:38
Aws::MTurk::Model::GetFileUploadURLResult::WithFileUploadURL
GetFileUploadURLResult & WithFileUploadURL(const Aws::String &value)
Definition: GetFileUploadURLResult.h:58
Aws::MTurk::Model::GetFileUploadURLResult::WithFileUploadURL
GetFileUploadURLResult & WithFileUploadURL(Aws::String &&value)
Definition: GetFileUploadURLResult.h:63
Aws::MTurk::Model::GetFileUploadURLResult
Definition: GetFileUploadURLResult.h:28
Aws::MTurk::Model::GetFileUploadURLResult::SetFileUploadURL
void SetFileUploadURL(const char *value)
Definition: GetFileUploadURLResult.h:53
AWSString.h
Aws::MTurk::Model::GetFileUploadURLResult::SetFileUploadURL
void SetFileUploadURL(Aws::String &&value)
Definition: GetFileUploadURLResult.h:48
Aws::MTurk::Model::GetFileUploadURLResult::GetFileUploadURLResult
GetFileUploadURLResult()
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::GetFileUploadURLResult::WithFileUploadURL
GetFileUploadURLResult & WithFileUploadURL(const char *value)
Definition: GetFileUploadURLResult.h:68