AWS SDK for C++  1.9.156
AWS SDK for C++
ListCodeRepositoriesRequest.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 "ListCodeRepositories"; }
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 ListCodeRepositoriesRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
69 
74  inline ListCodeRepositoriesRequest& 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 ListCodeRepositoriesRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
106 
111  inline ListCodeRepositoriesRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
112 
113 
118  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
119 
124  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
125 
130  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
131 
136  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
137 
142  inline ListCodeRepositoriesRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
143 
148  inline ListCodeRepositoriesRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
149 
150 
155  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
156 
161  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
162 
167  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
168 
173  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
174 
179  inline ListCodeRepositoriesRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
180 
185  inline ListCodeRepositoriesRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
186 
187 
191  inline int GetMaxResults() const{ return m_maxResults; }
192 
196  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
197 
201  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
202 
206  inline ListCodeRepositoriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
207 
208 
213  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
214 
219  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
220 
225  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
226 
231  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
232 
237  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
238 
243  inline ListCodeRepositoriesRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
244 
249  inline ListCodeRepositoriesRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
250 
255  inline ListCodeRepositoriesRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
256 
257 
263  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
264 
270  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
271 
277  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
278 
284  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
285 
291  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
292 
298  inline ListCodeRepositoriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
299 
305  inline ListCodeRepositoriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
306 
312  inline ListCodeRepositoriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
313 
314 
318  inline const CodeRepositorySortBy& GetSortBy() const{ return m_sortBy; }
319 
323  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
324 
328  inline void SetSortBy(const CodeRepositorySortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
329 
333  inline void SetSortBy(CodeRepositorySortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
334 
338  inline ListCodeRepositoriesRequest& WithSortBy(const CodeRepositorySortBy& value) { SetSortBy(value); return *this;}
339 
343  inline ListCodeRepositoriesRequest& WithSortBy(CodeRepositorySortBy&& value) { SetSortBy(std::move(value)); return *this;}
344 
345 
349  inline const CodeRepositorySortOrder& GetSortOrder() const{ return m_sortOrder; }
350 
354  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
355 
359  inline void SetSortOrder(const CodeRepositorySortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
360 
364  inline void SetSortOrder(CodeRepositorySortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
365 
369  inline ListCodeRepositoriesRequest& WithSortOrder(const CodeRepositorySortOrder& value) { SetSortOrder(value); return *this;}
370 
374  inline ListCodeRepositoriesRequest& WithSortOrder(CodeRepositorySortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
375 
376  private:
377 
378  Aws::Utils::DateTime m_creationTimeAfter;
379  bool m_creationTimeAfterHasBeenSet;
380 
381  Aws::Utils::DateTime m_creationTimeBefore;
382  bool m_creationTimeBeforeHasBeenSet;
383 
384  Aws::Utils::DateTime m_lastModifiedTimeAfter;
385  bool m_lastModifiedTimeAfterHasBeenSet;
386 
387  Aws::Utils::DateTime m_lastModifiedTimeBefore;
388  bool m_lastModifiedTimeBeforeHasBeenSet;
389 
390  int m_maxResults;
391  bool m_maxResultsHasBeenSet;
392 
393  Aws::String m_nameContains;
394  bool m_nameContainsHasBeenSet;
395 
396  Aws::String m_nextToken;
397  bool m_nextTokenHasBeenSet;
398 
399  CodeRepositorySortBy m_sortBy;
400  bool m_sortByHasBeenSet;
401 
402  CodeRepositorySortOrder m_sortOrder;
403  bool m_sortOrderHasBeenSet;
404  };
405 
406 } // namespace Model
407 } // namespace SageMaker
408 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::CodeRepositorySortBy
CodeRepositorySortBy
Definition: CodeRepositorySortBy.h:17
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListCodeRepositoriesRequest::ListCodeRepositoriesRequest
ListCodeRepositoriesRequest()
Aws::SageMaker::Model::ListCodeRepositoriesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:270
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetLastModifiedTimeAfter
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListCodeRepositoriesRequest.h:130
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListCodeRepositoriesRequest.h:231
CodeRepositorySortOrder.h
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithNameContains
ListCodeRepositoriesRequest & WithNameContains(Aws::String &&value)
Definition: ListCodeRepositoriesRequest.h:249
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithCreationTimeBefore
ListCodeRepositoriesRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListCodeRepositoriesRequest.h:111
DateTime.h
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListCodeRepositoriesRequest.h:56
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetSortOrder
const CodeRepositorySortOrder & GetSortOrder() const
Definition: ListCodeRepositoriesRequest.h:349
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithLastModifiedTimeBefore
ListCodeRepositoriesRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListCodeRepositoriesRequest.h:185
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListCodeRepositoriesRequest.h:93
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListCodeRepositoriesRequest.h:33
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListCodeRepositoriesRequest.h:277
Aws::SageMaker::Model::ListCodeRepositoriesRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:87
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetLastModifiedTimeBefore
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListCodeRepositoriesRequest.h:173
Aws::SageMaker::Model::CodeRepositorySortOrder
CodeRepositorySortOrder
Definition: CodeRepositorySortOrder.h:17
Aws::SageMaker::Model::ListCodeRepositoriesRequest
Definition: ListCodeRepositoriesRequest.h:25
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListCodeRepositoriesRequest.h:99
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListCodeRepositoriesRequest.h:291
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithNextToken
ListCodeRepositoriesRequest & WithNextToken(Aws::String &&value)
Definition: ListCodeRepositoriesRequest.h:305
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithCreationTimeAfter
ListCodeRepositoriesRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListCodeRepositoriesRequest.h:74
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetSortBy
void SetSortBy(const CodeRepositorySortBy &value)
Definition: ListCodeRepositoriesRequest.h:328
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListCodeRepositoriesRequest.h:62
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetLastModifiedTimeBefore
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListCodeRepositoriesRequest.h:167
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListCodeRepositoriesRequest.h:213
Aws::SageMaker::Model::ListCodeRepositoriesRequest::LastModifiedTimeBeforeHasBeenSet
bool LastModifiedTimeBeforeHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:161
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetSortBy
void SetSortBy(CodeRepositorySortBy &&value)
Definition: ListCodeRepositoriesRequest.h:333
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListCodeRepositoriesRequest.h:81
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetSortOrder
void SetSortOrder(const CodeRepositorySortOrder &value)
Definition: ListCodeRepositoriesRequest.h:359
Aws::SageMaker::Model::ListCodeRepositoriesRequest::LastModifiedTimeAfterHasBeenSet
bool LastModifiedTimeAfterHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:124
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithLastModifiedTimeAfter
ListCodeRepositoriesRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListCodeRepositoriesRequest.h:142
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithSortBy
ListCodeRepositoriesRequest & WithSortBy(CodeRepositorySortBy &&value)
Definition: ListCodeRepositoriesRequest.h:343
AWSString.h
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithNameContains
ListCodeRepositoriesRequest & WithNameContains(const Aws::String &value)
Definition: ListCodeRepositoriesRequest.h:243
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:354
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListCodeRepositoriesRequest.h:225
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithSortOrder
ListCodeRepositoriesRequest & WithSortOrder(const CodeRepositorySortOrder &value)
Definition: ListCodeRepositoriesRequest.h:369
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithCreationTimeAfter
ListCodeRepositoriesRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListCodeRepositoriesRequest.h:68
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListCodeRepositoriesRequest.h:191
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:323
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithNextToken
ListCodeRepositoriesRequest & WithNextToken(const char *value)
Definition: ListCodeRepositoriesRequest.h:312
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithLastModifiedTimeAfter
ListCodeRepositoriesRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListCodeRepositoriesRequest.h:148
Aws::SageMaker::Model::ListCodeRepositoriesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:196
CodeRepositorySortBy.h
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithCreationTimeBefore
ListCodeRepositoriesRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListCodeRepositoriesRequest.h:105
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithLastModifiedTimeBefore
ListCodeRepositoriesRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListCodeRepositoriesRequest.h:179
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetLastModifiedTimeAfter
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
Definition: ListCodeRepositoriesRequest.h:118
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithNameContains
ListCodeRepositoriesRequest & WithNameContains(const char *value)
Definition: ListCodeRepositoriesRequest.h:255
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithSortBy
ListCodeRepositoriesRequest & WithSortBy(const CodeRepositorySortBy &value)
Definition: ListCodeRepositoriesRequest.h:338
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListCodeRepositoriesRequest.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetSortOrder
void SetSortOrder(CodeRepositorySortOrder &&value)
Definition: ListCodeRepositoriesRequest.h:364
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListCodeRepositoriesRequest.h:263
SageMakerRequest.h
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListCodeRepositoriesRequest.h:237
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetLastModifiedTimeBefore
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
Definition: ListCodeRepositoriesRequest.h:155
Aws::SageMaker::Model::ListCodeRepositoriesRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:219
Aws::SageMaker::Model::ListCodeRepositoriesRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListCodeRepositoriesRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListCodeRepositoriesRequest.h:284
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetSortBy
const CodeRepositorySortBy & GetSortBy() const
Definition: ListCodeRepositoriesRequest.h:318
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetLastModifiedTimeAfter
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListCodeRepositoriesRequest.h:136
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithMaxResults
ListCodeRepositoriesRequest & WithMaxResults(int value)
Definition: ListCodeRepositoriesRequest.h:206
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithNextToken
ListCodeRepositoriesRequest & WithNextToken(const Aws::String &value)
Definition: ListCodeRepositoriesRequest.h:298
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListCodeRepositoriesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListCodeRepositoriesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListCodeRepositoriesRequest.h:201
Aws::SageMaker::Model::ListCodeRepositoriesRequest::WithSortOrder
ListCodeRepositoriesRequest & WithSortOrder(CodeRepositorySortOrder &&value)
Definition: ListCodeRepositoriesRequest.h:374