AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
StartBotAnalyzerResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotAnalyzerStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2 {
25namespace Model {
27 public:
28 AWS_LEXMODELSV2_API StartBotAnalyzerResult() = default;
31
33
36 inline const Aws::String& GetBotId() const { return m_botId; }
37 template <typename BotIdT = Aws::String>
38 void SetBotId(BotIdT&& value) {
39 m_botIdHasBeenSet = true;
40 m_botId = std::forward<BotIdT>(value);
41 }
42 template <typename BotIdT = Aws::String>
44 SetBotId(std::forward<BotIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
54 template <typename BotVersionT = Aws::String>
55 void SetBotVersion(BotVersionT&& value) {
56 m_botVersionHasBeenSet = true;
57 m_botVersion = std::forward<BotVersionT>(value);
58 }
59 template <typename BotVersionT = Aws::String>
60 StartBotAnalyzerResult& WithBotVersion(BotVersionT&& value) {
61 SetBotVersion(std::forward<BotVersionT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetLocaleId() const { return m_localeId; }
71 template <typename LocaleIdT = Aws::String>
72 void SetLocaleId(LocaleIdT&& value) {
73 m_localeIdHasBeenSet = true;
74 m_localeId = std::forward<LocaleIdT>(value);
75 }
76 template <typename LocaleIdT = Aws::String>
78 SetLocaleId(std::forward<LocaleIdT>(value));
79 return *this;
80 }
82
84
89 inline BotAnalyzerStatus GetBotAnalyzerStatus() const { return m_botAnalyzerStatus; }
91 m_botAnalyzerStatusHasBeenSet = true;
92 m_botAnalyzerStatus = value;
93 }
96 return *this;
97 }
99
101
105 inline const Aws::String& GetBotAnalyzerRequestId() const { return m_botAnalyzerRequestId; }
106 template <typename BotAnalyzerRequestIdT = Aws::String>
107 void SetBotAnalyzerRequestId(BotAnalyzerRequestIdT&& value) {
108 m_botAnalyzerRequestIdHasBeenSet = true;
109 m_botAnalyzerRequestId = std::forward<BotAnalyzerRequestIdT>(value);
110 }
111 template <typename BotAnalyzerRequestIdT = Aws::String>
112 StartBotAnalyzerResult& WithBotAnalyzerRequestId(BotAnalyzerRequestIdT&& value) {
113 SetBotAnalyzerRequestId(std::forward<BotAnalyzerRequestIdT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
123 template <typename CreationDateTimeT = Aws::Utils::DateTime>
124 void SetCreationDateTime(CreationDateTimeT&& value) {
125 m_creationDateTimeHasBeenSet = true;
126 m_creationDateTime = std::forward<CreationDateTimeT>(value);
127 }
128 template <typename CreationDateTimeT = Aws::Utils::DateTime>
129 StartBotAnalyzerResult& WithCreationDateTime(CreationDateTimeT&& value) {
130 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
150
151 private:
152 Aws::String m_botId;
153
154 Aws::String m_botVersion;
155
156 Aws::String m_localeId;
157
159
160 Aws::String m_botAnalyzerRequestId;
161
162 Aws::Utils::DateTime m_creationDateTime{};
163
164 Aws::String m_requestId;
165 Aws::Http::HttpResponseCode m_HttpResponseCode;
166 bool m_botIdHasBeenSet = false;
167 bool m_botVersionHasBeenSet = false;
168 bool m_localeIdHasBeenSet = false;
169 bool m_botAnalyzerStatusHasBeenSet = false;
170 bool m_botAnalyzerRequestIdHasBeenSet = false;
171 bool m_creationDateTimeHasBeenSet = false;
172 bool m_requestIdHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace LexModelsV2
177} // namespace Aws
StartBotAnalyzerResult & WithBotId(BotIdT &&value)
void SetBotAnalyzerRequestId(BotAnalyzerRequestIdT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
StartBotAnalyzerResult & WithCreationDateTime(CreationDateTimeT &&value)
StartBotAnalyzerResult & WithBotAnalyzerRequestId(BotAnalyzerRequestIdT &&value)
AWS_LEXMODELSV2_API StartBotAnalyzerResult()=default
StartBotAnalyzerResult & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API StartBotAnalyzerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartBotAnalyzerResult & WithBotAnalyzerStatus(BotAnalyzerStatus value)
AWS_LEXMODELSV2_API StartBotAnalyzerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBotAnalyzerResult & WithLocaleId(LocaleIdT &&value)
StartBotAnalyzerResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue