AWS SDK for C++  1.9.124
AWS SDK for C++
RecognizeUtteranceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/core/utils/Array.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace LexRuntimeV2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 
34 
35  bool SignBody() const override { return false; }
36 
37 
41  inline const Aws::String& GetBotId() const{ return m_botId; }
42 
46  inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
47 
51  inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
52 
56  inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
57 
61  inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
62 
66  inline RecognizeUtteranceRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
67 
71  inline RecognizeUtteranceRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
72 
76  inline RecognizeUtteranceRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
77 
78 
82  inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
83 
87  inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
88 
92  inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; }
93 
97  inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); }
98 
102  inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); }
103 
107  inline RecognizeUtteranceRequest& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
108 
112  inline RecognizeUtteranceRequest& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
113 
117  inline RecognizeUtteranceRequest& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
118 
119 
123  inline const Aws::String& GetLocaleId() const{ return m_localeId; }
124 
128  inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
129 
133  inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
134 
138  inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
139 
143  inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
144 
148  inline RecognizeUtteranceRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
149 
153  inline RecognizeUtteranceRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
154 
158  inline RecognizeUtteranceRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
159 
160 
164  inline const Aws::String& GetSessionId() const{ return m_sessionId; }
165 
169  inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
170 
174  inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
175 
179  inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
180 
184  inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
185 
189  inline RecognizeUtteranceRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
190 
194  inline RecognizeUtteranceRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
195 
199  inline RecognizeUtteranceRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
200 
201 
209  inline const Aws::String& GetSessionState() const{ return m_sessionState; }
210 
218  inline bool SessionStateHasBeenSet() const { return m_sessionStateHasBeenSet; }
219 
227  inline void SetSessionState(const Aws::String& value) { m_sessionStateHasBeenSet = true; m_sessionState = value; }
228 
236  inline void SetSessionState(Aws::String&& value) { m_sessionStateHasBeenSet = true; m_sessionState = std::move(value); }
237 
245  inline void SetSessionState(const char* value) { m_sessionStateHasBeenSet = true; m_sessionState.assign(value); }
246 
254  inline RecognizeUtteranceRequest& WithSessionState(const Aws::String& value) { SetSessionState(value); return *this;}
255 
263  inline RecognizeUtteranceRequest& WithSessionState(Aws::String&& value) { SetSessionState(std::move(value)); return *this;}
264 
272  inline RecognizeUtteranceRequest& WithSessionState(const char* value) { SetSessionState(value); return *this;}
273 
274 
283  inline const Aws::String& GetRequestAttributes() const{ return m_requestAttributes; }
284 
293  inline bool RequestAttributesHasBeenSet() const { return m_requestAttributesHasBeenSet; }
294 
303  inline void SetRequestAttributes(const Aws::String& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes = value; }
304 
313  inline void SetRequestAttributes(Aws::String&& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes = std::move(value); }
314 
323  inline void SetRequestAttributes(const char* value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.assign(value); }
324 
333  inline RecognizeUtteranceRequest& WithRequestAttributes(const Aws::String& value) { SetRequestAttributes(value); return *this;}
334 
343  inline RecognizeUtteranceRequest& WithRequestAttributes(Aws::String&& value) { SetRequestAttributes(std::move(value)); return *this;}
344 
353  inline RecognizeUtteranceRequest& WithRequestAttributes(const char* value) { SetRequestAttributes(value); return *this;}
354 
355 
368  inline const Aws::String& GetRequestContentType() const{ return m_requestContentType; }
369 
382  inline bool RequestContentTypeHasBeenSet() const { return m_requestContentTypeHasBeenSet; }
383 
396  inline void SetRequestContentType(const Aws::String& value) { m_requestContentTypeHasBeenSet = true; m_requestContentType = value; }
397 
410  inline void SetRequestContentType(Aws::String&& value) { m_requestContentTypeHasBeenSet = true; m_requestContentType = std::move(value); }
411 
424  inline void SetRequestContentType(const char* value) { m_requestContentTypeHasBeenSet = true; m_requestContentType.assign(value); }
425 
438  inline RecognizeUtteranceRequest& WithRequestContentType(const Aws::String& value) { SetRequestContentType(value); return *this;}
439 
452  inline RecognizeUtteranceRequest& WithRequestContentType(Aws::String&& value) { SetRequestContentType(std::move(value)); return *this;}
453 
466  inline RecognizeUtteranceRequest& WithRequestContentType(const char* value) { SetRequestContentType(value); return *this;}
467 
468 
485  inline const Aws::String& GetResponseContentType() const{ return m_responseContentType; }
486 
503  inline bool ResponseContentTypeHasBeenSet() const { return m_responseContentTypeHasBeenSet; }
504 
521  inline void SetResponseContentType(const Aws::String& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = value; }
522 
539  inline void SetResponseContentType(Aws::String&& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = std::move(value); }
540 
557  inline void SetResponseContentType(const char* value) { m_responseContentTypeHasBeenSet = true; m_responseContentType.assign(value); }
558 
575  inline RecognizeUtteranceRequest& WithResponseContentType(const Aws::String& value) { SetResponseContentType(value); return *this;}
576 
593  inline RecognizeUtteranceRequest& WithResponseContentType(Aws::String&& value) { SetResponseContentType(std::move(value)); return *this;}
594 
611  inline RecognizeUtteranceRequest& WithResponseContentType(const char* value) { SetResponseContentType(value); return *this;}
612 
613  private:
614 
615  Aws::String m_botId;
616  bool m_botIdHasBeenSet;
617 
618  Aws::String m_botAliasId;
619  bool m_botAliasIdHasBeenSet;
620 
621  Aws::String m_localeId;
622  bool m_localeIdHasBeenSet;
623 
624  Aws::String m_sessionId;
625  bool m_sessionIdHasBeenSet;
626 
627  Aws::String m_sessionState;
628  bool m_sessionStateHasBeenSet;
629 
630  Aws::String m_requestAttributes;
631  bool m_requestAttributesHasBeenSet;
632 
633  Aws::String m_requestContentType;
634  bool m_requestContentTypeHasBeenSet;
635 
636  Aws::String m_responseContentType;
637  bool m_responseContentTypeHasBeenSet;
638 
639  };
640 
641 } // namespace Model
642 } // namespace LexRuntimeV2
643 } // namespace Aws
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetBotId
void SetBotId(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:56
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetSessionId
void SetSessionId(const char *value)
Definition: RecognizeUtteranceRequest.h:184
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithResponseContentType
RecognizeUtteranceRequest & WithResponseContentType(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:575
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithRequestAttributes
RecognizeUtteranceRequest & WithRequestAttributes(const char *value)
Definition: RecognizeUtteranceRequest.h:353
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithRequestAttributes
RecognizeUtteranceRequest & WithRequestAttributes(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:333
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetResponseContentType
void SetResponseContentType(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:539
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::LocaleIdHasBeenSet
bool LocaleIdHasBeenSet() const
Definition: RecognizeUtteranceRequest.h:128
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithSessionId
RecognizeUtteranceRequest & WithSessionId(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:194
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithSessionId
RecognizeUtteranceRequest & WithSessionId(const char *value)
Definition: RecognizeUtteranceRequest.h:199
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SignBody
bool SignBody() const override
Definition: RecognizeUtteranceRequest.h:35
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetSessionId
void SetSessionId(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:174
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithBotAliasId
RecognizeUtteranceRequest & WithBotAliasId(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:112
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetBotId
void SetBotId(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:51
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::BotAliasIdHasBeenSet
bool BotAliasIdHasBeenSet() const
Definition: RecognizeUtteranceRequest.h:87
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithBotAliasId
RecognizeUtteranceRequest & WithBotAliasId(const char *value)
Definition: RecognizeUtteranceRequest.h:117
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetRequestAttributes
void SetRequestAttributes(const char *value)
Definition: RecognizeUtteranceRequest.h:323
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithLocaleId
RecognizeUtteranceRequest & WithLocaleId(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:153
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetRequestContentType
void SetRequestContentType(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:396
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetLocaleId
void SetLocaleId(const char *value)
Definition: RecognizeUtteranceRequest.h:143
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetBotId
void SetBotId(const char *value)
Definition: RecognizeUtteranceRequest.h:61
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetResponseContentType
const Aws::String & GetResponseContentType() const
Definition: RecognizeUtteranceRequest.h:485
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithLocaleId
RecognizeUtteranceRequest & WithLocaleId(const char *value)
Definition: RecognizeUtteranceRequest.h:158
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SessionIdHasBeenSet
bool SessionIdHasBeenSet() const
Definition: RecognizeUtteranceRequest.h:169
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetBotAliasId
void SetBotAliasId(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:92
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::RequestContentTypeHasBeenSet
bool RequestContentTypeHasBeenSet() const
Definition: RecognizeUtteranceRequest.h:382
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SessionStateHasBeenSet
bool SessionStateHasBeenSet() const
Definition: RecognizeUtteranceRequest.h:218
LexRuntimeV2Request.h
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithBotId
RecognizeUtteranceRequest & WithBotId(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:66
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithSessionId
RecognizeUtteranceRequest & WithSessionId(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:189
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithBotAliasId
RecognizeUtteranceRequest & WithBotAliasId(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:107
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithRequestContentType
RecognizeUtteranceRequest & WithRequestContentType(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:438
LexRuntimeV2_EXPORTS.h
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithSessionState
RecognizeUtteranceRequest & WithSessionState(const char *value)
Definition: RecognizeUtteranceRequest.h:272
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetSessionState
const Aws::String & GetSessionState() const
Definition: RecognizeUtteranceRequest.h:209
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetLocaleId
const Aws::String & GetLocaleId() const
Definition: RecognizeUtteranceRequest.h:123
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithBotId
RecognizeUtteranceRequest & WithBotId(const char *value)
Definition: RecognizeUtteranceRequest.h:76
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetSessionState
void SetSessionState(const char *value)
Definition: RecognizeUtteranceRequest.h:245
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::RecognizeUtteranceRequest
RecognizeUtteranceRequest()
AWSString.h
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest
Definition: RecognizeUtteranceRequest.h:23
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetSessionId
void SetSessionId(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:179
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithResponseContentType
RecognizeUtteranceRequest & WithResponseContentType(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:593
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetBotId
const Aws::String & GetBotId() const
Definition: RecognizeUtteranceRequest.h:41
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetBotAliasId
const Aws::String & GetBotAliasId() const
Definition: RecognizeUtteranceRequest.h:82
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::RequestAttributesHasBeenSet
bool RequestAttributesHasBeenSet() const
Definition: RecognizeUtteranceRequest.h:293
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithResponseContentType
RecognizeUtteranceRequest & WithResponseContentType(const char *value)
Definition: RecognizeUtteranceRequest.h:611
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithRequestContentType
RecognizeUtteranceRequest & WithRequestContentType(const char *value)
Definition: RecognizeUtteranceRequest.h:466
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetSessionState
void SetSessionState(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:227
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RecognizeUtteranceRequest.h:31
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetRequestContentType
const Aws::String & GetRequestContentType() const
Definition: RecognizeUtteranceRequest.h:368
Aws::AmazonStreamingWebServiceRequest
Definition: AmazonStreamingWebServiceRequest.h:26
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetLocaleId
void SetLocaleId(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:133
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetLocaleId
void SetLocaleId(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:138
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithRequestContentType
RecognizeUtteranceRequest & WithRequestContentType(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:452
Aws
Definition: AccessManagementClient.h:15
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetRequestAttributes
const Aws::String & GetRequestAttributes() const
Definition: RecognizeUtteranceRequest.h:283
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithSessionState
RecognizeUtteranceRequest & WithSessionState(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:263
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithBotId
RecognizeUtteranceRequest & WithBotId(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:71
Array.h
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetRequestContentType
void SetRequestContentType(const char *value)
Definition: RecognizeUtteranceRequest.h:424
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::BotIdHasBeenSet
bool BotIdHasBeenSet() const
Definition: RecognizeUtteranceRequest.h:46
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithSessionState
RecognizeUtteranceRequest & WithSessionState(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:254
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetResponseContentType
void SetResponseContentType(const char *value)
Definition: RecognizeUtteranceRequest.h:557
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetBotAliasId
void SetBotAliasId(const char *value)
Definition: RecognizeUtteranceRequest.h:102
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::GetSessionId
const Aws::String & GetSessionId() const
Definition: RecognizeUtteranceRequest.h:164
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetSessionState
void SetSessionState(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:236
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithRequestAttributes
RecognizeUtteranceRequest & WithRequestAttributes(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:343
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetRequestAttributes
void SetRequestAttributes(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:313
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::WithLocaleId
RecognizeUtteranceRequest & WithLocaleId(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:148
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::ResponseContentTypeHasBeenSet
bool ResponseContentTypeHasBeenSet() const
Definition: RecognizeUtteranceRequest.h:503
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetRequestContentType
void SetRequestContentType(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:410
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetResponseContentType
void SetResponseContentType(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:521
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetRequestAttributes
void SetRequestAttributes(const Aws::String &value)
Definition: RecognizeUtteranceRequest.h:303
Aws::LexRuntimeV2::Model::RecognizeUtteranceRequest::SetBotAliasId
void SetBotAliasId(Aws::String &&value)
Definition: RecognizeUtteranceRequest.h:97
AWS_LEXRUNTIMEV2_API
#define AWS_LEXRUNTIMEV2_API
Definition: LexRuntimeV2_EXPORTS.h:28