/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Override settings to configure the intent state.See Also:
* AWS
* API Reference
The name of the intent. Only required when you're switching intents.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the intent. Only required when you're switching intents.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the intent. Only required when you're switching intents.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the intent. Only required when you're switching intents.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the intent. Only required when you're switching intents.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the intent. Only required when you're switching intents.
*/ inline IntentOverride& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the intent. Only required when you're switching intents.
*/ inline IntentOverride& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the intent. Only required when you're switching intents.
*/ inline IntentOverride& WithName(const char* value) { SetName(value); return *this;} /** *A map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline const Aws::MapA map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; } /** *A map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline void SetSlots(const Aws::MapA map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline void SetSlots(Aws::MapA map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline IntentOverride& WithSlots(const Aws::MapA map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline IntentOverride& WithSlots(Aws::MapA map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline IntentOverride& AddSlots(const Aws::String& key, const SlotValueOverride& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, value); return *this; } /** *A map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline IntentOverride& AddSlots(Aws::String&& key, const SlotValueOverride& value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), value); return *this; } /** *A map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline IntentOverride& AddSlots(const Aws::String& key, SlotValueOverride&& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, std::move(value)); return *this; } /** *A map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline IntentOverride& AddSlots(Aws::String&& key, SlotValueOverride&& value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), std::move(value)); return *this; } /** *A map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline IntentOverride& AddSlots(const char* key, SlotValueOverride&& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, std::move(value)); return *this; } /** *A map of all of the slot value overrides for the intent. The name of the slot * maps to the value of the slot. Slots that are not included in the map aren't * overridden.
*/ inline IntentOverride& AddSlots(const char* key, const SlotValueOverride& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Map