AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListUserProfilesRequest.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/SortOrder.h>
11#include <aws/sagemaker/model/UserProfileSortKey.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKER_API ListUserProfilesRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
45 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
47 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
48 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
49 inline ListUserProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline ListUserProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline ListUserProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
53
55
64 inline int GetMaxResults() const{ return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListUserProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
74 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
75 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
76 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
77 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
78 inline ListUserProfilesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
79 inline ListUserProfilesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
81
83
86 inline const UserProfileSortKey& GetSortBy() const{ return m_sortBy; }
87 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
88 inline void SetSortBy(const UserProfileSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
89 inline void SetSortBy(UserProfileSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
90 inline ListUserProfilesRequest& WithSortBy(const UserProfileSortKey& value) { SetSortBy(value); return *this;}
91 inline ListUserProfilesRequest& WithSortBy(UserProfileSortKey&& value) { SetSortBy(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetDomainIdEquals() const{ return m_domainIdEquals; }
99 inline bool DomainIdEqualsHasBeenSet() const { return m_domainIdEqualsHasBeenSet; }
100 inline void SetDomainIdEquals(const Aws::String& value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals = value; }
101 inline void SetDomainIdEquals(Aws::String&& value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals = std::move(value); }
102 inline void SetDomainIdEquals(const char* value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals.assign(value); }
103 inline ListUserProfilesRequest& WithDomainIdEquals(const Aws::String& value) { SetDomainIdEquals(value); return *this;}
104 inline ListUserProfilesRequest& WithDomainIdEquals(Aws::String&& value) { SetDomainIdEquals(std::move(value)); return *this;}
105 inline ListUserProfilesRequest& WithDomainIdEquals(const char* value) { SetDomainIdEquals(value); return *this;}
107
109
112 inline const Aws::String& GetUserProfileNameContains() const{ return m_userProfileNameContains; }
113 inline bool UserProfileNameContainsHasBeenSet() const { return m_userProfileNameContainsHasBeenSet; }
114 inline void SetUserProfileNameContains(const Aws::String& value) { m_userProfileNameContainsHasBeenSet = true; m_userProfileNameContains = value; }
115 inline void SetUserProfileNameContains(Aws::String&& value) { m_userProfileNameContainsHasBeenSet = true; m_userProfileNameContains = std::move(value); }
116 inline void SetUserProfileNameContains(const char* value) { m_userProfileNameContainsHasBeenSet = true; m_userProfileNameContains.assign(value); }
119 inline ListUserProfilesRequest& WithUserProfileNameContains(const char* value) { SetUserProfileNameContains(value); return *this;}
121 private:
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
126 int m_maxResults;
127 bool m_maxResultsHasBeenSet = false;
128
129 SortOrder m_sortOrder;
130 bool m_sortOrderHasBeenSet = false;
131
132 UserProfileSortKey m_sortBy;
133 bool m_sortByHasBeenSet = false;
134
135 Aws::String m_domainIdEquals;
136 bool m_domainIdEqualsHasBeenSet = false;
137
138 Aws::String m_userProfileNameContains;
139 bool m_userProfileNameContainsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace SageMaker
144} // namespace Aws
ListUserProfilesRequest & WithDomainIdEquals(const Aws::String &value)
ListUserProfilesRequest & WithDomainIdEquals(Aws::String &&value)
ListUserProfilesRequest & WithNextToken(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListUserProfilesRequest & WithNextToken(const Aws::String &value)
ListUserProfilesRequest & WithDomainIdEquals(const char *value)
ListUserProfilesRequest & WithSortOrder(const SortOrder &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListUserProfilesRequest & WithSortOrder(SortOrder &&value)
ListUserProfilesRequest & WithNextToken(Aws::String &&value)
ListUserProfilesRequest & WithSortBy(UserProfileSortKey &&value)
ListUserProfilesRequest & WithUserProfileNameContains(Aws::String &&value)
ListUserProfilesRequest & WithSortBy(const UserProfileSortKey &value)
ListUserProfilesRequest & WithUserProfileNameContains(const char *value)
ListUserProfilesRequest & WithUserProfileNameContains(const Aws::String &value)
void SetSortBy(const UserProfileSortKey &value)
ListUserProfilesRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String