AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Predecessor.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API Predecessor() = default;
31 AWS_GLUE_API Predecessor(Aws::Utils::Json::JsonView jsonValue);
34
36
39 inline const Aws::String& GetJobName() const { return m_jobName; }
40 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
41 template <typename JobNameT = Aws::String>
42 void SetJobName(JobNameT&& value) {
43 m_jobNameHasBeenSet = true;
44 m_jobName = std::forward<JobNameT>(value);
45 }
46 template <typename JobNameT = Aws::String>
47 Predecessor& WithJobName(JobNameT&& value) {
48 SetJobName(std::forward<JobNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRunId() const { return m_runId; }
58 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
59 template <typename RunIdT = Aws::String>
60 void SetRunId(RunIdT&& value) {
61 m_runIdHasBeenSet = true;
62 m_runId = std::forward<RunIdT>(value);
63 }
64 template <typename RunIdT = Aws::String>
65 Predecessor& WithRunId(RunIdT&& value) {
66 SetRunId(std::forward<RunIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_jobName;
72
73 Aws::String m_runId;
74 bool m_jobNameHasBeenSet = false;
75 bool m_runIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Glue
80} // namespace Aws
const Aws::String & GetRunId() const
Definition Predecessor.h:57
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobName(JobNameT &&value)
Definition Predecessor.h:42
AWS_GLUE_API Predecessor(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobName() const
Definition Predecessor.h:39
AWS_GLUE_API Predecessor & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRunId(RunIdT &&value)
Definition Predecessor.h:60
Predecessor & WithJobName(JobNameT &&value)
Definition Predecessor.h:47
Predecessor & WithRunId(RunIdT &&value)
Definition Predecessor.h:65
AWS_GLUE_API Predecessor()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue