AWS SDK for C++

AWS SDK for C++ Version 1.11.905

Loading...
Searching...
No Matches
ListNotebooksRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/NotebookStatus.h>
11#include <aws/datazone/model/NotebookType.h>
12#include <aws/datazone/model/SortKey.h>
13#include <aws/datazone/model/SortOrder.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Http {
19class URI;
20} // namespace Http
21namespace DataZone {
22namespace Model {
23
27 public:
28 AWS_DATAZONE_API ListNotebooksRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListNotebooks"; }
35
36 AWS_DATAZONE_API Aws::String SerializePayload() const override;
37
38 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
45 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
46 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
47 template <typename DomainIdentifierT = Aws::String>
48 void SetDomainIdentifier(DomainIdentifierT&& value) {
49 m_domainIdentifierHasBeenSet = true;
50 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
51 }
52 template <typename DomainIdentifierT = Aws::String>
53 ListNotebooksRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
54 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
64 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
65 template <typename OwningProjectIdentifierT = Aws::String>
66 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
67 m_owningProjectIdentifierHasBeenSet = true;
68 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
69 }
70 template <typename OwningProjectIdentifierT = Aws::String>
71 ListNotebooksRequest& WithOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
72 SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value));
73 return *this;
74 }
76
78
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) {
86 m_maxResultsHasBeenSet = true;
87 m_maxResults = value;
88 }
90 SetMaxResults(value);
91 return *this;
92 }
94
96
99 inline SortOrder GetSortOrder() const { return m_sortOrder; }
100 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
101 inline void SetSortOrder(SortOrder value) {
102 m_sortOrderHasBeenSet = true;
103 m_sortOrder = value;
104 }
106 SetSortOrder(value);
107 return *this;
108 }
110
112
115 inline SortKey GetSortBy() const { return m_sortBy; }
116 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
117 inline void SetSortBy(SortKey value) {
118 m_sortByHasBeenSet = true;
119 m_sortBy = value;
120 }
122 SetSortBy(value);
123 return *this;
124 }
126
128
131 inline NotebookStatus GetStatus() const { return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(NotebookStatus value) {
134 m_statusHasBeenSet = true;
135 m_status = value;
136 }
138 SetStatus(value);
139 return *this;
140 }
142
144
147 inline NotebookType GetType() const { return m_type; }
148 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
149 inline void SetType(NotebookType value) {
150 m_typeHasBeenSet = true;
151 m_type = value;
152 }
154 SetType(value);
155 return *this;
156 }
158
160
168 inline const Aws::String& GetNextToken() const { return m_nextToken; }
169 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
170 template <typename NextTokenT = Aws::String>
171 void SetNextToken(NextTokenT&& value) {
172 m_nextTokenHasBeenSet = true;
173 m_nextToken = std::forward<NextTokenT>(value);
174 }
175 template <typename NextTokenT = Aws::String>
176 ListNotebooksRequest& WithNextToken(NextTokenT&& value) {
177 SetNextToken(std::forward<NextTokenT>(value));
178 return *this;
179 }
181 private:
182 Aws::String m_domainIdentifier;
183
184 Aws::String m_owningProjectIdentifier;
185
186 int m_maxResults{0};
187
188 SortOrder m_sortOrder{SortOrder::NOT_SET};
189
190 SortKey m_sortBy{SortKey::NOT_SET};
191
193
195
196 Aws::String m_nextToken;
197 bool m_domainIdentifierHasBeenSet = false;
198 bool m_owningProjectIdentifierHasBeenSet = false;
199 bool m_maxResultsHasBeenSet = false;
200 bool m_sortOrderHasBeenSet = false;
201 bool m_sortByHasBeenSet = false;
202 bool m_statusHasBeenSet = false;
203 bool m_typeHasBeenSet = false;
204 bool m_nextTokenHasBeenSet = false;
205};
206
207} // namespace Model
208} // namespace DataZone
209} // namespace Aws
ListNotebooksRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API ListNotebooksRequest()=default
void SetDomainIdentifier(DomainIdentifierT &&value)
ListNotebooksRequest & WithType(NotebookType value)
ListNotebooksRequest & WithSortOrder(SortOrder value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListNotebooksRequest & WithSortBy(SortKey value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListNotebooksRequest & WithMaxResults(int value)
ListNotebooksRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetOwningProjectIdentifier() const
ListNotebooksRequest & WithOwningProjectIdentifier(OwningProjectIdentifierT &&value)
void SetOwningProjectIdentifier(OwningProjectIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
ListNotebooksRequest & WithStatus(NotebookStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String