130 lines
3.9 KiB
C++
130 lines
3.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/glue/Glue_EXPORTS.h>
|
|
#include <aws/glue/GlueRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Glue
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_GLUE_API GetJobBookmarkRequest : public GlueRequest
|
|
{
|
|
public:
|
|
GetJobBookmarkRequest();
|
|
|
|
// 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 "GetJobBookmark"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the job in question.</p>
|
|
*/
|
|
inline const Aws::String& GetJobName() const{ return m_jobName; }
|
|
|
|
/**
|
|
* <p>The name of the job in question.</p>
|
|
*/
|
|
inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the job in question.</p>
|
|
*/
|
|
inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
|
|
|
|
/**
|
|
* <p>The name of the job in question.</p>
|
|
*/
|
|
inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the job in question.</p>
|
|
*/
|
|
inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the job in question.</p>
|
|
*/
|
|
inline GetJobBookmarkRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the job in question.</p>
|
|
*/
|
|
inline GetJobBookmarkRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the job in question.</p>
|
|
*/
|
|
inline GetJobBookmarkRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The unique run identifier associated with this job run.</p>
|
|
*/
|
|
inline const Aws::String& GetRunId() const{ return m_runId; }
|
|
|
|
/**
|
|
* <p>The unique run identifier associated with this job run.</p>
|
|
*/
|
|
inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The unique run identifier associated with this job run.</p>
|
|
*/
|
|
inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
|
|
|
|
/**
|
|
* <p>The unique run identifier associated with this job run.</p>
|
|
*/
|
|
inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The unique run identifier associated with this job run.</p>
|
|
*/
|
|
inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
|
|
|
|
/**
|
|
* <p>The unique run identifier associated with this job run.</p>
|
|
*/
|
|
inline GetJobBookmarkRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The unique run identifier associated with this job run.</p>
|
|
*/
|
|
inline GetJobBookmarkRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The unique run identifier associated with this job run.</p>
|
|
*/
|
|
inline GetJobBookmarkRequest& WithRunId(const char* value) { SetRunId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_jobName;
|
|
bool m_jobNameHasBeenSet;
|
|
|
|
Aws::String m_runId;
|
|
bool m_runIdHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Glue
|
|
} // namespace Aws
|