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/StepConfig.h>
50 template<
typename JobFlowIdT = Aws::String>
51 void SetJobFlowId(JobFlowIdT&& value) { m_jobFlowIdHasBeenSet =
true; m_jobFlowId = std::forward<JobFlowIdT>(value); }
52 template<
typename JobFlowIdT = Aws::String>
62 template<
typename StepsT = Aws::Vector<StepConfig>>
63 void SetSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps = std::forward<StepsT>(value); }
64 template<
typename StepsT = Aws::Vector<StepConfig>>
66 template<
typename StepsT = StepConfig>
81 template<
typename ExecutionRoleArnT = Aws::String>
82 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
83 template<
typename ExecutionRoleArnT = Aws::String>
89 bool m_jobFlowIdHasBeenSet =
false;
92 bool m_stepsHasBeenSet =
false;
95 bool m_executionRoleArnHasBeenSet =
false;
bool StepsHasBeenSet() const
void SetSteps(StepsT &&value)
const Aws::String & GetJobFlowId() const
AddJobFlowStepsRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
const Aws::Vector< StepConfig > & GetSteps() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
void SetJobFlowId(JobFlowIdT &&value)
AWS_EMR_API AddJobFlowStepsRequest()=default
bool JobFlowIdHasBeenSet() const
AddJobFlowStepsRequest & WithJobFlowId(JobFlowIdT &&value)
bool ExecutionRoleArnHasBeenSet() const
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AddJobFlowStepsRequest & AddSteps(StepsT &&value)
const Aws::String & GetExecutionRoleArn() const
AddJobFlowStepsRequest & WithSteps(StepsT &&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