/** * 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 create device pool request.

See * Also:

AWS * API Reference

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

The newly created device pool.

*/ inline const DevicePool& GetDevicePool() const{ return m_devicePool; } /** *

The newly created device pool.

*/ inline void SetDevicePool(const DevicePool& value) { m_devicePool = value; } /** *

The newly created device pool.

*/ inline void SetDevicePool(DevicePool&& value) { m_devicePool = std::move(value); } /** *

The newly created device pool.

*/ inline CreateDevicePoolResult& WithDevicePool(const DevicePool& value) { SetDevicePool(value); return *this;} /** *

The newly created device pool.

*/ inline CreateDevicePoolResult& WithDevicePool(DevicePool&& value) { SetDevicePool(std::move(value)); return *this;} private: DevicePool m_devicePool; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws