7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lex-models/model/IntentMetadata.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace LexModelBuildingService
43 template<
typename IntentsT = Aws::Vector<IntentMetadata>>
44 void SetIntents(IntentsT&& value) { m_intentsHasBeenSet =
true; m_intents = std::forward<IntentsT>(value); }
45 template<
typename IntentsT = Aws::Vector<IntentMetadata>>
47 template<
typename IntentsT = IntentMetadata>
48 GetIntentsResult&
AddIntents(IntentsT&& value) { m_intentsHasBeenSet =
true; m_intents.emplace_back(std::forward<IntentsT>(value));
return *
this; }
57 template<
typename NextTokenT = Aws::String>
58 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
59 template<
typename NextTokenT = Aws::String>
66 template<
typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
68 template<
typename RequestIdT = Aws::String>
74 bool m_intentsHasBeenSet =
false;
77 bool m_nextTokenHasBeenSet =
false;
80 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetIntentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntentsResult & WithIntents(IntentsT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
const Aws::Vector< IntentMetadata > & GetIntents() const
GetIntentsResult & AddIntents(IntentsT &&value)
const Aws::String & GetRequestId() const
GetIntentsResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetIntentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIntents(IntentsT &&value)
GetIntentsResult & WithNextToken(NextTokenT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetIntentsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue