AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAppsRequest.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/AppSortKey.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKER_API ListAppsRequest();
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_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 ListAppsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline ListAppsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline ListAppsRequest& 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 ListAppsRequest& 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 ListAppsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
79 inline ListAppsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
81
83
86 inline const AppSortKey& GetSortBy() const{ return m_sortBy; }
87 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
88 inline void SetSortBy(const AppSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
89 inline void SetSortBy(AppSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
90 inline ListAppsRequest& WithSortBy(const AppSortKey& value) { SetSortBy(value); return *this;}
91 inline ListAppsRequest& WithSortBy(AppSortKey&& 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 ListAppsRequest& WithDomainIdEquals(const Aws::String& value) { SetDomainIdEquals(value); return *this;}
104 inline ListAppsRequest& WithDomainIdEquals(Aws::String&& value) { SetDomainIdEquals(std::move(value)); return *this;}
105 inline ListAppsRequest& WithDomainIdEquals(const char* value) { SetDomainIdEquals(value); return *this;}
107
109
113 inline const Aws::String& GetUserProfileNameEquals() const{ return m_userProfileNameEquals; }
114 inline bool UserProfileNameEqualsHasBeenSet() const { return m_userProfileNameEqualsHasBeenSet; }
115 inline void SetUserProfileNameEquals(const Aws::String& value) { m_userProfileNameEqualsHasBeenSet = true; m_userProfileNameEquals = value; }
116 inline void SetUserProfileNameEquals(Aws::String&& value) { m_userProfileNameEqualsHasBeenSet = true; m_userProfileNameEquals = std::move(value); }
117 inline void SetUserProfileNameEquals(const char* value) { m_userProfileNameEqualsHasBeenSet = true; m_userProfileNameEquals.assign(value); }
119 inline ListAppsRequest& WithUserProfileNameEquals(Aws::String&& value) { SetUserProfileNameEquals(std::move(value)); return *this;}
120 inline ListAppsRequest& WithUserProfileNameEquals(const char* value) { SetUserProfileNameEquals(value); return *this;}
122
124
128 inline const Aws::String& GetSpaceNameEquals() const{ return m_spaceNameEquals; }
129 inline bool SpaceNameEqualsHasBeenSet() const { return m_spaceNameEqualsHasBeenSet; }
130 inline void SetSpaceNameEquals(const Aws::String& value) { m_spaceNameEqualsHasBeenSet = true; m_spaceNameEquals = value; }
131 inline void SetSpaceNameEquals(Aws::String&& value) { m_spaceNameEqualsHasBeenSet = true; m_spaceNameEquals = std::move(value); }
132 inline void SetSpaceNameEquals(const char* value) { m_spaceNameEqualsHasBeenSet = true; m_spaceNameEquals.assign(value); }
133 inline ListAppsRequest& WithSpaceNameEquals(const Aws::String& value) { SetSpaceNameEquals(value); return *this;}
134 inline ListAppsRequest& WithSpaceNameEquals(Aws::String&& value) { SetSpaceNameEquals(std::move(value)); return *this;}
135 inline ListAppsRequest& WithSpaceNameEquals(const char* value) { SetSpaceNameEquals(value); return *this;}
137 private:
138
139 Aws::String m_nextToken;
140 bool m_nextTokenHasBeenSet = false;
141
142 int m_maxResults;
143 bool m_maxResultsHasBeenSet = false;
144
145 SortOrder m_sortOrder;
146 bool m_sortOrderHasBeenSet = false;
147
148 AppSortKey m_sortBy;
149 bool m_sortByHasBeenSet = false;
150
151 Aws::String m_domainIdEquals;
152 bool m_domainIdEqualsHasBeenSet = false;
153
154 Aws::String m_userProfileNameEquals;
155 bool m_userProfileNameEqualsHasBeenSet = false;
156
157 Aws::String m_spaceNameEquals;
158 bool m_spaceNameEqualsHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace SageMaker
163} // namespace Aws
ListAppsRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetUserProfileNameEquals() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListAppsRequest & WithUserProfileNameEquals(const Aws::String &value)
ListAppsRequest & WithSortBy(AppSortKey &&value)
ListAppsRequest & WithUserProfileNameEquals(const char *value)
void SetUserProfileNameEquals(Aws::String &&value)
void SetSpaceNameEquals(const char *value)
void SetUserProfileNameEquals(const Aws::String &value)
void SetUserProfileNameEquals(const char *value)
ListAppsRequest & WithSortOrder(SortOrder &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNextToken(const Aws::String &value)
ListAppsRequest & WithNextToken(const char *value)
void SetNextToken(Aws::String &&value)
ListAppsRequest & WithSpaceNameEquals(const Aws::String &value)
const Aws::String & GetSpaceNameEquals() const
ListAppsRequest & WithDomainIdEquals(const char *value)
ListAppsRequest & WithDomainIdEquals(const Aws::String &value)
const Aws::String & GetNextToken() const
ListAppsRequest & WithNextToken(const Aws::String &value)
ListAppsRequest & WithSortOrder(const SortOrder &value)
void SetSpaceNameEquals(Aws::String &&value)
void SetSortBy(const AppSortKey &value)
const SortOrder & GetSortOrder() const
virtual const char * GetServiceRequestName() const override
void SetSortOrder(const SortOrder &value)
void SetSpaceNameEquals(const Aws::String &value)
ListAppsRequest & WithSpaceNameEquals(const char *value)
ListAppsRequest & WithUserProfileNameEquals(Aws::String &&value)
const AppSortKey & GetSortBy() const
ListAppsRequest & WithSortBy(const AppSortKey &value)
ListAppsRequest & WithMaxResults(int value)
void SetDomainIdEquals(Aws::String &&value)
void SetDomainIdEquals(const Aws::String &value)
ListAppsRequest & WithDomainIdEquals(Aws::String &&value)
void SetDomainIdEquals(const char *value)
ListAppsRequest & WithSpaceNameEquals(Aws::String &&value)
const Aws::String & GetDomainIdEquals() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String