AWS SDK for C++  1.9.159
AWS SDK for C++
GetUploadResult.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 {
33  {
34  public:
38 
39 
44  inline const Upload& GetUpload() const{ return m_upload; }
45 
50  inline void SetUpload(const Upload& value) { m_upload = value; }
51 
56  inline void SetUpload(Upload&& value) { m_upload = std::move(value); }
57 
62  inline GetUploadResult& WithUpload(const Upload& value) { SetUpload(value); return *this;}
63 
68  inline GetUploadResult& WithUpload(Upload&& value) { SetUpload(std::move(value)); return *this;}
69 
70  private:
71 
72  Upload m_upload;
73  };
74 
75 } // namespace Model
76 } // namespace DeviceFarm
77 } // namespace Aws
Aws::DeviceFarm::Model::GetUploadResult::operator=
GetUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Upload.h
Aws::DeviceFarm::Model::GetUploadResult::WithUpload
GetUploadResult & WithUpload(const Upload &value)
Definition: GetUploadResult.h:62
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::GetUploadResult::GetUpload
const Upload & GetUpload() const
Definition: GetUploadResult.h:44
Aws::DeviceFarm::Model::GetUploadResult::GetUploadResult
GetUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::GetUploadResult::SetUpload
void SetUpload(const Upload &value)
Definition: GetUploadResult.h:50
Aws::DeviceFarm::Model::GetUploadResult
Definition: GetUploadResult.h:33
Aws::DeviceFarm::Model::Upload
Definition: Upload.h:37
Aws::DeviceFarm::Model::GetUploadResult::SetUpload
void SetUpload(Upload &&value)
Definition: GetUploadResult.h:56
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::GetUploadResult::WithUpload
GetUploadResult & WithUpload(Upload &&value)
Definition: GetUploadResult.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::GetUploadResult::GetUploadResult
GetUploadResult()