7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/JobSummary.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/amplify/model/Step.h>
36 AWS_AMPLIFY_API
Job() =
default;
48 template<
typename SummaryT = JobSummary>
49 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
50 template<
typename SummaryT = JobSummary>
60 template<
typename StepsT = Aws::Vector<Step>>
61 void SetSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps = std::forward<StepsT>(value); }
62 template<
typename StepsT = Aws::Vector<Step>>
64 template<
typename StepsT = Step>
65 Job&
AddSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps.emplace_back(std::forward<StepsT>(value));
return *
this; }
70 bool m_summaryHasBeenSet =
false;
73 bool m_stepsHasBeenSet =
false;
bool StepsHasBeenSet() const
void SetSteps(StepsT &&value)
void SetSummary(SummaryT &&value)
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Step > & GetSteps() const
Job & AddSteps(StepsT &&value)
bool SummaryHasBeenSet() const
Job & WithSummary(SummaryT &&value)
const JobSummary & GetSummary() const
AWS_AMPLIFY_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Job & WithSteps(StepsT &&value)
AWS_AMPLIFY_API Job()=default
AWS_AMPLIFY_API Job(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue