AWS SDK for C++  1.9.19
AWS SDK for C++
ListStepsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace EMR
17 {
18 namespace Model
19 {
20 
27  {
28  public:
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::String SerializePayload() const override;
38 
40 
41 
45  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
46 
50  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
51 
55  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
56 
60  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
61 
65  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
66 
70  inline ListStepsRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
71 
75  inline ListStepsRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
76 
80  inline ListStepsRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
81 
82 
86  inline const Aws::Vector<StepState>& GetStepStates() const{ return m_stepStates; }
87 
91  inline bool StepStatesHasBeenSet() const { return m_stepStatesHasBeenSet; }
92 
96  inline void SetStepStates(const Aws::Vector<StepState>& value) { m_stepStatesHasBeenSet = true; m_stepStates = value; }
97 
101  inline void SetStepStates(Aws::Vector<StepState>&& value) { m_stepStatesHasBeenSet = true; m_stepStates = std::move(value); }
102 
106  inline ListStepsRequest& WithStepStates(const Aws::Vector<StepState>& value) { SetStepStates(value); return *this;}
107 
111  inline ListStepsRequest& WithStepStates(Aws::Vector<StepState>&& value) { SetStepStates(std::move(value)); return *this;}
112 
116  inline ListStepsRequest& AddStepStates(const StepState& value) { m_stepStatesHasBeenSet = true; m_stepStates.push_back(value); return *this; }
117 
121  inline ListStepsRequest& AddStepStates(StepState&& value) { m_stepStatesHasBeenSet = true; m_stepStates.push_back(std::move(value)); return *this; }
122 
123 
129  inline const Aws::Vector<Aws::String>& GetStepIds() const{ return m_stepIds; }
130 
136  inline bool StepIdsHasBeenSet() const { return m_stepIdsHasBeenSet; }
137 
143  inline void SetStepIds(const Aws::Vector<Aws::String>& value) { m_stepIdsHasBeenSet = true; m_stepIds = value; }
144 
150  inline void SetStepIds(Aws::Vector<Aws::String>&& value) { m_stepIdsHasBeenSet = true; m_stepIds = std::move(value); }
151 
157  inline ListStepsRequest& WithStepIds(const Aws::Vector<Aws::String>& value) { SetStepIds(value); return *this;}
158 
164  inline ListStepsRequest& WithStepIds(Aws::Vector<Aws::String>&& value) { SetStepIds(std::move(value)); return *this;}
165 
171  inline ListStepsRequest& AddStepIds(const Aws::String& value) { m_stepIdsHasBeenSet = true; m_stepIds.push_back(value); return *this; }
172 
178  inline ListStepsRequest& AddStepIds(Aws::String&& value) { m_stepIdsHasBeenSet = true; m_stepIds.push_back(std::move(value)); return *this; }
179 
185  inline ListStepsRequest& AddStepIds(const char* value) { m_stepIdsHasBeenSet = true; m_stepIds.push_back(value); return *this; }
186 
187 
191  inline const Aws::String& GetMarker() const{ return m_marker; }
192 
196  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
197 
201  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
202 
206  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
207 
211  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
212 
216  inline ListStepsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
217 
221  inline ListStepsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
222 
226  inline ListStepsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
227 
228  private:
229 
230  Aws::String m_clusterId;
231  bool m_clusterIdHasBeenSet;
232 
233  Aws::Vector<StepState> m_stepStates;
234  bool m_stepStatesHasBeenSet;
235 
236  Aws::Vector<Aws::String> m_stepIds;
237  bool m_stepIdsHasBeenSet;
238 
239  Aws::String m_marker;
240  bool m_markerHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace EMR
245 } // namespace Aws
Aws::EMR::Model::StepState
StepState
Definition: StepState.h:17
Aws::EMR::Model::ListStepsRequest::SetClusterId
void SetClusterId(const char *value)
Definition: ListStepsRequest.h:65
Aws::EMR::Model::ListStepsRequest::AddStepIds
ListStepsRequest & AddStepIds(const Aws::String &value)
Definition: ListStepsRequest.h:171
Aws::EMR::Model::ListStepsRequest::AddStepStates
ListStepsRequest & AddStepStates(StepState &&value)
Definition: ListStepsRequest.h:121
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::ListStepsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListStepsRequest.h:206
Aws::EMR::Model::ListStepsRequest::WithMarker
ListStepsRequest & WithMarker(const char *value)
Definition: ListStepsRequest.h:226
Aws::EMR::Model::ListStepsRequest::SetStepStates
void SetStepStates(Aws::Vector< StepState > &&value)
Definition: ListStepsRequest.h:101
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::ListStepsRequest::SetStepIds
void SetStepIds(const Aws::Vector< Aws::String > &value)
Definition: ListStepsRequest.h:143
AWSVector.h
Aws::EMR::Model::ListStepsRequest::WithStepStates
ListStepsRequest & WithStepStates(Aws::Vector< StepState > &&value)
Definition: ListStepsRequest.h:111
Aws::EMR::Model::ListStepsRequest::WithClusterId
ListStepsRequest & WithClusterId(Aws::String &&value)
Definition: ListStepsRequest.h:75
Aws::EMR::Model::ListStepsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListStepsRequest.h:201
Aws::EMR::Model::ListStepsRequest::GetStepStates
const Aws::Vector< StepState > & GetStepStates() const
Definition: ListStepsRequest.h:86
Aws::EMR::Model::ListStepsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::ListStepsRequest::WithStepIds
ListStepsRequest & WithStepIds(const Aws::Vector< Aws::String > &value)
Definition: ListStepsRequest.h:157
Aws::EMR::Model::ListStepsRequest::WithClusterId
ListStepsRequest & WithClusterId(const Aws::String &value)
Definition: ListStepsRequest.h:70
Aws::EMR::Model::ListStepsRequest::GetClusterId
const Aws::String & GetClusterId() const
Definition: ListStepsRequest.h:45
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::ListStepsRequest::StepIdsHasBeenSet
bool StepIdsHasBeenSet() const
Definition: ListStepsRequest.h:136
Aws::EMR::Model::ListStepsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListStepsRequest.h:211
Aws::EMR::Model::ListStepsRequest::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: ListStepsRequest.h:50
Aws::EMR::Model::ListStepsRequest::AddStepIds
ListStepsRequest & AddStepIds(const char *value)
Definition: ListStepsRequest.h:185
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::ListStepsRequest::WithMarker
ListStepsRequest & WithMarker(const Aws::String &value)
Definition: ListStepsRequest.h:216
AWSString.h
Aws::EMR::Model::ListStepsRequest::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: ListStepsRequest.h:55
Aws::EMR::Model::ListStepsRequest::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: ListStepsRequest.h:60
Aws::EMR::Model::ListStepsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListStepsRequest.h:191
Aws::EMR::Model::ListStepsRequest::WithMarker
ListStepsRequest & WithMarker(Aws::String &&value)
Definition: ListStepsRequest.h:221
Aws::EMR::Model::ListStepsRequest::WithClusterId
ListStepsRequest & WithClusterId(const char *value)
Definition: ListStepsRequest.h:80
Aws::EMR::Model::ListStepsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::ListStepsRequest
Definition: ListStepsRequest.h:27
StepState.h
Aws::EMR::Model::ListStepsRequest::ListStepsRequest
ListStepsRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListStepsRequest::StepStatesHasBeenSet
bool StepStatesHasBeenSet() const
Definition: ListStepsRequest.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListStepsRequest::WithStepStates
ListStepsRequest & WithStepStates(const Aws::Vector< StepState > &value)
Definition: ListStepsRequest.h:106
Aws::EMR::Model::ListStepsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListStepsRequest.h:196
Aws::EMR::Model::ListStepsRequest::GetStepIds
const Aws::Vector< Aws::String > & GetStepIds() const
Definition: ListStepsRequest.h:129
Aws::EMR::Model::ListStepsRequest::AddStepIds
ListStepsRequest & AddStepIds(Aws::String &&value)
Definition: ListStepsRequest.h:178
Aws::EMR::Model::ListStepsRequest::WithStepIds
ListStepsRequest & WithStepIds(Aws::Vector< Aws::String > &&value)
Definition: ListStepsRequest.h:164
Aws::EMR::Model::ListStepsRequest::AddStepStates
ListStepsRequest & AddStepStates(const StepState &value)
Definition: ListStepsRequest.h:116
Aws::EMR::Model::ListStepsRequest::SetStepStates
void SetStepStates(const Aws::Vector< StepState > &value)
Definition: ListStepsRequest.h:96
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListStepsRequest::SetStepIds
void SetStepIds(Aws::Vector< Aws::String > &&value)
Definition: ListStepsRequest.h:150
Aws::EMR::Model::ListStepsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListStepsRequest.h:35