/** * 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 IoT1ClickDevicesService { namespace Model { class AWS_IOT1CLICKDEVICESSERVICE_API GetDeviceMethodsResult { public: GetDeviceMethodsResult(); GetDeviceMethodsResult(const Aws::AmazonWebServiceResult& result); GetDeviceMethodsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

List of available device APIs.

*/ inline const Aws::Vector& GetDeviceMethods() const{ return m_deviceMethods; } /** *

List of available device APIs.

*/ inline void SetDeviceMethods(const Aws::Vector& value) { m_deviceMethods = value; } /** *

List of available device APIs.

*/ inline void SetDeviceMethods(Aws::Vector&& value) { m_deviceMethods = std::move(value); } /** *

List of available device APIs.

*/ inline GetDeviceMethodsResult& WithDeviceMethods(const Aws::Vector& value) { SetDeviceMethods(value); return *this;} /** *

List of available device APIs.

*/ inline GetDeviceMethodsResult& WithDeviceMethods(Aws::Vector&& value) { SetDeviceMethods(std::move(value)); return *this;} /** *

List of available device APIs.

*/ inline GetDeviceMethodsResult& AddDeviceMethods(const DeviceMethod& value) { m_deviceMethods.push_back(value); return *this; } /** *

List of available device APIs.

*/ inline GetDeviceMethodsResult& AddDeviceMethods(DeviceMethod&& value) { m_deviceMethods.push_back(std::move(value)); return *this; } private: Aws::Vector m_deviceMethods; }; } // namespace Model } // namespace IoT1ClickDevicesService } // namespace Aws