AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInputCharacter(const Aws::String& value) { m_inputCharacterHasBeenSet = true; m_inputCharacter = value; }
51 inline void SetInputCharacter(Aws::String&& value) { m_inputCharacterHasBeenSet = true; m_inputCharacter = std::move(value); }
52 inline void SetInputCharacter(const char* value) { m_inputCharacterHasBeenSet = true; m_inputCharacter.assign(value); }
53 inline DTMFInputEvent& WithInputCharacter(const Aws::String& value) { SetInputCharacter(value); return *this;}
54 inline DTMFInputEvent& WithInputCharacter(Aws::String&& value) { SetInputCharacter(std::move(value)); return *this;}
55 inline DTMFInputEvent& WithInputCharacter(const char* value) { SetInputCharacter(value); return *this;}
57
59
63 inline const Aws::String& GetEventId() const{ return m_eventId; }
64 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
65 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
66 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
67 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
68 inline DTMFInputEvent& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
69 inline DTMFInputEvent& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
70 inline DTMFInputEvent& WithEventId(const char* value) { SetEventId(value); return *this;}
72
74
78 inline long long GetClientTimestampMillis() const{ return m_clientTimestampMillis; }
79 inline bool ClientTimestampMillisHasBeenSet() const { return m_clientTimestampMillisHasBeenSet; }
80 inline void SetClientTimestampMillis(long long value) { m_clientTimestampMillisHasBeenSet = true; m_clientTimestampMillis = value; }
81 inline DTMFInputEvent& WithClientTimestampMillis(long long value) { SetClientTimestampMillis(value); return *this;}
83 private:
84
85 Aws::String m_inputCharacter;
86 bool m_inputCharacterHasBeenSet = false;
87
88 Aws::String m_eventId;
89 bool m_eventIdHasBeenSet = false;
90
91 long long m_clientTimestampMillis;
92 bool m_clientTimestampMillisHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace LexRuntimeV2
97} // namespace Aws
void SetInputCharacter(Aws::String &&value)
void SetClientTimestampMillis(long long value)
DTMFInputEvent & WithInputCharacter(const char *value)
DTMFInputEvent & WithEventId(const Aws::String &value)
void SetInputCharacter(const Aws::String &value)
AWS_LEXRUNTIMEV2_API DTMFInputEvent(Aws::Utils::Json::JsonView jsonValue)
DTMFInputEvent & WithEventId(const char *value)
AWS_LEXRUNTIMEV2_API DTMFInputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEventId() const
DTMFInputEvent & WithInputCharacter(const Aws::String &value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventId(const Aws::String &value)
DTMFInputEvent & WithInputCharacter(Aws::String &&value)
DTMFInputEvent & WithClientTimestampMillis(long long value)
const Aws::String & GetInputCharacter() const
void SetInputCharacter(const char *value)
DTMFInputEvent & WithEventId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue