/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The current intent that Amazon Lex V2 is attempting to fulfill.See
* Also:
AWS
* API Reference
The name of the intent.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the intent.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the intent.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the intent.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the intent.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the intent.
*/ inline Intent& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the intent.
*/ inline Intent& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the intent.
*/ inline Intent& WithName(const char* value) { SetName(value); return *this;} /** *A map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline const Aws::MapA map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; } /** *A map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline void SetSlots(const Aws::MapA map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline void SetSlots(Aws::MapA map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline Intent& WithSlots(const Aws::MapA map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline Intent& WithSlots(Aws::MapA map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline Intent& AddSlots(const Aws::String& key, const Slot& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, value); return *this; } /** *A map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline Intent& AddSlots(Aws::String&& key, const Slot& value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), value); return *this; } /** *A map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline Intent& AddSlots(const Aws::String& key, Slot&& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, std::move(value)); return *this; } /** *A map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline Intent& AddSlots(Aws::String&& key, Slot&& value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), std::move(value)); return *this; } /** *A map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline Intent& AddSlots(const char* key, Slot&& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, std::move(value)); return *this; } /** *A map of all of the slots for the intent. The name of the slot maps to the * value of the slot. If a slot has not been filled, the value is null.
*/ inline Intent& AddSlots(const char* key, const Slot& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, value); return *this; } /** *Contains fulfillment information for the intent.
*/ inline const IntentState& GetState() const{ return m_state; } /** *Contains fulfillment information for the intent.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *Contains fulfillment information for the intent.
*/ inline void SetState(const IntentState& value) { m_stateHasBeenSet = true; m_state = value; } /** *Contains fulfillment information for the intent.
*/ inline void SetState(IntentState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *Contains fulfillment information for the intent.
*/ inline Intent& WithState(const IntentState& value) { SetState(value); return *this;} /** *Contains fulfillment information for the intent.
*/ inline Intent& WithState(IntentState&& value) { SetState(std::move(value)); return *this;} /** *Contains information about whether fulfillment of the intent has been * confirmed.
*/ inline const ConfirmationState& GetConfirmationState() const{ return m_confirmationState; } /** *Contains information about whether fulfillment of the intent has been * confirmed.
*/ inline bool ConfirmationStateHasBeenSet() const { return m_confirmationStateHasBeenSet; } /** *Contains information about whether fulfillment of the intent has been * confirmed.
*/ inline void SetConfirmationState(const ConfirmationState& value) { m_confirmationStateHasBeenSet = true; m_confirmationState = value; } /** *Contains information about whether fulfillment of the intent has been * confirmed.
*/ inline void SetConfirmationState(ConfirmationState&& value) { m_confirmationStateHasBeenSet = true; m_confirmationState = std::move(value); } /** *Contains information about whether fulfillment of the intent has been * confirmed.
*/ inline Intent& WithConfirmationState(const ConfirmationState& value) { SetConfirmationState(value); return *this;} /** *Contains information about whether fulfillment of the intent has been * confirmed.
*/ inline Intent& WithConfirmationState(ConfirmationState&& value) { SetConfirmationState(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Map