/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object containing the intent that the bot mapped the utterance
* to.See Also:
AWS
* API Reference
The intent that the bot mapped the utterance to.
*/ inline const Aws::String& GetLastUsedIntent() const{ return m_lastUsedIntent; } /** *The intent that the bot mapped the utterance to.
*/ inline bool LastUsedIntentHasBeenSet() const { return m_lastUsedIntentHasBeenSet; } /** *The intent that the bot mapped the utterance to.
*/ inline void SetLastUsedIntent(const Aws::String& value) { m_lastUsedIntentHasBeenSet = true; m_lastUsedIntent = value; } /** *The intent that the bot mapped the utterance to.
*/ inline void SetLastUsedIntent(Aws::String&& value) { m_lastUsedIntentHasBeenSet = true; m_lastUsedIntent = std::move(value); } /** *The intent that the bot mapped the utterance to.
*/ inline void SetLastUsedIntent(const char* value) { m_lastUsedIntentHasBeenSet = true; m_lastUsedIntent.assign(value); } /** *The intent that the bot mapped the utterance to.
*/ inline AnalyticsUtteranceAttributeResult& WithLastUsedIntent(const Aws::String& value) { SetLastUsedIntent(value); return *this;} /** *The intent that the bot mapped the utterance to.
*/ inline AnalyticsUtteranceAttributeResult& WithLastUsedIntent(Aws::String&& value) { SetLastUsedIntent(std::move(value)); return *this;} /** *The intent that the bot mapped the utterance to.
*/ inline AnalyticsUtteranceAttributeResult& WithLastUsedIntent(const char* value) { SetLastUsedIntent(value); return *this;} private: Aws::String m_lastUsedIntent; bool m_lastUsedIntentHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws