AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
49 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
50 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
51 inline BotAliasHistoryEvent& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
52 inline BotAliasHistoryEvent& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
53 inline BotAliasHistoryEvent& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
61 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
62 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
63 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
64 inline BotAliasHistoryEvent& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
65 inline BotAliasHistoryEvent& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
73 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
74 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
75 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
76 inline BotAliasHistoryEvent& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
77 inline BotAliasHistoryEvent& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_botVersion;
82 bool m_botVersionHasBeenSet = false;
83
84 Aws::Utils::DateTime m_startDate;
85 bool m_startDateHasBeenSet = false;
86
87 Aws::Utils::DateTime m_endDate;
88 bool m_endDateHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace LexModelsV2
93} // namespace Aws
BotAliasHistoryEvent & WithEndDate(Aws::Utils::DateTime &&value)
BotAliasHistoryEvent & WithEndDate(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API BotAliasHistoryEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndDate(const Aws::Utils::DateTime &value)
BotAliasHistoryEvent & WithStartDate(Aws::Utils::DateTime &&value)
BotAliasHistoryEvent & WithBotVersion(const char *value)
BotAliasHistoryEvent & WithStartDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndDate() const
AWS_LEXMODELSV2_API BotAliasHistoryEvent(Aws::Utils::Json::JsonView jsonValue)
BotAliasHistoryEvent & WithBotVersion(Aws::String &&value)
const Aws::Utils::DateTime & GetStartDate() const
void SetStartDate(Aws::Utils::DateTime &&value)
void SetEndDate(Aws::Utils::DateTime &&value)
BotAliasHistoryEvent & WithBotVersion(const Aws::String &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue