/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { /** *

Represents the result of a get device request.

See Also:

AWS * API Reference

*/ class AWS_DEVICEFARM_API GetDeviceResult { public: GetDeviceResult(); GetDeviceResult(const Aws::AmazonWebServiceResult& result); GetDeviceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that contains information about the requested device.

*/ inline const Device& GetDevice() const{ return m_device; } /** *

An object that contains information about the requested device.

*/ inline void SetDevice(const Device& value) { m_device = value; } /** *

An object that contains information about the requested device.

*/ inline void SetDevice(Device&& value) { m_device = std::move(value); } /** *

An object that contains information about the requested device.

*/ inline GetDeviceResult& WithDevice(const Device& value) { SetDevice(value); return *this;} /** *

An object that contains information about the requested device.

*/ inline GetDeviceResult& WithDevice(Device&& value) { SetDevice(std::move(value)); return *this;} private: Device m_device; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws