AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
StopBotAnalyzerResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/BotAnalyzerStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2 {
24namespace Model {
26 public:
27 AWS_LEXMODELSV2_API StopBotAnalyzerResult() = default;
30
32
35 inline const Aws::String& GetBotId() const { return m_botId; }
36 template <typename BotIdT = Aws::String>
37 void SetBotId(BotIdT&& value) {
38 m_botIdHasBeenSet = true;
39 m_botId = std::forward<BotIdT>(value);
40 }
41 template <typename BotIdT = Aws::String>
43 SetBotId(std::forward<BotIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
53 template <typename BotVersionT = Aws::String>
54 void SetBotVersion(BotVersionT&& value) {
55 m_botVersionHasBeenSet = true;
56 m_botVersion = std::forward<BotVersionT>(value);
57 }
58 template <typename BotVersionT = Aws::String>
59 StopBotAnalyzerResult& WithBotVersion(BotVersionT&& value) {
60 SetBotVersion(std::forward<BotVersionT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetLocaleId() const { return m_localeId; }
70 template <typename LocaleIdT = Aws::String>
71 void SetLocaleId(LocaleIdT&& value) {
72 m_localeIdHasBeenSet = true;
73 m_localeId = std::forward<LocaleIdT>(value);
74 }
75 template <typename LocaleIdT = Aws::String>
76 StopBotAnalyzerResult& WithLocaleId(LocaleIdT&& value) {
77 SetLocaleId(std::forward<LocaleIdT>(value));
78 return *this;
79 }
81
83
88 inline BotAnalyzerStatus GetBotAnalyzerStatus() const { return m_botAnalyzerStatus; }
90 m_botAnalyzerStatusHasBeenSet = true;
91 m_botAnalyzerStatus = value;
92 }
95 return *this;
96 }
98
100
103 inline const Aws::String& GetBotAnalyzerRequestId() const { return m_botAnalyzerRequestId; }
104 template <typename BotAnalyzerRequestIdT = Aws::String>
105 void SetBotAnalyzerRequestId(BotAnalyzerRequestIdT&& value) {
106 m_botAnalyzerRequestIdHasBeenSet = true;
107 m_botAnalyzerRequestId = std::forward<BotAnalyzerRequestIdT>(value);
108 }
109 template <typename BotAnalyzerRequestIdT = Aws::String>
110 StopBotAnalyzerResult& WithBotAnalyzerRequestId(BotAnalyzerRequestIdT&& value) {
111 SetBotAnalyzerRequestId(std::forward<BotAnalyzerRequestIdT>(value));
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_botId;
134
135 Aws::String m_botVersion;
136
137 Aws::String m_localeId;
138
140
141 Aws::String m_botAnalyzerRequestId;
142
143 Aws::String m_requestId;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_botIdHasBeenSet = false;
146 bool m_botVersionHasBeenSet = false;
147 bool m_localeIdHasBeenSet = false;
148 bool m_botAnalyzerStatusHasBeenSet = false;
149 bool m_botAnalyzerRequestIdHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace LexModelsV2
155} // namespace Aws
AWS_LEXMODELSV2_API StopBotAnalyzerResult()=default
StopBotAnalyzerResult & WithBotVersion(BotVersionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StopBotAnalyzerResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELSV2_API StopBotAnalyzerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotAnalyzerRequestId(BotAnalyzerRequestIdT &&value)
StopBotAnalyzerResult & WithLocaleId(LocaleIdT &&value)
StopBotAnalyzerResult & WithBotAnalyzerStatus(BotAnalyzerStatus value)
AWS_LEXMODELSV2_API StopBotAnalyzerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopBotAnalyzerResult & WithBotId(BotIdT &&value)
StopBotAnalyzerResult & WithBotAnalyzerRequestId(BotAnalyzerRequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue