AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BotAliasMetadata.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lex-models/model/ConversationLogsResponse.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelBuildingService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata() = default;
37 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 BotAliasMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 BotAliasMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
71 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
72 template<typename BotVersionT = Aws::String>
73 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
74 template<typename BotVersionT = Aws::String>
75 BotAliasMetadata& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetBotName() const { return m_botName; }
83 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
84 template<typename BotNameT = Aws::String>
85 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
86 template<typename BotNameT = Aws::String>
87 BotAliasMetadata& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
89
91
95 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
96 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
97 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
98 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
99 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
100 BotAliasMetadata& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
108 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
109 template<typename CreatedDateT = Aws::Utils::DateTime>
110 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
111 template<typename CreatedDateT = Aws::Utils::DateTime>
112 BotAliasMetadata& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
114
116
119 inline const Aws::String& GetChecksum() const { return m_checksum; }
120 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
121 template<typename ChecksumT = Aws::String>
122 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet = true; m_checksum = std::forward<ChecksumT>(value); }
123 template<typename ChecksumT = Aws::String>
124 BotAliasMetadata& WithChecksum(ChecksumT&& value) { SetChecksum(std::forward<ChecksumT>(value)); return *this;}
126
128
132 inline const ConversationLogsResponse& GetConversationLogs() const { return m_conversationLogs; }
133 inline bool ConversationLogsHasBeenSet() const { return m_conversationLogsHasBeenSet; }
134 template<typename ConversationLogsT = ConversationLogsResponse>
135 void SetConversationLogs(ConversationLogsT&& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = std::forward<ConversationLogsT>(value); }
136 template<typename ConversationLogsT = ConversationLogsResponse>
137 BotAliasMetadata& WithConversationLogs(ConversationLogsT&& value) { SetConversationLogs(std::forward<ConversationLogsT>(value)); return *this;}
139 private:
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
147 Aws::String m_botVersion;
148 bool m_botVersionHasBeenSet = false;
149
150 Aws::String m_botName;
151 bool m_botNameHasBeenSet = false;
152
153 Aws::Utils::DateTime m_lastUpdatedDate{};
154 bool m_lastUpdatedDateHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdDate{};
157 bool m_createdDateHasBeenSet = false;
158
159 Aws::String m_checksum;
160 bool m_checksumHasBeenSet = false;
161
162 ConversationLogsResponse m_conversationLogs;
163 bool m_conversationLogsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace LexModelBuildingService
168} // namespace Aws
const Aws::Utils::DateTime & GetCreatedDate() const
BotAliasMetadata & WithCreatedDate(CreatedDateT &&value)
BotAliasMetadata & WithLastUpdatedDate(LastUpdatedDateT &&value)
BotAliasMetadata & WithConversationLogs(ConversationLogsT &&value)
BotAliasMetadata & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BotAliasMetadata & WithBotName(BotNameT &&value)
BotAliasMetadata & WithDescription(DescriptionT &&value)
const ConversationLogsResponse & GetConversationLogs() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata()=default
AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
BotAliasMetadata & WithChecksum(ChecksumT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue