AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateDeviceInstanceResult.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 {
28  {
29  public:
33 
34 
38  inline const DeviceInstance& GetDeviceInstance() const{ return m_deviceInstance; }
39 
43  inline void SetDeviceInstance(const DeviceInstance& value) { m_deviceInstance = value; }
44 
48  inline void SetDeviceInstance(DeviceInstance&& value) { m_deviceInstance = std::move(value); }
49 
53  inline UpdateDeviceInstanceResult& WithDeviceInstance(const DeviceInstance& value) { SetDeviceInstance(value); return *this;}
54 
58  inline UpdateDeviceInstanceResult& WithDeviceInstance(DeviceInstance&& value) { SetDeviceInstance(std::move(value)); return *this;}
59 
60  private:
61 
62  DeviceInstance m_deviceInstance;
63  };
64 
65 } // namespace Model
66 } // namespace DeviceFarm
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult::SetDeviceInstance
void SetDeviceInstance(const DeviceInstance &value)
Definition: UpdateDeviceInstanceResult.h:43
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult::UpdateDeviceInstanceResult
UpdateDeviceInstanceResult()
Aws::DeviceFarm::Model::DeviceInstance
Definition: DeviceInstance.h:35
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult::operator=
UpdateDeviceInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult::GetDeviceInstance
const DeviceInstance & GetDeviceInstance() const
Definition: UpdateDeviceInstanceResult.h:38
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult
Definition: UpdateDeviceInstanceResult.h:28
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult::WithDeviceInstance
UpdateDeviceInstanceResult & WithDeviceInstance(DeviceInstance &&value)
Definition: UpdateDeviceInstanceResult.h:58
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult::WithDeviceInstance
UpdateDeviceInstanceResult & WithDeviceInstance(const DeviceInstance &value)
Definition: UpdateDeviceInstanceResult.h:53
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult::UpdateDeviceInstanceResult
UpdateDeviceInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::UpdateDeviceInstanceResult::SetDeviceInstance
void SetDeviceInstance(DeviceInstance &&value)
Definition: UpdateDeviceInstanceResult.h:48
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
DeviceInstance.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h