AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline void SetName(const Aws::String& value) { m_name = value; }
45 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
46 inline void SetName(const char* value) { m_name.assign(value); }
47 inline PutBotAliasResult& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline PutBotAliasResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline PutBotAliasResult& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline void SetDescription(const Aws::String& value) { m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_description.assign(value); }
60 inline PutBotAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline PutBotAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline PutBotAliasResult& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
70 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
71 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
72 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
73 inline PutBotAliasResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
74 inline PutBotAliasResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
75 inline PutBotAliasResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
77
79
82 inline const Aws::String& GetBotName() const{ return m_botName; }
83 inline void SetBotName(const Aws::String& value) { m_botName = value; }
84 inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
85 inline void SetBotName(const char* value) { m_botName.assign(value); }
86 inline PutBotAliasResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
87 inline PutBotAliasResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
88 inline PutBotAliasResult& WithBotName(const char* value) { SetBotName(value); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
97 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
98 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
100 inline PutBotAliasResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
108 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
109 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
110 inline PutBotAliasResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
111 inline PutBotAliasResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
113
115
118 inline const Aws::String& GetChecksum() const{ return m_checksum; }
119 inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
120 inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
121 inline void SetChecksum(const char* value) { m_checksum.assign(value); }
122 inline PutBotAliasResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
123 inline PutBotAliasResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
124 inline PutBotAliasResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
126
128
132 inline const ConversationLogsResponse& GetConversationLogs() const{ return m_conversationLogs; }
133 inline void SetConversationLogs(const ConversationLogsResponse& value) { m_conversationLogs = value; }
134 inline void SetConversationLogs(ConversationLogsResponse&& value) { m_conversationLogs = std::move(value); }
136 inline PutBotAliasResult& WithConversationLogs(ConversationLogsResponse&& value) { SetConversationLogs(std::move(value)); return *this;}
138
140
143 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
144 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
145 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
146 inline PutBotAliasResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
147 inline PutBotAliasResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
148 inline PutBotAliasResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
149 inline PutBotAliasResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
151
153
154 inline const Aws::String& GetRequestId() const{ return m_requestId; }
155 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
156 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
157 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
158 inline PutBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
159 inline PutBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
160 inline PutBotAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
162 private:
163
164 Aws::String m_name;
165
166 Aws::String m_description;
167
168 Aws::String m_botVersion;
169
170 Aws::String m_botName;
171
172 Aws::Utils::DateTime m_lastUpdatedDate;
173
174 Aws::Utils::DateTime m_createdDate;
175
176 Aws::String m_checksum;
177
178 ConversationLogsResponse m_conversationLogs;
179
180 Aws::Vector<Tag> m_tags;
181
182 Aws::String m_requestId;
183 };
184
185} // namespace Model
186} // namespace LexModelBuildingService
187} // namespace Aws
PutBotAliasResult & WithRequestId(const char *value)
PutBotAliasResult & WithBotName(const Aws::String &value)
PutBotAliasResult & WithBotName(Aws::String &&value)
PutBotAliasResult & WithDescription(const Aws::String &value)
PutBotAliasResult & WithChecksum(const Aws::String &value)
const ConversationLogsResponse & GetConversationLogs() const
PutBotAliasResult & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetConversationLogs(ConversationLogsResponse &&value)
PutBotAliasResult & WithCreatedDate(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult()
PutBotAliasResult & WithRequestId(Aws::String &&value)
PutBotAliasResult & WithBotVersion(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutBotAliasResult & WithConversationLogs(const ConversationLogsResponse &value)
AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutBotAliasResult & WithConversationLogs(ConversationLogsResponse &&value)
PutBotAliasResult & WithBotName(const char *value)
PutBotAliasResult & WithChecksum(Aws::String &&value)
PutBotAliasResult & WithDescription(const char *value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
PutBotAliasResult & WithChecksum(const char *value)
PutBotAliasResult & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
PutBotAliasResult & WithName(const char *value)
PutBotAliasResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
PutBotAliasResult & WithBotVersion(Aws::String &&value)
PutBotAliasResult & WithCreatedDate(Aws::Utils::DateTime &&value)
PutBotAliasResult & WithBotVersion(const char *value)
PutBotAliasResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetConversationLogs(const ConversationLogsResponse &value)
PutBotAliasResult & WithName(const Aws::String &value)
PutBotAliasResult & WithTags(const Aws::Vector< Tag > &value)
PutBotAliasResult & WithTags(Aws::Vector< Tag > &&value)
PutBotAliasResult & WithRequestId(const Aws::String &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