/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A DTMF character sent from the client application. DTMF characters are
* typically sent from a phone keypad to represent numbers. For example, you can
* have Amazon Lex V2 process a credit card number input from a
* phone.See Also:
AWS
* API Reference
The DTMF character that the user pressed. The allowed characters are A - D, 0 * - 9, # and *.
*/ inline const Aws::String& GetInputCharacter() const{ return m_inputCharacter; } /** *The DTMF character that the user pressed. The allowed characters are A - D, 0 * - 9, # and *.
*/ inline bool InputCharacterHasBeenSet() const { return m_inputCharacterHasBeenSet; } /** *The DTMF character that the user pressed. The allowed characters are A - D, 0 * - 9, # and *.
*/ inline void SetInputCharacter(const Aws::String& value) { m_inputCharacterHasBeenSet = true; m_inputCharacter = value; } /** *The DTMF character that the user pressed. The allowed characters are A - D, 0 * - 9, # and *.
*/ inline void SetInputCharacter(Aws::String&& value) { m_inputCharacterHasBeenSet = true; m_inputCharacter = std::move(value); } /** *The DTMF character that the user pressed. The allowed characters are A - D, 0 * - 9, # and *.
*/ inline void SetInputCharacter(const char* value) { m_inputCharacterHasBeenSet = true; m_inputCharacter.assign(value); } /** *The DTMF character that the user pressed. The allowed characters are A - D, 0 * - 9, # and *.
*/ inline DTMFInputEvent& WithInputCharacter(const Aws::String& value) { SetInputCharacter(value); return *this;} /** *The DTMF character that the user pressed. The allowed characters are A - D, 0 * - 9, # and *.
*/ inline DTMFInputEvent& WithInputCharacter(Aws::String&& value) { SetInputCharacter(std::move(value)); return *this;} /** *The DTMF character that the user pressed. The allowed characters are A - D, 0 * - 9, # and *.
*/ inline DTMFInputEvent& WithInputCharacter(const char* value) { SetInputCharacter(value); return *this;} /** *A unique identifier that your application assigns to the event. You can use * this to identify events in logs.
*/ inline const Aws::String& GetEventId() const{ return m_eventId; } /** *A unique identifier that your application assigns to the event. You can use * this to identify events in logs.
*/ inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; } /** *A unique identifier that your application assigns to the event. You can use * this to identify events in logs.
*/ inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; } /** *A unique identifier that your application assigns to the event. You can use * this to identify events in logs.
*/ inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); } /** *A unique identifier that your application assigns to the event. You can use * this to identify events in logs.
*/ inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); } /** *A unique identifier that your application assigns to the event. You can use * this to identify events in logs.
*/ inline DTMFInputEvent& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} /** *A unique identifier that your application assigns to the event. You can use * this to identify events in logs.
*/ inline DTMFInputEvent& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} /** *A unique identifier that your application assigns to the event. You can use * this to identify events in logs.
*/ inline DTMFInputEvent& WithEventId(const char* value) { SetEventId(value); return *this;} /** *A timestamp set by the client of the date and time that the event was sent to * Amazon Lex V2.
*/ inline long long GetClientTimestampMillis() const{ return m_clientTimestampMillis; } /** *A timestamp set by the client of the date and time that the event was sent to * Amazon Lex V2.
*/ inline bool ClientTimestampMillisHasBeenSet() const { return m_clientTimestampMillisHasBeenSet; } /** *A timestamp set by the client of the date and time that the event was sent to * Amazon Lex V2.
*/ inline void SetClientTimestampMillis(long long value) { m_clientTimestampMillisHasBeenSet = true; m_clientTimestampMillis = value; } /** *A timestamp set by the client of the date and time that the event was sent to * Amazon Lex V2.
*/ inline DTMFInputEvent& WithClientTimestampMillis(long long value) { SetClientTimestampMillis(value); return *this;} private: Aws::String m_inputCharacter; bool m_inputCharacterHasBeenSet = false; Aws::String m_eventId; bool m_eventIdHasBeenSet = false; long long m_clientTimestampMillis; bool m_clientTimestampMillisHasBeenSet = false; }; } // namespace Model } // namespace LexRuntimeV2 } // namespace Aws