AWS SDK for C++  1.9.45
AWS SDK for C++
ListNotebookExecutionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace EMR
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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 "ListNotebookExecutions"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetEditorId() const{ return m_editorId; }
43 
47  inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; }
48 
52  inline void SetEditorId(const Aws::String& value) { m_editorIdHasBeenSet = true; m_editorId = value; }
53 
57  inline void SetEditorId(Aws::String&& value) { m_editorIdHasBeenSet = true; m_editorId = std::move(value); }
58 
62  inline void SetEditorId(const char* value) { m_editorIdHasBeenSet = true; m_editorId.assign(value); }
63 
67  inline ListNotebookExecutionsRequest& WithEditorId(const Aws::String& value) { SetEditorId(value); return *this;}
68 
72  inline ListNotebookExecutionsRequest& WithEditorId(Aws::String&& value) { SetEditorId(std::move(value)); return *this;}
73 
77  inline ListNotebookExecutionsRequest& WithEditorId(const char* value) { SetEditorId(value); return *this;}
78 
79 
99  inline const NotebookExecutionStatus& GetStatus() const{ return m_status; }
100 
120  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
121 
141  inline void SetStatus(const NotebookExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
142 
162  inline void SetStatus(NotebookExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
163 
183  inline ListNotebookExecutionsRequest& WithStatus(const NotebookExecutionStatus& value) { SetStatus(value); return *this;}
184 
204  inline ListNotebookExecutionsRequest& WithStatus(NotebookExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
205 
206 
211  inline const Aws::Utils::DateTime& GetFrom() const{ return m_from; }
212 
217  inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
218 
223  inline void SetFrom(const Aws::Utils::DateTime& value) { m_fromHasBeenSet = true; m_from = value; }
224 
229  inline void SetFrom(Aws::Utils::DateTime&& value) { m_fromHasBeenSet = true; m_from = std::move(value); }
230 
235  inline ListNotebookExecutionsRequest& WithFrom(const Aws::Utils::DateTime& value) { SetFrom(value); return *this;}
236 
241  inline ListNotebookExecutionsRequest& WithFrom(Aws::Utils::DateTime&& value) { SetFrom(std::move(value)); return *this;}
242 
243 
248  inline const Aws::Utils::DateTime& GetTo() const{ return m_to; }
249 
254  inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
255 
260  inline void SetTo(const Aws::Utils::DateTime& value) { m_toHasBeenSet = true; m_to = value; }
261 
266  inline void SetTo(Aws::Utils::DateTime&& value) { m_toHasBeenSet = true; m_to = std::move(value); }
267 
272  inline ListNotebookExecutionsRequest& WithTo(const Aws::Utils::DateTime& value) { SetTo(value); return *this;}
273 
278  inline ListNotebookExecutionsRequest& WithTo(Aws::Utils::DateTime&& value) { SetTo(std::move(value)); return *this;}
279 
280 
286  inline const Aws::String& GetMarker() const{ return m_marker; }
287 
293  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
294 
300  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
301 
307  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
308 
314  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
315 
321  inline ListNotebookExecutionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
322 
328  inline ListNotebookExecutionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
329 
335  inline ListNotebookExecutionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
336 
337  private:
338 
339  Aws::String m_editorId;
340  bool m_editorIdHasBeenSet;
341 
342  NotebookExecutionStatus m_status;
343  bool m_statusHasBeenSet;
344 
345  Aws::Utils::DateTime m_from;
346  bool m_fromHasBeenSet;
347 
349  bool m_toHasBeenSet;
350 
351  Aws::String m_marker;
352  bool m_markerHasBeenSet;
353  };
354 
355 } // namespace Model
356 } // namespace EMR
357 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::ListNotebookExecutionsRequest::SetStatus
void SetStatus(NotebookExecutionStatus &&value)
Definition: ListNotebookExecutionsRequest.h:162
Aws::EMR::Model::ListNotebookExecutionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListNotebookExecutionsRequest.h:286
Aws::EMR::Model::ListNotebookExecutionsRequest::SetTo
void SetTo(const Aws::Utils::DateTime &value)
Definition: ListNotebookExecutionsRequest.h:260
Aws::EMR::Model::ListNotebookExecutionsRequest::WithTo
ListNotebookExecutionsRequest & WithTo(Aws::Utils::DateTime &&value)
Definition: ListNotebookExecutionsRequest.h:278
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
NotebookExecutionStatus.h
EMR_EXPORTS.h
Aws::EMR::Model::ListNotebookExecutionsRequest::WithTo
ListNotebookExecutionsRequest & WithTo(const Aws::Utils::DateTime &value)
Definition: ListNotebookExecutionsRequest.h:272
EMRRequest.h
Aws::EMR::Model::ListNotebookExecutionsRequest::GetFrom
const Aws::Utils::DateTime & GetFrom() const
Definition: ListNotebookExecutionsRequest.h:211
Aws::EMR::Model::ListNotebookExecutionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListNotebookExecutionsRequest.h:300
DateTime.h
Aws::EMR::Model::ListNotebookExecutionsRequest::SetStatus
void SetStatus(const NotebookExecutionStatus &value)
Definition: ListNotebookExecutionsRequest.h:141
Aws::EMR::Model::ListNotebookExecutionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListNotebookExecutionsRequest.h:32
Aws::EMR::Model::ListNotebookExecutionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::ListNotebookExecutionsRequest::WithStatus
ListNotebookExecutionsRequest & WithStatus(NotebookExecutionStatus &&value)
Definition: ListNotebookExecutionsRequest.h:204
Aws::EMR::Model::ListNotebookExecutionsRequest::SetFrom
void SetFrom(const Aws::Utils::DateTime &value)
Definition: ListNotebookExecutionsRequest.h:223
Aws::EMR::Model::ListNotebookExecutionsRequest::GetStatus
const NotebookExecutionStatus & GetStatus() const
Definition: ListNotebookExecutionsRequest.h:99
Aws::EMR::Model::ListNotebookExecutionsRequest::WithEditorId
ListNotebookExecutionsRequest & WithEditorId(const char *value)
Definition: ListNotebookExecutionsRequest.h:77
Aws::EMR::Model::ListNotebookExecutionsRequest::WithFrom
ListNotebookExecutionsRequest & WithFrom(Aws::Utils::DateTime &&value)
Definition: ListNotebookExecutionsRequest.h:241
Aws::EMR::Model::ListNotebookExecutionsRequest::SetFrom
void SetFrom(Aws::Utils::DateTime &&value)
Definition: ListNotebookExecutionsRequest.h:229
Aws::EMR::Model::ListNotebookExecutionsRequest::SetTo
void SetTo(Aws::Utils::DateTime &&value)
Definition: ListNotebookExecutionsRequest.h:266
Aws::EMR::Model::ListNotebookExecutionsRequest::WithEditorId
ListNotebookExecutionsRequest & WithEditorId(Aws::String &&value)
Definition: ListNotebookExecutionsRequest.h:72
Aws::EMR::Model::ListNotebookExecutionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::ListNotebookExecutionsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListNotebookExecutionsRequest.h:314
Aws::EMR::Model::ListNotebookExecutionsRequest::WithEditorId
ListNotebookExecutionsRequest & WithEditorId(const Aws::String &value)
Definition: ListNotebookExecutionsRequest.h:67
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::ListNotebookExecutionsRequest::WithMarker
ListNotebookExecutionsRequest & WithMarker(const Aws::String &value)
Definition: ListNotebookExecutionsRequest.h:321
Aws::EMR::Model::ListNotebookExecutionsRequest::EditorIdHasBeenSet
bool EditorIdHasBeenSet() const
Definition: ListNotebookExecutionsRequest.h:47
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::ListNotebookExecutionsRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListNotebookExecutionsRequest.h:120
AWSString.h
Aws::EMR::Model::ListNotebookExecutionsRequest::GetTo
const Aws::Utils::DateTime & GetTo() const
Definition: ListNotebookExecutionsRequest.h:248
Aws::EMR::Model::ListNotebookExecutionsRequest::FromHasBeenSet
bool FromHasBeenSet() const
Definition: ListNotebookExecutionsRequest.h:217
Aws::EMR::Model::ListNotebookExecutionsRequest::WithMarker
ListNotebookExecutionsRequest & WithMarker(const char *value)
Definition: ListNotebookExecutionsRequest.h:335
Aws::EMR::Model::ListNotebookExecutionsRequest::ListNotebookExecutionsRequest
ListNotebookExecutionsRequest()
Aws::EMR::Model::ListNotebookExecutionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListNotebookExecutionsRequest.h:293
Aws::EMR::Model::ListNotebookExecutionsRequest::WithStatus
ListNotebookExecutionsRequest & WithStatus(const NotebookExecutionStatus &value)
Definition: ListNotebookExecutionsRequest.h:183
Aws::EMR::Model::ListNotebookExecutionsRequest::WithFrom
ListNotebookExecutionsRequest & WithFrom(const Aws::Utils::DateTime &value)
Definition: ListNotebookExecutionsRequest.h:235
Aws::EMR::Model::ListNotebookExecutionsRequest::SetEditorId
void SetEditorId(const char *value)
Definition: ListNotebookExecutionsRequest.h:62
Aws::EMR::Model::ListNotebookExecutionsRequest::WithMarker
ListNotebookExecutionsRequest & WithMarker(Aws::String &&value)
Definition: ListNotebookExecutionsRequest.h:328
Aws::EMR::Model::ListNotebookExecutionsRequest
Definition: ListNotebookExecutionsRequest.h:24
Aws::EMR::Model::ListNotebookExecutionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListNotebookExecutionsRequest.h:307
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListNotebookExecutionsRequest::SetEditorId
void SetEditorId(const Aws::String &value)
Definition: ListNotebookExecutionsRequest.h:52
Aws::EMR::Model::ListNotebookExecutionsRequest::ToHasBeenSet
bool ToHasBeenSet() const
Definition: ListNotebookExecutionsRequest.h:254
Aws::EMR::Model::NotebookExecutionStatus
NotebookExecutionStatus
Definition: NotebookExecutionStatus.h:17
Aws::EMR::Model::ListNotebookExecutionsRequest::SetEditorId
void SetEditorId(Aws::String &&value)
Definition: ListNotebookExecutionsRequest.h:57
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListNotebookExecutionsRequest::GetEditorId
const Aws::String & GetEditorId() const
Definition: ListNotebookExecutionsRequest.h:42