AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBotAliasResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LexModelBuildingService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LEXMODELBUILDINGSERVICE_API GetBotAliasResult() = default;
35
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 GetBotAliasResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 GetBotAliasResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
63 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
64 template<typename BotVersionT = Aws::String>
65 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
66 template<typename BotVersionT = Aws::String>
67 GetBotAliasResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
69
71
74 inline const Aws::String& GetBotName() const { return m_botName; }
75 template<typename BotNameT = Aws::String>
76 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
77 template<typename BotNameT = Aws::String>
78 GetBotAliasResult& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
87 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
88 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
89 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
90 GetBotAliasResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
98 template<typename CreatedDateT = Aws::Utils::DateTime>
99 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
100 template<typename CreatedDateT = Aws::Utils::DateTime>
101 GetBotAliasResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
103
105
108 inline const Aws::String& GetChecksum() const { return m_checksum; }
109 template<typename ChecksumT = Aws::String>
110 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet = true; m_checksum = std::forward<ChecksumT>(value); }
111 template<typename ChecksumT = Aws::String>
112 GetBotAliasResult& WithChecksum(ChecksumT&& value) { SetChecksum(std::forward<ChecksumT>(value)); return *this;}
114
116
120 inline const ConversationLogsResponse& GetConversationLogs() const { return m_conversationLogs; }
121 template<typename ConversationLogsT = ConversationLogsResponse>
122 void SetConversationLogs(ConversationLogsT&& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = std::forward<ConversationLogsT>(value); }
123 template<typename ConversationLogsT = ConversationLogsResponse>
124 GetBotAliasResult& WithConversationLogs(ConversationLogsT&& value) { SetConversationLogs(std::forward<ConversationLogsT>(value)); return *this;}
126
128
129 inline const Aws::String& GetRequestId() const { return m_requestId; }
130 template<typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
132 template<typename RequestIdT = Aws::String>
133 GetBotAliasResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
135 private:
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::String m_botVersion;
144 bool m_botVersionHasBeenSet = false;
145
146 Aws::String m_botName;
147 bool m_botNameHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastUpdatedDate{};
150 bool m_lastUpdatedDateHasBeenSet = false;
151
152 Aws::Utils::DateTime m_createdDate{};
153 bool m_createdDateHasBeenSet = false;
154
155 Aws::String m_checksum;
156 bool m_checksumHasBeenSet = false;
157
158 ConversationLogsResponse m_conversationLogs;
159 bool m_conversationLogsHasBeenSet = false;
160
161 Aws::String m_requestId;
162 bool m_requestIdHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace LexModelBuildingService
167} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdatedDate() const
GetBotAliasResult & WithConversationLogs(ConversationLogsT &&value)
GetBotAliasResult & WithDescription(DescriptionT &&value)
GetBotAliasResult & WithChecksum(ChecksumT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
GetBotAliasResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
const ConversationLogsResponse & GetConversationLogs() const
GetBotAliasResult & WithCreatedDate(CreatedDateT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotAliasResult()=default
AWS_LEXMODELBUILDINGSERVICE_API GetBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBotAliasResult & WithBotVersion(BotVersionT &&value)
GetBotAliasResult & WithBotName(BotNameT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBotAliasResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue