7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/EMRRequest.h>
10#include <aws/elasticmapreduce/EMR_EXPORTS.h>
11#include <aws/elasticmapreduce/model/StepCancellationOption.h>
46 template <
typename ClusterIdT = Aws::String>
48 m_clusterIdHasBeenSet =
true;
49 m_clusterId = std::forward<ClusterIdT>(value);
51 template <
typename ClusterIdT = Aws::String>
65 template <
typename StepIdsT = Aws::Vector<Aws::String>>
67 m_stepIdsHasBeenSet =
true;
68 m_stepIds = std::forward<StepIdsT>(value);
70 template <
typename StepIdsT = Aws::Vector<Aws::String>>
75 template <
typename StepIdsT = Aws::String>
77 m_stepIdsHasBeenSet =
true;
78 m_stepIds.emplace_back(std::forward<StepIdsT>(value));
91 m_stepCancellationOptionHasBeenSet =
true;
92 m_stepCancellationOption = value;
105 bool m_clusterIdHasBeenSet =
false;
106 bool m_stepIdsHasBeenSet =
false;
107 bool m_stepCancellationOptionHasBeenSet =
false;
bool ClusterIdHasBeenSet() const
void SetStepIds(StepIdsT &&value)
CancelStepsRequest & WithStepIds(StepIdsT &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_EMR_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
StepCancellationOption GetStepCancellationOption() const
void SetClusterId(ClusterIdT &&value)
CancelStepsRequest & AddStepIds(StepIdsT &&value)
const Aws::Vector< Aws::String > & GetStepIds() const
CancelStepsRequest & WithStepCancellationOption(StepCancellationOption value)
bool StepCancellationOptionHasBeenSet() const
CancelStepsRequest & WithClusterId(ClusterIdT &&value)
AWS_EMR_API CancelStepsRequest()=default
const Aws::String & GetClusterId() const
bool StepIdsHasBeenSet() const
void SetStepCancellationOption(StepCancellationOption value)
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