AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
JobCommand.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
32 {
33 public:
34 AWS_GLUE_API JobCommand() = default;
35 AWS_GLUE_API JobCommand(Aws::Utils::Json::JsonView jsonValue);
38
39
41
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 JobCommand& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
61 inline const Aws::String& GetScriptLocation() const { return m_scriptLocation; }
62 inline bool ScriptLocationHasBeenSet() const { return m_scriptLocationHasBeenSet; }
63 template<typename ScriptLocationT = Aws::String>
64 void SetScriptLocation(ScriptLocationT&& value) { m_scriptLocationHasBeenSet = true; m_scriptLocation = std::forward<ScriptLocationT>(value); }
65 template<typename ScriptLocationT = Aws::String>
66 JobCommand& WithScriptLocation(ScriptLocationT&& value) { SetScriptLocation(std::forward<ScriptLocationT>(value)); return *this;}
68
70
74 inline const Aws::String& GetPythonVersion() const { return m_pythonVersion; }
75 inline bool PythonVersionHasBeenSet() const { return m_pythonVersionHasBeenSet; }
76 template<typename PythonVersionT = Aws::String>
77 void SetPythonVersion(PythonVersionT&& value) { m_pythonVersionHasBeenSet = true; m_pythonVersion = std::forward<PythonVersionT>(value); }
78 template<typename PythonVersionT = Aws::String>
79 JobCommand& WithPythonVersion(PythonVersionT&& value) { SetPythonVersion(std::forward<PythonVersionT>(value)); return *this;}
81
83
90 inline const Aws::String& GetRuntime() const { return m_runtime; }
91 inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
92 template<typename RuntimeT = Aws::String>
93 void SetRuntime(RuntimeT&& value) { m_runtimeHasBeenSet = true; m_runtime = std::forward<RuntimeT>(value); }
94 template<typename RuntimeT = Aws::String>
95 JobCommand& WithRuntime(RuntimeT&& value) { SetRuntime(std::forward<RuntimeT>(value)); return *this;}
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 Aws::String m_scriptLocation;
103 bool m_scriptLocationHasBeenSet = false;
104
105 Aws::String m_pythonVersion;
106 bool m_pythonVersionHasBeenSet = false;
107
108 Aws::String m_runtime;
109 bool m_runtimeHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
void SetRuntime(RuntimeT &&value)
Definition JobCommand.h:93
JobCommand & WithPythonVersion(PythonVersionT &&value)
Definition JobCommand.h:79
const Aws::String & GetScriptLocation() const
Definition JobCommand.h:61
void SetPythonVersion(PythonVersionT &&value)
Definition JobCommand.h:77
void SetScriptLocation(ScriptLocationT &&value)
Definition JobCommand.h:64
const Aws::String & GetPythonVersion() const
Definition JobCommand.h:74
AWS_GLUE_API JobCommand(Aws::Utils::Json::JsonView jsonValue)
JobCommand & WithRuntime(RuntimeT &&value)
Definition JobCommand.h:95
const Aws::String & GetRuntime() const
Definition JobCommand.h:90
AWS_GLUE_API JobCommand & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition JobCommand.h:48
JobCommand & WithName(NameT &&value)
Definition JobCommand.h:53
void SetName(NameT &&value)
Definition JobCommand.h:51
AWS_GLUE_API JobCommand()=default
bool ScriptLocationHasBeenSet() const
Definition JobCommand.h:62
JobCommand & WithScriptLocation(ScriptLocationT &&value)
Definition JobCommand.h:66
bool PythonVersionHasBeenSet() const
Definition JobCommand.h:75
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue