AWS SDK for C++  1.9.159
AWS SDK for C++
CreateUploadResult.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 DeviceFarm
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Upload& GetUpload() const{ return m_upload; }
45 
49  inline void SetUpload(const Upload& value) { m_upload = value; }
50 
54  inline void SetUpload(Upload&& value) { m_upload = std::move(value); }
55 
59  inline CreateUploadResult& WithUpload(const Upload& value) { SetUpload(value); return *this;}
60 
64  inline CreateUploadResult& WithUpload(Upload&& value) { SetUpload(std::move(value)); return *this;}
65 
66  private:
67 
68  Upload m_upload;
69  };
70 
71 } // namespace Model
72 } // namespace DeviceFarm
73 } // namespace Aws
Aws::DeviceFarm::Model::CreateUploadResult::CreateUploadResult
CreateUploadResult()
Upload.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::CreateUploadResult::SetUpload
void SetUpload(const Upload &value)
Definition: CreateUploadResult.h:49
Aws::DeviceFarm::Model::CreateUploadResult::CreateUploadResult
CreateUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::CreateUploadResult::WithUpload
CreateUploadResult & WithUpload(Upload &&value)
Definition: CreateUploadResult.h:64
Aws::DeviceFarm::Model::Upload
Definition: Upload.h:37
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::CreateUploadResult::SetUpload
void SetUpload(Upload &&value)
Definition: CreateUploadResult.h:54
Aws::DeviceFarm::Model::CreateUploadResult
Definition: CreateUploadResult.h:34
Aws::DeviceFarm::Model::CreateUploadResult::WithUpload
CreateUploadResult & WithUpload(const Upload &value)
Definition: CreateUploadResult.h:59
Aws::DeviceFarm::Model::CreateUploadResult::operator=
CreateUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::CreateUploadResult::GetUpload
const Upload & GetUpload() const
Definition: CreateUploadResult.h:44