/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Defines a point that a job can resume processing.

See Also:

* AWS * API Reference

*/ class JobBookmarkEntry { public: AWS_GLUE_API JobBookmarkEntry(); AWS_GLUE_API JobBookmarkEntry(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API JobBookmarkEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the job in question.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the job in question.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The name of the job in question.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The name of the job in question.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The name of the job in question.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The name of the job in question.

*/ inline JobBookmarkEntry& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the job in question.

*/ inline JobBookmarkEntry& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the job in question.

*/ inline JobBookmarkEntry& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The version of the job.

*/ inline int GetVersion() const{ return m_version; } /** *

The version of the job.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

The version of the job.

*/ inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; } /** *

The version of the job.

*/ inline JobBookmarkEntry& WithVersion(int value) { SetVersion(value); return *this;} /** *

The run ID number.

*/ inline int GetRun() const{ return m_run; } /** *

The run ID number.

*/ inline bool RunHasBeenSet() const { return m_runHasBeenSet; } /** *

The run ID number.

*/ inline void SetRun(int value) { m_runHasBeenSet = true; m_run = value; } /** *

The run ID number.

*/ inline JobBookmarkEntry& WithRun(int value) { SetRun(value); return *this;} /** *

The attempt ID number.

*/ inline int GetAttempt() const{ return m_attempt; } /** *

The attempt ID number.

*/ inline bool AttemptHasBeenSet() const { return m_attemptHasBeenSet; } /** *

The attempt ID number.

*/ inline void SetAttempt(int value) { m_attemptHasBeenSet = true; m_attempt = value; } /** *

The attempt ID number.

*/ inline JobBookmarkEntry& WithAttempt(int value) { SetAttempt(value); return *this;} /** *

The unique run identifier associated with the previous job run.

*/ inline const Aws::String& GetPreviousRunId() const{ return m_previousRunId; } /** *

The unique run identifier associated with the previous job run.

*/ inline bool PreviousRunIdHasBeenSet() const { return m_previousRunIdHasBeenSet; } /** *

The unique run identifier associated with the previous job run.

*/ inline void SetPreviousRunId(const Aws::String& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = value; } /** *

The unique run identifier associated with the previous job run.

*/ inline void SetPreviousRunId(Aws::String&& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = std::move(value); } /** *

The unique run identifier associated with the previous job run.

*/ inline void SetPreviousRunId(const char* value) { m_previousRunIdHasBeenSet = true; m_previousRunId.assign(value); } /** *

The unique run identifier associated with the previous job run.

*/ inline JobBookmarkEntry& WithPreviousRunId(const Aws::String& value) { SetPreviousRunId(value); return *this;} /** *

The unique run identifier associated with the previous job run.

*/ inline JobBookmarkEntry& WithPreviousRunId(Aws::String&& value) { SetPreviousRunId(std::move(value)); return *this;} /** *

The unique run identifier associated with the previous job run.

*/ inline JobBookmarkEntry& WithPreviousRunId(const char* value) { SetPreviousRunId(value); return *this;} /** *

The run ID number.

*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *

The run ID number.

*/ inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } /** *

The run ID number.

*/ inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; } /** *

The run ID number.

*/ inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); } /** *

The run ID number.

*/ inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); } /** *

The run ID number.

*/ inline JobBookmarkEntry& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The run ID number.

*/ inline JobBookmarkEntry& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *

The run ID number.

*/ inline JobBookmarkEntry& WithRunId(const char* value) { SetRunId(value); return *this;} /** *

The bookmark itself.

*/ inline const Aws::String& GetJobBookmark() const{ return m_jobBookmark; } /** *

The bookmark itself.

*/ inline bool JobBookmarkHasBeenSet() const { return m_jobBookmarkHasBeenSet; } /** *

The bookmark itself.

*/ inline void SetJobBookmark(const Aws::String& value) { m_jobBookmarkHasBeenSet = true; m_jobBookmark = value; } /** *

The bookmark itself.

*/ inline void SetJobBookmark(Aws::String&& value) { m_jobBookmarkHasBeenSet = true; m_jobBookmark = std::move(value); } /** *

The bookmark itself.

*/ inline void SetJobBookmark(const char* value) { m_jobBookmarkHasBeenSet = true; m_jobBookmark.assign(value); } /** *

The bookmark itself.

*/ inline JobBookmarkEntry& WithJobBookmark(const Aws::String& value) { SetJobBookmark(value); return *this;} /** *

The bookmark itself.

*/ inline JobBookmarkEntry& WithJobBookmark(Aws::String&& value) { SetJobBookmark(std::move(value)); return *this;} /** *

The bookmark itself.

*/ inline JobBookmarkEntry& WithJobBookmark(const char* value) { SetJobBookmark(value); return *this;} private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; int m_version; bool m_versionHasBeenSet = false; int m_run; bool m_runHasBeenSet = false; int m_attempt; bool m_attemptHasBeenSet = false; Aws::String m_previousRunId; bool m_previousRunIdHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; Aws::String m_jobBookmark; bool m_jobBookmarkHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws