7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/ModelSortKey.h>
10#include <aws/sagemaker/model/OrderKey.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/DateTime.h>
59 inline void SetSortOrder(
OrderKey&& value) { m_sortOrderHasBeenSet =
true; m_sortOrder = std::move(value); }
74 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
86 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
99 inline void SetNameContains(
const char* value) { m_nameContainsHasBeenSet =
true; m_nameContains.assign(value); }
133 bool m_sortByHasBeenSet =
false;
136 bool m_sortOrderHasBeenSet =
false;
139 bool m_nextTokenHasBeenSet =
false;
142 bool m_maxResultsHasBeenSet =
false;
145 bool m_nameContainsHasBeenSet =
false;
148 bool m_creationTimeBeforeHasBeenSet =
false;
151 bool m_creationTimeAfterHasBeenSet =
false;
ListModelsRequest & WithNextToken(const char *value)
bool SortByHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool NextTokenHasBeenSet() const
void SetSortOrder(OrderKey &&value)
ListModelsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetNextToken(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListModelsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetSortBy(ModelSortKey &&value)
bool NameContainsHasBeenSet() const
ListModelsRequest & WithNameContains(const Aws::String &value)
ListModelsRequest & WithSortOrder(OrderKey &&value)
ListModelsRequest & WithNameContains(Aws::String &&value)
AWS_SAGEMAKER_API ListModelsRequest()
const Aws::Utils::DateTime & GetCreationTimeAfter() const
virtual const char * GetServiceRequestName() const override
void SetNameContains(const char *value)
ListModelsRequest & WithSortOrder(const OrderKey &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
void SetSortBy(const ModelSortKey &value)
ListModelsRequest & WithNameContains(const char *value)
int GetMaxResults() const
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetNameContains(Aws::String &&value)
void SetNextToken(const char *value)
ListModelsRequest & WithSortBy(ModelSortKey &&value)
const Aws::String & GetNextToken() const
const ModelSortKey & GetSortBy() const
ListModelsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetNameContains(const Aws::String &value)
ListModelsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
bool SortOrderHasBeenSet() const
bool MaxResultsHasBeenSet() const
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
const OrderKey & GetSortOrder() const
bool CreationTimeAfterHasBeenSet() const
ListModelsRequest & WithNextToken(const Aws::String &value)
void SetSortOrder(const OrderKey &value)
ListModelsRequest & WithSortBy(const ModelSortKey &value)
ListModelsRequest & WithMaxResults(int value)
const Aws::String & GetNameContains() const
bool CreationTimeBeforeHasBeenSet() const
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetNextToken(Aws::String &&value)
ListModelsRequest & WithNextToken(Aws::String &&value)
void SetMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String