AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSpacesRequest.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/SpaceSortKey.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKER_API ListSpacesRequest();
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 "ListSpaces"; }
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 ListSpacesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline ListSpacesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline ListSpacesRequest& 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 ListSpacesRequest& 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 ListSpacesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
79 inline ListSpacesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
81
83
87 inline const SpaceSortKey& GetSortBy() const{ return m_sortBy; }
88 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
89 inline void SetSortBy(const SpaceSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
90 inline void SetSortBy(SpaceSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
91 inline ListSpacesRequest& WithSortBy(const SpaceSortKey& value) { SetSortBy(value); return *this;}
92 inline ListSpacesRequest& WithSortBy(SpaceSortKey&& value) { SetSortBy(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetDomainIdEquals() const{ return m_domainIdEquals; }
100 inline bool DomainIdEqualsHasBeenSet() const { return m_domainIdEqualsHasBeenSet; }
101 inline void SetDomainIdEquals(const Aws::String& value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals = value; }
102 inline void SetDomainIdEquals(Aws::String&& value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals = std::move(value); }
103 inline void SetDomainIdEquals(const char* value) { m_domainIdEqualsHasBeenSet = true; m_domainIdEquals.assign(value); }
104 inline ListSpacesRequest& WithDomainIdEquals(const Aws::String& value) { SetDomainIdEquals(value); return *this;}
105 inline ListSpacesRequest& WithDomainIdEquals(Aws::String&& value) { SetDomainIdEquals(std::move(value)); return *this;}
106 inline ListSpacesRequest& WithDomainIdEquals(const char* value) { SetDomainIdEquals(value); return *this;}
108
110
113 inline const Aws::String& GetSpaceNameContains() const{ return m_spaceNameContains; }
114 inline bool SpaceNameContainsHasBeenSet() const { return m_spaceNameContainsHasBeenSet; }
115 inline void SetSpaceNameContains(const Aws::String& value) { m_spaceNameContainsHasBeenSet = true; m_spaceNameContains = value; }
116 inline void SetSpaceNameContains(Aws::String&& value) { m_spaceNameContainsHasBeenSet = true; m_spaceNameContains = std::move(value); }
117 inline void SetSpaceNameContains(const char* value) { m_spaceNameContainsHasBeenSet = true; m_spaceNameContains.assign(value); }
118 inline ListSpacesRequest& WithSpaceNameContains(const Aws::String& value) { SetSpaceNameContains(value); return *this;}
119 inline ListSpacesRequest& WithSpaceNameContains(Aws::String&& value) { SetSpaceNameContains(std::move(value)); return *this;}
120 inline ListSpacesRequest& WithSpaceNameContains(const char* value) { SetSpaceNameContains(value); return *this;}
122 private:
123
124 Aws::String m_nextToken;
125 bool m_nextTokenHasBeenSet = false;
126
127 int m_maxResults;
128 bool m_maxResultsHasBeenSet = false;
129
130 SortOrder m_sortOrder;
131 bool m_sortOrderHasBeenSet = false;
132
133 SpaceSortKey m_sortBy;
134 bool m_sortByHasBeenSet = false;
135
136 Aws::String m_domainIdEquals;
137 bool m_domainIdEqualsHasBeenSet = false;
138
139 Aws::String m_spaceNameContains;
140 bool m_spaceNameContainsHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace SageMaker
145} // namespace Aws
void SetSpaceNameContains(Aws::String &&value)
const SpaceSortKey & GetSortBy() const
ListSpacesRequest & WithNextToken(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListSpacesRequest & WithDomainIdEquals(Aws::String &&value)
ListSpacesRequest & WithDomainIdEquals(const char *value)
ListSpacesRequest & WithSortBy(SpaceSortKey &&value)
ListSpacesRequest & WithSpaceNameContains(const char *value)
void SetDomainIdEquals(const Aws::String &value)
void SetSpaceNameContains(const Aws::String &value)
ListSpacesRequest & WithNextToken(Aws::String &&value)
void SetSortBy(const SpaceSortKey &value)
void SetSortOrder(const SortOrder &value)
ListSpacesRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListSpacesRequest & WithMaxResults(int value)
ListSpacesRequest & WithSpaceNameContains(const Aws::String &value)
ListSpacesRequest & WithSortBy(const SpaceSortKey &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetSpaceNameContains() const
ListSpacesRequest & WithSpaceNameContains(Aws::String &&value)
ListSpacesRequest & WithSortOrder(const SortOrder &value)
virtual const char * GetServiceRequestName() const override
ListSpacesRequest & WithSortOrder(SortOrder &&value)
const Aws::String & GetDomainIdEquals() const
const Aws::String & GetNextToken() const
ListSpacesRequest & WithDomainIdEquals(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String