AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BotLocaleHistoryEvent.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API BotLocaleHistoryEvent() = default;
37 AWS_LEXMODELSV2_API BotLocaleHistoryEvent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEvent() const { return m_event; }
47 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
48 template<typename EventT = Aws::String>
49 void SetEvent(EventT&& value) { m_eventHasBeenSet = true; m_event = std::forward<EventT>(value); }
50 template<typename EventT = Aws::String>
51 BotLocaleHistoryEvent& WithEvent(EventT&& value) { SetEvent(std::forward<EventT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetEventDate() const { return m_eventDate; }
59 inline bool EventDateHasBeenSet() const { return m_eventDateHasBeenSet; }
60 template<typename EventDateT = Aws::Utils::DateTime>
61 void SetEventDate(EventDateT&& value) { m_eventDateHasBeenSet = true; m_eventDate = std::forward<EventDateT>(value); }
62 template<typename EventDateT = Aws::Utils::DateTime>
63 BotLocaleHistoryEvent& WithEventDate(EventDateT&& value) { SetEventDate(std::forward<EventDateT>(value)); return *this;}
65 private:
66
67 Aws::String m_event;
68 bool m_eventHasBeenSet = false;
69
70 Aws::Utils::DateTime m_eventDate{};
71 bool m_eventDateHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LexModelsV2
76} // namespace Aws
AWS_LEXMODELSV2_API BotLocaleHistoryEvent()=default
AWS_LEXMODELSV2_API BotLocaleHistoryEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotLocaleHistoryEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotLocaleHistoryEvent & WithEvent(EventT &&value)
const Aws::Utils::DateTime & GetEventDate() const
BotLocaleHistoryEvent & WithEventDate(EventDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue