/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT1ClickProjects { namespace Model { class AWS_IOT1CLICKPROJECTS_API GetDevicesInPlacementResult { public: GetDevicesInPlacementResult(); GetDevicesInPlacementResult(const Aws::AmazonWebServiceResult& result); GetDevicesInPlacementResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object containing the devices (zero or more) within the placement.

*/ inline const Aws::Map& GetDevices() const{ return m_devices; } /** *

An object containing the devices (zero or more) within the placement.

*/ inline void SetDevices(const Aws::Map& value) { m_devices = value; } /** *

An object containing the devices (zero or more) within the placement.

*/ inline void SetDevices(Aws::Map&& value) { m_devices = std::move(value); } /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& WithDevices(const Aws::Map& value) { SetDevices(value); return *this;} /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& WithDevices(Aws::Map&& value) { SetDevices(std::move(value)); return *this;} /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& AddDevices(const Aws::String& key, const Aws::String& value) { m_devices.emplace(key, value); return *this; } /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& AddDevices(Aws::String&& key, const Aws::String& value) { m_devices.emplace(std::move(key), value); return *this; } /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& AddDevices(const Aws::String& key, Aws::String&& value) { m_devices.emplace(key, std::move(value)); return *this; } /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& AddDevices(Aws::String&& key, Aws::String&& value) { m_devices.emplace(std::move(key), std::move(value)); return *this; } /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& AddDevices(const char* key, Aws::String&& value) { m_devices.emplace(key, std::move(value)); return *this; } /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& AddDevices(Aws::String&& key, const char* value) { m_devices.emplace(std::move(key), value); return *this; } /** *

An object containing the devices (zero or more) within the placement.

*/ inline GetDevicesInPlacementResult& AddDevices(const char* key, const char* value) { m_devices.emplace(key, value); return *this; } private: Aws::Map m_devices; }; } // namespace Model } // namespace IoT1ClickProjects } // namespace Aws