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>
46 template<
typename SourceUriT = Aws::String>
47 void SetSourceUri(SourceUriT&& value) { m_sourceUriHasBeenSet =
true; m_sourceUri = std::forward<SourceUriT>(value); }
48 template<
typename SourceUriT = Aws::String>
58 template<
typename ContextTypeT = Aws::String>
59 void SetContextType(ContextTypeT&& value) { m_contextTypeHasBeenSet =
true; m_contextType = std::forward<ContextTypeT>(value); }
60 template<
typename ContextTypeT = Aws::String>
71 template<
typename CreatedAfterT = Aws::Utils::DateTime>
72 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet =
true; m_createdAfter = std::forward<CreatedAfterT>(value); }
73 template<
typename CreatedAfterT = Aws::Utils::DateTime>
84 template<
typename CreatedBeforeT = Aws::Utils::DateTime>
85 void SetCreatedBefore(CreatedBeforeT&& value) { m_createdBeforeHasBeenSet =
true; m_createdBefore = std::forward<CreatedBeforeT>(value); }
86 template<
typename CreatedBeforeT = Aws::Utils::DateTime>
118 template<
typename NextTokenT = Aws::String>
119 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
120 template<
typename NextTokenT = Aws::String>
131 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
137 bool m_sourceUriHasBeenSet =
false;
140 bool m_contextTypeHasBeenSet =
false;
143 bool m_createdAfterHasBeenSet =
false;
146 bool m_createdBeforeHasBeenSet =
false;
149 bool m_sortByHasBeenSet =
false;
152 bool m_sortOrderHasBeenSet =
false;
155 bool m_nextTokenHasBeenSet =
false;
158 bool m_maxResultsHasBeenSet =
false;
void SetSortBy(SortContextsBy value)
bool SourceUriHasBeenSet() const
ListContextsRequest & WithSourceUri(SourceUriT &&value)
SortOrder GetSortOrder() const
void SetCreatedBefore(CreatedBeforeT &&value)
void SetCreatedAfter(CreatedAfterT &&value)
bool SortByHasBeenSet() const
bool SortOrderHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAfter() const
void SetMaxResults(int value)
ListContextsRequest & WithMaxResults(int value)
ListContextsRequest & WithSortOrder(SortOrder value)
const Aws::String & GetContextType() const
ListContextsRequest & WithSortBy(SortContextsBy value)
const Aws::String & GetNextToken() const
const Aws::String & GetSourceUri() const
ListContextsRequest & WithCreatedAfter(CreatedAfterT &&value)
void SetContextType(ContextTypeT &&value)
void SetSourceUri(SourceUriT &&value)
void SetNextToken(NextTokenT &&value)
int GetMaxResults() const
ListContextsRequest & WithContextType(ContextTypeT &&value)
SortContextsBy GetSortBy() const
bool MaxResultsHasBeenSet() const
void SetSortOrder(SortOrder value)
const Aws::Utils::DateTime & GetCreatedBefore() const
ListContextsRequest & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CreatedAfterHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool CreatedBeforeHasBeenSet() const
AWS_SAGEMAKER_API ListContextsRequest()=default
bool NextTokenHasBeenSet() const
ListContextsRequest & WithCreatedBefore(CreatedBeforeT &&value)
bool ContextTypeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String