AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListNotebookExecutionsRequest.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticmapreduce/model/NotebookExecutionStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace EMR
17{
18namespace 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_EMR_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetEditorId() const{ return m_editorId; }
44 inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; }
45 inline void SetEditorId(const Aws::String& value) { m_editorIdHasBeenSet = true; m_editorId = value; }
46 inline void SetEditorId(Aws::String&& value) { m_editorIdHasBeenSet = true; m_editorId = std::move(value); }
47 inline void SetEditorId(const char* value) { m_editorIdHasBeenSet = true; m_editorId.assign(value); }
48 inline ListNotebookExecutionsRequest& WithEditorId(const Aws::String& value) { SetEditorId(value); return *this;}
49 inline ListNotebookExecutionsRequest& WithEditorId(Aws::String&& value) { SetEditorId(std::move(value)); return *this;}
50 inline ListNotebookExecutionsRequest& WithEditorId(const char* value) { SetEditorId(value); return *this;}
52
54
73 inline const NotebookExecutionStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const NotebookExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(NotebookExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline ListNotebookExecutionsRequest& WithStatus(const NotebookExecutionStatus& value) { SetStatus(value); return *this;}
78 inline ListNotebookExecutionsRequest& WithStatus(NotebookExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetFrom() const{ return m_from; }
87 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
88 inline void SetFrom(const Aws::Utils::DateTime& value) { m_fromHasBeenSet = true; m_from = value; }
89 inline void SetFrom(Aws::Utils::DateTime&& value) { m_fromHasBeenSet = true; m_from = std::move(value); }
90 inline ListNotebookExecutionsRequest& WithFrom(const Aws::Utils::DateTime& value) { SetFrom(value); return *this;}
91 inline ListNotebookExecutionsRequest& WithFrom(Aws::Utils::DateTime&& value) { SetFrom(std::move(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetTo() const{ return m_to; }
100 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
101 inline void SetTo(const Aws::Utils::DateTime& value) { m_toHasBeenSet = true; m_to = value; }
102 inline void SetTo(Aws::Utils::DateTime&& value) { m_toHasBeenSet = true; m_to = std::move(value); }
103 inline ListNotebookExecutionsRequest& WithTo(const Aws::Utils::DateTime& value) { SetTo(value); return *this;}
104 inline ListNotebookExecutionsRequest& WithTo(Aws::Utils::DateTime&& value) { SetTo(std::move(value)); return *this;}
106
108
113 inline const Aws::String& GetMarker() const{ return m_marker; }
114 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
115 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
116 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
117 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
118 inline ListNotebookExecutionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
119 inline ListNotebookExecutionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
120 inline ListNotebookExecutionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
122
124
127 inline const Aws::String& GetExecutionEngineId() const{ return m_executionEngineId; }
128 inline bool ExecutionEngineIdHasBeenSet() const { return m_executionEngineIdHasBeenSet; }
129 inline void SetExecutionEngineId(const Aws::String& value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId = value; }
130 inline void SetExecutionEngineId(Aws::String&& value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId = std::move(value); }
131 inline void SetExecutionEngineId(const char* value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId.assign(value); }
133 inline ListNotebookExecutionsRequest& WithExecutionEngineId(Aws::String&& value) { SetExecutionEngineId(std::move(value)); return *this;}
134 inline ListNotebookExecutionsRequest& WithExecutionEngineId(const char* value) { SetExecutionEngineId(value); return *this;}
136 private:
137
138 Aws::String m_editorId;
139 bool m_editorIdHasBeenSet = false;
140
142 bool m_statusHasBeenSet = false;
143
145 bool m_fromHasBeenSet = false;
146
148 bool m_toHasBeenSet = false;
149
150 Aws::String m_marker;
151 bool m_markerHasBeenSet = false;
152
153 Aws::String m_executionEngineId;
154 bool m_executionEngineIdHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace EMR
159} // namespace Aws
ListNotebookExecutionsRequest & WithFrom(Aws::Utils::DateTime &&value)
ListNotebookExecutionsRequest & WithTo(const Aws::Utils::DateTime &value)
ListNotebookExecutionsRequest & WithMarker(const char *value)
ListNotebookExecutionsRequest & WithMarker(Aws::String &&value)
AWS_EMR_API Aws::String SerializePayload() const override
ListNotebookExecutionsRequest & WithEditorId(const Aws::String &value)
ListNotebookExecutionsRequest & WithExecutionEngineId(Aws::String &&value)
ListNotebookExecutionsRequest & WithStatus(const NotebookExecutionStatus &value)
ListNotebookExecutionsRequest & WithTo(Aws::Utils::DateTime &&value)
ListNotebookExecutionsRequest & WithEditorId(Aws::String &&value)
void SetStatus(const NotebookExecutionStatus &value)
ListNotebookExecutionsRequest & WithStatus(NotebookExecutionStatus &&value)
ListNotebookExecutionsRequest & WithExecutionEngineId(const char *value)
ListNotebookExecutionsRequest & WithExecutionEngineId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListNotebookExecutionsRequest & WithFrom(const Aws::Utils::DateTime &value)
ListNotebookExecutionsRequest & WithEditorId(const char *value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListNotebookExecutionsRequest & WithMarker(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String