AWS SDK for C++  1.9.155
AWS SDK for C++
Job.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/amplify/model/Step.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Amplify
24 {
25 namespace Model
26 {
27 
34  {
35  public:
36  Job();
40 
41 
45  inline const JobSummary& GetSummary() const{ return m_summary; }
46 
50  inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
51 
55  inline void SetSummary(const JobSummary& value) { m_summaryHasBeenSet = true; m_summary = value; }
56 
60  inline void SetSummary(JobSummary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
61 
65  inline Job& WithSummary(const JobSummary& value) { SetSummary(value); return *this;}
66 
70  inline Job& WithSummary(JobSummary&& value) { SetSummary(std::move(value)); return *this;}
71 
72 
76  inline const Aws::Vector<Step>& GetSteps() const{ return m_steps; }
77 
81  inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
82 
86  inline void SetSteps(const Aws::Vector<Step>& value) { m_stepsHasBeenSet = true; m_steps = value; }
87 
91  inline void SetSteps(Aws::Vector<Step>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
92 
96  inline Job& WithSteps(const Aws::Vector<Step>& value) { SetSteps(value); return *this;}
97 
101  inline Job& WithSteps(Aws::Vector<Step>&& value) { SetSteps(std::move(value)); return *this;}
102 
106  inline Job& AddSteps(const Step& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
107 
111  inline Job& AddSteps(Step&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
112 
113  private:
114 
115  JobSummary m_summary;
116  bool m_summaryHasBeenSet;
117 
118  Aws::Vector<Step> m_steps;
119  bool m_stepsHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace Amplify
124 } // namespace Aws
Amplify_EXPORTS.h
Aws::Amplify::Model::Job::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Step.h
Aws::Amplify::Model::Job::operator=
Job & operator=(Aws::Utils::Json::JsonView jsonValue)
JobSummary.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Amplify::Model::Job::AddSteps
Job & AddSteps(const Step &value)
Definition: Job.h:106
AWSVector.h
Aws::Amplify::Model::Step
Definition: Step.h:36
Aws::Amplify::Model::Job::StepsHasBeenSet
bool StepsHasBeenSet() const
Definition: Job.h:81
Aws::Amplify::Model::Job::WithSteps
Job & WithSteps(Aws::Vector< Step > &&value)
Definition: Job.h:101
Aws::Amplify::Model::Job::SetSummary
void SetSummary(const JobSummary &value)
Definition: Job.h:55
Aws::Amplify::Model::Job::SetSummary
void SetSummary(JobSummary &&value)
Definition: Job.h:60
Aws::Amplify::Model::Job::AddSteps
Job & AddSteps(Step &&value)
Definition: Job.h:111
Aws::Amplify::Model::Job::WithSteps
Job & WithSteps(const Aws::Vector< Step > &value)
Definition: Job.h:96
Aws::Amplify::Model::JobSummary
Definition: JobSummary.h:36
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Amplify::Model::Job::GetSteps
const Aws::Vector< Step > & GetSteps() const
Definition: Job.h:76
Aws::Amplify::Model::Job
Definition: Job.h:34
Aws::Amplify::Model::Job::GetSummary
const JobSummary & GetSummary() const
Definition: Job.h:45
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Amplify::Model::Job::SetSteps
void SetSteps(Aws::Vector< Step > &&value)
Definition: Job.h:91
Aws::Amplify::Model::Job::SummaryHasBeenSet
bool SummaryHasBeenSet() const
Definition: Job.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::Job::Job
Job(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::Job::Job
Job()
Aws::Amplify::Model::Job::WithSummary
Job & WithSummary(const JobSummary &value)
Definition: Job.h:65
Aws::Amplify::Model::Job::WithSummary
Job & WithSummary(JobSummary &&value)
Definition: Job.h:70
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::Job::SetSteps
void SetSteps(const Aws::Vector< Step > &value)
Definition: Job.h:86