AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
BotAliasHistoryEvent.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 BotAliasHistoryEvent() = default;
32 AWS_LEXMODELSV2_API BotAliasHistoryEvent(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
41 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
42 template <typename BotVersionT = Aws::String>
43 void SetBotVersion(BotVersionT&& value) {
44 m_botVersionHasBeenSet = true;
45 m_botVersion = std::forward<BotVersionT>(value);
46 }
47 template <typename BotVersionT = Aws::String>
48 BotAliasHistoryEvent& WithBotVersion(BotVersionT&& value) {
49 SetBotVersion(std::forward<BotVersionT>(value));
50 return *this;
51 }
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) {
62 m_startDateHasBeenSet = true;
63 m_startDate = std::forward<StartDateT>(value);
64 }
65 template <typename StartDateT = Aws::Utils::DateTime>
66 BotAliasHistoryEvent& WithStartDate(StartDateT&& value) {
67 SetStartDate(std::forward<StartDateT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
77 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
78 template <typename EndDateT = Aws::Utils::DateTime>
79 void SetEndDate(EndDateT&& value) {
80 m_endDateHasBeenSet = true;
81 m_endDate = std::forward<EndDateT>(value);
82 }
83 template <typename EndDateT = Aws::Utils::DateTime>
84 BotAliasHistoryEvent& WithEndDate(EndDateT&& value) {
85 SetEndDate(std::forward<EndDateT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_botVersion;
91
92 Aws::Utils::DateTime m_startDate{};
93
94 Aws::Utils::DateTime m_endDate{};
95 bool m_botVersionHasBeenSet = false;
96 bool m_startDateHasBeenSet = false;
97 bool m_endDateHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace LexModelsV2
102} // 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