AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NextTokenT = Aws::String>
47 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
48 template<typename NextTokenT = Aws::String>
49 ListUserProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
51
53
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
65 inline ListUserProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
67
69
72 inline SortOrder GetSortOrder() const { return m_sortOrder; }
73 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
74 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
75 inline ListUserProfilesRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
77
79
82 inline UserProfileSortKey GetSortBy() const { return m_sortBy; }
83 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
84 inline void SetSortBy(UserProfileSortKey value) { m_sortByHasBeenSet = true; m_sortBy = value; }
85 inline ListUserProfilesRequest& WithSortBy(UserProfileSortKey value) { SetSortBy(value); return *this;}
87
89
92 inline const Aws::String& GetDomainIdEquals() const { return m_domainIdEquals; }
93 inline bool DomainIdEqualsHasBeenSet() const { return m_domainIdEqualsHasBeenSet; }
94 template<typename DomainIdEqualsT = Aws::String>
95 void SetDomainIdEquals(DomainIdEqualsT&& value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals = std::forward<DomainIdEqualsT>(value); }
96 template<typename DomainIdEqualsT = Aws::String>
97 ListUserProfilesRequest& WithDomainIdEquals(DomainIdEqualsT&& value) { SetDomainIdEquals(std::forward<DomainIdEqualsT>(value)); return *this;}
99
101
104 inline const Aws::String& GetUserProfileNameContains() const { return m_userProfileNameContains; }
105 inline bool UserProfileNameContainsHasBeenSet() const { return m_userProfileNameContainsHasBeenSet; }
106 template<typename UserProfileNameContainsT = Aws::String>
107 void SetUserProfileNameContains(UserProfileNameContainsT&& value) { m_userProfileNameContainsHasBeenSet = true; m_userProfileNameContains = std::forward<UserProfileNameContainsT>(value); }
108 template<typename UserProfileNameContainsT = Aws::String>
109 ListUserProfilesRequest& WithUserProfileNameContains(UserProfileNameContainsT&& value) { SetUserProfileNameContains(std::forward<UserProfileNameContainsT>(value)); return *this;}
111 private:
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 int m_maxResults{0};
117 bool m_maxResultsHasBeenSet = false;
118
119 SortOrder m_sortOrder{SortOrder::NOT_SET};
120 bool m_sortOrderHasBeenSet = false;
121
123 bool m_sortByHasBeenSet = false;
124
125 Aws::String m_domainIdEquals;
126 bool m_domainIdEqualsHasBeenSet = false;
127
128 Aws::String m_userProfileNameContains;
129 bool m_userProfileNameContainsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SageMaker
134} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListUserProfilesRequest & WithUserProfileNameContains(UserProfileNameContainsT &&value)
AWS_SAGEMAKER_API ListUserProfilesRequest()=default
void SetUserProfileNameContains(UserProfileNameContainsT &&value)
ListUserProfilesRequest & WithSortBy(UserProfileSortKey value)
ListUserProfilesRequest & WithNextToken(NextTokenT &&value)
ListUserProfilesRequest & WithDomainIdEquals(DomainIdEqualsT &&value)
ListUserProfilesRequest & WithMaxResults(int value)
ListUserProfilesRequest & WithSortOrder(SortOrder value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String