AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
BotAliasMetadata.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
10#include <aws/lex-models/model/ConversationLogsResponse.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelBuildingService {
22namespace Model {
23
30 public:
31 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata() = default;
32 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 BotAliasMetadata& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
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) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 BotAliasMetadata& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
77 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
78 template <typename BotVersionT = Aws::String>
79 void SetBotVersion(BotVersionT&& value) {
80 m_botVersionHasBeenSet = true;
81 m_botVersion = std::forward<BotVersionT>(value);
82 }
83 template <typename BotVersionT = Aws::String>
84 BotAliasMetadata& WithBotVersion(BotVersionT&& value) {
85 SetBotVersion(std::forward<BotVersionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetBotName() const { return m_botName; }
95 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
96 template <typename BotNameT = Aws::String>
97 void SetBotName(BotNameT&& value) {
98 m_botNameHasBeenSet = true;
99 m_botName = std::forward<BotNameT>(value);
100 }
101 template <typename BotNameT = Aws::String>
102 BotAliasMetadata& WithBotName(BotNameT&& value) {
103 SetBotName(std::forward<BotNameT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
114 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
115 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
116 void SetLastUpdatedDate(LastUpdatedDateT&& value) {
117 m_lastUpdatedDateHasBeenSet = true;
118 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
119 }
120 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
121 BotAliasMetadata& WithLastUpdatedDate(LastUpdatedDateT&& value) {
122 SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
132 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
133 template <typename CreatedDateT = Aws::Utils::DateTime>
134 void SetCreatedDate(CreatedDateT&& value) {
135 m_createdDateHasBeenSet = true;
136 m_createdDate = std::forward<CreatedDateT>(value);
137 }
138 template <typename CreatedDateT = Aws::Utils::DateTime>
139 BotAliasMetadata& WithCreatedDate(CreatedDateT&& value) {
140 SetCreatedDate(std::forward<CreatedDateT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetChecksum() const { return m_checksum; }
150 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
151 template <typename ChecksumT = Aws::String>
152 void SetChecksum(ChecksumT&& value) {
153 m_checksumHasBeenSet = true;
154 m_checksum = std::forward<ChecksumT>(value);
155 }
156 template <typename ChecksumT = Aws::String>
157 BotAliasMetadata& WithChecksum(ChecksumT&& value) {
158 SetChecksum(std::forward<ChecksumT>(value));
159 return *this;
160 }
162
164
168 inline const ConversationLogsResponse& GetConversationLogs() const { return m_conversationLogs; }
169 inline bool ConversationLogsHasBeenSet() const { return m_conversationLogsHasBeenSet; }
170 template <typename ConversationLogsT = ConversationLogsResponse>
171 void SetConversationLogs(ConversationLogsT&& value) {
172 m_conversationLogsHasBeenSet = true;
173 m_conversationLogs = std::forward<ConversationLogsT>(value);
174 }
175 template <typename ConversationLogsT = ConversationLogsResponse>
176 BotAliasMetadata& WithConversationLogs(ConversationLogsT&& value) {
177 SetConversationLogs(std::forward<ConversationLogsT>(value));
178 return *this;
179 }
181 private:
182 Aws::String m_name;
183
184 Aws::String m_description;
185
186 Aws::String m_botVersion;
187
188 Aws::String m_botName;
189
190 Aws::Utils::DateTime m_lastUpdatedDate{};
191
192 Aws::Utils::DateTime m_createdDate{};
193
194 Aws::String m_checksum;
195
196 ConversationLogsResponse m_conversationLogs;
197 bool m_nameHasBeenSet = false;
198 bool m_descriptionHasBeenSet = false;
199 bool m_botVersionHasBeenSet = false;
200 bool m_botNameHasBeenSet = false;
201 bool m_lastUpdatedDateHasBeenSet = false;
202 bool m_createdDateHasBeenSet = false;
203 bool m_checksumHasBeenSet = false;
204 bool m_conversationLogsHasBeenSet = false;
205};
206
207} // namespace Model
208} // namespace LexModelBuildingService
209} // 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