7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/polly/Polly_EXPORTS.h>
11#include <aws/polly/model/LexiconDescription.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename LexiconsT = Aws::Vector<LexiconDescription>>
39 m_lexiconsHasBeenSet =
true;
40 m_lexicons = std::forward<LexiconsT>(value);
42 template <
typename LexiconsT = Aws::Vector<LexiconDescription>>
47 template <
typename LexiconsT = LexiconDescription>
49 m_lexiconsHasBeenSet =
true;
50 m_lexicons.emplace_back(std::forward<LexiconsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
97 bool m_lexiconsHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
AWS_POLLY_API ListLexiconsResult()=default
AWS_POLLY_API ListLexiconsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
ListLexiconsResult & AddLexicons(LexiconsT &&value)
const Aws::Vector< LexiconDescription > & GetLexicons() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
ListLexiconsResult & WithNextToken(NextTokenT &&value)
void SetLexicons(LexiconsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListLexiconsResult & WithLexicons(LexiconsT &&value)
AWS_POLLY_API ListLexiconsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLexiconsResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue