/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that specifies the last used intent at the time of the utterance as
* an attribute to return.See Also:
AWS
* API Reference
An attribute to return. The only available attribute is the intent that the * bot mapped the utterance to.
*/ inline const AnalyticsUtteranceAttributeName& GetName() const{ return m_name; } /** *An attribute to return. The only available attribute is the intent that the * bot mapped the utterance to.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *An attribute to return. The only available attribute is the intent that the * bot mapped the utterance to.
*/ inline void SetName(const AnalyticsUtteranceAttributeName& value) { m_nameHasBeenSet = true; m_name = value; } /** *An attribute to return. The only available attribute is the intent that the * bot mapped the utterance to.
*/ inline void SetName(AnalyticsUtteranceAttributeName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *An attribute to return. The only available attribute is the intent that the * bot mapped the utterance to.
*/ inline AnalyticsUtteranceAttribute& WithName(const AnalyticsUtteranceAttributeName& value) { SetName(value); return *this;} /** *An attribute to return. The only available attribute is the intent that the * bot mapped the utterance to.
*/ inline AnalyticsUtteranceAttribute& WithName(AnalyticsUtteranceAttributeName&& value) { SetName(std::move(value)); return *this;} private: AnalyticsUtteranceAttributeName m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws