AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFeatureGroupsRequest.h
1
6#pragma once
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/sagemaker/model/FeatureGroupStatus.h>
11#include <aws/sagemaker/model/OfflineStoreStatusValue.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/FeatureGroupSortOrder.h>
14#include <aws/sagemaker/model/FeatureGroupSortBy.h>
15#include <utility>
16
17namespace Aws
18{
19namespace SageMaker
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SAGEMAKER_API ListFeatureGroupsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListFeatureGroups"; }
36
37 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
48 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
49 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
50 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
51 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
52 inline ListFeatureGroupsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
53 inline ListFeatureGroupsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
54 inline ListFeatureGroupsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
56
58
62 inline const FeatureGroupStatus& GetFeatureGroupStatusEquals() const{ return m_featureGroupStatusEquals; }
63 inline bool FeatureGroupStatusEqualsHasBeenSet() const { return m_featureGroupStatusEqualsHasBeenSet; }
64 inline void SetFeatureGroupStatusEquals(const FeatureGroupStatus& value) { m_featureGroupStatusEqualsHasBeenSet = true; m_featureGroupStatusEquals = value; }
65 inline void SetFeatureGroupStatusEquals(FeatureGroupStatus&& value) { m_featureGroupStatusEqualsHasBeenSet = true; m_featureGroupStatusEquals = std::move(value); }
69
71
75 inline const OfflineStoreStatusValue& GetOfflineStoreStatusEquals() const{ return m_offlineStoreStatusEquals; }
76 inline bool OfflineStoreStatusEqualsHasBeenSet() const { return m_offlineStoreStatusEqualsHasBeenSet; }
77 inline void SetOfflineStoreStatusEquals(const OfflineStoreStatusValue& value) { m_offlineStoreStatusEqualsHasBeenSet = true; m_offlineStoreStatusEquals = value; }
78 inline void SetOfflineStoreStatusEquals(OfflineStoreStatusValue&& value) { m_offlineStoreStatusEqualsHasBeenSet = true; m_offlineStoreStatusEquals = std::move(value); }
82
84
88 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
89 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
90 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
91 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
95
97
101 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
102 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
103 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
104 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
108
110
113 inline const FeatureGroupSortOrder& GetSortOrder() const{ return m_sortOrder; }
114 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
115 inline void SetSortOrder(const FeatureGroupSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
116 inline void SetSortOrder(FeatureGroupSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
117 inline ListFeatureGroupsRequest& WithSortOrder(const FeatureGroupSortOrder& value) { SetSortOrder(value); return *this;}
118 inline ListFeatureGroupsRequest& WithSortOrder(FeatureGroupSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
120
122
125 inline const FeatureGroupSortBy& GetSortBy() const{ return m_sortBy; }
126 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
127 inline void SetSortBy(const FeatureGroupSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
128 inline void SetSortBy(FeatureGroupSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
129 inline ListFeatureGroupsRequest& WithSortBy(const FeatureGroupSortBy& value) { SetSortBy(value); return *this;}
130 inline ListFeatureGroupsRequest& WithSortBy(FeatureGroupSortBy&& value) { SetSortBy(std::move(value)); return *this;}
132
134
137 inline int GetMaxResults() const{ return m_maxResults; }
138 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
139 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
140 inline ListFeatureGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
142
144
147 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
148 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
149 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
150 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
151 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
152 inline ListFeatureGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
153 inline ListFeatureGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
154 inline ListFeatureGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
156 private:
157
158 Aws::String m_nameContains;
159 bool m_nameContainsHasBeenSet = false;
160
161 FeatureGroupStatus m_featureGroupStatusEquals;
162 bool m_featureGroupStatusEqualsHasBeenSet = false;
163
164 OfflineStoreStatusValue m_offlineStoreStatusEquals;
165 bool m_offlineStoreStatusEqualsHasBeenSet = false;
166
167 Aws::Utils::DateTime m_creationTimeAfter;
168 bool m_creationTimeAfterHasBeenSet = false;
169
170 Aws::Utils::DateTime m_creationTimeBefore;
171 bool m_creationTimeBeforeHasBeenSet = false;
172
173 FeatureGroupSortOrder m_sortOrder;
174 bool m_sortOrderHasBeenSet = false;
175
176 FeatureGroupSortBy m_sortBy;
177 bool m_sortByHasBeenSet = false;
178
179 int m_maxResults;
180 bool m_maxResultsHasBeenSet = false;
181
182 Aws::String m_nextToken;
183 bool m_nextTokenHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace SageMaker
188} // namespace Aws
ListFeatureGroupsRequest & WithSortOrder(const FeatureGroupSortOrder &value)
ListFeatureGroupsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
const OfflineStoreStatusValue & GetOfflineStoreStatusEquals() const
ListFeatureGroupsRequest & WithNextToken(const Aws::String &value)
void SetOfflineStoreStatusEquals(const OfflineStoreStatusValue &value)
ListFeatureGroupsRequest & WithOfflineStoreStatusEquals(OfflineStoreStatusValue &&value)
ListFeatureGroupsRequest & WithSortBy(const FeatureGroupSortBy &value)
ListFeatureGroupsRequest & WithSortBy(FeatureGroupSortBy &&value)
ListFeatureGroupsRequest & WithSortOrder(FeatureGroupSortOrder &&value)
ListFeatureGroupsRequest & WithNextToken(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetFeatureGroupStatusEquals(FeatureGroupStatus &&value)
ListFeatureGroupsRequest & WithFeatureGroupStatusEquals(const FeatureGroupStatus &value)
const FeatureGroupStatus & GetFeatureGroupStatusEquals() const
void SetFeatureGroupStatusEquals(const FeatureGroupStatus &value)
ListFeatureGroupsRequest & WithFeatureGroupStatusEquals(FeatureGroupStatus &&value)
ListFeatureGroupsRequest & WithNameContains(const char *value)
ListFeatureGroupsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListFeatureGroupsRequest & WithMaxResults(int value)
ListFeatureGroupsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetSortOrder(const FeatureGroupSortOrder &value)
const FeatureGroupSortOrder & GetSortOrder() const
ListFeatureGroupsRequest & WithNameContains(const Aws::String &value)
ListFeatureGroupsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListFeatureGroupsRequest & WithNextToken(const char *value)
ListFeatureGroupsRequest & WithOfflineStoreStatusEquals(const OfflineStoreStatusValue &value)
ListFeatureGroupsRequest & WithNameContains(Aws::String &&value)
void SetOfflineStoreStatusEquals(OfflineStoreStatusValue &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String