7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ModelSummary.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename ModelsT = Aws::Vector<ModelSummary>>
44 void SetModels(ModelsT&& value) { m_modelsHasBeenSet =
true; m_models = std::forward<ModelsT>(value); }
45 template<
typename ModelsT = Aws::Vector<ModelSummary>>
47 template<
typename ModelsT = ModelSummary>
48 ListModelsResult&
AddModels(ModelsT&& value) { m_modelsHasBeenSet =
true; m_models.emplace_back(std::forward<ModelsT>(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_modelsHasBeenSet =
false;
77 bool m_nextTokenHasBeenSet =
false;
80 bool m_requestIdHasBeenSet =
false;
ListModelsResult & WithModels(ModelsT &&value)
const Aws::Vector< ModelSummary > & GetModels() const
void SetModels(ModelsT &&value)
ListModelsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
AWS_SAGEMAKER_API ListModelsResult()=default
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API ListModelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListModelsResult & AddModels(ModelsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API ListModelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListModelsResult & 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