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/StepCancellationOption.h>
50 template<
typename ClusterIdT = Aws::String>
51 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet =
true; m_clusterId = std::forward<ClusterIdT>(value); }
52 template<
typename ClusterIdT = Aws::String>
63 template<
typename StepIdsT = Aws::Vector<Aws::String>>
64 void SetStepIds(StepIdsT&& value) { m_stepIdsHasBeenSet =
true; m_stepIds = std::forward<StepIdsT>(value); }
65 template<
typename StepIdsT = Aws::Vector<Aws::String>>
67 template<
typename StepIdsT = Aws::String>
68 CancelStepsRequest&
AddStepIds(StepIdsT&& value) { m_stepIdsHasBeenSet =
true; m_stepIds.emplace_back(std::forward<StepIdsT>(value));
return *
this; }
84 bool m_clusterIdHasBeenSet =
false;
87 bool m_stepIdsHasBeenSet =
false;
90 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