AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
HeartbeatEvent.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
29 public:
30 AWS_LEXRUNTIMEV2_API HeartbeatEvent() = default;
31 AWS_LEXRUNTIMEV2_API HeartbeatEvent(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXRUNTIMEV2_API HeartbeatEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
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 HeartbeatEvent& WithEventId(EventIdT&& value) {
50 SetEventId(std::forward<EventIdT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_eventId;
56 bool m_eventIdHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace LexRuntimeV2
61} // namespace Aws
AWS_LEXRUNTIMEV2_API HeartbeatEvent()=default
AWS_LEXRUNTIMEV2_API HeartbeatEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
HeartbeatEvent & WithEventId(EventIdT &&value)
AWS_LEXRUNTIMEV2_API HeartbeatEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEventId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue