AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DTMFInputEvent.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexRuntimeV2
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_LEXRUNTIMEV2_API DTMFInputEvent() = default;
38 AWS_LEXRUNTIMEV2_API DTMFInputEvent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXRUNTIMEV2_API DTMFInputEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetInputCharacter() const { return m_inputCharacter; }
49 inline bool InputCharacterHasBeenSet() const { return m_inputCharacterHasBeenSet; }
50 template<typename InputCharacterT = Aws::String>
51 void SetInputCharacter(InputCharacterT&& value) { m_inputCharacterHasBeenSet = true; m_inputCharacter = std::forward<InputCharacterT>(value); }
52 template<typename InputCharacterT = Aws::String>
53 DTMFInputEvent& WithInputCharacter(InputCharacterT&& value) { SetInputCharacter(std::forward<InputCharacterT>(value)); return *this;}
55
57
61 inline const Aws::String& GetEventId() const { return m_eventId; }
62 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
63 template<typename EventIdT = Aws::String>
64 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
65 template<typename EventIdT = Aws::String>
66 DTMFInputEvent& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
68
70
74 inline long long GetClientTimestampMillis() const { return m_clientTimestampMillis; }
75 inline bool ClientTimestampMillisHasBeenSet() const { return m_clientTimestampMillisHasBeenSet; }
76 inline void SetClientTimestampMillis(long long value) { m_clientTimestampMillisHasBeenSet = true; m_clientTimestampMillis = value; }
77 inline DTMFInputEvent& WithClientTimestampMillis(long long value) { SetClientTimestampMillis(value); return *this;}
79 private:
80
81 Aws::String m_inputCharacter;
82 bool m_inputCharacterHasBeenSet = false;
83
84 Aws::String m_eventId;
85 bool m_eventIdHasBeenSet = false;
86
87 long long m_clientTimestampMillis{0};
88 bool m_clientTimestampMillisHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace LexRuntimeV2
93} // namespace Aws
DTMFInputEvent & WithEventId(EventIdT &&value)
void SetClientTimestampMillis(long long value)
AWS_LEXRUNTIMEV2_API DTMFInputEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API DTMFInputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEventId() const
DTMFInputEvent & WithInputCharacter(InputCharacterT &&value)
void SetInputCharacter(InputCharacterT &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
DTMFInputEvent & WithClientTimestampMillis(long long value)
AWS_LEXRUNTIMEV2_API DTMFInputEvent()=default
const Aws::String & GetInputCharacter() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue