AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecognizeUtteranceRequest.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/LexRuntimeV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LexRuntimeV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LEXRUNTIMEV2_API RecognizeUtteranceRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RecognizeUtterance"; }
32
33 AWS_LEXRUNTIMEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
35 AWS_LEXRUNTIMEV2_API bool SignBody() const override { return false; }
36
37
39
42 inline const Aws::String& GetBotId() const{ return m_botId; }
43 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
44 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
45 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
46 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
47 inline RecognizeUtteranceRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
48 inline RecognizeUtteranceRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
49 inline RecognizeUtteranceRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
51
53
56 inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
57 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
58 inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; }
59 inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); }
60 inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); }
61 inline RecognizeUtteranceRequest& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
62 inline RecognizeUtteranceRequest& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
63 inline RecognizeUtteranceRequest& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
65
67
70 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
71 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
72 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
73 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
74 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
75 inline RecognizeUtteranceRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
76 inline RecognizeUtteranceRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
77 inline RecognizeUtteranceRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
79
81
84 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
85 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
86 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
87 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
88 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
89 inline RecognizeUtteranceRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
90 inline RecognizeUtteranceRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
91 inline RecognizeUtteranceRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
93
95
102 inline const Aws::String& GetSessionState() const{ return m_sessionState; }
103 inline bool SessionStateHasBeenSet() const { return m_sessionStateHasBeenSet; }
104 inline void SetSessionState(const Aws::String& value) { m_sessionStateHasBeenSet = true; m_sessionState = value; }
105 inline void SetSessionState(Aws::String&& value) { m_sessionStateHasBeenSet = true; m_sessionState = std::move(value); }
106 inline void SetSessionState(const char* value) { m_sessionStateHasBeenSet = true; m_sessionState.assign(value); }
107 inline RecognizeUtteranceRequest& WithSessionState(const Aws::String& value) { SetSessionState(value); return *this;}
108 inline RecognizeUtteranceRequest& WithSessionState(Aws::String&& value) { SetSessionState(std::move(value)); return *this;}
109 inline RecognizeUtteranceRequest& WithSessionState(const char* value) { SetSessionState(value); return *this;}
111
113
121 inline const Aws::String& GetRequestAttributes() const{ return m_requestAttributes; }
122 inline bool RequestAttributesHasBeenSet() const { return m_requestAttributesHasBeenSet; }
123 inline void SetRequestAttributes(const Aws::String& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes = value; }
124 inline void SetRequestAttributes(Aws::String&& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes = std::move(value); }
125 inline void SetRequestAttributes(const char* value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.assign(value); }
127 inline RecognizeUtteranceRequest& WithRequestAttributes(Aws::String&& value) { SetRequestAttributes(std::move(value)); return *this;}
128 inline RecognizeUtteranceRequest& WithRequestAttributes(const char* value) { SetRequestAttributes(value); return *this;}
130
132
144 inline const Aws::String& GetRequestContentType() const{ return m_requestContentType; }
145 inline bool RequestContentTypeHasBeenSet() const { return m_requestContentTypeHasBeenSet; }
146 inline void SetRequestContentType(const Aws::String& value) { m_requestContentTypeHasBeenSet = true; m_requestContentType = value; }
147 inline void SetRequestContentType(Aws::String&& value) { m_requestContentTypeHasBeenSet = true; m_requestContentType = std::move(value); }
148 inline void SetRequestContentType(const char* value) { m_requestContentTypeHasBeenSet = true; m_requestContentType.assign(value); }
150 inline RecognizeUtteranceRequest& WithRequestContentType(Aws::String&& value) { SetRequestContentType(std::move(value)); return *this;}
151 inline RecognizeUtteranceRequest& WithRequestContentType(const char* value) { SetRequestContentType(value); return *this;}
153
155
171 inline const Aws::String& GetResponseContentType() const{ return m_responseContentType; }
172 inline bool ResponseContentTypeHasBeenSet() const { return m_responseContentTypeHasBeenSet; }
173 inline void SetResponseContentType(const Aws::String& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = value; }
174 inline void SetResponseContentType(Aws::String&& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = std::move(value); }
175 inline void SetResponseContentType(const char* value) { m_responseContentTypeHasBeenSet = true; m_responseContentType.assign(value); }
177 inline RecognizeUtteranceRequest& WithResponseContentType(Aws::String&& value) { SetResponseContentType(std::move(value)); return *this;}
178 inline RecognizeUtteranceRequest& WithResponseContentType(const char* value) { SetResponseContentType(value); return *this;}
180 private:
181
182 Aws::String m_botId;
183 bool m_botIdHasBeenSet = false;
184
185 Aws::String m_botAliasId;
186 bool m_botAliasIdHasBeenSet = false;
187
188 Aws::String m_localeId;
189 bool m_localeIdHasBeenSet = false;
190
191 Aws::String m_sessionId;
192 bool m_sessionIdHasBeenSet = false;
193
194 Aws::String m_sessionState;
195 bool m_sessionStateHasBeenSet = false;
196
197 Aws::String m_requestAttributes;
198 bool m_requestAttributesHasBeenSet = false;
199
200 Aws::String m_requestContentType;
201 bool m_requestContentTypeHasBeenSet = false;
202
203 Aws::String m_responseContentType;
204 bool m_responseContentTypeHasBeenSet = false;
205
206 };
207
208} // namespace Model
209} // namespace LexRuntimeV2
210} // namespace Aws
AWS_LEXRUNTIMEV2_API bool SignBody() const override
RecognizeUtteranceRequest & WithSessionState(Aws::String &&value)
RecognizeUtteranceRequest & WithResponseContentType(const Aws::String &value)
RecognizeUtteranceRequest & WithLocaleId(const char *value)
RecognizeUtteranceRequest & WithLocaleId(const Aws::String &value)
RecognizeUtteranceRequest & WithRequestAttributes(const Aws::String &value)
RecognizeUtteranceRequest & WithSessionId(Aws::String &&value)
RecognizeUtteranceRequest & WithBotAliasId(const Aws::String &value)
RecognizeUtteranceRequest & WithSessionId(const char *value)
RecognizeUtteranceRequest & WithSessionState(const Aws::String &value)
RecognizeUtteranceRequest & WithRequestContentType(const char *value)
RecognizeUtteranceRequest & WithLocaleId(Aws::String &&value)
RecognizeUtteranceRequest & WithRequestAttributes(const char *value)
RecognizeUtteranceRequest & WithSessionState(const char *value)
RecognizeUtteranceRequest & WithRequestContentType(Aws::String &&value)
RecognizeUtteranceRequest & WithRequestContentType(const Aws::String &value)
RecognizeUtteranceRequest & WithBotId(const Aws::String &value)
RecognizeUtteranceRequest & WithBotAliasId(const char *value)
AWS_LEXRUNTIMEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RecognizeUtteranceRequest & WithBotId(const char *value)
RecognizeUtteranceRequest & WithSessionId(const Aws::String &value)
RecognizeUtteranceRequest & WithBotId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
RecognizeUtteranceRequest & WithResponseContentType(Aws::String &&value)
RecognizeUtteranceRequest & WithResponseContentType(const char *value)
RecognizeUtteranceRequest & WithBotAliasId(Aws::String &&value)
RecognizeUtteranceRequest & WithRequestAttributes(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String