AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = 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 "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 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 ListAppsRequest& 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 ListAppsRequest& 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 ListAppsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
77
79
82 inline AppSortKey GetSortBy() const { return m_sortBy; }
83 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
84 inline void SetSortBy(AppSortKey value) { m_sortByHasBeenSet = true; m_sortBy = value; }
85 inline ListAppsRequest& WithSortBy(AppSortKey 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 ListAppsRequest& WithDomainIdEquals(DomainIdEqualsT&& value) { SetDomainIdEquals(std::forward<DomainIdEqualsT>(value)); return *this;}
99
101
105 inline const Aws::String& GetUserProfileNameEquals() const { return m_userProfileNameEquals; }
106 inline bool UserProfileNameEqualsHasBeenSet() const { return m_userProfileNameEqualsHasBeenSet; }
107 template<typename UserProfileNameEqualsT = Aws::String>
108 void SetUserProfileNameEquals(UserProfileNameEqualsT&& value) { m_userProfileNameEqualsHasBeenSet = true; m_userProfileNameEquals = std::forward<UserProfileNameEqualsT>(value); }
109 template<typename UserProfileNameEqualsT = Aws::String>
110 ListAppsRequest& WithUserProfileNameEquals(UserProfileNameEqualsT&& value) { SetUserProfileNameEquals(std::forward<UserProfileNameEqualsT>(value)); return *this;}
112
114
118 inline const Aws::String& GetSpaceNameEquals() const { return m_spaceNameEquals; }
119 inline bool SpaceNameEqualsHasBeenSet() const { return m_spaceNameEqualsHasBeenSet; }
120 template<typename SpaceNameEqualsT = Aws::String>
121 void SetSpaceNameEquals(SpaceNameEqualsT&& value) { m_spaceNameEqualsHasBeenSet = true; m_spaceNameEquals = std::forward<SpaceNameEqualsT>(value); }
122 template<typename SpaceNameEqualsT = Aws::String>
123 ListAppsRequest& WithSpaceNameEquals(SpaceNameEqualsT&& value) { SetSpaceNameEquals(std::forward<SpaceNameEqualsT>(value)); return *this;}
125 private:
126
127 Aws::String m_nextToken;
128 bool m_nextTokenHasBeenSet = false;
129
130 int m_maxResults{0};
131 bool m_maxResultsHasBeenSet = false;
132
133 SortOrder m_sortOrder{SortOrder::NOT_SET};
134 bool m_sortOrderHasBeenSet = false;
135
137 bool m_sortByHasBeenSet = false;
138
139 Aws::String m_domainIdEquals;
140 bool m_domainIdEqualsHasBeenSet = false;
141
142 Aws::String m_userProfileNameEquals;
143 bool m_userProfileNameEqualsHasBeenSet = false;
144
145 Aws::String m_spaceNameEquals;
146 bool m_spaceNameEqualsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace SageMaker
151} // namespace Aws
const Aws::String & GetUserProfileNameEquals() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListAppsRequest & WithSortBy(AppSortKey value)
ListAppsRequest & WithSpaceNameEquals(SpaceNameEqualsT &&value)
void SetNextToken(NextTokenT &&value)
ListAppsRequest & WithNextToken(NextTokenT &&value)
void SetDomainIdEquals(DomainIdEqualsT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSpaceNameEquals(SpaceNameEqualsT &&value)
const Aws::String & GetSpaceNameEquals() const
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API ListAppsRequest()=default
ListAppsRequest & WithDomainIdEquals(DomainIdEqualsT &&value)
ListAppsRequest & WithSortOrder(SortOrder value)
ListAppsRequest & WithMaxResults(int value)
ListAppsRequest & WithUserProfileNameEquals(UserProfileNameEqualsT &&value)
void SetUserProfileNameEquals(UserProfileNameEqualsT &&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