AWS SDK for C++  1.9.20
AWS SDK for C++
ListStepsResult.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 {
37  {
38  public:
42 
43 
47  inline const Aws::Vector<StepSummary>& GetSteps() const{ return m_steps; }
48 
52  inline void SetSteps(const Aws::Vector<StepSummary>& value) { m_steps = value; }
53 
57  inline void SetSteps(Aws::Vector<StepSummary>&& value) { m_steps = std::move(value); }
58 
62  inline ListStepsResult& WithSteps(const Aws::Vector<StepSummary>& value) { SetSteps(value); return *this;}
63 
67  inline ListStepsResult& WithSteps(Aws::Vector<StepSummary>&& value) { SetSteps(std::move(value)); return *this;}
68 
72  inline ListStepsResult& AddSteps(const StepSummary& value) { m_steps.push_back(value); return *this; }
73 
77  inline ListStepsResult& AddSteps(StepSummary&& value) { m_steps.push_back(std::move(value)); return *this; }
78 
79 
83  inline const Aws::String& GetMarker() const{ return m_marker; }
84 
88  inline void SetMarker(const Aws::String& value) { m_marker = value; }
89 
93  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
94 
98  inline void SetMarker(const char* value) { m_marker.assign(value); }
99 
103  inline ListStepsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
104 
108  inline ListStepsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
109 
113  inline ListStepsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<StepSummary> m_steps;
118 
119  Aws::String m_marker;
120  };
121 
122 } // namespace Model
123 } // namespace EMR
124 } // namespace Aws
Aws::EMR::Model::ListStepsResult::WithMarker
ListStepsResult & WithMarker(Aws::String &&value)
Definition: ListStepsResult.h:108
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::StepSummary
Definition: StepSummary.h:35
Aws::EMR::Model::ListStepsResult::WithSteps
ListStepsResult & WithSteps(const Aws::Vector< StepSummary > &value)
Definition: ListStepsResult.h:62
EMR_EXPORTS.h
Aws::EMR::Model::ListStepsResult::WithSteps
ListStepsResult & WithSteps(Aws::Vector< StepSummary > &&value)
Definition: ListStepsResult.h:67
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::ListStepsResult::SetSteps
void SetSteps(Aws::Vector< StepSummary > &&value)
Definition: ListStepsResult.h:57
AWSVector.h
Aws::EMR::Model::ListStepsResult::ListStepsResult
ListStepsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListStepsResult::SetMarker
void SetMarker(const char *value)
Definition: ListStepsResult.h:98
Aws::EMR::Model::ListStepsResult::operator=
ListStepsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListStepsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListStepsResult.h:83
Aws::EMR::Model::ListStepsResult::WithMarker
ListStepsResult & WithMarker(const Aws::String &value)
Definition: ListStepsResult.h:103
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::ListStepsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListStepsResult.h:93
StepSummary.h
Aws::EMR::Model::ListStepsResult::WithMarker
ListStepsResult & WithMarker(const char *value)
Definition: ListStepsResult.h:113
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListStepsResult::AddSteps
ListStepsResult & AddSteps(const StepSummary &value)
Definition: ListStepsResult.h:72
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListStepsResult::AddSteps
ListStepsResult & AddSteps(StepSummary &&value)
Definition: ListStepsResult.h:77
Aws::EMR::Model::ListStepsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListStepsResult.h:88
Aws::EMR::Model::ListStepsResult::SetSteps
void SetSteps(const Aws::Vector< StepSummary > &value)
Definition: ListStepsResult.h:52
Aws::EMR::Model::ListStepsResult
Definition: ListStepsResult.h:37
Aws::EMR::Model::ListStepsResult::GetSteps
const Aws::Vector< StepSummary > & GetSteps() const
Definition: ListStepsResult.h:47
Aws::EMR::Model::ListStepsResult::ListStepsResult
ListStepsResult()
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28