AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
26 AWS_EMR_API ListNotebookExecutionsRequest() = default;
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 template<typename EditorIdT = Aws::String>
46 void SetEditorId(EditorIdT&& value) { m_editorIdHasBeenSet = true; m_editorId = std::forward<EditorIdT>(value); }
47 template<typename EditorIdT = Aws::String>
48 ListNotebookExecutionsRequest& WithEditorId(EditorIdT&& value) { SetEditorId(std::forward<EditorIdT>(value)); return *this;}
50
52
71 inline NotebookExecutionStatus GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(NotebookExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
76
78
82 inline const Aws::Utils::DateTime& GetFrom() const { return m_from; }
83 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
84 template<typename FromT = Aws::Utils::DateTime>
85 void SetFrom(FromT&& value) { m_fromHasBeenSet = true; m_from = std::forward<FromT>(value); }
86 template<typename FromT = Aws::Utils::DateTime>
87 ListNotebookExecutionsRequest& WithFrom(FromT&& value) { SetFrom(std::forward<FromT>(value)); return *this;}
89
91
95 inline const Aws::Utils::DateTime& GetTo() const { return m_to; }
96 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
97 template<typename ToT = Aws::Utils::DateTime>
98 void SetTo(ToT&& value) { m_toHasBeenSet = true; m_to = std::forward<ToT>(value); }
99 template<typename ToT = Aws::Utils::DateTime>
100 ListNotebookExecutionsRequest& WithTo(ToT&& value) { SetTo(std::forward<ToT>(value)); return *this;}
102
104
109 inline const Aws::String& GetMarker() const { return m_marker; }
110 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
111 template<typename MarkerT = Aws::String>
112 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
113 template<typename MarkerT = Aws::String>
114 ListNotebookExecutionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
116
118
121 inline const Aws::String& GetExecutionEngineId() const { return m_executionEngineId; }
122 inline bool ExecutionEngineIdHasBeenSet() const { return m_executionEngineIdHasBeenSet; }
123 template<typename ExecutionEngineIdT = Aws::String>
124 void SetExecutionEngineId(ExecutionEngineIdT&& value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId = std::forward<ExecutionEngineIdT>(value); }
125 template<typename ExecutionEngineIdT = Aws::String>
126 ListNotebookExecutionsRequest& WithExecutionEngineId(ExecutionEngineIdT&& value) { SetExecutionEngineId(std::forward<ExecutionEngineIdT>(value)); return *this;}
128 private:
129
130 Aws::String m_editorId;
131 bool m_editorIdHasBeenSet = false;
132
134 bool m_statusHasBeenSet = false;
135
136 Aws::Utils::DateTime m_from{};
137 bool m_fromHasBeenSet = false;
138
140 bool m_toHasBeenSet = false;
141
142 Aws::String m_marker;
143 bool m_markerHasBeenSet = false;
144
145 Aws::String m_executionEngineId;
146 bool m_executionEngineIdHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace EMR
151} // namespace Aws
ListNotebookExecutionsRequest & WithMarker(MarkerT &&value)
ListNotebookExecutionsRequest & WithExecutionEngineId(ExecutionEngineIdT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
ListNotebookExecutionsRequest & WithEditorId(EditorIdT &&value)
ListNotebookExecutionsRequest & WithStatus(NotebookExecutionStatus value)
virtual const char * GetServiceRequestName() const override
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListNotebookExecutionsRequest & WithFrom(FromT &&value)
ListNotebookExecutionsRequest & WithTo(ToT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String