AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobDriver.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/model/SparkSubmitJobDriver.h>
9#include <aws/emr-containers/model/SparkSqlJobDriver.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
35 {
36 public:
37 AWS_EMRCONTAINERS_API JobDriver();
38 AWS_EMRCONTAINERS_API JobDriver(Aws::Utils::Json::JsonView jsonValue);
39 AWS_EMRCONTAINERS_API JobDriver& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const SparkSubmitJobDriver& GetSparkSubmitJobDriver() const{ return m_sparkSubmitJobDriver; }
48 inline bool SparkSubmitJobDriverHasBeenSet() const { return m_sparkSubmitJobDriverHasBeenSet; }
49 inline void SetSparkSubmitJobDriver(const SparkSubmitJobDriver& value) { m_sparkSubmitJobDriverHasBeenSet = true; m_sparkSubmitJobDriver = value; }
50 inline void SetSparkSubmitJobDriver(SparkSubmitJobDriver&& value) { m_sparkSubmitJobDriverHasBeenSet = true; m_sparkSubmitJobDriver = std::move(value); }
52 inline JobDriver& WithSparkSubmitJobDriver(SparkSubmitJobDriver&& value) { SetSparkSubmitJobDriver(std::move(value)); return *this;}
54
56
59 inline const SparkSqlJobDriver& GetSparkSqlJobDriver() const{ return m_sparkSqlJobDriver; }
60 inline bool SparkSqlJobDriverHasBeenSet() const { return m_sparkSqlJobDriverHasBeenSet; }
61 inline void SetSparkSqlJobDriver(const SparkSqlJobDriver& value) { m_sparkSqlJobDriverHasBeenSet = true; m_sparkSqlJobDriver = value; }
62 inline void SetSparkSqlJobDriver(SparkSqlJobDriver&& value) { m_sparkSqlJobDriverHasBeenSet = true; m_sparkSqlJobDriver = std::move(value); }
63 inline JobDriver& WithSparkSqlJobDriver(const SparkSqlJobDriver& value) { SetSparkSqlJobDriver(value); return *this;}
64 inline JobDriver& WithSparkSqlJobDriver(SparkSqlJobDriver&& value) { SetSparkSqlJobDriver(std::move(value)); return *this;}
66 private:
67
68 SparkSubmitJobDriver m_sparkSubmitJobDriver;
69 bool m_sparkSubmitJobDriverHasBeenSet = false;
70
71 SparkSqlJobDriver m_sparkSqlJobDriver;
72 bool m_sparkSqlJobDriverHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace EMRContainers
77} // namespace Aws
JobDriver & WithSparkSubmitJobDriver(const SparkSubmitJobDriver &value)
Definition JobDriver.h:51
const SparkSqlJobDriver & GetSparkSqlJobDriver() const
Definition JobDriver.h:59
void SetSparkSqlJobDriver(SparkSqlJobDriver &&value)
Definition JobDriver.h:62
void SetSparkSqlJobDriver(const SparkSqlJobDriver &value)
Definition JobDriver.h:61
void SetSparkSubmitJobDriver(const SparkSubmitJobDriver &value)
Definition JobDriver.h:49
AWS_EMRCONTAINERS_API JobDriver(Aws::Utils::Json::JsonView jsonValue)
JobDriver & WithSparkSqlJobDriver(const SparkSqlJobDriver &value)
Definition JobDriver.h:63
void SetSparkSubmitJobDriver(SparkSubmitJobDriver &&value)
Definition JobDriver.h:50
JobDriver & WithSparkSubmitJobDriver(SparkSubmitJobDriver &&value)
Definition JobDriver.h:52
JobDriver & WithSparkSqlJobDriver(SparkSqlJobDriver &&value)
Definition JobDriver.h:64
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMRCONTAINERS_API JobDriver()
AWS_EMRCONTAINERS_API JobDriver & operator=(Aws::Utils::Json::JsonView jsonValue)
const SparkSubmitJobDriver & GetSparkSubmitJobDriver() const
Definition JobDriver.h:47
Aws::Utils::Json::JsonValue JsonValue