/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class ResetJobBookmarkRequest : public GlueRequest { public: AWS_GLUE_API ResetJobBookmarkRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ResetJobBookmark"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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 ResetJobBookmarkRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the job in question.

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

The name of the job in question.

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

The unique run identifier associated with this job run.

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

The unique run identifier associated with this job run.

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

The unique run identifier associated with this job run.

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

The unique run identifier associated with this job run.

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

The unique run identifier associated with this job run.

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

The unique run identifier associated with this job run.

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

The unique run identifier associated with this job run.

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

The unique run identifier associated with this job run.

*/ inline ResetJobBookmarkRequest& WithRunId(const char* value) { SetRunId(value); return *this;} private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws