AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobTemplateData.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/emr-containers/model/ParametricConfigurationOverrides.h>
10#include <aws/emr-containers/model/JobDriver.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/emr-containers/model/TemplateParameterConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace EMRContainers
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_EMRCONTAINERS_API JobTemplateData();
40 AWS_EMRCONTAINERS_API JobTemplateData(Aws::Utils::Json::JsonView jsonValue);
41 AWS_EMRCONTAINERS_API JobTemplateData& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
50 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
51 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
52 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
53 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
54 inline JobTemplateData& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
55 inline JobTemplateData& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
56 inline JobTemplateData& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
58
60
63 inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
64 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
65 inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; }
66 inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); }
67 inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); }
68 inline JobTemplateData& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
69 inline JobTemplateData& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
70 inline JobTemplateData& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
72
74
78 inline const ParametricConfigurationOverrides& GetConfigurationOverrides() const{ return m_configurationOverrides; }
79 inline bool ConfigurationOverridesHasBeenSet() const { return m_configurationOverridesHasBeenSet; }
80 inline void SetConfigurationOverrides(const ParametricConfigurationOverrides& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = value; }
81 inline void SetConfigurationOverrides(ParametricConfigurationOverrides&& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = std::move(value); }
85
87
88 inline const JobDriver& GetJobDriver() const{ return m_jobDriver; }
89 inline bool JobDriverHasBeenSet() const { return m_jobDriverHasBeenSet; }
90 inline void SetJobDriver(const JobDriver& value) { m_jobDriverHasBeenSet = true; m_jobDriver = value; }
91 inline void SetJobDriver(JobDriver&& value) { m_jobDriverHasBeenSet = true; m_jobDriver = std::move(value); }
92 inline JobTemplateData& WithJobDriver(const JobDriver& value) { SetJobDriver(value); return *this;}
93 inline JobTemplateData& WithJobDriver(JobDriver&& value) { SetJobDriver(std::move(value)); return *this;}
95
97
100 inline const Aws::Map<Aws::String, TemplateParameterConfiguration>& GetParameterConfiguration() const{ return m_parameterConfiguration; }
101 inline bool ParameterConfigurationHasBeenSet() const { return m_parameterConfigurationHasBeenSet; }
102 inline void SetParameterConfiguration(const Aws::Map<Aws::String, TemplateParameterConfiguration>& value) { m_parameterConfigurationHasBeenSet = true; m_parameterConfiguration = value; }
103 inline void SetParameterConfiguration(Aws::Map<Aws::String, TemplateParameterConfiguration>&& value) { m_parameterConfigurationHasBeenSet = true; m_parameterConfiguration = std::move(value); }
106 inline JobTemplateData& AddParameterConfiguration(const Aws::String& key, const TemplateParameterConfiguration& value) { m_parameterConfigurationHasBeenSet = true; m_parameterConfiguration.emplace(key, value); return *this; }
107 inline JobTemplateData& AddParameterConfiguration(Aws::String&& key, const TemplateParameterConfiguration& value) { m_parameterConfigurationHasBeenSet = true; m_parameterConfiguration.emplace(std::move(key), value); return *this; }
108 inline JobTemplateData& AddParameterConfiguration(const Aws::String& key, TemplateParameterConfiguration&& value) { m_parameterConfigurationHasBeenSet = true; m_parameterConfiguration.emplace(key, std::move(value)); return *this; }
109 inline JobTemplateData& AddParameterConfiguration(Aws::String&& key, TemplateParameterConfiguration&& value) { m_parameterConfigurationHasBeenSet = true; m_parameterConfiguration.emplace(std::move(key), std::move(value)); return *this; }
110 inline JobTemplateData& AddParameterConfiguration(const char* key, TemplateParameterConfiguration&& value) { m_parameterConfigurationHasBeenSet = true; m_parameterConfiguration.emplace(key, std::move(value)); return *this; }
111 inline JobTemplateData& AddParameterConfiguration(const char* key, const TemplateParameterConfiguration& value) { m_parameterConfigurationHasBeenSet = true; m_parameterConfiguration.emplace(key, value); return *this; }
113
115
118 inline const Aws::Map<Aws::String, Aws::String>& GetJobTags() const{ return m_jobTags; }
119 inline bool JobTagsHasBeenSet() const { return m_jobTagsHasBeenSet; }
120 inline void SetJobTags(const Aws::Map<Aws::String, Aws::String>& value) { m_jobTagsHasBeenSet = true; m_jobTags = value; }
121 inline void SetJobTags(Aws::Map<Aws::String, Aws::String>&& value) { m_jobTagsHasBeenSet = true; m_jobTags = std::move(value); }
122 inline JobTemplateData& WithJobTags(const Aws::Map<Aws::String, Aws::String>& value) { SetJobTags(value); return *this;}
123 inline JobTemplateData& WithJobTags(Aws::Map<Aws::String, Aws::String>&& value) { SetJobTags(std::move(value)); return *this;}
124 inline JobTemplateData& AddJobTags(const Aws::String& key, const Aws::String& value) { m_jobTagsHasBeenSet = true; m_jobTags.emplace(key, value); return *this; }
125 inline JobTemplateData& AddJobTags(Aws::String&& key, const Aws::String& value) { m_jobTagsHasBeenSet = true; m_jobTags.emplace(std::move(key), value); return *this; }
126 inline JobTemplateData& AddJobTags(const Aws::String& key, Aws::String&& value) { m_jobTagsHasBeenSet = true; m_jobTags.emplace(key, std::move(value)); return *this; }
127 inline JobTemplateData& AddJobTags(Aws::String&& key, Aws::String&& value) { m_jobTagsHasBeenSet = true; m_jobTags.emplace(std::move(key), std::move(value)); return *this; }
128 inline JobTemplateData& AddJobTags(const char* key, Aws::String&& value) { m_jobTagsHasBeenSet = true; m_jobTags.emplace(key, std::move(value)); return *this; }
129 inline JobTemplateData& AddJobTags(Aws::String&& key, const char* value) { m_jobTagsHasBeenSet = true; m_jobTags.emplace(std::move(key), value); return *this; }
130 inline JobTemplateData& AddJobTags(const char* key, const char* value) { m_jobTagsHasBeenSet = true; m_jobTags.emplace(key, value); return *this; }
132 private:
133
134 Aws::String m_executionRoleArn;
135 bool m_executionRoleArnHasBeenSet = false;
136
137 Aws::String m_releaseLabel;
138 bool m_releaseLabelHasBeenSet = false;
139
140 ParametricConfigurationOverrides m_configurationOverrides;
141 bool m_configurationOverridesHasBeenSet = false;
142
143 JobDriver m_jobDriver;
144 bool m_jobDriverHasBeenSet = false;
145
147 bool m_parameterConfigurationHasBeenSet = false;
148
150 bool m_jobTagsHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace EMRContainers
155} // namespace Aws
const ParametricConfigurationOverrides & GetConfigurationOverrides() const
JobTemplateData & WithJobTags(Aws::Map< Aws::String, Aws::String > &&value)
JobTemplateData & WithExecutionRoleArn(Aws::String &&value)
JobTemplateData & WithConfigurationOverrides(ParametricConfigurationOverrides &&value)
JobTemplateData & AddJobTags(const Aws::String &key, Aws::String &&value)
void SetJobDriver(const JobDriver &value)
void SetParameterConfiguration(Aws::Map< Aws::String, TemplateParameterConfiguration > &&value)
void SetConfigurationOverrides(ParametricConfigurationOverrides &&value)
JobTemplateData & WithJobTags(const Aws::Map< Aws::String, Aws::String > &value)
JobTemplateData & AddJobTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetJobTags() const
JobTemplateData & AddJobTags(Aws::String &&key, Aws::String &&value)
JobTemplateData & AddJobTags(const char *key, const char *value)
JobTemplateData & WithReleaseLabel(const Aws::String &value)
AWS_EMRCONTAINERS_API JobTemplateData & operator=(Aws::Utils::Json::JsonView jsonValue)
JobTemplateData & WithJobDriver(const JobDriver &value)
JobTemplateData & AddParameterConfiguration(const Aws::String &key, const TemplateParameterConfiguration &value)
JobTemplateData & AddParameterConfiguration(Aws::String &&key, TemplateParameterConfiguration &&value)
JobTemplateData & AddParameterConfiguration(const char *key, TemplateParameterConfiguration &&value)
JobTemplateData & WithReleaseLabel(Aws::String &&value)
JobTemplateData & AddJobTags(Aws::String &&key, const char *value)
const Aws::String & GetExecutionRoleArn() const
AWS_EMRCONTAINERS_API JobTemplateData(Aws::Utils::Json::JsonView jsonValue)
void SetReleaseLabel(const Aws::String &value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
JobTemplateData & AddJobTags(Aws::String &&key, const Aws::String &value)
JobTemplateData & AddParameterConfiguration(const char *key, const TemplateParameterConfiguration &value)
void SetConfigurationOverrides(const ParametricConfigurationOverrides &value)
JobTemplateData & WithReleaseLabel(const char *value)
JobTemplateData & WithParameterConfiguration(const Aws::Map< Aws::String, TemplateParameterConfiguration > &value)
JobTemplateData & AddParameterConfiguration(const Aws::String &key, TemplateParameterConfiguration &&value)
JobTemplateData & WithJobDriver(JobDriver &&value)
void SetExecutionRoleArn(const Aws::String &value)
JobTemplateData & WithExecutionRoleArn(const Aws::String &value)
void SetParameterConfiguration(const Aws::Map< Aws::String, TemplateParameterConfiguration > &value)
JobTemplateData & AddJobTags(const Aws::String &key, const Aws::String &value)
JobTemplateData & WithParameterConfiguration(Aws::Map< Aws::String, TemplateParameterConfiguration > &&value)
void SetJobTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetReleaseLabel() const
JobTemplateData & AddParameterConfiguration(Aws::String &&key, const TemplateParameterConfiguration &value)
const Aws::Map< Aws::String, TemplateParameterConfiguration > & GetParameterConfiguration() const
JobTemplateData & WithConfigurationOverrides(const ParametricConfigurationOverrides &value)
void SetExecutionRoleArn(Aws::String &&value)
void SetJobTags(const Aws::Map< Aws::String, Aws::String > &value)
JobTemplateData & WithExecutionRoleArn(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue