AWS SDK for C++  1.9.157
AWS SDK for C++
ListProjectsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListProjects"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
45 
50  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
51 
56  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
57 
62  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
63 
68  inline ListProjectsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
69 
74  inline ListProjectsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
75 
76 
81  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
82 
87  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
88 
93  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
94 
99  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
100 
105  inline ListProjectsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
106 
111  inline ListProjectsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
112 
113 
117  inline int GetMaxResults() const{ return m_maxResults; }
118 
122  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
123 
127  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
128 
132  inline ListProjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
133 
134 
139  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
140 
145  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
146 
151  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
152 
157  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
158 
163  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
164 
169  inline ListProjectsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
170 
175  inline ListProjectsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
176 
181  inline ListProjectsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
182 
183 
189  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
190 
196  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
197 
203  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
204 
210  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
211 
217  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
218 
224  inline ListProjectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
225 
231  inline ListProjectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
232 
238  inline ListProjectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
239 
240 
245  inline const ProjectSortBy& GetSortBy() const{ return m_sortBy; }
246 
251  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
252 
257  inline void SetSortBy(const ProjectSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
258 
263  inline void SetSortBy(ProjectSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
264 
269  inline ListProjectsRequest& WithSortBy(const ProjectSortBy& value) { SetSortBy(value); return *this;}
270 
275  inline ListProjectsRequest& WithSortBy(ProjectSortBy&& value) { SetSortBy(std::move(value)); return *this;}
276 
277 
281  inline const ProjectSortOrder& GetSortOrder() const{ return m_sortOrder; }
282 
286  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
287 
291  inline void SetSortOrder(const ProjectSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
292 
296  inline void SetSortOrder(ProjectSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
297 
301  inline ListProjectsRequest& WithSortOrder(const ProjectSortOrder& value) { SetSortOrder(value); return *this;}
302 
306  inline ListProjectsRequest& WithSortOrder(ProjectSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
307 
308  private:
309 
310  Aws::Utils::DateTime m_creationTimeAfter;
311  bool m_creationTimeAfterHasBeenSet;
312 
313  Aws::Utils::DateTime m_creationTimeBefore;
314  bool m_creationTimeBeforeHasBeenSet;
315 
316  int m_maxResults;
317  bool m_maxResultsHasBeenSet;
318 
319  Aws::String m_nameContains;
320  bool m_nameContainsHasBeenSet;
321 
322  Aws::String m_nextToken;
323  bool m_nextTokenHasBeenSet;
324 
325  ProjectSortBy m_sortBy;
326  bool m_sortByHasBeenSet;
327 
328  ProjectSortOrder m_sortOrder;
329  bool m_sortOrderHasBeenSet;
330  };
331 
332 } // namespace Model
333 } // namespace SageMaker
334 } // namespace Aws
Aws::SageMaker::Model::ListProjectsRequest::WithNameContains
ListProjectsRequest & WithNameContains(const char *value)
Definition: ListProjectsRequest.h:181
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListProjectsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListProjectsRequest.h:99
ProjectSortOrder.h
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListProjectsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListProjectsRequest.h:93
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListProjectsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListProjectsRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListProjectsRequest.h:139
Aws::SageMaker::Model::ListProjectsRequest::ListProjectsRequest
ListProjectsRequest()
Aws::SageMaker::Model::ListProjectsRequest::WithSortOrder
ListProjectsRequest & WithSortOrder(ProjectSortOrder &&value)
Definition: ListProjectsRequest.h:306
Aws::SageMaker::Model::ProjectSortBy
ProjectSortBy
Definition: ProjectSortBy.h:17
Aws::SageMaker::Model::ListProjectsRequest::WithNameContains
ListProjectsRequest & WithNameContains(Aws::String &&value)
Definition: ListProjectsRequest.h:175
DateTime.h
Aws::SageMaker::Model::ListProjectsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListProjectsRequest.h:62
Aws::SageMaker::Model::ListProjectsRequest::WithNextToken
ListProjectsRequest & WithNextToken(const char *value)
Definition: ListProjectsRequest.h:238
Aws::SageMaker::Model::ListProjectsRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListProjectsRequest.h:81
Aws::SageMaker::Model::ListProjectsRequest::SetSortBy
void SetSortBy(const ProjectSortBy &value)
Definition: ListProjectsRequest.h:257
Aws::SageMaker::Model::ListProjectsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListProjectsRequest.h:189
Aws::SageMaker::Model::ListProjectsRequest::GetSortOrder
const ProjectSortOrder & GetSortOrder() const
Definition: ListProjectsRequest.h:281
Aws::SageMaker::Model::ListProjectsRequest::WithCreationTimeAfter
ListProjectsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListProjectsRequest.h:74
Aws::SageMaker::Model::ListProjectsRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListProjectsRequest.h:50
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListProjectsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListProjectsRequest.h:117
Aws::SageMaker::Model::ListProjectsRequest::WithCreationTimeBefore
ListProjectsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListProjectsRequest.h:111
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListProjectsRequest::WithNextToken
ListProjectsRequest & WithNextToken(const Aws::String &value)
Definition: ListProjectsRequest.h:224
Aws::SageMaker::Model::ListProjectsRequest::WithNextToken
ListProjectsRequest & WithNextToken(Aws::String &&value)
Definition: ListProjectsRequest.h:231
Aws::SageMaker::Model::ListProjectsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListProjectsRequest.h:196
Aws::SageMaker::Model::ListProjectsRequest::WithCreationTimeBefore
ListProjectsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListProjectsRequest.h:105
Aws::SageMaker::Model::ListProjectsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListProjectsRequest.h:127
Aws::SageMaker::Model::ListProjectsRequest
Definition: ListProjectsRequest.h:25
Aws::SageMaker::Model::ListProjectsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListProjectsRequest.h:203
Aws::SageMaker::Model::ListProjectsRequest::WithSortOrder
ListProjectsRequest & WithSortOrder(const ProjectSortOrder &value)
Definition: ListProjectsRequest.h:301
Aws::SageMaker::Model::ListProjectsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListProjectsRequest.h:56
Aws::SageMaker::Model::ListProjectsRequest::SetSortOrder
void SetSortOrder(const ProjectSortOrder &value)
Definition: ListProjectsRequest.h:291
Aws::SageMaker::Model::ListProjectsRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListProjectsRequest.h:87
Aws::SageMaker::Model::ListProjectsRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListProjectsRequest.h:163
AWSString.h
Aws::SageMaker::Model::ListProjectsRequest::GetSortBy
const ProjectSortBy & GetSortBy() const
Definition: ListProjectsRequest.h:245
Aws::SageMaker::Model::ListProjectsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListProjectsRequest::SetSortOrder
void SetSortOrder(ProjectSortOrder &&value)
Definition: ListProjectsRequest.h:296
Aws::SageMaker::Model::ListProjectsRequest::WithSortBy
ListProjectsRequest & WithSortBy(const ProjectSortBy &value)
Definition: ListProjectsRequest.h:269
Aws::SageMaker::Model::ListProjectsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListProjectsRequest.h:251
Aws::SageMaker::Model::ListProjectsRequest::WithMaxResults
ListProjectsRequest & WithMaxResults(int value)
Definition: ListProjectsRequest.h:132
ProjectSortBy.h
Aws::SageMaker::Model::ListProjectsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListProjectsRequest.h:217
Aws::SageMaker::Model::ListProjectsRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListProjectsRequest.h:157
Aws::SageMaker::Model::ListProjectsRequest::WithSortBy
ListProjectsRequest & WithSortBy(ProjectSortBy &&value)
Definition: ListProjectsRequest.h:275
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListProjectsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListProjectsRequest.h:122
Aws::SageMaker::Model::ListProjectsRequest::WithCreationTimeAfter
ListProjectsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListProjectsRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListProjectsRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListProjectsRequest.h:151
Aws::SageMaker::Model::ListProjectsRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListProjectsRequest.h:44
Aws::SageMaker::Model::ListProjectsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListProjectsRequest.h:286
Aws::SageMaker::Model::ProjectSortOrder
ProjectSortOrder
Definition: ProjectSortOrder.h:17
Aws::SageMaker::Model::ListProjectsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListProjectsRequest.h:210
Aws::SageMaker::Model::ListProjectsRequest::SetSortBy
void SetSortBy(ProjectSortBy &&value)
Definition: ListProjectsRequest.h:263
Aws::SageMaker::Model::ListProjectsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListProjectsRequest.h:33
Aws::SageMaker::Model::ListProjectsRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListProjectsRequest.h:145
Aws::SageMaker::Model::ListProjectsRequest::WithNameContains
ListProjectsRequest & WithNameContains(const Aws::String &value)
Definition: ListProjectsRequest.h:169