AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetJobName() const{ return m_jobName; }
46 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
47 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
48 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
49 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
50 inline JobBookmarkEntry& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
51 inline JobBookmarkEntry& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
52 inline JobBookmarkEntry& WithJobName(const char* value) { SetJobName(value); return *this;}
54
56
59 inline int GetVersion() const{ return m_version; }
60 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
61 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
62 inline JobBookmarkEntry& WithVersion(int value) { SetVersion(value); return *this;}
64
66
69 inline int GetRun() const{ return m_run; }
70 inline bool RunHasBeenSet() const { return m_runHasBeenSet; }
71 inline void SetRun(int value) { m_runHasBeenSet = true; m_run = value; }
72 inline JobBookmarkEntry& WithRun(int value) { SetRun(value); return *this;}
74
76
79 inline int GetAttempt() const{ return m_attempt; }
80 inline bool AttemptHasBeenSet() const { return m_attemptHasBeenSet; }
81 inline void SetAttempt(int value) { m_attemptHasBeenSet = true; m_attempt = value; }
82 inline JobBookmarkEntry& WithAttempt(int value) { SetAttempt(value); return *this;}
84
86
89 inline const Aws::String& GetPreviousRunId() const{ return m_previousRunId; }
90 inline bool PreviousRunIdHasBeenSet() const { return m_previousRunIdHasBeenSet; }
91 inline void SetPreviousRunId(const Aws::String& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = value; }
92 inline void SetPreviousRunId(Aws::String&& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = std::move(value); }
93 inline void SetPreviousRunId(const char* value) { m_previousRunIdHasBeenSet = true; m_previousRunId.assign(value); }
94 inline JobBookmarkEntry& WithPreviousRunId(const Aws::String& value) { SetPreviousRunId(value); return *this;}
95 inline JobBookmarkEntry& WithPreviousRunId(Aws::String&& value) { SetPreviousRunId(std::move(value)); return *this;}
96 inline JobBookmarkEntry& WithPreviousRunId(const char* value) { SetPreviousRunId(value); return *this;}
98
100
103 inline const Aws::String& GetRunId() const{ return m_runId; }
104 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
105 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
106 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
107 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
108 inline JobBookmarkEntry& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
109 inline JobBookmarkEntry& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
110 inline JobBookmarkEntry& WithRunId(const char* value) { SetRunId(value); return *this;}
112
114
117 inline const Aws::String& GetJobBookmark() const{ return m_jobBookmark; }
118 inline bool JobBookmarkHasBeenSet() const { return m_jobBookmarkHasBeenSet; }
119 inline void SetJobBookmark(const Aws::String& value) { m_jobBookmarkHasBeenSet = true; m_jobBookmark = value; }
120 inline void SetJobBookmark(Aws::String&& value) { m_jobBookmarkHasBeenSet = true; m_jobBookmark = std::move(value); }
121 inline void SetJobBookmark(const char* value) { m_jobBookmarkHasBeenSet = true; m_jobBookmark.assign(value); }
122 inline JobBookmarkEntry& WithJobBookmark(const Aws::String& value) { SetJobBookmark(value); return *this;}
123 inline JobBookmarkEntry& WithJobBookmark(Aws::String&& value) { SetJobBookmark(std::move(value)); return *this;}
124 inline JobBookmarkEntry& WithJobBookmark(const char* value) { SetJobBookmark(value); return *this;}
126 private:
127
128 Aws::String m_jobName;
129 bool m_jobNameHasBeenSet = false;
130
131 int m_version;
132 bool m_versionHasBeenSet = false;
133
134 int m_run;
135 bool m_runHasBeenSet = false;
136
137 int m_attempt;
138 bool m_attemptHasBeenSet = false;
139
140 Aws::String m_previousRunId;
141 bool m_previousRunIdHasBeenSet = false;
142
143 Aws::String m_runId;
144 bool m_runIdHasBeenSet = false;
145
146 Aws::String m_jobBookmark;
147 bool m_jobBookmarkHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Glue
152} // namespace Aws
void SetRunId(Aws::String &&value)
const Aws::String & GetJobName() const
const Aws::String & GetPreviousRunId() const
JobBookmarkEntry & WithJobBookmark(Aws::String &&value)
bool PreviousRunIdHasBeenSet() const
AWS_GLUE_API JobBookmarkEntry()
JobBookmarkEntry & WithVersion(int value)
JobBookmarkEntry & WithJobBookmark(const char *value)
JobBookmarkEntry & WithPreviousRunId(const char *value)
JobBookmarkEntry & WithJobName(const char *value)
JobBookmarkEntry & WithRunId(const Aws::String &value)
const Aws::String & GetJobBookmark() const
bool VersionHasBeenSet() const
bool JobNameHasBeenSet() const
bool AttemptHasBeenSet() const
bool JobBookmarkHasBeenSet() const
void SetJobBookmark(Aws::String &&value)
JobBookmarkEntry & WithJobName(const Aws::String &value)
int GetVersion() const
AWS_GLUE_API JobBookmarkEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRun(int value)
JobBookmarkEntry & WithPreviousRunId(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRunId(const char *value)
void SetJobName(const Aws::String &value)
AWS_GLUE_API JobBookmarkEntry(Aws::Utils::Json::JsonView jsonValue)
void SetJobName(Aws::String &&value)
int GetRun() const
JobBookmarkEntry & WithPreviousRunId(Aws::String &&value)
int GetAttempt() const
void SetVersion(int value)
void SetPreviousRunId(const Aws::String &value)
JobBookmarkEntry & WithRun(int value)
JobBookmarkEntry & WithRunId(Aws::String &&value)
void SetAttempt(int value)
void SetJobBookmark(const char *value)
JobBookmarkEntry & WithJobBookmark(const Aws::String &value)
JobBookmarkEntry & WithAttempt(int value)
void SetPreviousRunId(const char *value)
void SetJobBookmark(const Aws::String &value)
const Aws::String & GetRunId() const
void SetJobName(const char *value)
void SetRunId(const Aws::String &value)
bool RunIdHasBeenSet() const
JobBookmarkEntry & WithJobName(Aws::String &&value)
bool RunHasBeenSet() const
void SetPreviousRunId(Aws::String &&value)
JobBookmarkEntry & WithRunId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue