AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
BotLocaleHistoryEvent.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelsV2 {
21namespace Model {
22
30 public:
31 AWS_LEXMODELSV2_API BotLocaleHistoryEvent() = default;
32 AWS_LEXMODELSV2_API BotLocaleHistoryEvent(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetEvent() const { return m_event; }
41 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
42 template <typename EventT = Aws::String>
43 void SetEvent(EventT&& value) {
44 m_eventHasBeenSet = true;
45 m_event = std::forward<EventT>(value);
46 }
47 template <typename EventT = Aws::String>
49 SetEvent(std::forward<EventT>(value));
50 return *this;
51 }
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) {
62 m_eventDateHasBeenSet = true;
63 m_eventDate = std::forward<EventDateT>(value);
64 }
65 template <typename EventDateT = Aws::Utils::DateTime>
66 BotLocaleHistoryEvent& WithEventDate(EventDateT&& value) {
67 SetEventDate(std::forward<EventDateT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_event;
73
74 Aws::Utils::DateTime m_eventDate{};
75 bool m_eventHasBeenSet = false;
76 bool m_eventDateHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace LexModelsV2
81} // 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