AWS SDK for C++  1.8.95
AWS SDK for C++
ListAppsRequest.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 "ListApps"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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 ListAppsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 
79  inline ListAppsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 
85  inline ListAppsRequest& 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 ListAppsRequest& 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 ListAppsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
133 
137  inline ListAppsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
138 
139 
143  inline const AppSortKey& GetSortBy() const{ return m_sortBy; }
144 
148  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
149 
153  inline void SetSortBy(const AppSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
154 
158  inline void SetSortBy(AppSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
159 
163  inline ListAppsRequest& WithSortBy(const AppSortKey& value) { SetSortBy(value); return *this;}
164 
168  inline ListAppsRequest& WithSortBy(AppSortKey&& 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 ListAppsRequest& WithDomainIdEquals(const Aws::String& value) { SetDomainIdEquals(value); return *this;}
200 
204  inline ListAppsRequest& WithDomainIdEquals(Aws::String&& value) { SetDomainIdEquals(std::move(value)); return *this;}
205 
209  inline ListAppsRequest& WithDomainIdEquals(const char* value) { SetDomainIdEquals(value); return *this;}
210 
211 
215  inline const Aws::String& GetUserProfileNameEquals() const{ return m_userProfileNameEquals; }
216 
220  inline bool UserProfileNameEqualsHasBeenSet() const { return m_userProfileNameEqualsHasBeenSet; }
221 
225  inline void SetUserProfileNameEquals(const Aws::String& value) { m_userProfileNameEqualsHasBeenSet = true; m_userProfileNameEquals = value; }
226 
230  inline void SetUserProfileNameEquals(Aws::String&& value) { m_userProfileNameEqualsHasBeenSet = true; m_userProfileNameEquals = std::move(value); }
231 
235  inline void SetUserProfileNameEquals(const char* value) { m_userProfileNameEqualsHasBeenSet = true; m_userProfileNameEquals.assign(value); }
236 
240  inline ListAppsRequest& WithUserProfileNameEquals(const Aws::String& value) { SetUserProfileNameEquals(value); return *this;}
241 
245  inline ListAppsRequest& WithUserProfileNameEquals(Aws::String&& value) { SetUserProfileNameEquals(std::move(value)); return *this;}
246 
250  inline ListAppsRequest& WithUserProfileNameEquals(const char* value) { SetUserProfileNameEquals(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  AppSortKey m_sortBy;
264  bool m_sortByHasBeenSet;
265 
266  Aws::String m_domainIdEquals;
267  bool m_domainIdEqualsHasBeenSet;
268 
269  Aws::String m_userProfileNameEquals;
270  bool m_userProfileNameEqualsHasBeenSet;
271  };
272 
273 } // namespace Model
274 } // namespace SageMaker
275 } // namespace Aws
void SetNextToken(Aws::String &&value)
#define AWS_SAGEMAKER_API
void SetDomainIdEquals(const Aws::String &value)
ListAppsRequest & WithDomainIdEquals(const Aws::String &value)
ListAppsRequest & WithMaxResults(int value)
ListAppsRequest & WithUserProfileNameEquals(const char *value)
const Aws::String & GetNextToken() const
const Aws::String & GetDomainIdEquals() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
void SetNextToken(const Aws::String &value)
ListAppsRequest & WithUserProfileNameEquals(Aws::String &&value)
void SetDomainIdEquals(Aws::String &&value)
void SetSortBy(const AppSortKey &value)
void SetNextToken(const char *value)
void SetUserProfileNameEquals(const char *value)
const SortOrder & GetSortOrder() const
void SetUserProfileNameEquals(Aws::String &&value)
ListAppsRequest & WithSortOrder(SortOrder &&value)
ListAppsRequest & WithNextToken(Aws::String &&value)
ListAppsRequest & WithNextToken(const char *value)
const AppSortKey & GetSortBy() const
ListAppsRequest & WithNextToken(const Aws::String &value)
void SetUserProfileNameEquals(const Aws::String &value)
ListAppsRequest & WithSortBy(const AppSortKey &value)
void SetDomainIdEquals(const char *value)
ListAppsRequest & WithSortOrder(const SortOrder &value)
void SetSortOrder(const SortOrder &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListAppsRequest & WithDomainIdEquals(const char *value)
const Aws::String & GetUserProfileNameEquals() const
ListAppsRequest & WithDomainIdEquals(Aws::String &&value)
ListAppsRequest & WithSortBy(AppSortKey &&value)
ListAppsRequest & WithUserProfileNameEquals(const Aws::String &value)
virtual const char * GetServiceRequestName() const override