AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisconnectionEvent.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
34 {
35 public:
36 AWS_LEXRUNTIMEV2_API DisconnectionEvent();
37 AWS_LEXRUNTIMEV2_API DisconnectionEvent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEventId() const{ return m_eventId; }
48 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
49 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
50 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
51 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
52 inline DisconnectionEvent& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
53 inline DisconnectionEvent& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
54 inline DisconnectionEvent& WithEventId(const char* value) { SetEventId(value); return *this;}
56
58
62 inline long long GetClientTimestampMillis() const{ return m_clientTimestampMillis; }
63 inline bool ClientTimestampMillisHasBeenSet() const { return m_clientTimestampMillisHasBeenSet; }
64 inline void SetClientTimestampMillis(long long value) { m_clientTimestampMillisHasBeenSet = true; m_clientTimestampMillis = value; }
65 inline DisconnectionEvent& WithClientTimestampMillis(long long value) { SetClientTimestampMillis(value); return *this;}
67 private:
68
69 Aws::String m_eventId;
70 bool m_eventIdHasBeenSet = false;
71
72 long long m_clientTimestampMillis;
73 bool m_clientTimestampMillisHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexRuntimeV2
78} // namespace Aws
AWS_LEXRUNTIMEV2_API DisconnectionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
DisconnectionEvent & WithClientTimestampMillis(long long value)
DisconnectionEvent & WithEventId(const Aws::String &value)
DisconnectionEvent & WithEventId(Aws::String &&value)
DisconnectionEvent & WithEventId(const char *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