AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
JobNodeDetails.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/JobRun.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API JobNodeDetails() = default;
40
41
43
46 inline const Aws::Vector<JobRun>& GetJobRuns() const { return m_jobRuns; }
47 inline bool JobRunsHasBeenSet() const { return m_jobRunsHasBeenSet; }
48 template<typename JobRunsT = Aws::Vector<JobRun>>
49 void SetJobRuns(JobRunsT&& value) { m_jobRunsHasBeenSet = true; m_jobRuns = std::forward<JobRunsT>(value); }
50 template<typename JobRunsT = Aws::Vector<JobRun>>
51 JobNodeDetails& WithJobRuns(JobRunsT&& value) { SetJobRuns(std::forward<JobRunsT>(value)); return *this;}
52 template<typename JobRunsT = JobRun>
53 JobNodeDetails& AddJobRuns(JobRunsT&& value) { m_jobRunsHasBeenSet = true; m_jobRuns.emplace_back(std::forward<JobRunsT>(value)); return *this; }
55 private:
56
57 Aws::Vector<JobRun> m_jobRuns;
58 bool m_jobRunsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Glue
63} // namespace Aws
void SetJobRuns(JobRunsT &&value)
AWS_GLUE_API JobNodeDetails()=default
JobNodeDetails & AddJobRuns(JobRunsT &&value)
AWS_GLUE_API JobNodeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
JobNodeDetails & WithJobRuns(JobRunsT &&value)
AWS_GLUE_API JobNodeDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< JobRun > & GetJobRuns() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue