AWS SDK for C++  1.9.157
AWS SDK for C++
ListUserProfilesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SageMaker
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "ListUserProfiles"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 
49  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
50 
55  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
56 
61  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 
67  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 
73  inline ListUserProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 
79  inline ListUserProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 
85  inline ListUserProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86 
87 
91  inline int GetMaxResults() const{ return m_maxResults; }
92 
96  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 
101  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
102 
106  inline ListUserProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
107 
108 
112  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
113 
117  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
118 
122  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
123 
127  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
128 
132  inline ListUserProfilesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
133 
137  inline ListUserProfilesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
138 
139 
143  inline const UserProfileSortKey& GetSortBy() const{ return m_sortBy; }
144 
148  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
149 
153  inline void SetSortBy(const UserProfileSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
154 
158  inline void SetSortBy(UserProfileSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
159 
163  inline ListUserProfilesRequest& WithSortBy(const UserProfileSortKey& value) { SetSortBy(value); return *this;}
164 
168  inline ListUserProfilesRequest& WithSortBy(UserProfileSortKey&& value) { SetSortBy(std::move(value)); return *this;}
169 
170 
174  inline const Aws::String& GetDomainIdEquals() const{ return m_domainIdEquals; }
175 
179  inline bool DomainIdEqualsHasBeenSet() const { return m_domainIdEqualsHasBeenSet; }
180 
184  inline void SetDomainIdEquals(const Aws::String& value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals = value; }
185 
189  inline void SetDomainIdEquals(Aws::String&& value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals = std::move(value); }
190 
194  inline void SetDomainIdEquals(const char* value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals.assign(value); }
195 
199  inline ListUserProfilesRequest& WithDomainIdEquals(const Aws::String& value) { SetDomainIdEquals(value); return *this;}
200 
204  inline ListUserProfilesRequest& WithDomainIdEquals(Aws::String&& value) { SetDomainIdEquals(std::move(value)); return *this;}
205 
209  inline ListUserProfilesRequest& WithDomainIdEquals(const char* value) { SetDomainIdEquals(value); return *this;}
210 
211 
215  inline const Aws::String& GetUserProfileNameContains() const{ return m_userProfileNameContains; }
216 
220  inline bool UserProfileNameContainsHasBeenSet() const { return m_userProfileNameContainsHasBeenSet; }
221 
225  inline void SetUserProfileNameContains(const Aws::String& value) { m_userProfileNameContainsHasBeenSet = true; m_userProfileNameContains = value; }
226 
230  inline void SetUserProfileNameContains(Aws::String&& value) { m_userProfileNameContainsHasBeenSet = true; m_userProfileNameContains = std::move(value); }
231 
235  inline void SetUserProfileNameContains(const char* value) { m_userProfileNameContainsHasBeenSet = true; m_userProfileNameContains.assign(value); }
236 
240  inline ListUserProfilesRequest& WithUserProfileNameContains(const Aws::String& value) { SetUserProfileNameContains(value); return *this;}
241 
245  inline ListUserProfilesRequest& WithUserProfileNameContains(Aws::String&& value) { SetUserProfileNameContains(std::move(value)); return *this;}
246 
250  inline ListUserProfilesRequest& WithUserProfileNameContains(const char* value) { SetUserProfileNameContains(value); return *this;}
251 
252  private:
253 
254  Aws::String m_nextToken;
255  bool m_nextTokenHasBeenSet;
256 
257  int m_maxResults;
258  bool m_maxResultsHasBeenSet;
259 
260  SortOrder m_sortOrder;
261  bool m_sortOrderHasBeenSet;
262 
263  UserProfileSortKey m_sortBy;
264  bool m_sortByHasBeenSet;
265 
266  Aws::String m_domainIdEquals;
267  bool m_domainIdEqualsHasBeenSet;
268 
269  Aws::String m_userProfileNameContains;
270  bool m_userProfileNameContainsHasBeenSet;
271  };
272 
273 } // namespace Model
274 } // namespace SageMaker
275 } // namespace Aws
UserProfileSortKey.h
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListUserProfilesRequest
Definition: ListUserProfilesRequest.h:24
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListUserProfilesRequest::WithMaxResults
ListUserProfilesRequest & WithMaxResults(int value)
Definition: ListUserProfilesRequest.h:106
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::ListUserProfilesRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListUserProfilesRequest.h:112
Aws::SageMaker::Model::ListUserProfilesRequest::SetSortBy
void SetSortBy(const UserProfileSortKey &value)
Definition: ListUserProfilesRequest.h:153
Aws::SageMaker::Model::ListUserProfilesRequest::SetUserProfileNameContains
void SetUserProfileNameContains(Aws::String &&value)
Definition: ListUserProfilesRequest.h:230
Aws::SageMaker::Model::ListUserProfilesRequest::WithUserProfileNameContains
ListUserProfilesRequest & WithUserProfileNameContains(const char *value)
Definition: ListUserProfilesRequest.h:250
Aws::SageMaker::Model::ListUserProfilesRequest::WithUserProfileNameContains
ListUserProfilesRequest & WithUserProfileNameContains(const Aws::String &value)
Definition: ListUserProfilesRequest.h:240
Aws::SageMaker::Model::ListUserProfilesRequest::DomainIdEqualsHasBeenSet
bool DomainIdEqualsHasBeenSet() const
Definition: ListUserProfilesRequest.h:179
Aws::SageMaker::Model::ListUserProfilesRequest::WithUserProfileNameContains
ListUserProfilesRequest & WithUserProfileNameContains(Aws::String &&value)
Definition: ListUserProfilesRequest.h:245
Aws::SageMaker::Model::ListUserProfilesRequest::UserProfileNameContainsHasBeenSet
bool UserProfileNameContainsHasBeenSet() const
Definition: ListUserProfilesRequest.h:220
Aws::SageMaker::Model::ListUserProfilesRequest::GetUserProfileNameContains
const Aws::String & GetUserProfileNameContains() const
Definition: ListUserProfilesRequest.h:215
Aws::SageMaker::Model::ListUserProfilesRequest::WithNextToken
ListUserProfilesRequest & WithNextToken(const Aws::String &value)
Definition: ListUserProfilesRequest.h:73
Aws::SageMaker::Model::UserProfileSortKey
UserProfileSortKey
Definition: UserProfileSortKey.h:17
Aws::SageMaker::Model::ListUserProfilesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListUserProfilesRequest.h:96
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListUserProfilesRequest::WithSortBy
ListUserProfilesRequest & WithSortBy(const UserProfileSortKey &value)
Definition: ListUserProfilesRequest.h:163
SortOrder.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListUserProfilesRequest::WithSortOrder
ListUserProfilesRequest & WithSortOrder(SortOrder &&value)
Definition: ListUserProfilesRequest.h:137
Aws::SageMaker::Model::ListUserProfilesRequest::SetDomainIdEquals
void SetDomainIdEquals(const char *value)
Definition: ListUserProfilesRequest.h:194
Aws::SageMaker::Model::ListUserProfilesRequest::WithSortBy
ListUserProfilesRequest & WithSortBy(UserProfileSortKey &&value)
Definition: ListUserProfilesRequest.h:168
Aws::SageMaker::Model::ListUserProfilesRequest::GetSortBy
const UserProfileSortKey & GetSortBy() const
Definition: ListUserProfilesRequest.h:143
AWSString.h
Aws::SageMaker::Model::ListUserProfilesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListUserProfilesRequest.h:55
Aws::SageMaker::Model::ListUserProfilesRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListUserProfilesRequest.h:148
Aws::SageMaker::Model::ListUserProfilesRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListUserProfilesRequest.h:117
Aws::SageMaker::Model::ListUserProfilesRequest::SetUserProfileNameContains
void SetUserProfileNameContains(const char *value)
Definition: ListUserProfilesRequest.h:235
Aws::SageMaker::Model::ListUserProfilesRequest::SetSortBy
void SetSortBy(UserProfileSortKey &&value)
Definition: ListUserProfilesRequest.h:158
Aws::SageMaker::Model::ListUserProfilesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListUserProfilesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListUserProfilesRequest.h:43
Aws::SageMaker::Model::ListUserProfilesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListUserProfilesRequest.h:67
Aws::SageMaker::Model::ListUserProfilesRequest::SetDomainIdEquals
void SetDomainIdEquals(const Aws::String &value)
Definition: ListUserProfilesRequest.h:184
Aws::SageMaker::Model::ListUserProfilesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListUserProfilesRequest.h:91
Aws::SageMaker::Model::ListUserProfilesRequest::WithDomainIdEquals
ListUserProfilesRequest & WithDomainIdEquals(const Aws::String &value)
Definition: ListUserProfilesRequest.h:199
Aws::SageMaker::Model::ListUserProfilesRequest::SetDomainIdEquals
void SetDomainIdEquals(Aws::String &&value)
Definition: ListUserProfilesRequest.h:189
Aws::SageMaker::Model::ListUserProfilesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListUserProfilesRequest.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListUserProfilesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListUserProfilesRequest.h:32
SageMakerRequest.h
Aws::SageMaker::Model::ListUserProfilesRequest::WithSortOrder
ListUserProfilesRequest & WithSortOrder(const SortOrder &value)
Definition: ListUserProfilesRequest.h:132
Aws::SageMaker::Model::ListUserProfilesRequest::ListUserProfilesRequest
ListUserProfilesRequest()
Aws::SageMaker::Model::ListUserProfilesRequest::GetDomainIdEquals
const Aws::String & GetDomainIdEquals() const
Definition: ListUserProfilesRequest.h:174
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListUserProfilesRequest::SetUserProfileNameContains
void SetUserProfileNameContains(const Aws::String &value)
Definition: ListUserProfilesRequest.h:225
Aws::SageMaker::Model::ListUserProfilesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListUserProfilesRequest.h:101
Aws::SageMaker::Model::ListUserProfilesRequest::WithDomainIdEquals
ListUserProfilesRequest & WithDomainIdEquals(Aws::String &&value)
Definition: ListUserProfilesRequest.h:204
Aws::SageMaker::Model::ListUserProfilesRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListUserProfilesRequest.h:122
Aws::SageMaker::Model::ListUserProfilesRequest::WithDomainIdEquals
ListUserProfilesRequest & WithDomainIdEquals(const char *value)
Definition: ListUserProfilesRequest.h:209
Aws::SageMaker::Model::ListUserProfilesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListUserProfilesRequest.h:61
Aws::SageMaker::Model::ListUserProfilesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListUserProfilesRequest::WithNextToken
ListUserProfilesRequest & WithNextToken(const char *value)
Definition: ListUserProfilesRequest.h:85
Aws::SageMaker::Model::ListUserProfilesRequest::WithNextToken
ListUserProfilesRequest & WithNextToken(Aws::String &&value)
Definition: ListUserProfilesRequest.h:79
Aws::SageMaker::Model::ListUserProfilesRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListUserProfilesRequest.h:127