7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lexv2-runtime/model/SessionState.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/lexv2-runtime/model/RecognizedBotMember.h>
13#include <aws/lexv2-runtime/model/Message.h>
14#include <aws/lexv2-runtime/model/Interpretation.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
111 inline void SetSessionId(
const char* value) { m_sessionId.assign(value); }
133 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
RecognizeTextResult & WithRecognizedBotMember(const RecognizedBotMember &value)
const Aws::Vector< Interpretation > & GetInterpretations() const
void SetRecognizedBotMember(RecognizedBotMember &&value)
void SetInterpretations(const Aws::Vector< Interpretation > &value)
RecognizeTextResult & WithSessionId(const Aws::String &value)
RecognizeTextResult & WithRequestAttributes(const Aws::Map< Aws::String, Aws::String > &value)
RecognizeTextResult & AddMessages(Message &&value)
void SetSessionId(const Aws::String &value)
RecognizeTextResult & AddRequestAttributes(const char *key, Aws::String &&value)
RecognizeTextResult & AddMessages(const Message &value)
AWS_LEXRUNTIMEV2_API RecognizeTextResult()
AWS_LEXRUNTIMEV2_API RecognizeTextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RecognizeTextResult & AddInterpretations(Interpretation &&value)
RecognizeTextResult & WithMessages(Aws::Vector< Message > &&value)
RecognizeTextResult & WithRequestId(Aws::String &&value)
const Aws::Vector< Message > & GetMessages() const
void SetRequestId(const Aws::String &value)
void SetRecognizedBotMember(const RecognizedBotMember &value)
RecognizeTextResult & AddRequestAttributes(const Aws::String &key, Aws::String &&value)
void SetSessionState(const SessionState &value)
RecognizeTextResult & WithSessionId(const char *value)
RecognizeTextResult & WithInterpretations(const Aws::Vector< Interpretation > &value)
RecognizeTextResult & AddRequestAttributes(Aws::String &&key, const char *value)
void SetRequestAttributes(Aws::Map< Aws::String, Aws::String > &&value)
RecognizeTextResult & WithRequestAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetSessionState(SessionState &&value)
RecognizeTextResult & AddRequestAttributes(Aws::String &&key, const Aws::String &value)
RecognizeTextResult & AddRequestAttributes(Aws::String &&key, Aws::String &&value)
void SetSessionId(const char *value)
AWS_LEXRUNTIMEV2_API RecognizeTextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RecognizeTextResult & WithInterpretations(Aws::Vector< Interpretation > &&value)
RecognizeTextResult & WithSessionState(const SessionState &value)
RecognizeTextResult & WithRecognizedBotMember(RecognizedBotMember &&value)
RecognizeTextResult & AddRequestAttributes(const Aws::String &key, const Aws::String &value)
void SetRequestId(const char *value)
RecognizeTextResult & AddRequestAttributes(const char *key, const char *value)
const RecognizedBotMember & GetRecognizedBotMember() const
RecognizeTextResult & WithSessionId(Aws::String &&value)
void SetMessages(Aws::Vector< Message > &&value)
const Aws::String & GetRequestId() const
void SetSessionId(Aws::String &&value)
void SetInterpretations(Aws::Vector< Interpretation > &&value)
const Aws::String & GetSessionId() const
void SetMessages(const Aws::Vector< Message > &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestAttributes() const
void SetRequestAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const SessionState & GetSessionState() const
void SetRequestId(Aws::String &&value)
RecognizeTextResult & AddInterpretations(const Interpretation &value)
RecognizeTextResult & WithSessionState(SessionState &&value)
RecognizeTextResult & WithRequestId(const char *value)
RecognizeTextResult & WithRequestId(const Aws::String &value)
RecognizeTextResult & WithMessages(const Aws::Vector< Message > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue