AWS SDK for C++  1.9.20
AWS SDK for C++
ListNotebookExecutionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace EMR
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<NotebookExecutionSummary>& GetNotebookExecutions() const{ return m_notebookExecutions; }
41 
45  inline void SetNotebookExecutions(const Aws::Vector<NotebookExecutionSummary>& value) { m_notebookExecutions = value; }
46 
50  inline void SetNotebookExecutions(Aws::Vector<NotebookExecutionSummary>&& value) { m_notebookExecutions = std::move(value); }
51 
55  inline ListNotebookExecutionsResult& WithNotebookExecutions(const Aws::Vector<NotebookExecutionSummary>& value) { SetNotebookExecutions(value); return *this;}
56 
60  inline ListNotebookExecutionsResult& WithNotebookExecutions(Aws::Vector<NotebookExecutionSummary>&& value) { SetNotebookExecutions(std::move(value)); return *this;}
61 
65  inline ListNotebookExecutionsResult& AddNotebookExecutions(const NotebookExecutionSummary& value) { m_notebookExecutions.push_back(value); return *this; }
66 
70  inline ListNotebookExecutionsResult& AddNotebookExecutions(NotebookExecutionSummary&& value) { m_notebookExecutions.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetMarker() const{ return m_marker; }
78 
83  inline void SetMarker(const Aws::String& value) { m_marker = value; }
84 
89  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
90 
95  inline void SetMarker(const char* value) { m_marker.assign(value); }
96 
101  inline ListNotebookExecutionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
102 
107  inline ListNotebookExecutionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
108 
113  inline ListNotebookExecutionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<NotebookExecutionSummary> m_notebookExecutions;
118 
119  Aws::String m_marker;
120  };
121 
122 } // namespace Model
123 } // namespace EMR
124 } // namespace Aws
Aws::EMR::Model::ListNotebookExecutionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListNotebookExecutionsResult.h:77
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::ListNotebookExecutionsResult::WithNotebookExecutions
ListNotebookExecutionsResult & WithNotebookExecutions(const Aws::Vector< NotebookExecutionSummary > &value)
Definition: ListNotebookExecutionsResult.h:55
Aws::EMR::Model::ListNotebookExecutionsResult::operator=
ListNotebookExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EMR_EXPORTS.h
Aws::EMR::Model::ListNotebookExecutionsResult::WithMarker
ListNotebookExecutionsResult & WithMarker(const char *value)
Definition: ListNotebookExecutionsResult.h:113
Aws::EMR::Model::ListNotebookExecutionsResult::AddNotebookExecutions
ListNotebookExecutionsResult & AddNotebookExecutions(const NotebookExecutionSummary &value)
Definition: ListNotebookExecutionsResult.h:65
Aws::EMR::Model::ListNotebookExecutionsResult
Definition: ListNotebookExecutionsResult.h:30
Aws::EMR::Model::ListNotebookExecutionsResult::WithMarker
ListNotebookExecutionsResult & WithMarker(Aws::String &&value)
Definition: ListNotebookExecutionsResult.h:107
Aws::EMR::Model::ListNotebookExecutionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListNotebookExecutionsResult.h:83
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::ListNotebookExecutionsResult::GetNotebookExecutions
const Aws::Vector< NotebookExecutionSummary > & GetNotebookExecutions() const
Definition: ListNotebookExecutionsResult.h:40
AWSVector.h
Aws::EMR::Model::ListNotebookExecutionsResult::ListNotebookExecutionsResult
ListNotebookExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListNotebookExecutionsResult::WithNotebookExecutions
ListNotebookExecutionsResult & WithNotebookExecutions(Aws::Vector< NotebookExecutionSummary > &&value)
Definition: ListNotebookExecutionsResult.h:60
Aws::EMR::Model::ListNotebookExecutionsResult::SetNotebookExecutions
void SetNotebookExecutions(Aws::Vector< NotebookExecutionSummary > &&value)
Definition: ListNotebookExecutionsResult.h:50
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::NotebookExecutionSummary
Definition: NotebookExecutionSummary.h:34
NotebookExecutionSummary.h
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::ListNotebookExecutionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListNotebookExecutionsResult.h:89
Aws::EMR::Model::ListNotebookExecutionsResult::SetNotebookExecutions
void SetNotebookExecutions(const Aws::Vector< NotebookExecutionSummary > &value)
Definition: ListNotebookExecutionsResult.h:45
Aws::EMR::Model::ListNotebookExecutionsResult::WithMarker
ListNotebookExecutionsResult & WithMarker(const Aws::String &value)
Definition: ListNotebookExecutionsResult.h:101
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListNotebookExecutionsResult::AddNotebookExecutions
ListNotebookExecutionsResult & AddNotebookExecutions(NotebookExecutionSummary &&value)
Definition: ListNotebookExecutionsResult.h:70
Aws::EMR::Model::ListNotebookExecutionsResult::ListNotebookExecutionsResult
ListNotebookExecutionsResult()
Aws::EMR::Model::ListNotebookExecutionsResult::SetMarker
void SetMarker(const char *value)
Definition: ListNotebookExecutionsResult.h:95