AWS SDK for C++

AWS SDK for C++ Version 1.11.806

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/SortKey.h>
12#include <aws/datazone/model/SortOrder.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Http {
18class URI;
19} // namespace Http
20namespace DataZone {
21namespace Model {
22
26 public:
27 AWS_DATAZONE_API ListNotebooksRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListNotebooks"; }
34
35 AWS_DATAZONE_API Aws::String SerializePayload() const override;
36
37 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
44 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
45 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
46 template <typename DomainIdentifierT = Aws::String>
47 void SetDomainIdentifier(DomainIdentifierT&& value) {
48 m_domainIdentifierHasBeenSet = true;
49 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
50 }
51 template <typename DomainIdentifierT = Aws::String>
52 ListNotebooksRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
53 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
63 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
64 template <typename OwningProjectIdentifierT = Aws::String>
65 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
66 m_owningProjectIdentifierHasBeenSet = true;
67 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
68 }
69 template <typename OwningProjectIdentifierT = Aws::String>
70 ListNotebooksRequest& WithOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
71 SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value));
72 return *this;
73 }
75
77
82 inline int GetMaxResults() const { return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) {
85 m_maxResultsHasBeenSet = true;
86 m_maxResults = value;
87 }
89 SetMaxResults(value);
90 return *this;
91 }
93
95
98 inline SortOrder GetSortOrder() const { return m_sortOrder; }
99 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
100 inline void SetSortOrder(SortOrder value) {
101 m_sortOrderHasBeenSet = true;
102 m_sortOrder = value;
103 }
105 SetSortOrder(value);
106 return *this;
107 }
109
111
114 inline SortKey GetSortBy() const { return m_sortBy; }
115 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
116 inline void SetSortBy(SortKey value) {
117 m_sortByHasBeenSet = true;
118 m_sortBy = value;
119 }
121 SetSortBy(value);
122 return *this;
123 }
125
127
130 inline NotebookStatus GetStatus() const { return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(NotebookStatus value) {
133 m_statusHasBeenSet = true;
134 m_status = value;
135 }
137 SetStatus(value);
138 return *this;
139 }
141
143
151 inline const Aws::String& GetNextToken() const { return m_nextToken; }
152 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
153 template <typename NextTokenT = Aws::String>
154 void SetNextToken(NextTokenT&& value) {
155 m_nextTokenHasBeenSet = true;
156 m_nextToken = std::forward<NextTokenT>(value);
157 }
158 template <typename NextTokenT = Aws::String>
159 ListNotebooksRequest& WithNextToken(NextTokenT&& value) {
160 SetNextToken(std::forward<NextTokenT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_domainIdentifier;
166
167 Aws::String m_owningProjectIdentifier;
168
169 int m_maxResults{0};
170
171 SortOrder m_sortOrder{SortOrder::NOT_SET};
172
173 SortKey m_sortBy{SortKey::NOT_SET};
174
176
177 Aws::String m_nextToken;
178 bool m_domainIdentifierHasBeenSet = false;
179 bool m_owningProjectIdentifierHasBeenSet = false;
180 bool m_maxResultsHasBeenSet = false;
181 bool m_sortOrderHasBeenSet = false;
182 bool m_sortByHasBeenSet = false;
183 bool m_statusHasBeenSet = false;
184 bool m_nextTokenHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace DataZone
189} // namespace Aws
ListNotebooksRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API ListNotebooksRequest()=default
void SetDomainIdentifier(DomainIdentifierT &&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