AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HeartbeatEvent.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
33 {
34 public:
35 AWS_LEXRUNTIMEV2_API HeartbeatEvent();
36 AWS_LEXRUNTIMEV2_API HeartbeatEvent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXRUNTIMEV2_API HeartbeatEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
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 HeartbeatEvent& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
53 inline HeartbeatEvent& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
54 inline HeartbeatEvent& WithEventId(const char* value) { SetEventId(value); return *this;}
56 private:
57
58 Aws::String m_eventId;
59 bool m_eventIdHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace LexRuntimeV2
64} // namespace Aws
AWS_LEXRUNTIMEV2_API HeartbeatEvent(Aws::Utils::Json::JsonView jsonValue)
HeartbeatEvent & WithEventId(Aws::String &&value)
HeartbeatEvent & WithEventId(const Aws::String &value)
void SetEventId(const Aws::String &value)
HeartbeatEvent & WithEventId(const char *value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
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