AWS SDK for C++  1.9.157
AWS SDK for C++
ListModelPackageGroupsRequest.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 "ListModelPackageGroups"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
44 
48  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
49 
53  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
54 
58  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
59 
63  inline ListModelPackageGroupsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
64 
68  inline ListModelPackageGroupsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
69 
70 
75  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
76 
81  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
82 
87  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
88 
93  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
94 
99  inline ListModelPackageGroupsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
100 
105  inline ListModelPackageGroupsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
106 
107 
111  inline int GetMaxResults() const{ return m_maxResults; }
112 
116  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
117 
121  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
122 
126  inline ListModelPackageGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
127 
128 
133  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
134 
139  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
140 
145  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
146 
151  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
152 
157  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
158 
163  inline ListModelPackageGroupsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
164 
169  inline ListModelPackageGroupsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
170 
175  inline ListModelPackageGroupsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
176 
177 
183  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
184 
190  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
191 
197  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
198 
204  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
205 
211  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
212 
218  inline ListModelPackageGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
219 
225  inline ListModelPackageGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
226 
232  inline ListModelPackageGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
233 
234 
238  inline const ModelPackageGroupSortBy& GetSortBy() const{ return m_sortBy; }
239 
243  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
244 
248  inline void SetSortBy(const ModelPackageGroupSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
249 
253  inline void SetSortBy(ModelPackageGroupSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
254 
258  inline ListModelPackageGroupsRequest& WithSortBy(const ModelPackageGroupSortBy& value) { SetSortBy(value); return *this;}
259 
263  inline ListModelPackageGroupsRequest& WithSortBy(ModelPackageGroupSortBy&& value) { SetSortBy(std::move(value)); return *this;}
264 
265 
269  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
270 
274  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
275 
279  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
280 
284  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
285 
289  inline ListModelPackageGroupsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
290 
294  inline ListModelPackageGroupsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
295 
296  private:
297 
298  Aws::Utils::DateTime m_creationTimeAfter;
299  bool m_creationTimeAfterHasBeenSet;
300 
301  Aws::Utils::DateTime m_creationTimeBefore;
302  bool m_creationTimeBeforeHasBeenSet;
303 
304  int m_maxResults;
305  bool m_maxResultsHasBeenSet;
306 
307  Aws::String m_nameContains;
308  bool m_nameContainsHasBeenSet;
309 
310  Aws::String m_nextToken;
311  bool m_nextTokenHasBeenSet;
312 
313  ModelPackageGroupSortBy m_sortBy;
314  bool m_sortByHasBeenSet;
315 
316  SortOrder m_sortOrder;
317  bool m_sortOrderHasBeenSet;
318  };
319 
320 } // namespace Model
321 } // namespace SageMaker
322 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithCreationTimeBefore
ListModelPackageGroupsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListModelPackageGroupsRequest.h:105
Aws::SageMaker::Model::ListModelPackageGroupsRequest::ListModelPackageGroupsRequest
ListModelPackageGroupsRequest()
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListModelPackageGroupsRequest.h:151
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListModelPackageGroupsRequest.h:211
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithSortOrder
ListModelPackageGroupsRequest & WithSortOrder(const SortOrder &value)
Definition: ListModelPackageGroupsRequest.h:289
Aws::SageMaker::Model::SortOrder
SortOrder
Definition: SortOrder.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListModelPackageGroupsRequest.h:53
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListModelPackageGroupsRequest.h:111
DateTime.h
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListModelPackageGroupsRequest.h:284
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListModelPackageGroupsRequest.h:87
Aws::SageMaker::Model::ListModelPackageGroupsRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListModelPackageGroupsRequest.h:81
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListModelPackageGroupsRequest.h:204
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithNextToken
ListModelPackageGroupsRequest & WithNextToken(const Aws::String &value)
Definition: ListModelPackageGroupsRequest.h:218
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListModelPackageGroupsRequest.h:274
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListModelPackageGroupsRequest.h:121
Aws::SageMaker::Model::ModelPackageGroupSortBy
ModelPackageGroupSortBy
Definition: ModelPackageGroupSortBy.h:17
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithNameContains
ListModelPackageGroupsRequest & WithNameContains(const Aws::String &value)
Definition: ListModelPackageGroupsRequest.h:163
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetSortBy
void SetSortBy(ModelPackageGroupSortBy &&value)
Definition: ListModelPackageGroupsRequest.h:253
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListModelPackageGroupsRequest.h:243
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithSortOrder
ListModelPackageGroupsRequest & WithSortOrder(SortOrder &&value)
Definition: ListModelPackageGroupsRequest.h:294
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListModelPackageGroupsRequest.h:183
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithCreationTimeAfter
ListModelPackageGroupsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListModelPackageGroupsRequest.h:68
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListModelPackageGroupsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListModelPackageGroupsRequest.h:190
SortOrder.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithNextToken
ListModelPackageGroupsRequest & WithNextToken(Aws::String &&value)
Definition: ListModelPackageGroupsRequest.h:225
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListModelPackageGroupsRequest.h:269
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListModelPackageGroupsRequest.h:157
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithNextToken
ListModelPackageGroupsRequest & WithNextToken(const char *value)
Definition: ListModelPackageGroupsRequest.h:232
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithCreationTimeBefore
ListModelPackageGroupsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListModelPackageGroupsRequest.h:99
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListModelPackageGroupsRequest.h:33
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithSortBy
ListModelPackageGroupsRequest & WithSortBy(ModelPackageGroupSortBy &&value)
Definition: ListModelPackageGroupsRequest.h:263
ModelPackageGroupSortBy.h
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetSortBy
void SetSortBy(const ModelPackageGroupSortBy &value)
Definition: ListModelPackageGroupsRequest.h:248
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListModelPackageGroupsRequest.h:58
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListModelPackageGroupsRequest.h:93
AWSString.h
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListModelPackageGroupsRequest.h:133
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetSortBy
const ModelPackageGroupSortBy & GetSortBy() const
Definition: ListModelPackageGroupsRequest.h:238
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithNameContains
ListModelPackageGroupsRequest & WithNameContains(Aws::String &&value)
Definition: ListModelPackageGroupsRequest.h:169
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListModelPackageGroupsRequest.h:75
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListModelPackageGroupsRequest.h:197
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithMaxResults
ListModelPackageGroupsRequest & WithMaxResults(int value)
Definition: ListModelPackageGroupsRequest.h:126
Aws::SageMaker::Model::ListModelPackageGroupsRequest
Definition: ListModelPackageGroupsRequest.h:25
Aws::SageMaker::Model::ListModelPackageGroupsRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListModelPackageGroupsRequest.h:139
Aws::SageMaker::Model::ListModelPackageGroupsRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListModelPackageGroupsRequest.h:48
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithCreationTimeAfter
ListModelPackageGroupsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListModelPackageGroupsRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListModelPackageGroupsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListModelPackageGroupsRequest.h:116
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListModelPackageGroupsRequest.h:145
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithNameContains
ListModelPackageGroupsRequest & WithNameContains(const char *value)
Definition: ListModelPackageGroupsRequest.h:175
Aws::SageMaker::Model::ListModelPackageGroupsRequest::WithSortBy
ListModelPackageGroupsRequest & WithSortBy(const ModelPackageGroupSortBy &value)
Definition: ListModelPackageGroupsRequest.h:258
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListModelPackageGroupsRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListModelPackageGroupsRequest.h:279
Aws::SageMaker::Model::ListModelPackageGroupsRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListModelPackageGroupsRequest.h:43