1082 lines
51 KiB
C++
1082 lines
51 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/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/DateTime.h>
|
|
#include <aws/glue/model/ExecutionProperty.h>
|
|
#include <aws/glue/model/JobCommand.h>
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|
#include <aws/glue/model/ConnectionsList.h>
|
|
#include <aws/glue/model/WorkerType.h>
|
|
#include <aws/glue/model/NotificationProperty.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Glue
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Specifies a job definition.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Job">AWS API
|
|
* Reference</a></p>
|
|
*/
|
|
class AWS_GLUE_API Job
|
|
{
|
|
public:
|
|
Job();
|
|
Job(Aws::Utils::Json::JsonView jsonValue);
|
|
Job& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The name you assign to this job definition.</p>
|
|
*/
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|
|
|
/**
|
|
* <p>The name you assign to this job definition.</p>
|
|
*/
|
|
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name you assign to this job definition.</p>
|
|
*/
|
|
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
|
|
|
|
/**
|
|
* <p>The name you assign to this job definition.</p>
|
|
*/
|
|
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name you assign to this job definition.</p>
|
|
*/
|
|
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
|
|
|
|
/**
|
|
* <p>The name you assign to this job definition.</p>
|
|
*/
|
|
inline Job& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name you assign to this job definition.</p>
|
|
*/
|
|
inline Job& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name you assign to this job definition.</p>
|
|
*/
|
|
inline Job& WithName(const char* value) { SetName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A description of the job.</p>
|
|
*/
|
|
inline const Aws::String& GetDescription() const{ return m_description; }
|
|
|
|
/**
|
|
* <p>A description of the job.</p>
|
|
*/
|
|
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A description of the job.</p>
|
|
*/
|
|
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
|
|
|
|
/**
|
|
* <p>A description of the job.</p>
|
|
*/
|
|
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
|
|
|
|
/**
|
|
* <p>A description of the job.</p>
|
|
*/
|
|
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
|
|
|
|
/**
|
|
* <p>A description of the job.</p>
|
|
*/
|
|
inline Job& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>A description of the job.</p>
|
|
*/
|
|
inline Job& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A description of the job.</p>
|
|
*/
|
|
inline Job& WithDescription(const char* value) { SetDescription(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>This field is reserved for future use.</p>
|
|
*/
|
|
inline const Aws::String& GetLogUri() const{ return m_logUri; }
|
|
|
|
/**
|
|
* <p>This field is reserved for future use.</p>
|
|
*/
|
|
inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
|
|
|
|
/**
|
|
* <p>This field is reserved for future use.</p>
|
|
*/
|
|
inline void SetLogUri(const Aws::String& value) { m_logUriHasBeenSet = true; m_logUri = value; }
|
|
|
|
/**
|
|
* <p>This field is reserved for future use.</p>
|
|
*/
|
|
inline void SetLogUri(Aws::String&& value) { m_logUriHasBeenSet = true; m_logUri = std::move(value); }
|
|
|
|
/**
|
|
* <p>This field is reserved for future use.</p>
|
|
*/
|
|
inline void SetLogUri(const char* value) { m_logUriHasBeenSet = true; m_logUri.assign(value); }
|
|
|
|
/**
|
|
* <p>This field is reserved for future use.</p>
|
|
*/
|
|
inline Job& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
|
|
|
|
/**
|
|
* <p>This field is reserved for future use.</p>
|
|
*/
|
|
inline Job& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>This field is reserved for future use.</p>
|
|
*/
|
|
inline Job& WithLogUri(const char* value) { SetLogUri(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name or Amazon Resource Name (ARN) of the IAM role associated with this
|
|
* job.</p>
|
|
*/
|
|
inline const Aws::String& GetRole() const{ return m_role; }
|
|
|
|
/**
|
|
* <p>The name or Amazon Resource Name (ARN) of the IAM role associated with this
|
|
* job.</p>
|
|
*/
|
|
inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name or Amazon Resource Name (ARN) of the IAM role associated with this
|
|
* job.</p>
|
|
*/
|
|
inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
|
|
|
|
/**
|
|
* <p>The name or Amazon Resource Name (ARN) of the IAM role associated with this
|
|
* job.</p>
|
|
*/
|
|
inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name or Amazon Resource Name (ARN) of the IAM role associated with this
|
|
* job.</p>
|
|
*/
|
|
inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
|
|
|
|
/**
|
|
* <p>The name or Amazon Resource Name (ARN) of the IAM role associated with this
|
|
* job.</p>
|
|
*/
|
|
inline Job& WithRole(const Aws::String& value) { SetRole(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name or Amazon Resource Name (ARN) of the IAM role associated with this
|
|
* job.</p>
|
|
*/
|
|
inline Job& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name or Amazon Resource Name (ARN) of the IAM role associated with this
|
|
* job.</p>
|
|
*/
|
|
inline Job& WithRole(const char* value) { SetRole(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The time and date that this job definition was created.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; }
|
|
|
|
/**
|
|
* <p>The time and date that this job definition was created.</p>
|
|
*/
|
|
inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The time and date that this job definition was created.</p>
|
|
*/
|
|
inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOnHasBeenSet = true; m_createdOn = value; }
|
|
|
|
/**
|
|
* <p>The time and date that this job definition was created.</p>
|
|
*/
|
|
inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The time and date that this job definition was created.</p>
|
|
*/
|
|
inline Job& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The time and date that this job definition was created.</p>
|
|
*/
|
|
inline Job& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The last point in time when this job definition was modified.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
|
|
|
|
/**
|
|
* <p>The last point in time when this job definition was modified.</p>
|
|
*/
|
|
inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The last point in time when this job definition was modified.</p>
|
|
*/
|
|
inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; }
|
|
|
|
/**
|
|
* <p>The last point in time when this job definition was modified.</p>
|
|
*/
|
|
inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The last point in time when this job definition was modified.</p>
|
|
*/
|
|
inline Job& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The last point in time when this job definition was modified.</p>
|
|
*/
|
|
inline Job& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>An <code>ExecutionProperty</code> specifying the maximum number of concurrent
|
|
* runs allowed for this job.</p>
|
|
*/
|
|
inline const ExecutionProperty& GetExecutionProperty() const{ return m_executionProperty; }
|
|
|
|
/**
|
|
* <p>An <code>ExecutionProperty</code> specifying the maximum number of concurrent
|
|
* runs allowed for this job.</p>
|
|
*/
|
|
inline bool ExecutionPropertyHasBeenSet() const { return m_executionPropertyHasBeenSet; }
|
|
|
|
/**
|
|
* <p>An <code>ExecutionProperty</code> specifying the maximum number of concurrent
|
|
* runs allowed for this job.</p>
|
|
*/
|
|
inline void SetExecutionProperty(const ExecutionProperty& value) { m_executionPropertyHasBeenSet = true; m_executionProperty = value; }
|
|
|
|
/**
|
|
* <p>An <code>ExecutionProperty</code> specifying the maximum number of concurrent
|
|
* runs allowed for this job.</p>
|
|
*/
|
|
inline void SetExecutionProperty(ExecutionProperty&& value) { m_executionPropertyHasBeenSet = true; m_executionProperty = std::move(value); }
|
|
|
|
/**
|
|
* <p>An <code>ExecutionProperty</code> specifying the maximum number of concurrent
|
|
* runs allowed for this job.</p>
|
|
*/
|
|
inline Job& WithExecutionProperty(const ExecutionProperty& value) { SetExecutionProperty(value); return *this;}
|
|
|
|
/**
|
|
* <p>An <code>ExecutionProperty</code> specifying the maximum number of concurrent
|
|
* runs allowed for this job.</p>
|
|
*/
|
|
inline Job& WithExecutionProperty(ExecutionProperty&& value) { SetExecutionProperty(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The <code>JobCommand</code> that executes this job.</p>
|
|
*/
|
|
inline const JobCommand& GetCommand() const{ return m_command; }
|
|
|
|
/**
|
|
* <p>The <code>JobCommand</code> that executes this job.</p>
|
|
*/
|
|
inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The <code>JobCommand</code> that executes this job.</p>
|
|
*/
|
|
inline void SetCommand(const JobCommand& value) { m_commandHasBeenSet = true; m_command = value; }
|
|
|
|
/**
|
|
* <p>The <code>JobCommand</code> that executes this job.</p>
|
|
*/
|
|
inline void SetCommand(JobCommand&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
|
|
|
|
/**
|
|
* <p>The <code>JobCommand</code> that executes this job.</p>
|
|
*/
|
|
inline Job& WithCommand(const JobCommand& value) { SetCommand(value); return *this;}
|
|
|
|
/**
|
|
* <p>The <code>JobCommand</code> that executes this job.</p>
|
|
*/
|
|
inline Job& WithCommand(JobCommand&& value) { SetCommand(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetDefaultArguments() const{ return m_defaultArguments; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline bool DefaultArgumentsHasBeenSet() const { return m_defaultArgumentsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline void SetDefaultArguments(const Aws::Map<Aws::String, Aws::String>& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments = value; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline void SetDefaultArguments(Aws::Map<Aws::String, Aws::String>&& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments = std::move(value); }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& WithDefaultArguments(const Aws::Map<Aws::String, Aws::String>& value) { SetDefaultArguments(value); return *this;}
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& WithDefaultArguments(Aws::Map<Aws::String, Aws::String>&& value) { SetDefaultArguments(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& AddDefaultArguments(const Aws::String& key, const Aws::String& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(key, value); return *this; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& AddDefaultArguments(Aws::String&& key, const Aws::String& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& AddDefaultArguments(const Aws::String& key, Aws::String&& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& AddDefaultArguments(Aws::String&& key, Aws::String&& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& AddDefaultArguments(const char* key, Aws::String&& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& AddDefaultArguments(Aws::String&& key, const char* value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>The default arguments for this job, specified as name-value pairs.</p> <p>You
|
|
* can specify arguments here that your own job-execution script consumes, as well
|
|
* as arguments that AWS Glue itself consumes.</p> <p>For information about how to
|
|
* specify and consume your own Job arguments, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html">Calling
|
|
* AWS Glue APIs in Python</a> topic in the developer guide.</p> <p>For information
|
|
* about the key-value pairs that AWS Glue consumes to set up your job, see the <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html">Special
|
|
* Parameters Used by AWS Glue</a> topic in the developer guide.</p>
|
|
*/
|
|
inline Job& AddDefaultArguments(const char* key, const char* value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(key, value); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetNonOverridableArguments() const{ return m_nonOverridableArguments; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline bool NonOverridableArgumentsHasBeenSet() const { return m_nonOverridableArgumentsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline void SetNonOverridableArguments(const Aws::Map<Aws::String, Aws::String>& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments = value; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline void SetNonOverridableArguments(Aws::Map<Aws::String, Aws::String>&& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments = std::move(value); }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& WithNonOverridableArguments(const Aws::Map<Aws::String, Aws::String>& value) { SetNonOverridableArguments(value); return *this;}
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& WithNonOverridableArguments(Aws::Map<Aws::String, Aws::String>&& value) { SetNonOverridableArguments(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& AddNonOverridableArguments(const Aws::String& key, const Aws::String& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(key, value); return *this; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& AddNonOverridableArguments(Aws::String&& key, const Aws::String& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& AddNonOverridableArguments(const Aws::String& key, Aws::String&& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& AddNonOverridableArguments(Aws::String&& key, Aws::String&& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& AddNonOverridableArguments(const char* key, Aws::String&& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& AddNonOverridableArguments(Aws::String&& key, const char* value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>Non-overridable arguments for this job, specified as name-value pairs.</p>
|
|
*/
|
|
inline Job& AddNonOverridableArguments(const char* key, const char* value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(key, value); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>The connections used for this job.</p>
|
|
*/
|
|
inline const ConnectionsList& GetConnections() const{ return m_connections; }
|
|
|
|
/**
|
|
* <p>The connections used for this job.</p>
|
|
*/
|
|
inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The connections used for this job.</p>
|
|
*/
|
|
inline void SetConnections(const ConnectionsList& value) { m_connectionsHasBeenSet = true; m_connections = value; }
|
|
|
|
/**
|
|
* <p>The connections used for this job.</p>
|
|
*/
|
|
inline void SetConnections(ConnectionsList&& value) { m_connectionsHasBeenSet = true; m_connections = std::move(value); }
|
|
|
|
/**
|
|
* <p>The connections used for this job.</p>
|
|
*/
|
|
inline Job& WithConnections(const ConnectionsList& value) { SetConnections(value); return *this;}
|
|
|
|
/**
|
|
* <p>The connections used for this job.</p>
|
|
*/
|
|
inline Job& WithConnections(ConnectionsList&& value) { SetConnections(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The maximum number of times to retry this job after a JobRun fails.</p>
|
|
*/
|
|
inline int GetMaxRetries() const{ return m_maxRetries; }
|
|
|
|
/**
|
|
* <p>The maximum number of times to retry this job after a JobRun fails.</p>
|
|
*/
|
|
inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The maximum number of times to retry this job after a JobRun fails.</p>
|
|
*/
|
|
inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
|
|
|
|
/**
|
|
* <p>The maximum number of times to retry this job after a JobRun fails.</p>
|
|
*/
|
|
inline Job& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The job timeout in minutes. This is the maximum time that a job run can
|
|
* consume resources before it is terminated and enters <code>TIMEOUT</code>
|
|
* status. The default is 2,880 minutes (48 hours).</p>
|
|
*/
|
|
inline int GetTimeout() const{ return m_timeout; }
|
|
|
|
/**
|
|
* <p>The job timeout in minutes. This is the maximum time that a job run can
|
|
* consume resources before it is terminated and enters <code>TIMEOUT</code>
|
|
* status. The default is 2,880 minutes (48 hours).</p>
|
|
*/
|
|
inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The job timeout in minutes. This is the maximum time that a job run can
|
|
* consume resources before it is terminated and enters <code>TIMEOUT</code>
|
|
* status. The default is 2,880 minutes (48 hours).</p>
|
|
*/
|
|
inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
|
|
|
|
/**
|
|
* <p>The job timeout in minutes. This is the maximum time that a job run can
|
|
* consume resources before it is terminated and enters <code>TIMEOUT</code>
|
|
* status. The default is 2,880 minutes (48 hours).</p>
|
|
*/
|
|
inline Job& WithTimeout(int value) { SetTimeout(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of AWS Glue data processing units (DPUs) that can be allocated
|
|
* when this job runs. A DPU is a relative measure of processing power that
|
|
* consists of 4 vCPUs of compute capacity and 16 GB of memory. For more
|
|
* information, see the <a href="https://aws.amazon.com/glue/pricing/">AWS Glue
|
|
* pricing page</a>.</p> <p>Do not set <code>Max Capacity</code> if using
|
|
* <code>WorkerType</code> and <code>NumberOfWorkers</code>.</p> <p>The value that
|
|
* can be allocated for <code>MaxCapacity</code> depends on whether you are running
|
|
* a Python shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL
|
|
* job:</p> <ul> <li> <p>When you specify a Python shell job
|
|
* (<code>JobCommand.Name</code>="pythonshell"), you can allocate either 0.0625 or
|
|
* 1 DPU. The default is 0.0625 DPU.</p> </li> <li> <p>When you specify an Apache
|
|
* Spark ETL job (<code>JobCommand.Name</code>="glueetl") or Apache Spark streaming
|
|
* ETL job (<code>JobCommand.Name</code>="gluestreaming"), you can allocate from 2
|
|
* to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU
|
|
* allocation.</p> </li> </ul>
|
|
*/
|
|
inline double GetMaxCapacity() const{ return m_maxCapacity; }
|
|
|
|
/**
|
|
* <p>The number of AWS Glue data processing units (DPUs) that can be allocated
|
|
* when this job runs. A DPU is a relative measure of processing power that
|
|
* consists of 4 vCPUs of compute capacity and 16 GB of memory. For more
|
|
* information, see the <a href="https://aws.amazon.com/glue/pricing/">AWS Glue
|
|
* pricing page</a>.</p> <p>Do not set <code>Max Capacity</code> if using
|
|
* <code>WorkerType</code> and <code>NumberOfWorkers</code>.</p> <p>The value that
|
|
* can be allocated for <code>MaxCapacity</code> depends on whether you are running
|
|
* a Python shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL
|
|
* job:</p> <ul> <li> <p>When you specify a Python shell job
|
|
* (<code>JobCommand.Name</code>="pythonshell"), you can allocate either 0.0625 or
|
|
* 1 DPU. The default is 0.0625 DPU.</p> </li> <li> <p>When you specify an Apache
|
|
* Spark ETL job (<code>JobCommand.Name</code>="glueetl") or Apache Spark streaming
|
|
* ETL job (<code>JobCommand.Name</code>="gluestreaming"), you can allocate from 2
|
|
* to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU
|
|
* allocation.</p> </li> </ul>
|
|
*/
|
|
inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of AWS Glue data processing units (DPUs) that can be allocated
|
|
* when this job runs. A DPU is a relative measure of processing power that
|
|
* consists of 4 vCPUs of compute capacity and 16 GB of memory. For more
|
|
* information, see the <a href="https://aws.amazon.com/glue/pricing/">AWS Glue
|
|
* pricing page</a>.</p> <p>Do not set <code>Max Capacity</code> if using
|
|
* <code>WorkerType</code> and <code>NumberOfWorkers</code>.</p> <p>The value that
|
|
* can be allocated for <code>MaxCapacity</code> depends on whether you are running
|
|
* a Python shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL
|
|
* job:</p> <ul> <li> <p>When you specify a Python shell job
|
|
* (<code>JobCommand.Name</code>="pythonshell"), you can allocate either 0.0625 or
|
|
* 1 DPU. The default is 0.0625 DPU.</p> </li> <li> <p>When you specify an Apache
|
|
* Spark ETL job (<code>JobCommand.Name</code>="glueetl") or Apache Spark streaming
|
|
* ETL job (<code>JobCommand.Name</code>="gluestreaming"), you can allocate from 2
|
|
* to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU
|
|
* allocation.</p> </li> </ul>
|
|
*/
|
|
inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
|
|
|
|
/**
|
|
* <p>The number of AWS Glue data processing units (DPUs) that can be allocated
|
|
* when this job runs. A DPU is a relative measure of processing power that
|
|
* consists of 4 vCPUs of compute capacity and 16 GB of memory. For more
|
|
* information, see the <a href="https://aws.amazon.com/glue/pricing/">AWS Glue
|
|
* pricing page</a>.</p> <p>Do not set <code>Max Capacity</code> if using
|
|
* <code>WorkerType</code> and <code>NumberOfWorkers</code>.</p> <p>The value that
|
|
* can be allocated for <code>MaxCapacity</code> depends on whether you are running
|
|
* a Python shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL
|
|
* job:</p> <ul> <li> <p>When you specify a Python shell job
|
|
* (<code>JobCommand.Name</code>="pythonshell"), you can allocate either 0.0625 or
|
|
* 1 DPU. The default is 0.0625 DPU.</p> </li> <li> <p>When you specify an Apache
|
|
* Spark ETL job (<code>JobCommand.Name</code>="glueetl") or Apache Spark streaming
|
|
* ETL job (<code>JobCommand.Name</code>="gluestreaming"), you can allocate from 2
|
|
* to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU
|
|
* allocation.</p> </li> </ul>
|
|
*/
|
|
inline Job& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The type of predefined worker that is allocated when a job runs. Accepts a
|
|
* value of Standard, G.1X, or G.2X.</p> <ul> <li> <p>For the <code>Standard</code>
|
|
* worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
|
|
* executors per worker.</p> </li> <li> <p>For the <code>G.1X</code> worker type,
|
|
* each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1
|
|
* executor per worker. We recommend this worker type for memory-intensive
|
|
* jobs.</p> </li> <li> <p>For the <code>G.2X</code> worker type, each worker maps
|
|
* to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per
|
|
* worker. We recommend this worker type for memory-intensive jobs.</p> </li> </ul>
|
|
*/
|
|
inline const WorkerType& GetWorkerType() const{ return m_workerType; }
|
|
|
|
/**
|
|
* <p>The type of predefined worker that is allocated when a job runs. Accepts a
|
|
* value of Standard, G.1X, or G.2X.</p> <ul> <li> <p>For the <code>Standard</code>
|
|
* worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
|
|
* executors per worker.</p> </li> <li> <p>For the <code>G.1X</code> worker type,
|
|
* each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1
|
|
* executor per worker. We recommend this worker type for memory-intensive
|
|
* jobs.</p> </li> <li> <p>For the <code>G.2X</code> worker type, each worker maps
|
|
* to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per
|
|
* worker. We recommend this worker type for memory-intensive jobs.</p> </li> </ul>
|
|
*/
|
|
inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The type of predefined worker that is allocated when a job runs. Accepts a
|
|
* value of Standard, G.1X, or G.2X.</p> <ul> <li> <p>For the <code>Standard</code>
|
|
* worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
|
|
* executors per worker.</p> </li> <li> <p>For the <code>G.1X</code> worker type,
|
|
* each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1
|
|
* executor per worker. We recommend this worker type for memory-intensive
|
|
* jobs.</p> </li> <li> <p>For the <code>G.2X</code> worker type, each worker maps
|
|
* to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per
|
|
* worker. We recommend this worker type for memory-intensive jobs.</p> </li> </ul>
|
|
*/
|
|
inline void SetWorkerType(const WorkerType& value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
|
|
|
|
/**
|
|
* <p>The type of predefined worker that is allocated when a job runs. Accepts a
|
|
* value of Standard, G.1X, or G.2X.</p> <ul> <li> <p>For the <code>Standard</code>
|
|
* worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
|
|
* executors per worker.</p> </li> <li> <p>For the <code>G.1X</code> worker type,
|
|
* each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1
|
|
* executor per worker. We recommend this worker type for memory-intensive
|
|
* jobs.</p> </li> <li> <p>For the <code>G.2X</code> worker type, each worker maps
|
|
* to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per
|
|
* worker. We recommend this worker type for memory-intensive jobs.</p> </li> </ul>
|
|
*/
|
|
inline void SetWorkerType(WorkerType&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); }
|
|
|
|
/**
|
|
* <p>The type of predefined worker that is allocated when a job runs. Accepts a
|
|
* value of Standard, G.1X, or G.2X.</p> <ul> <li> <p>For the <code>Standard</code>
|
|
* worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
|
|
* executors per worker.</p> </li> <li> <p>For the <code>G.1X</code> worker type,
|
|
* each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1
|
|
* executor per worker. We recommend this worker type for memory-intensive
|
|
* jobs.</p> </li> <li> <p>For the <code>G.2X</code> worker type, each worker maps
|
|
* to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per
|
|
* worker. We recommend this worker type for memory-intensive jobs.</p> </li> </ul>
|
|
*/
|
|
inline Job& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;}
|
|
|
|
/**
|
|
* <p>The type of predefined worker that is allocated when a job runs. Accepts a
|
|
* value of Standard, G.1X, or G.2X.</p> <ul> <li> <p>For the <code>Standard</code>
|
|
* worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
|
|
* executors per worker.</p> </li> <li> <p>For the <code>G.1X</code> worker type,
|
|
* each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1
|
|
* executor per worker. We recommend this worker type for memory-intensive
|
|
* jobs.</p> </li> <li> <p>For the <code>G.2X</code> worker type, each worker maps
|
|
* to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per
|
|
* worker. We recommend this worker type for memory-intensive jobs.</p> </li> </ul>
|
|
*/
|
|
inline Job& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of workers of a defined <code>workerType</code> that are allocated
|
|
* when a job runs.</p> <p>The maximum number of workers you can define are 299 for
|
|
* <code>G.1X</code>, and 149 for <code>G.2X</code>. </p>
|
|
*/
|
|
inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; }
|
|
|
|
/**
|
|
* <p>The number of workers of a defined <code>workerType</code> that are allocated
|
|
* when a job runs.</p> <p>The maximum number of workers you can define are 299 for
|
|
* <code>G.1X</code>, and 149 for <code>G.2X</code>. </p>
|
|
*/
|
|
inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of workers of a defined <code>workerType</code> that are allocated
|
|
* when a job runs.</p> <p>The maximum number of workers you can define are 299 for
|
|
* <code>G.1X</code>, and 149 for <code>G.2X</code>. </p>
|
|
*/
|
|
inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
|
|
|
|
/**
|
|
* <p>The number of workers of a defined <code>workerType</code> that are allocated
|
|
* when a job runs.</p> <p>The maximum number of workers you can define are 299 for
|
|
* <code>G.1X</code>, and 149 for <code>G.2X</code>. </p>
|
|
*/
|
|
inline Job& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with
|
|
* this job.</p>
|
|
*/
|
|
inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
|
|
|
|
/**
|
|
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with
|
|
* this job.</p>
|
|
*/
|
|
inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with
|
|
* this job.</p>
|
|
*/
|
|
inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
|
|
|
|
/**
|
|
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with
|
|
* this job.</p>
|
|
*/
|
|
inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with
|
|
* this job.</p>
|
|
*/
|
|
inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with
|
|
* this job.</p>
|
|
*/
|
|
inline Job& WithSecurityConfiguration(const Aws::String& value) { SetSecurityConfiguration(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with
|
|
* this job.</p>
|
|
*/
|
|
inline Job& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the <code>SecurityConfiguration</code> structure to be used with
|
|
* this job.</p>
|
|
*/
|
|
inline Job& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Specifies configuration properties of a job notification.</p>
|
|
*/
|
|
inline const NotificationProperty& GetNotificationProperty() const{ return m_notificationProperty; }
|
|
|
|
/**
|
|
* <p>Specifies configuration properties of a job notification.</p>
|
|
*/
|
|
inline bool NotificationPropertyHasBeenSet() const { return m_notificationPropertyHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Specifies configuration properties of a job notification.</p>
|
|
*/
|
|
inline void SetNotificationProperty(const NotificationProperty& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = value; }
|
|
|
|
/**
|
|
* <p>Specifies configuration properties of a job notification.</p>
|
|
*/
|
|
inline void SetNotificationProperty(NotificationProperty&& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = std::move(value); }
|
|
|
|
/**
|
|
* <p>Specifies configuration properties of a job notification.</p>
|
|
*/
|
|
inline Job& WithNotificationProperty(const NotificationProperty& value) { SetNotificationProperty(value); return *this;}
|
|
|
|
/**
|
|
* <p>Specifies configuration properties of a job notification.</p>
|
|
*/
|
|
inline Job& WithNotificationProperty(NotificationProperty&& value) { SetNotificationProperty(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Glue version determines the versions of Apache Spark and Python that AWS Glue
|
|
* supports. The Python version indicates the version supported for jobs of type
|
|
* Spark. </p> <p>For more information about the available AWS Glue versions and
|
|
* corresponding Spark and Python versions, see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a>
|
|
* in the developer guide.</p> <p>Jobs that are created without specifying a Glue
|
|
* version default to Glue 0.9.</p>
|
|
*/
|
|
inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; }
|
|
|
|
/**
|
|
* <p>Glue version determines the versions of Apache Spark and Python that AWS Glue
|
|
* supports. The Python version indicates the version supported for jobs of type
|
|
* Spark. </p> <p>For more information about the available AWS Glue versions and
|
|
* corresponding Spark and Python versions, see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a>
|
|
* in the developer guide.</p> <p>Jobs that are created without specifying a Glue
|
|
* version default to Glue 0.9.</p>
|
|
*/
|
|
inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Glue version determines the versions of Apache Spark and Python that AWS Glue
|
|
* supports. The Python version indicates the version supported for jobs of type
|
|
* Spark. </p> <p>For more information about the available AWS Glue versions and
|
|
* corresponding Spark and Python versions, see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a>
|
|
* in the developer guide.</p> <p>Jobs that are created without specifying a Glue
|
|
* version default to Glue 0.9.</p>
|
|
*/
|
|
inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; }
|
|
|
|
/**
|
|
* <p>Glue version determines the versions of Apache Spark and Python that AWS Glue
|
|
* supports. The Python version indicates the version supported for jobs of type
|
|
* Spark. </p> <p>For more information about the available AWS Glue versions and
|
|
* corresponding Spark and Python versions, see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a>
|
|
* in the developer guide.</p> <p>Jobs that are created without specifying a Glue
|
|
* version default to Glue 0.9.</p>
|
|
*/
|
|
inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); }
|
|
|
|
/**
|
|
* <p>Glue version determines the versions of Apache Spark and Python that AWS Glue
|
|
* supports. The Python version indicates the version supported for jobs of type
|
|
* Spark. </p> <p>For more information about the available AWS Glue versions and
|
|
* corresponding Spark and Python versions, see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a>
|
|
* in the developer guide.</p> <p>Jobs that are created without specifying a Glue
|
|
* version default to Glue 0.9.</p>
|
|
*/
|
|
inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); }
|
|
|
|
/**
|
|
* <p>Glue version determines the versions of Apache Spark and Python that AWS Glue
|
|
* supports. The Python version indicates the version supported for jobs of type
|
|
* Spark. </p> <p>For more information about the available AWS Glue versions and
|
|
* corresponding Spark and Python versions, see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a>
|
|
* in the developer guide.</p> <p>Jobs that are created without specifying a Glue
|
|
* version default to Glue 0.9.</p>
|
|
*/
|
|
inline Job& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;}
|
|
|
|
/**
|
|
* <p>Glue version determines the versions of Apache Spark and Python that AWS Glue
|
|
* supports. The Python version indicates the version supported for jobs of type
|
|
* Spark. </p> <p>For more information about the available AWS Glue versions and
|
|
* corresponding Spark and Python versions, see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a>
|
|
* in the developer guide.</p> <p>Jobs that are created without specifying a Glue
|
|
* version default to Glue 0.9.</p>
|
|
*/
|
|
inline Job& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Glue version determines the versions of Apache Spark and Python that AWS Glue
|
|
* supports. The Python version indicates the version supported for jobs of type
|
|
* Spark. </p> <p>For more information about the available AWS Glue versions and
|
|
* corresponding Spark and Python versions, see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a>
|
|
* in the developer guide.</p> <p>Jobs that are created without specifying a Glue
|
|
* version default to Glue 0.9.</p>
|
|
*/
|
|
inline Job& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_name;
|
|
bool m_nameHasBeenSet;
|
|
|
|
Aws::String m_description;
|
|
bool m_descriptionHasBeenSet;
|
|
|
|
Aws::String m_logUri;
|
|
bool m_logUriHasBeenSet;
|
|
|
|
Aws::String m_role;
|
|
bool m_roleHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_createdOn;
|
|
bool m_createdOnHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_lastModifiedOn;
|
|
bool m_lastModifiedOnHasBeenSet;
|
|
|
|
ExecutionProperty m_executionProperty;
|
|
bool m_executionPropertyHasBeenSet;
|
|
|
|
JobCommand m_command;
|
|
bool m_commandHasBeenSet;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_defaultArguments;
|
|
bool m_defaultArgumentsHasBeenSet;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_nonOverridableArguments;
|
|
bool m_nonOverridableArgumentsHasBeenSet;
|
|
|
|
ConnectionsList m_connections;
|
|
bool m_connectionsHasBeenSet;
|
|
|
|
int m_maxRetries;
|
|
bool m_maxRetriesHasBeenSet;
|
|
|
|
int m_timeout;
|
|
bool m_timeoutHasBeenSet;
|
|
|
|
double m_maxCapacity;
|
|
bool m_maxCapacityHasBeenSet;
|
|
|
|
WorkerType m_workerType;
|
|
bool m_workerTypeHasBeenSet;
|
|
|
|
int m_numberOfWorkers;
|
|
bool m_numberOfWorkersHasBeenSet;
|
|
|
|
Aws::String m_securityConfiguration;
|
|
bool m_securityConfigurationHasBeenSet;
|
|
|
|
NotificationProperty m_notificationProperty;
|
|
bool m_notificationPropertyHasBeenSet;
|
|
|
|
Aws::String m_glueVersion;
|
|
bool m_glueVersionHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Glue
|
|
} // namespace Aws
|