AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListStepsResult.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticmapreduce/model/StepSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EMR
26{
27namespace Model
28{
37 {
38 public:
39 AWS_EMR_API ListStepsResult();
42
43
45
48 inline const Aws::Vector<StepSummary>& GetSteps() const{ return m_steps; }
49 inline void SetSteps(const Aws::Vector<StepSummary>& value) { m_steps = value; }
50 inline void SetSteps(Aws::Vector<StepSummary>&& value) { m_steps = std::move(value); }
51 inline ListStepsResult& WithSteps(const Aws::Vector<StepSummary>& value) { SetSteps(value); return *this;}
52 inline ListStepsResult& WithSteps(Aws::Vector<StepSummary>&& value) { SetSteps(std::move(value)); return *this;}
53 inline ListStepsResult& AddSteps(const StepSummary& value) { m_steps.push_back(value); return *this; }
54 inline ListStepsResult& AddSteps(StepSummary&& value) { m_steps.push_back(std::move(value)); return *this; }
56
58
65 inline const Aws::String& GetMarker() const{ return m_marker; }
66 inline void SetMarker(const Aws::String& value) { m_marker = value; }
67 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
68 inline void SetMarker(const char* value) { m_marker.assign(value); }
69 inline ListStepsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
70 inline ListStepsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
71 inline ListStepsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline ListStepsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline ListStepsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline ListStepsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
87
88 Aws::String m_marker;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace EMR
95} // namespace Aws
void SetRequestId(const Aws::String &value)
const Aws::String & GetMarker() const
const Aws::Vector< StepSummary > & GetSteps() const
ListStepsResult & WithMarker(const Aws::String &value)
void SetSteps(Aws::Vector< StepSummary > &&value)
ListStepsResult & WithSteps(const Aws::Vector< StepSummary > &value)
void SetSteps(const Aws::Vector< StepSummary > &value)
void SetMarker(const Aws::String &value)
ListStepsResult & AddSteps(StepSummary &&value)
ListStepsResult & WithMarker(const char *value)
ListStepsResult & WithMarker(Aws::String &&value)
void SetMarker(Aws::String &&value)
AWS_EMR_API ListStepsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
ListStepsResult & AddSteps(const StepSummary &value)
ListStepsResult & WithRequestId(const char *value)
ListStepsResult & WithSteps(Aws::Vector< StepSummary > &&value)
void SetMarker(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
AWS_EMR_API ListStepsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListStepsResult & WithRequestId(Aws::String &&value)
ListStepsResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue