7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/ModelApprovalStatus.h>
12#include <aws/sagemaker/model/ModelPackageType.h>
13#include <aws/sagemaker/model/ModelPackageSortBy.h>
14#include <aws/sagemaker/model/SortOrder.h>
74 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
87 inline void SetNameContains(
const char* value) { m_nameContainsHasBeenSet =
true; m_nameContains.assign(value); }
115 inline void SetModelPackageGroupName(
const char* value) { m_modelPackageGroupNameHasBeenSet =
true; m_modelPackageGroupName.assign(value); }
148 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
181 bool m_creationTimeAfterHasBeenSet =
false;
184 bool m_creationTimeBeforeHasBeenSet =
false;
187 bool m_maxResultsHasBeenSet =
false;
190 bool m_nameContainsHasBeenSet =
false;
193 bool m_modelApprovalStatusHasBeenSet =
false;
196 bool m_modelPackageGroupNameHasBeenSet =
false;
199 bool m_modelPackageTypeHasBeenSet =
false;
202 bool m_nextTokenHasBeenSet =
false;
205 bool m_sortByHasBeenSet =
false;
208 bool m_sortOrderHasBeenSet =
false;
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetModelApprovalStatus(ModelApprovalStatus &&value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
const ModelPackageType & GetModelPackageType() const
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
ListModelPackagesRequest & WithNameContains(const char *value)
void SetSortOrder(const SortOrder &value)
bool SortByHasBeenSet() const
ListModelPackagesRequest & WithModelApprovalStatus(const ModelApprovalStatus &value)
void SetNameContains(const Aws::String &value)
bool SortOrderHasBeenSet() const
ListModelPackagesRequest & WithSortBy(ModelPackageSortBy &&value)
bool ModelPackageGroupNameHasBeenSet() const
void SetModelPackageType(const ModelPackageType &value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
void SetNextToken(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
void SetNameContains(const char *value)
void SetSortBy(ModelPackageSortBy &&value)
const Aws::String & GetNextToken() const
void SetSortOrder(SortOrder &&value)
ListModelPackagesRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
bool ModelApprovalStatusHasBeenSet() const
ListModelPackagesRequest & WithModelPackageGroupName(const Aws::String &value)
const ModelPackageSortBy & GetSortBy() const
const SortOrder & GetSortOrder() const
ListModelPackagesRequest & WithSortBy(const ModelPackageSortBy &value)
void SetNameContains(Aws::String &&value)
void SetModelPackageGroupName(const Aws::String &value)
bool NextTokenHasBeenSet() const
const Aws::String & GetNameContains() const
virtual const char * GetServiceRequestName() const override
ListModelPackagesRequest & WithNextToken(Aws::String &&value)
ListModelPackagesRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListModelPackagesRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetNextToken(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListModelPackagesRequest & WithModelPackageGroupName(Aws::String &&value)
void SetNextToken(const Aws::String &value)
bool MaxResultsHasBeenSet() const
ListModelPackagesRequest & WithModelPackageGroupName(const char *value)
AWS_SAGEMAKER_API ListModelPackagesRequest()
void SetModelApprovalStatus(const ModelApprovalStatus &value)
void SetSortBy(const ModelPackageSortBy &value)
ListModelPackagesRequest & WithModelPackageType(const ModelPackageType &value)
ListModelPackagesRequest & WithNameContains(const Aws::String &value)
const ModelApprovalStatus & GetModelApprovalStatus() const
ListModelPackagesRequest & WithMaxResults(int value)
void SetModelPackageType(ModelPackageType &&value)
ListModelPackagesRequest & WithNameContains(Aws::String &&value)
const Aws::String & GetModelPackageGroupName() const
int GetMaxResults() const
ListModelPackagesRequest & WithModelApprovalStatus(ModelApprovalStatus &&value)
ListModelPackagesRequest & WithNextToken(const char *value)
bool CreationTimeBeforeHasBeenSet() const
ListModelPackagesRequest & WithSortOrder(const SortOrder &value)
void SetModelPackageGroupName(const char *value)
bool NameContainsHasBeenSet() const
ListModelPackagesRequest & WithSortOrder(SortOrder &&value)
bool CreationTimeAfterHasBeenSet() const
ListModelPackagesRequest & WithNextToken(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetMaxResults(int value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListModelPackagesRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
bool ModelPackageTypeHasBeenSet() const
void SetModelPackageGroupName(Aws::String &&value)
ListModelPackagesRequest & WithModelPackageType(ModelPackageType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String