7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/SortContextsBy.h>
12#include <aws/sagemaker/model/SortOrder.h>
48 inline void SetSourceUri(
const char* value) { m_sourceUriHasBeenSet =
true; m_sourceUri.assign(value); }
62 inline void SetContextType(
const char* value) { m_contextTypeHasBeenSet =
true; m_contextType.assign(value); }
128 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
141 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
147 bool m_sourceUriHasBeenSet =
false;
150 bool m_contextTypeHasBeenSet =
false;
153 bool m_createdAfterHasBeenSet =
false;
156 bool m_createdBeforeHasBeenSet =
false;
159 bool m_sortByHasBeenSet =
false;
162 bool m_sortOrderHasBeenSet =
false;
165 bool m_nextTokenHasBeenSet =
false;
168 bool m_maxResultsHasBeenSet =
false;
bool SourceUriHasBeenSet() const
ListContextsRequest & WithContextType(const Aws::String &value)
void SetContextType(const Aws::String &value)
ListContextsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
ListContextsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
void SetSortOrder(SortOrder &&value)
ListContextsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
const SortOrder & GetSortOrder() const
bool SortByHasBeenSet() const
bool SortOrderHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAfter() const
void SetMaxResults(int value)
AWS_SAGEMAKER_API ListContextsRequest()
ListContextsRequest & WithSortOrder(SortOrder &&value)
ListContextsRequest & WithContextType(const char *value)
void SetSortBy(SortContextsBy &&value)
const SortContextsBy & GetSortBy() const
ListContextsRequest & WithMaxResults(int value)
void SetNextToken(Aws::String &&value)
ListContextsRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetContextType() const
ListContextsRequest & WithSourceUri(Aws::String &&value)
ListContextsRequest & WithSourceUri(const Aws::String &value)
const Aws::String & GetNextToken() const
const Aws::String & GetSourceUri() const
void SetContextType(Aws::String &&value)
ListContextsRequest & WithSourceUri(const char *value)
ListContextsRequest & WithNextToken(const char *value)
ListContextsRequest & WithContextType(Aws::String &&value)
void SetSourceUri(const char *value)
int GetMaxResults() const
void SetNextToken(const char *value)
bool MaxResultsHasBeenSet() const
ListContextsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
void SetNextToken(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedBefore() const
void SetSourceUri(const Aws::String &value)
ListContextsRequest & WithNextToken(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetContextType(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCreatedAfter(Aws::Utils::DateTime &&value)
bool CreatedAfterHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool CreatedBeforeHasBeenSet() const
ListContextsRequest & WithSortBy(SortContextsBy &&value)
void SetCreatedBefore(const Aws::Utils::DateTime &value)
ListContextsRequest & WithSortOrder(const SortOrder &value)
void SetSourceUri(Aws::String &&value)
void SetSortOrder(const SortOrder &value)
void SetCreatedBefore(Aws::Utils::DateTime &&value)
ListContextsRequest & WithSortBy(const SortContextsBy &value)
bool NextTokenHasBeenSet() const
void SetCreatedAfter(const Aws::Utils::DateTime &value)
void SetSortBy(const SortContextsBy &value)
bool ContextTypeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String