AWS SDK for C++  1.9.159
AWS SDK for C++
GetDeviceResult.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 
43  inline const Device& GetDevice() const{ return m_device; }
44 
48  inline void SetDevice(const Device& value) { m_device = value; }
49 
53  inline void SetDevice(Device&& value) { m_device = std::move(value); }
54 
58  inline GetDeviceResult& WithDevice(const Device& value) { SetDevice(value); return *this;}
59 
63  inline GetDeviceResult& WithDevice(Device&& value) { SetDevice(std::move(value)); return *this;}
64 
65  private:
66 
67  Device m_device;
68  };
69 
70 } // namespace Model
71 } // namespace DeviceFarm
72 } // namespace Aws
Aws::DeviceFarm::Model::GetDeviceResult::GetDeviceResult
GetDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::GetDeviceResult::SetDevice
void SetDevice(Device &&value)
Definition: GetDeviceResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::GetDeviceResult::GetDeviceResult
GetDeviceResult()
Device.h
Aws::DeviceFarm::Model::GetDeviceResult::operator=
GetDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::GetDeviceResult::SetDevice
void SetDevice(const Device &value)
Definition: GetDeviceResult.h:48
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::GetDeviceResult::WithDevice
GetDeviceResult & WithDevice(Device &&value)
Definition: GetDeviceResult.h:63
Aws::DeviceFarm::Model::GetDeviceResult::GetDevice
const Device & GetDevice() const
Definition: GetDeviceResult.h:43
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::GetDeviceResult::WithDevice
GetDeviceResult & WithDevice(const Device &value)
Definition: GetDeviceResult.h:58
Aws::DeviceFarm::Model::GetDeviceResult
Definition: GetDeviceResult.h:33
Aws::DeviceFarm::Model::Device
Definition: Device.h:40