AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
JobBookmarkEntry.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API JobBookmarkEntry() = default;
39
40
42
45 inline const Aws::String& GetJobName() const { return m_jobName; }
46 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
47 template<typename JobNameT = Aws::String>
48 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
49 template<typename JobNameT = Aws::String>
50 JobBookmarkEntry& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
52
54
57 inline int GetVersion() const { return m_version; }
58 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
59 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
60 inline JobBookmarkEntry& WithVersion(int value) { SetVersion(value); return *this;}
62
64
67 inline int GetRun() const { return m_run; }
68 inline bool RunHasBeenSet() const { return m_runHasBeenSet; }
69 inline void SetRun(int value) { m_runHasBeenSet = true; m_run = value; }
70 inline JobBookmarkEntry& WithRun(int value) { SetRun(value); return *this;}
72
74
77 inline int GetAttempt() const { return m_attempt; }
78 inline bool AttemptHasBeenSet() const { return m_attemptHasBeenSet; }
79 inline void SetAttempt(int value) { m_attemptHasBeenSet = true; m_attempt = value; }
80 inline JobBookmarkEntry& WithAttempt(int value) { SetAttempt(value); return *this;}
82
84
87 inline const Aws::String& GetPreviousRunId() const { return m_previousRunId; }
88 inline bool PreviousRunIdHasBeenSet() const { return m_previousRunIdHasBeenSet; }
89 template<typename PreviousRunIdT = Aws::String>
90 void SetPreviousRunId(PreviousRunIdT&& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = std::forward<PreviousRunIdT>(value); }
91 template<typename PreviousRunIdT = Aws::String>
92 JobBookmarkEntry& WithPreviousRunId(PreviousRunIdT&& value) { SetPreviousRunId(std::forward<PreviousRunIdT>(value)); return *this;}
94
96
99 inline const Aws::String& GetRunId() const { return m_runId; }
100 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
101 template<typename RunIdT = Aws::String>
102 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet = true; m_runId = std::forward<RunIdT>(value); }
103 template<typename RunIdT = Aws::String>
104 JobBookmarkEntry& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
106
108
111 inline const Aws::String& GetJobBookmark() const { return m_jobBookmark; }
112 inline bool JobBookmarkHasBeenSet() const { return m_jobBookmarkHasBeenSet; }
113 template<typename JobBookmarkT = Aws::String>
114 void SetJobBookmark(JobBookmarkT&& value) { m_jobBookmarkHasBeenSet = true; m_jobBookmark = std::forward<JobBookmarkT>(value); }
115 template<typename JobBookmarkT = Aws::String>
116 JobBookmarkEntry& WithJobBookmark(JobBookmarkT&& value) { SetJobBookmark(std::forward<JobBookmarkT>(value)); return *this;}
118 private:
119
120 Aws::String m_jobName;
121 bool m_jobNameHasBeenSet = false;
122
123 int m_version{0};
124 bool m_versionHasBeenSet = false;
125
126 int m_run{0};
127 bool m_runHasBeenSet = false;
128
129 int m_attempt{0};
130 bool m_attemptHasBeenSet = false;
131
132 Aws::String m_previousRunId;
133 bool m_previousRunIdHasBeenSet = false;
134
135 Aws::String m_runId;
136 bool m_runIdHasBeenSet = false;
137
138 Aws::String m_jobBookmark;
139 bool m_jobBookmarkHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Glue
144} // 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