AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
JobBookmarkEntry.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 JobBookmarkEntry() = default;
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 JobBookmarkEntry& WithJobName(JobNameT&& value) {
48 SetJobName(std::forward<JobNameT>(value));
49 return *this;
50 }
52
54
57 inline int GetVersion() const { return m_version; }
58 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
59 inline void SetVersion(int value) {
60 m_versionHasBeenSet = true;
61 m_version = value;
62 }
63 inline JobBookmarkEntry& WithVersion(int value) {
64 SetVersion(value);
65 return *this;
66 }
68
70
73 inline int GetRun() const { return m_run; }
74 inline bool RunHasBeenSet() const { return m_runHasBeenSet; }
75 inline void SetRun(int value) {
76 m_runHasBeenSet = true;
77 m_run = value;
78 }
79 inline JobBookmarkEntry& WithRun(int value) {
80 SetRun(value);
81 return *this;
82 }
84
86
89 inline int GetAttempt() const { return m_attempt; }
90 inline bool AttemptHasBeenSet() const { return m_attemptHasBeenSet; }
91 inline void SetAttempt(int value) {
92 m_attemptHasBeenSet = true;
93 m_attempt = value;
94 }
95 inline JobBookmarkEntry& WithAttempt(int value) {
96 SetAttempt(value);
97 return *this;
98 }
100
102
105 inline const Aws::String& GetPreviousRunId() const { return m_previousRunId; }
106 inline bool PreviousRunIdHasBeenSet() const { return m_previousRunIdHasBeenSet; }
107 template <typename PreviousRunIdT = Aws::String>
108 void SetPreviousRunId(PreviousRunIdT&& value) {
109 m_previousRunIdHasBeenSet = true;
110 m_previousRunId = std::forward<PreviousRunIdT>(value);
111 }
112 template <typename PreviousRunIdT = Aws::String>
113 JobBookmarkEntry& WithPreviousRunId(PreviousRunIdT&& value) {
114 SetPreviousRunId(std::forward<PreviousRunIdT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetRunId() const { return m_runId; }
124 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
125 template <typename RunIdT = Aws::String>
126 void SetRunId(RunIdT&& value) {
127 m_runIdHasBeenSet = true;
128 m_runId = std::forward<RunIdT>(value);
129 }
130 template <typename RunIdT = Aws::String>
131 JobBookmarkEntry& WithRunId(RunIdT&& value) {
132 SetRunId(std::forward<RunIdT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetJobBookmark() const { return m_jobBookmark; }
142 inline bool JobBookmarkHasBeenSet() const { return m_jobBookmarkHasBeenSet; }
143 template <typename JobBookmarkT = Aws::String>
144 void SetJobBookmark(JobBookmarkT&& value) {
145 m_jobBookmarkHasBeenSet = true;
146 m_jobBookmark = std::forward<JobBookmarkT>(value);
147 }
148 template <typename JobBookmarkT = Aws::String>
149 JobBookmarkEntry& WithJobBookmark(JobBookmarkT&& value) {
150 SetJobBookmark(std::forward<JobBookmarkT>(value));
151 return *this;
152 }
154 private:
155 Aws::String m_jobName;
156 bool m_jobNameHasBeenSet = false;
157
158 int m_version{0};
159 bool m_versionHasBeenSet = false;
160
161 int m_run{0};
162 bool m_runHasBeenSet = false;
163
164 int m_attempt{0};
165 bool m_attemptHasBeenSet = false;
166
167 Aws::String m_previousRunId;
168 bool m_previousRunIdHasBeenSet = false;
169
170 Aws::String m_runId;
171 bool m_runIdHasBeenSet = false;
172
173 Aws::String m_jobBookmark;
174 bool m_jobBookmarkHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace Glue
179} // namespace Aws
const Aws::String & GetJobName() const
const Aws::String & GetPreviousRunId() const
bool PreviousRunIdHasBeenSet() const
JobBookmarkEntry & WithVersion(int value)
const Aws::String & GetJobBookmark() const
bool VersionHasBeenSet() const
bool JobNameHasBeenSet() const
bool AttemptHasBeenSet() const
bool JobBookmarkHasBeenSet() const
int GetVersion() const
JobBookmarkEntry & WithJobBookmark(JobBookmarkT &&value)
AWS_GLUE_API JobBookmarkEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRun(int value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
JobBookmarkEntry & WithPreviousRunId(PreviousRunIdT &&value)
AWS_GLUE_API JobBookmarkEntry(Aws::Utils::Json::JsonView jsonValue)
int GetRun() const
int GetAttempt() const
void SetVersion(int value)
JobBookmarkEntry & WithRunId(RunIdT &&value)
void SetRunId(RunIdT &&value)
JobBookmarkEntry & WithRun(int value)
void SetAttempt(int value)
JobBookmarkEntry & WithAttempt(int value)
JobBookmarkEntry & WithJobName(JobNameT &&value)
const Aws::String & GetRunId() const
AWS_GLUE_API JobBookmarkEntry()=default
bool RunIdHasBeenSet() const
void SetPreviousRunId(PreviousRunIdT &&value)
void SetJobName(JobNameT &&value)
void SetJobBookmark(JobBookmarkT &&value)
bool RunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue