AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListStepsRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticmapreduce/model/StepState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace EMR
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_EMR_API ListStepsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListSteps"; }
36
37 AWS_EMR_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetClusterId() const { return m_clusterId; }
47 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
48 template<typename ClusterIdT = Aws::String>
49 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
50 template<typename ClusterIdT = Aws::String>
51 ListStepsRequest& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
53
55
58 inline const Aws::Vector<StepState>& GetStepStates() const { return m_stepStates; }
59 inline bool StepStatesHasBeenSet() const { return m_stepStatesHasBeenSet; }
60 template<typename StepStatesT = Aws::Vector<StepState>>
61 void SetStepStates(StepStatesT&& value) { m_stepStatesHasBeenSet = true; m_stepStates = std::forward<StepStatesT>(value); }
62 template<typename StepStatesT = Aws::Vector<StepState>>
63 ListStepsRequest& WithStepStates(StepStatesT&& value) { SetStepStates(std::forward<StepStatesT>(value)); return *this;}
64 inline ListStepsRequest& AddStepStates(StepState value) { m_stepStatesHasBeenSet = true; m_stepStates.push_back(value); return *this; }
66
68
73 inline const Aws::Vector<Aws::String>& GetStepIds() const { return m_stepIds; }
74 inline bool StepIdsHasBeenSet() const { return m_stepIdsHasBeenSet; }
75 template<typename StepIdsT = Aws::Vector<Aws::String>>
76 void SetStepIds(StepIdsT&& value) { m_stepIdsHasBeenSet = true; m_stepIds = std::forward<StepIdsT>(value); }
77 template<typename StepIdsT = Aws::Vector<Aws::String>>
78 ListStepsRequest& WithStepIds(StepIdsT&& value) { SetStepIds(std::forward<StepIdsT>(value)); return *this;}
79 template<typename StepIdsT = Aws::String>
80 ListStepsRequest& AddStepIds(StepIdsT&& value) { m_stepIdsHasBeenSet = true; m_stepIds.emplace_back(std::forward<StepIdsT>(value)); return *this; }
82
84
91 inline const Aws::String& GetMarker() const { return m_marker; }
92 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
93 template<typename MarkerT = Aws::String>
94 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
95 template<typename MarkerT = Aws::String>
96 ListStepsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
98 private:
99
100 Aws::String m_clusterId;
101 bool m_clusterIdHasBeenSet = false;
102
103 Aws::Vector<StepState> m_stepStates;
104 bool m_stepStatesHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_stepIds;
107 bool m_stepIdsHasBeenSet = false;
108
109 Aws::String m_marker;
110 bool m_markerHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace EMR
115} // namespace Aws
ListStepsRequest & WithMarker(MarkerT &&value)
AWS_EMR_API ListStepsRequest()=default
ListStepsRequest & WithStepIds(StepIdsT &&value)
const Aws::String & GetMarker() const
const Aws::String & GetClusterId() const
AWS_EMR_API Aws::String SerializePayload() const override
void SetStepIds(StepIdsT &&value)
ListStepsRequest & AddStepStates(StepState value)
void SetStepStates(StepStatesT &&value)
const Aws::Vector< Aws::String > & GetStepIds() const
ListStepsRequest & WithClusterId(ClusterIdT &&value)
const Aws::Vector< StepState > & GetStepStates() const
ListStepsRequest & WithStepStates(StepStatesT &&value)
void SetClusterId(ClusterIdT &&value)
ListStepsRequest & AddStepIds(StepIdsT &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector