AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEvent(const Aws::String& value) { m_eventHasBeenSet = true; m_event = value; }
49 inline void SetEvent(Aws::String&& value) { m_eventHasBeenSet = true; m_event = std::move(value); }
50 inline void SetEvent(const char* value) { m_eventHasBeenSet = true; m_event.assign(value); }
51 inline BotLocaleHistoryEvent& WithEvent(const Aws::String& value) { SetEvent(value); return *this;}
52 inline BotLocaleHistoryEvent& WithEvent(Aws::String&& value) { SetEvent(std::move(value)); return *this;}
53 inline BotLocaleHistoryEvent& WithEvent(const char* value) { SetEvent(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetEventDate() const{ return m_eventDate; }
61 inline bool EventDateHasBeenSet() const { return m_eventDateHasBeenSet; }
62 inline void SetEventDate(const Aws::Utils::DateTime& value) { m_eventDateHasBeenSet = true; m_eventDate = value; }
63 inline void SetEventDate(Aws::Utils::DateTime&& value) { m_eventDateHasBeenSet = true; m_eventDate = std::move(value); }
64 inline BotLocaleHistoryEvent& WithEventDate(const Aws::Utils::DateTime& value) { SetEventDate(value); return *this;}
65 inline BotLocaleHistoryEvent& WithEventDate(Aws::Utils::DateTime&& value) { SetEventDate(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_event;
70 bool m_eventHasBeenSet = false;
71
72 Aws::Utils::DateTime m_eventDate;
73 bool m_eventDateHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexModelsV2
78} // namespace Aws
BotLocaleHistoryEvent & WithEvent(Aws::String &&value)
BotLocaleHistoryEvent & WithEventDate(const Aws::Utils::DateTime &value)
BotLocaleHistoryEvent & WithEventDate(Aws::Utils::DateTime &&value)
void SetEventDate(Aws::Utils::DateTime &&value)
BotLocaleHistoryEvent & WithEvent(const Aws::String &value)
AWS_LEXMODELSV2_API BotLocaleHistoryEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotLocaleHistoryEvent(Aws::Utils::Json::JsonView jsonValue)
BotLocaleHistoryEvent & WithEvent(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEventDate() const
void SetEventDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue