/** * 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 GetDevicesInPlacementResult { public: AWS_IOT1CLICKPROJECTS_API GetDevicesInPlacementResult(); AWS_IOT1CLICKPROJECTS_API GetDevicesInPlacementResult(const Aws::AmazonWebServiceResult& result); AWS_IOT1CLICKPROJECTS_API 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; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDevicesInPlacementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDevicesInPlacementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDevicesInPlacementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map m_devices; Aws::String m_requestId; }; } // namespace Model } // namespace IoT1ClickProjects } // namespace Aws