AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline JobCommand& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline JobCommand& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline JobCommand& WithName(const char* value) { SetName(value); return *this;}
57
59
63 inline const Aws::String& GetScriptLocation() const{ return m_scriptLocation; }
64 inline bool ScriptLocationHasBeenSet() const { return m_scriptLocationHasBeenSet; }
65 inline void SetScriptLocation(const Aws::String& value) { m_scriptLocationHasBeenSet = true; m_scriptLocation = value; }
66 inline void SetScriptLocation(Aws::String&& value) { m_scriptLocationHasBeenSet = true; m_scriptLocation = std::move(value); }
67 inline void SetScriptLocation(const char* value) { m_scriptLocationHasBeenSet = true; m_scriptLocation.assign(value); }
68 inline JobCommand& WithScriptLocation(const Aws::String& value) { SetScriptLocation(value); return *this;}
69 inline JobCommand& WithScriptLocation(Aws::String&& value) { SetScriptLocation(std::move(value)); return *this;}
70 inline JobCommand& WithScriptLocation(const char* value) { SetScriptLocation(value); return *this;}
72
74
78 inline const Aws::String& GetPythonVersion() const{ return m_pythonVersion; }
79 inline bool PythonVersionHasBeenSet() const { return m_pythonVersionHasBeenSet; }
80 inline void SetPythonVersion(const Aws::String& value) { m_pythonVersionHasBeenSet = true; m_pythonVersion = value; }
81 inline void SetPythonVersion(Aws::String&& value) { m_pythonVersionHasBeenSet = true; m_pythonVersion = std::move(value); }
82 inline void SetPythonVersion(const char* value) { m_pythonVersionHasBeenSet = true; m_pythonVersion.assign(value); }
83 inline JobCommand& WithPythonVersion(const Aws::String& value) { SetPythonVersion(value); return *this;}
84 inline JobCommand& WithPythonVersion(Aws::String&& value) { SetPythonVersion(std::move(value)); return *this;}
85 inline JobCommand& WithPythonVersion(const char* value) { SetPythonVersion(value); return *this;}
87
89
96 inline const Aws::String& GetRuntime() const{ return m_runtime; }
97 inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
98 inline void SetRuntime(const Aws::String& value) { m_runtimeHasBeenSet = true; m_runtime = value; }
99 inline void SetRuntime(Aws::String&& value) { m_runtimeHasBeenSet = true; m_runtime = std::move(value); }
100 inline void SetRuntime(const char* value) { m_runtimeHasBeenSet = true; m_runtime.assign(value); }
101 inline JobCommand& WithRuntime(const Aws::String& value) { SetRuntime(value); return *this;}
102 inline JobCommand& WithRuntime(Aws::String&& value) { SetRuntime(std::move(value)); return *this;}
103 inline JobCommand& WithRuntime(const char* value) { SetRuntime(value); return *this;}
105 private:
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::String m_scriptLocation;
111 bool m_scriptLocationHasBeenSet = false;
112
113 Aws::String m_pythonVersion;
114 bool m_pythonVersionHasBeenSet = false;
115
116 Aws::String m_runtime;
117 bool m_runtimeHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Glue
122} // namespace Aws
JobCommand & WithScriptLocation(const char *value)
Definition JobCommand.h:70
const Aws::String & GetScriptLocation() const
Definition JobCommand.h:63
void SetPythonVersion(const char *value)
Definition JobCommand.h:82
JobCommand & WithName(Aws::String &&value)
Definition JobCommand.h:54
void SetRuntime(const Aws::String &value)
Definition JobCommand.h:98
JobCommand & WithRuntime(Aws::String &&value)
Definition JobCommand.h:102
const Aws::String & GetPythonVersion() const
Definition JobCommand.h:78
void SetRuntime(Aws::String &&value)
Definition JobCommand.h:99
JobCommand & WithScriptLocation(Aws::String &&value)
Definition JobCommand.h:69
AWS_GLUE_API JobCommand(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuntime() const
Definition JobCommand.h:96
AWS_GLUE_API JobCommand & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScriptLocation(const char *value)
Definition JobCommand.h:67
void SetPythonVersion(Aws::String &&value)
Definition JobCommand.h:81
JobCommand & WithRuntime(const Aws::String &value)
Definition JobCommand.h:101
JobCommand & WithPythonVersion(const char *value)
Definition JobCommand.h:85
void SetName(const Aws::String &value)
Definition JobCommand.h:50
JobCommand & WithRuntime(const char *value)
Definition JobCommand.h:103
const Aws::String & GetName() const
Definition JobCommand.h:48
void SetScriptLocation(const Aws::String &value)
Definition JobCommand.h:65
JobCommand & WithScriptLocation(const Aws::String &value)
Definition JobCommand.h:68
void SetScriptLocation(Aws::String &&value)
Definition JobCommand.h:66
void SetRuntime(const char *value)
Definition JobCommand.h:100
JobCommand & WithName(const Aws::String &value)
Definition JobCommand.h:53
bool ScriptLocationHasBeenSet() const
Definition JobCommand.h:64
JobCommand & WithName(const char *value)
Definition JobCommand.h:55
void SetName(Aws::String &&value)
Definition JobCommand.h:51
bool PythonVersionHasBeenSet() const
Definition JobCommand.h:79
void SetName(const char *value)
Definition JobCommand.h:52
JobCommand & WithPythonVersion(const Aws::String &value)
Definition JobCommand.h:83
JobCommand & WithPythonVersion(Aws::String &&value)
Definition JobCommand.h:84
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPythonVersion(const Aws::String &value)
Definition JobCommand.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue