AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SparkSubmitJobDriver.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EMRContainers
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EMRCONTAINERS_API SparkSubmitJobDriver();
37 AWS_EMRCONTAINERS_API SparkSubmitJobDriver(Aws::Utils::Json::JsonView jsonValue);
39 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEntryPoint() const{ return m_entryPoint; }
47 inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
48 inline void SetEntryPoint(const Aws::String& value) { m_entryPointHasBeenSet = true; m_entryPoint = value; }
49 inline void SetEntryPoint(Aws::String&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::move(value); }
50 inline void SetEntryPoint(const char* value) { m_entryPointHasBeenSet = true; m_entryPoint.assign(value); }
51 inline SparkSubmitJobDriver& WithEntryPoint(const Aws::String& value) { SetEntryPoint(value); return *this;}
52 inline SparkSubmitJobDriver& WithEntryPoint(Aws::String&& value) { SetEntryPoint(std::move(value)); return *this;}
53 inline SparkSubmitJobDriver& WithEntryPoint(const char* value) { SetEntryPoint(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetEntryPointArguments() const{ return m_entryPointArguments; }
61 inline bool EntryPointArgumentsHasBeenSet() const { return m_entryPointArgumentsHasBeenSet; }
62 inline void SetEntryPointArguments(const Aws::Vector<Aws::String>& value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments = value; }
63 inline void SetEntryPointArguments(Aws::Vector<Aws::String>&& value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments = std::move(value); }
66 inline SparkSubmitJobDriver& AddEntryPointArguments(const Aws::String& value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments.push_back(value); return *this; }
67 inline SparkSubmitJobDriver& AddEntryPointArguments(Aws::String&& value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments.push_back(std::move(value)); return *this; }
68 inline SparkSubmitJobDriver& AddEntryPointArguments(const char* value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetSparkSubmitParameters() const{ return m_sparkSubmitParameters; }
76 inline bool SparkSubmitParametersHasBeenSet() const { return m_sparkSubmitParametersHasBeenSet; }
77 inline void SetSparkSubmitParameters(const Aws::String& value) { m_sparkSubmitParametersHasBeenSet = true; m_sparkSubmitParameters = value; }
78 inline void SetSparkSubmitParameters(Aws::String&& value) { m_sparkSubmitParametersHasBeenSet = true; m_sparkSubmitParameters = std::move(value); }
79 inline void SetSparkSubmitParameters(const char* value) { m_sparkSubmitParametersHasBeenSet = true; m_sparkSubmitParameters.assign(value); }
81 inline SparkSubmitJobDriver& WithSparkSubmitParameters(Aws::String&& value) { SetSparkSubmitParameters(std::move(value)); return *this;}
82 inline SparkSubmitJobDriver& WithSparkSubmitParameters(const char* value) { SetSparkSubmitParameters(value); return *this;}
84 private:
85
86 Aws::String m_entryPoint;
87 bool m_entryPointHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_entryPointArguments;
90 bool m_entryPointArgumentsHasBeenSet = false;
91
92 Aws::String m_sparkSubmitParameters;
93 bool m_sparkSubmitParametersHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace EMRContainers
98} // namespace Aws
void SetSparkSubmitParameters(const Aws::String &value)
SparkSubmitJobDriver & WithEntryPoint(const Aws::String &value)
SparkSubmitJobDriver & AddEntryPointArguments(Aws::String &&value)
AWS_EMRCONTAINERS_API SparkSubmitJobDriver & operator=(Aws::Utils::Json::JsonView jsonValue)
SparkSubmitJobDriver & WithEntryPointArguments(Aws::Vector< Aws::String > &&value)
void SetEntryPointArguments(Aws::Vector< Aws::String > &&value)
SparkSubmitJobDriver & WithEntryPoint(const char *value)
SparkSubmitJobDriver & WithEntryPointArguments(const Aws::Vector< Aws::String > &value)
SparkSubmitJobDriver & AddEntryPointArguments(const Aws::String &value)
AWS_EMRCONTAINERS_API SparkSubmitJobDriver(Aws::Utils::Json::JsonView jsonValue)
SparkSubmitJobDriver & WithSparkSubmitParameters(const char *value)
void SetEntryPointArguments(const Aws::Vector< Aws::String > &value)
SparkSubmitJobDriver & WithSparkSubmitParameters(const Aws::String &value)
SparkSubmitJobDriver & WithSparkSubmitParameters(Aws::String &&value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetEntryPointArguments() const
SparkSubmitJobDriver & WithEntryPoint(Aws::String &&value)
SparkSubmitJobDriver & AddEntryPointArguments(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue