/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object containing the name of an intent that was invoked.See
* Also:
AWS
* API Reference
The name of an intent that was invoked.
*/ inline const Aws::String& GetIntentName() const{ return m_intentName; } /** *The name of an intent that was invoked.
*/ inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; } /** *The name of an intent that was invoked.
*/ inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; } /** *The name of an intent that was invoked.
*/ inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); } /** *The name of an intent that was invoked.
*/ inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); } /** *The name of an intent that was invoked.
*/ inline InvokedIntentSample& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;} /** *The name of an intent that was invoked.
*/ inline InvokedIntentSample& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;} /** *The name of an intent that was invoked.
*/ inline InvokedIntentSample& WithIntentName(const char* value) { SetIntentName(value); return *this;} private: Aws::String m_intentName; bool m_intentNameHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws