/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing a device for a placement template (see
* PlacementTemplate).See Also:
AWS
* API Reference
The device type, which currently must be "button".
The device type, which currently must be "button".
The device type, which currently must be "button".
The device type, which currently must be "button".
The device type, which currently must be "button".
The device type, which currently must be "button".
The device type, which currently must be "button".
The device type, which currently must be "button".
An optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline const Aws::MapAn optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline bool CallbackOverridesHasBeenSet() const { return m_callbackOverridesHasBeenSet; } /** *An optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline void SetCallbackOverrides(const Aws::MapAn optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline void SetCallbackOverrides(Aws::MapAn optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& WithCallbackOverrides(const Aws::MapAn optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& WithCallbackOverrides(Aws::MapAn optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& AddCallbackOverrides(const Aws::String& key, const Aws::String& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(key, value); return *this; } /** *An optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& AddCallbackOverrides(Aws::String&& key, const Aws::String& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(std::move(key), value); return *this; } /** *An optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& AddCallbackOverrides(const Aws::String& key, Aws::String&& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(key, std::move(value)); return *this; } /** *An optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& AddCallbackOverrides(Aws::String&& key, Aws::String&& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(std::move(key), std::move(value)); return *this; } /** *An optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& AddCallbackOverrides(const char* key, Aws::String&& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(key, std::move(value)); return *this; } /** *An optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& AddCallbackOverrides(Aws::String&& key, const char* value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(std::move(key), value); return *this; } /** *An optional Lambda function to invoke instead of the default Lambda function * provided by the placement template.
*/ inline DeviceTemplate& AddCallbackOverrides(const char* key, const char* value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(key, value); return *this; } private: Aws::String m_deviceType; bool m_deviceTypeHasBeenSet = false; Aws::Map