AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DisconnectionEvent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexRuntimeV2 {
20namespace Model {
21
30 public:
31 AWS_LEXRUNTIMEV2_API DisconnectionEvent() = default;
32 AWS_LEXRUNTIMEV2_API DisconnectionEvent(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetEventId() const { return m_eventId; }
42 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
43 template <typename EventIdT = Aws::String>
44 void SetEventId(EventIdT&& value) {
45 m_eventIdHasBeenSet = true;
46 m_eventId = std::forward<EventIdT>(value);
47 }
48 template <typename EventIdT = Aws::String>
49 DisconnectionEvent& WithEventId(EventIdT&& value) {
50 SetEventId(std::forward<EventIdT>(value));
51 return *this;
52 }
54
56
60 inline long long GetClientTimestampMillis() const { return m_clientTimestampMillis; }
61 inline bool ClientTimestampMillisHasBeenSet() const { return m_clientTimestampMillisHasBeenSet; }
62 inline void SetClientTimestampMillis(long long value) {
63 m_clientTimestampMillisHasBeenSet = true;
64 m_clientTimestampMillis = value;
65 }
68 return *this;
69 }
71 private:
72 Aws::String m_eventId;
73
74 long long m_clientTimestampMillis{0};
75 bool m_eventIdHasBeenSet = false;
76 bool m_clientTimestampMillisHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace LexRuntimeV2
81} // namespace Aws
AWS_LEXRUNTIMEV2_API DisconnectionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API DisconnectionEvent()=default
DisconnectionEvent & WithEventId(EventIdT &&value)
DisconnectionEvent & WithClientTimestampMillis(long long value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXRUNTIMEV2_API DisconnectionEvent(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue