AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
StopBotRecommendationResult.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/BotRecommendationStatus.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 StopBotRecommendationResult() = default;
30
32
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
54 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
55 template <typename BotVersionT = Aws::String>
56 void SetBotVersion(BotVersionT&& value) {
57 m_botVersionHasBeenSet = true;
58 m_botVersion = std::forward<BotVersionT>(value);
59 }
60 template <typename BotVersionT = Aws::String>
62 SetBotVersion(std::forward<BotVersionT>(value));
63 return *this;
64 }
66
68
74 inline const Aws::String& GetLocaleId() const { return m_localeId; }
75 template <typename LocaleIdT = Aws::String>
76 void SetLocaleId(LocaleIdT&& value) {
77 m_localeIdHasBeenSet = true;
78 m_localeId = std::forward<LocaleIdT>(value);
79 }
80 template <typename LocaleIdT = Aws::String>
82 SetLocaleId(std::forward<LocaleIdT>(value));
83 return *this;
84 }
86
88
92 inline BotRecommendationStatus GetBotRecommendationStatus() const { return m_botRecommendationStatus; }
94 m_botRecommendationStatusHasBeenSet = true;
95 m_botRecommendationStatus = value;
96 }
99 return *this;
100 }
102
104
107 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
108 template <typename BotRecommendationIdT = Aws::String>
109 void SetBotRecommendationId(BotRecommendationIdT&& value) {
110 m_botRecommendationIdHasBeenSet = true;
111 m_botRecommendationId = std::forward<BotRecommendationIdT>(value);
112 }
113 template <typename BotRecommendationIdT = Aws::String>
115 SetBotRecommendationId(std::forward<BotRecommendationIdT>(value));
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
135
136 private:
137 Aws::String m_botId;
138
139 Aws::String m_botVersion;
140
141 Aws::String m_localeId;
142
144
145 Aws::String m_botRecommendationId;
146
147 Aws::String m_requestId;
148 Aws::Http::HttpResponseCode m_HttpResponseCode;
149 bool m_botIdHasBeenSet = false;
150 bool m_botVersionHasBeenSet = false;
151 bool m_localeIdHasBeenSet = false;
152 bool m_botRecommendationStatusHasBeenSet = false;
153 bool m_botRecommendationIdHasBeenSet = false;
154 bool m_requestIdHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace LexModelsV2
159} // namespace Aws
StopBotRecommendationResult & WithBotRecommendationStatus(BotRecommendationStatus value)
StopBotRecommendationResult & WithBotRecommendationId(BotRecommendationIdT &&value)
AWS_LEXMODELSV2_API StopBotRecommendationResult()=default
StopBotRecommendationResult & WithBotId(BotIdT &&value)
StopBotRecommendationResult & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API StopBotRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopBotRecommendationResult & WithRequestId(RequestIdT &&value)
StopBotRecommendationResult & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API StopBotRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue