Classes | |
| class | LexCommonTestFixture |
| class | LexConfiguration |
| class | LexInteractor |
| struct | LexRequest |
| struct | LexResponse |
| class | LexRuntimeServiceClientMock |
| class | PostContentInterface |
| class | TestData |
| class | TestLexConfiguration |
| class | TestLexInteractor |
Enumerations | |
| enum | ErrorCode { SUCCESS = 0, INVALID_RESULT, FAILED_POST_CONTENT, RETRY_POST_CONTENT, INVALID_LEX_CONFIGURATION, INVALID_ARGUMENT } |
Functions | |
| ErrorCode | BuildLexInteractor (std::shared_ptr< Client::ParameterReaderInterface > params, LexInteractor &lex_interactor) |
| Utility function to configure a LexInteractor. More... | |
| ErrorCode | CopyResult (Aws::LexRuntimeService::Model::PostContentResult &result, LexResponse &response) |
| Copy the PostContentRestult to a LexResponse. More... | |
| ErrorCode | LoadLexParameters (const Client::ParameterReaderInterface ¶meter_interface, LexConfiguration &lex_configuration) |
| std::ostream & | operator<< (std::ostream &os, const Aws::LexRuntimeService::Model::PostContentRequest &request) |
| std::ostream & | operator<< (std::ostream &os, const Aws::LexRuntimeService::Model::PostContentResult &result) |
| TEST (BuildLexInteractor, TestBuildInteractorError) | |
| TEST (BuildLexInteractor, TestBuildInteractorSuccess) | |
| TEST_F (LexCommonTestFixture, CopyResultFailureInvalidJson) | |
| TEST_F (LexCommonTestFixture, CopyResultSuccessValidJson) | |
| TEST_F (LexCommonTestFixture, CopyResultSuccessNoSlots) | |
| TEST_F (TestLexInteractor, TestLexInteractorFailedConfiguration) | |
| TEST_F (TestLexInteractor, TestLexInteractorPostContentText) | |
| TEST_F (TestLexInteractor, TestLexInteractorPostContentAudio) | |
| TEST_F (TestLexInteractor, TestLexInteractorPostContentFailed) | |
| TEST_F (TestLexInteractor, TestLexInteractorPostContentRetry) | |
Variables | |
| static const char * | kAllocationTag = "lex" |
| constexpr char | kLexConfigurationNamespace [] = "lex_configuration" |
| enum Aws::Lex::ErrorCode |
Error codes for lex.
| Enumerator | |
|---|---|
| SUCCESS | |
| INVALID_RESULT | |
| FAILED_POST_CONTENT | |
| RETRY_POST_CONTENT | |
| INVALID_LEX_CONFIGURATION | |
| INVALID_ARGUMENT | |
Definition at line 27 of file error_codes.h.
|
inline |
Utility function to configure a LexInteractor.
Build a LexInteractor with the parameter reader specified.
| params | to use in the lex interactor |
| lex_interactor | [OUT] resulting simplified lex interface |
Definition at line 185 of file lex_common.h.
| ErrorCode Aws::Lex::CopyResult | ( | Aws::LexRuntimeService::Model::PostContentResult & | result, |
| LexResponse & | response | ||
| ) |
Copy the PostContentRestult to a LexResponse.
Copy a result into an AudioTextConversionResponse.
| result | to copy to the response |
| response | [out] result copy |
| result | to copy to the response |
| response | [out] result copy |
Definition at line 62 of file lex_common.cpp.
| ErrorCode Aws::Lex::LoadLexParameters | ( | const Client::ParameterReaderInterface & | parameter_interface, |
| LexConfiguration & | lex_configuration | ||
| ) |
Load lex parameters from ros param server.
| parameter_interface | to retrieve the parameters from. |
| lex_configuration | to fill with the parameter data |
Definition at line 25 of file lex_param_helper.cpp.
| std::ostream & Aws::Lex::operator<< | ( | std::ostream & | os, |
| const Aws::LexRuntimeService::Model::PostContentRequest & | request | ||
| ) |
Definition at line 27 of file lex_common.cpp.
| std::ostream & Aws::Lex::operator<< | ( | std::ostream & | os, |
| const Aws::LexRuntimeService::Model::PostContentResult & | result | ||
| ) |
Definition at line 43 of file lex_common.cpp.
| Aws::Lex::TEST | ( | BuildLexInteractor | , |
| TestBuildInteractorError | |||
| ) |
Definition at line 97 of file lex_common_test.cpp.
| Aws::Lex::TEST | ( | BuildLexInteractor | , |
| TestBuildInteractorSuccess | |||
| ) |
Definition at line 109 of file lex_common_test.cpp.
| Aws::Lex::TEST_F | ( | LexCommonTestFixture | , |
| CopyResultFailureInvalidJson | |||
| ) |
Definition at line 52 of file lex_common_test.cpp.
| Aws::Lex::TEST_F | ( | LexCommonTestFixture | , |
| CopyResultSuccessValidJson | |||
| ) |
Definition at line 67 of file lex_common_test.cpp.
| Aws::Lex::TEST_F | ( | LexCommonTestFixture | , |
| CopyResultSuccessNoSlots | |||
| ) |
Definition at line 86 of file lex_common_test.cpp.
| Aws::Lex::TEST_F | ( | TestLexInteractor | , |
| TestLexInteractorFailedConfiguration | |||
| ) |
Definition at line 160 of file lex_interactor_test.cpp.
| Aws::Lex::TEST_F | ( | TestLexInteractor | , |
| TestLexInteractorPostContentText | |||
| ) |
Definition at line 169 of file lex_interactor_test.cpp.
| Aws::Lex::TEST_F | ( | TestLexInteractor | , |
| TestLexInteractorPostContentAudio | |||
| ) |
Definition at line 186 of file lex_interactor_test.cpp.
| Aws::Lex::TEST_F | ( | TestLexInteractor | , |
| TestLexInteractorPostContentFailed | |||
| ) |
Definition at line 206 of file lex_interactor_test.cpp.
| Aws::Lex::TEST_F | ( | TestLexInteractor | , |
| TestLexInteractorPostContentRetry | |||
| ) |
Definition at line 218 of file lex_interactor_test.cpp.
|
static |
Aws memory allocation tag.
Definition at line 56 of file lex_common.h.
| constexpr char Aws::Lex::kLexConfigurationNamespace[] = "lex_configuration" |
Lex configuration namespace.
Definition at line 33 of file lex_configuration.h.