/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object defining the template for a placement.See Also:
* AWS
* API Reference
The default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline const Aws::MapThe default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline bool DefaultAttributesHasBeenSet() const { return m_defaultAttributesHasBeenSet; } /** *The default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline void SetDefaultAttributes(const Aws::MapThe default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline void SetDefaultAttributes(Aws::MapThe default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& WithDefaultAttributes(const Aws::MapThe default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& WithDefaultAttributes(Aws::MapThe default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& AddDefaultAttributes(const Aws::String& key, const Aws::String& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(key, value); return *this; } /** *The default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& AddDefaultAttributes(Aws::String&& key, const Aws::String& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(std::move(key), value); return *this; } /** *The default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& AddDefaultAttributes(const Aws::String& key, Aws::String&& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(key, std::move(value)); return *this; } /** *The default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& AddDefaultAttributes(Aws::String&& key, Aws::String&& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(std::move(key), std::move(value)); return *this; } /** *The default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& AddDefaultAttributes(const char* key, Aws::String&& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(key, std::move(value)); return *this; } /** *The default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& AddDefaultAttributes(Aws::String&& key, const char* value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(std::move(key), value); return *this; } /** *The default attributes (key/value pairs) to be applied to all placements * using this template.
*/ inline PlacementTemplate& AddDefaultAttributes(const char* key, const char* value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(key, value); return *this; } /** *An object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline const Aws::MapAn object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline bool DeviceTemplatesHasBeenSet() const { return m_deviceTemplatesHasBeenSet; } /** *An object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline void SetDeviceTemplates(const Aws::MapAn object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline void SetDeviceTemplates(Aws::MapAn object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline PlacementTemplate& WithDeviceTemplates(const Aws::MapAn object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline PlacementTemplate& WithDeviceTemplates(Aws::MapAn object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline PlacementTemplate& AddDeviceTemplates(const Aws::String& key, const DeviceTemplate& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(key, value); return *this; } /** *An object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline PlacementTemplate& AddDeviceTemplates(Aws::String&& key, const DeviceTemplate& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(std::move(key), value); return *this; } /** *An object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline PlacementTemplate& AddDeviceTemplates(const Aws::String& key, DeviceTemplate&& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(key, std::move(value)); return *this; } /** *An object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline PlacementTemplate& AddDeviceTemplates(Aws::String&& key, DeviceTemplate&& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(std::move(key), std::move(value)); return *this; } /** *An object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline PlacementTemplate& AddDeviceTemplates(const char* key, DeviceTemplate&& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(key, std::move(value)); return *this; } /** *An object specifying the DeviceTemplate for all placements using this * (PlacementTemplate) template.
*/ inline PlacementTemplate& AddDeviceTemplates(const char* key, const DeviceTemplate& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(key, value); return *this; } private: Aws::Map