/** * 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 CognitoIdentityProvider { namespace Model { /** *

Gets the device response.

See Also:

AWS * API Reference

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

The device.

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

The device.

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

The device.

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

The device.

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

The device.

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