AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
49 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
50 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
51 inline ListStepsRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
52 inline ListStepsRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
53 inline ListStepsRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
55
57
60 inline const Aws::Vector<StepState>& GetStepStates() const{ return m_stepStates; }
61 inline bool StepStatesHasBeenSet() const { return m_stepStatesHasBeenSet; }
62 inline void SetStepStates(const Aws::Vector<StepState>& value) { m_stepStatesHasBeenSet = true; m_stepStates = value; }
63 inline void SetStepStates(Aws::Vector<StepState>&& value) { m_stepStatesHasBeenSet = true; m_stepStates = std::move(value); }
64 inline ListStepsRequest& WithStepStates(const Aws::Vector<StepState>& value) { SetStepStates(value); return *this;}
65 inline ListStepsRequest& WithStepStates(Aws::Vector<StepState>&& value) { SetStepStates(std::move(value)); return *this;}
66 inline ListStepsRequest& AddStepStates(const StepState& value) { m_stepStatesHasBeenSet = true; m_stepStates.push_back(value); return *this; }
67 inline ListStepsRequest& AddStepStates(StepState&& value) { m_stepStatesHasBeenSet = true; m_stepStates.push_back(std::move(value)); return *this; }
69
71
76 inline const Aws::Vector<Aws::String>& GetStepIds() const{ return m_stepIds; }
77 inline bool StepIdsHasBeenSet() const { return m_stepIdsHasBeenSet; }
78 inline void SetStepIds(const Aws::Vector<Aws::String>& value) { m_stepIdsHasBeenSet = true; m_stepIds = value; }
79 inline void SetStepIds(Aws::Vector<Aws::String>&& value) { m_stepIdsHasBeenSet = true; m_stepIds = std::move(value); }
80 inline ListStepsRequest& WithStepIds(const Aws::Vector<Aws::String>& value) { SetStepIds(value); return *this;}
81 inline ListStepsRequest& WithStepIds(Aws::Vector<Aws::String>&& value) { SetStepIds(std::move(value)); return *this;}
82 inline ListStepsRequest& AddStepIds(const Aws::String& value) { m_stepIdsHasBeenSet = true; m_stepIds.push_back(value); return *this; }
83 inline ListStepsRequest& AddStepIds(Aws::String&& value) { m_stepIdsHasBeenSet = true; m_stepIds.push_back(std::move(value)); return *this; }
84 inline ListStepsRequest& AddStepIds(const char* value) { m_stepIdsHasBeenSet = true; m_stepIds.push_back(value); return *this; }
86
88
95 inline const Aws::String& GetMarker() const{ return m_marker; }
96 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
97 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
98 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
99 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
100 inline ListStepsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
101 inline ListStepsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 inline ListStepsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
104 private:
105
106 Aws::String m_clusterId;
107 bool m_clusterIdHasBeenSet = false;
108
109 Aws::Vector<StepState> m_stepStates;
110 bool m_stepStatesHasBeenSet = false;
111
112 Aws::Vector<Aws::String> m_stepIds;
113 bool m_stepIdsHasBeenSet = false;
114
115 Aws::String m_marker;
116 bool m_markerHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace EMR
121} // namespace Aws
const Aws::String & GetMarker() const
void SetStepIds(const Aws::Vector< Aws::String > &value)
ListStepsRequest & WithMarker(const Aws::String &value)
const Aws::String & GetClusterId() const
AWS_EMR_API Aws::String SerializePayload() const override
void SetStepIds(Aws::Vector< Aws::String > &&value)
ListStepsRequest & WithClusterId(const Aws::String &value)
ListStepsRequest & AddStepStates(const StepState &value)
const Aws::Vector< Aws::String > & GetStepIds() const
void SetClusterId(const Aws::String &value)
void SetMarker(Aws::String &&value)
ListStepsRequest & WithStepIds(Aws::Vector< Aws::String > &&value)
void SetMarker(const char *value)
ListStepsRequest & AddStepIds(const char *value)
ListStepsRequest & WithStepIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< StepState > & GetStepStates() const
void SetStepStates(Aws::Vector< StepState > &&value)
ListStepsRequest & AddStepIds(Aws::String &&value)
void SetClusterId(Aws::String &&value)
ListStepsRequest & WithClusterId(Aws::String &&value)
ListStepsRequest & WithClusterId(const char *value)
void SetStepStates(const Aws::Vector< StepState > &value)
ListStepsRequest & WithMarker(const char *value)
ListStepsRequest & WithMarker(Aws::String &&value)
void SetClusterId(const char *value)
ListStepsRequest & AddStepStates(StepState &&value)
ListStepsRequest & WithStepStates(const Aws::Vector< StepState > &value)
ListStepsRequest & WithStepStates(Aws::Vector< StepState > &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMarker(const Aws::String &value)
ListStepsRequest & AddStepIds(const Aws::String &value)
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