AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
JobNodeDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/JobRun.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API JobNodeDetails() = default;
35
37
40 inline const Aws::Vector<JobRun>& GetJobRuns() const { return m_jobRuns; }
41 inline bool JobRunsHasBeenSet() const { return m_jobRunsHasBeenSet; }
42 template <typename JobRunsT = Aws::Vector<JobRun>>
43 void SetJobRuns(JobRunsT&& value) {
44 m_jobRunsHasBeenSet = true;
45 m_jobRuns = std::forward<JobRunsT>(value);
46 }
47 template <typename JobRunsT = Aws::Vector<JobRun>>
48 JobNodeDetails& WithJobRuns(JobRunsT&& value) {
49 SetJobRuns(std::forward<JobRunsT>(value));
50 return *this;
51 }
52 template <typename JobRunsT = JobRun>
53 JobNodeDetails& AddJobRuns(JobRunsT&& value) {
54 m_jobRunsHasBeenSet = true;
55 m_jobRuns.emplace_back(std::forward<JobRunsT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<JobRun> m_jobRuns;
61 bool m_jobRunsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Glue
66} // 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