AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutBotAliasResult.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 <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lex-models/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelBuildingService
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult() = default;
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 PutBotAliasResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 PutBotAliasResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
65 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
66 template<typename BotVersionT = Aws::String>
67 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
68 template<typename BotVersionT = Aws::String>
69 PutBotAliasResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
71
73
76 inline const Aws::String& GetBotName() const { return m_botName; }
77 template<typename BotNameT = Aws::String>
78 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
79 template<typename BotNameT = Aws::String>
80 PutBotAliasResult& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
82
84
88 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
89 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
90 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
91 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
92 PutBotAliasResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
100 template<typename CreatedDateT = Aws::Utils::DateTime>
101 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
102 template<typename CreatedDateT = Aws::Utils::DateTime>
103 PutBotAliasResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
105
107
110 inline const Aws::String& GetChecksum() const { return m_checksum; }
111 template<typename ChecksumT = Aws::String>
112 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet = true; m_checksum = std::forward<ChecksumT>(value); }
113 template<typename ChecksumT = Aws::String>
114 PutBotAliasResult& WithChecksum(ChecksumT&& value) { SetChecksum(std::forward<ChecksumT>(value)); return *this;}
116
118
122 inline const ConversationLogsResponse& GetConversationLogs() const { return m_conversationLogs; }
123 template<typename ConversationLogsT = ConversationLogsResponse>
124 void SetConversationLogs(ConversationLogsT&& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = std::forward<ConversationLogsT>(value); }
125 template<typename ConversationLogsT = ConversationLogsResponse>
126 PutBotAliasResult& WithConversationLogs(ConversationLogsT&& value) { SetConversationLogs(std::forward<ConversationLogsT>(value)); return *this;}
128
130
133 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
134 template<typename TagsT = Aws::Vector<Tag>>
135 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
136 template<typename TagsT = Aws::Vector<Tag>>
137 PutBotAliasResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
138 template<typename TagsT = Tag>
139 PutBotAliasResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
141
143
144 inline const Aws::String& GetRequestId() const { return m_requestId; }
145 template<typename RequestIdT = Aws::String>
146 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
147 template<typename RequestIdT = Aws::String>
148 PutBotAliasResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
150 private:
151
152 Aws::String m_name;
153 bool m_nameHasBeenSet = false;
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
158 Aws::String m_botVersion;
159 bool m_botVersionHasBeenSet = false;
160
161 Aws::String m_botName;
162 bool m_botNameHasBeenSet = false;
163
164 Aws::Utils::DateTime m_lastUpdatedDate{};
165 bool m_lastUpdatedDateHasBeenSet = false;
166
167 Aws::Utils::DateTime m_createdDate{};
168 bool m_createdDateHasBeenSet = false;
169
170 Aws::String m_checksum;
171 bool m_checksumHasBeenSet = false;
172
173 ConversationLogsResponse m_conversationLogs;
174 bool m_conversationLogsHasBeenSet = false;
175
176 Aws::Vector<Tag> m_tags;
177 bool m_tagsHasBeenSet = false;
178
179 Aws::String m_requestId;
180 bool m_requestIdHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace LexModelBuildingService
185} // namespace Aws
PutBotAliasResult & WithChecksum(ChecksumT &&value)
AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult()=default
PutBotAliasResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
PutBotAliasResult & WithConversationLogs(ConversationLogsT &&value)
const ConversationLogsResponse & GetConversationLogs() const
const Aws::Utils::DateTime & GetCreatedDate() const
PutBotAliasResult & WithDescription(DescriptionT &&value)
AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutBotAliasResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
PutBotAliasResult & WithCreatedDate(CreatedDateT &&value)
PutBotAliasResult & WithBotVersion(BotVersionT &&value)
PutBotAliasResult & WithBotName(BotNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue