AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
StopBotRecommendationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/BotRecommendationStatus.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2 {
23namespace Model {
25 public:
26 AWS_LEXMODELSV2_API StopBotRecommendationResult() = default;
29
31
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
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>
61 SetBotVersion(std::forward<BotVersionT>(value));
62 return *this;
63 }
65
67
73 inline const Aws::String& GetLocaleId() const { return m_localeId; }
74 template <typename LocaleIdT = Aws::String>
75 void SetLocaleId(LocaleIdT&& value) {
76 m_localeIdHasBeenSet = true;
77 m_localeId = std::forward<LocaleIdT>(value);
78 }
79 template <typename LocaleIdT = Aws::String>
81 SetLocaleId(std::forward<LocaleIdT>(value));
82 return *this;
83 }
85
87
91 inline BotRecommendationStatus GetBotRecommendationStatus() const { return m_botRecommendationStatus; }
93 m_botRecommendationStatusHasBeenSet = true;
94 m_botRecommendationStatus = value;
95 }
98 return *this;
99 }
101
103
106 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
107 template <typename BotRecommendationIdT = Aws::String>
108 void SetBotRecommendationId(BotRecommendationIdT&& value) {
109 m_botRecommendationIdHasBeenSet = true;
110 m_botRecommendationId = std::forward<BotRecommendationIdT>(value);
111 }
112 template <typename BotRecommendationIdT = Aws::String>
114 SetBotRecommendationId(std::forward<BotRecommendationIdT>(value));
115 return *this;
116 }
118
120
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 template <typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) {
124 m_requestIdHasBeenSet = true;
125 m_requestId = std::forward<RequestIdT>(value);
126 }
127 template <typename RequestIdT = Aws::String>
129 SetRequestId(std::forward<RequestIdT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_botId;
135
136 Aws::String m_botVersion;
137
138 Aws::String m_localeId;
139
141
142 Aws::String m_botRecommendationId;
143
144 Aws::String m_requestId;
145 bool m_botIdHasBeenSet = false;
146 bool m_botVersionHasBeenSet = false;
147 bool m_localeIdHasBeenSet = false;
148 bool m_botRecommendationStatusHasBeenSet = false;
149 bool m_botRecommendationIdHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace LexModelsV2
155} // 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