AWS SDK for C++  1.9.159
AWS SDK for C++
CreateDevicePoolResult.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 DevicePool& GetDevicePool() const{ return m_devicePool; }
45 
49  inline void SetDevicePool(const DevicePool& value) { m_devicePool = value; }
50 
54  inline void SetDevicePool(DevicePool&& value) { m_devicePool = std::move(value); }
55 
59  inline CreateDevicePoolResult& WithDevicePool(const DevicePool& value) { SetDevicePool(value); return *this;}
60 
64  inline CreateDevicePoolResult& WithDevicePool(DevicePool&& value) { SetDevicePool(std::move(value)); return *this;}
65 
66  private:
67 
68  DevicePool m_devicePool;
69  };
70 
71 } // namespace Model
72 } // namespace DeviceFarm
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::CreateDevicePoolResult::WithDevicePool
CreateDevicePoolResult & WithDevicePool(DevicePool &&value)
Definition: CreateDevicePoolResult.h:64
Aws::DeviceFarm::Model::CreateDevicePoolResult::operator=
CreateDevicePoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::CreateDevicePoolResult::WithDevicePool
CreateDevicePoolResult & WithDevicePool(const DevicePool &value)
Definition: CreateDevicePoolResult.h:59
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::CreateDevicePoolResult
Definition: CreateDevicePoolResult.h:34
Aws::DeviceFarm::Model::CreateDevicePoolResult::CreateDevicePoolResult
CreateDevicePoolResult(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::CreateDevicePoolResult::SetDevicePool
void SetDevicePool(DevicePool &&value)
Definition: CreateDevicePoolResult.h:54
DevicePool.h
Aws::DeviceFarm::Model::DevicePool
Definition: DevicePool.h:35
Aws::DeviceFarm::Model::CreateDevicePoolResult::GetDevicePool
const DevicePool & GetDevicePool() const
Definition: CreateDevicePoolResult.h:44
Aws::DeviceFarm::Model::CreateDevicePoolResult::CreateDevicePoolResult
CreateDevicePoolResult()
Aws::DeviceFarm::Model::CreateDevicePoolResult::SetDevicePool
void SetDevicePool(const DevicePool &value)
Definition: CreateDevicePoolResult.h:49