AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BotAliasHistoryEvent.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 BotAliasHistoryEvent() = default;
37 AWS_LEXMODELSV2_API BotAliasHistoryEvent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
47 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
48 template<typename BotVersionT = Aws::String>
49 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
50 template<typename BotVersionT = Aws::String>
51 BotAliasHistoryEvent& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
59 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
60 template<typename StartDateT = Aws::Utils::DateTime>
61 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
62 template<typename StartDateT = Aws::Utils::DateTime>
63 BotAliasHistoryEvent& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
71 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
72 template<typename EndDateT = Aws::Utils::DateTime>
73 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet = true; m_endDate = std::forward<EndDateT>(value); }
74 template<typename EndDateT = Aws::Utils::DateTime>
75 BotAliasHistoryEvent& WithEndDate(EndDateT&& value) { SetEndDate(std::forward<EndDateT>(value)); return *this;}
77 private:
78
79 Aws::String m_botVersion;
80 bool m_botVersionHasBeenSet = false;
81
82 Aws::Utils::DateTime m_startDate{};
83 bool m_startDateHasBeenSet = false;
84
85 Aws::Utils::DateTime m_endDate{};
86 bool m_endDateHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LexModelsV2
91} // namespace Aws
BotAliasHistoryEvent & WithBotVersion(BotVersionT &&value)
BotAliasHistoryEvent & WithEndDate(EndDateT &&value)
AWS_LEXMODELSV2_API BotAliasHistoryEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndDate() const
AWS_LEXMODELSV2_API BotAliasHistoryEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotAliasHistoryEvent()=default
const Aws::Utils::DateTime & GetStartDate() const
BotAliasHistoryEvent & WithStartDate(StartDateT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue