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/StepConfig.h>
46 template <
typename JobFlowIdT = Aws::String>
48 m_jobFlowIdHasBeenSet =
true;
49 m_jobFlowId = std::forward<JobFlowIdT>(value);
51 template <
typename JobFlowIdT = Aws::String>
64 template <
typename StepsT = Aws::Vector<StepConfig>>
66 m_stepsHasBeenSet =
true;
67 m_steps = std::forward<StepsT>(value);
69 template <
typename StepsT = Aws::Vector<StepConfig>>
71 SetSteps(std::forward<StepsT>(value));
74 template <
typename StepsT = StepConfig>
76 m_stepsHasBeenSet =
true;
77 m_steps.emplace_back(std::forward<StepsT>(value));
93 template <
typename ExecutionRoleArnT = Aws::String>
95 m_executionRoleArnHasBeenSet =
true;
96 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
98 template <
typename ExecutionRoleArnT = Aws::String>
110 bool m_jobFlowIdHasBeenSet =
false;
111 bool m_stepsHasBeenSet =
false;
112 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