7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/JobAttachmentSettings.h>
10#include <aws/deadline/model/JobRunAsUser.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/deadline/model/JobParameter.h>
14#include <aws/deadline/model/PathMappingRule.h>
52 template<
typename JobIdT = Aws::String>
53 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
54 template<
typename JobIdT = Aws::String>
64 template<
typename JobAttachmentSettingsT = JobAttachmentSettings>
65 void SetJobAttachmentSettings(JobAttachmentSettingsT&& value) { m_jobAttachmentSettingsHasBeenSet =
true; m_jobAttachmentSettings = std::forward<JobAttachmentSettingsT>(value); }
66 template<
typename JobAttachmentSettingsT = JobAttachmentSettings>
76 template<
typename JobRunAsUserT = JobRunAsUser>
77 void SetJobRunAsUser(JobRunAsUserT&& value) { m_jobRunAsUserHasBeenSet =
true; m_jobRunAsUser = std::forward<JobRunAsUserT>(value); }
78 template<
typename JobRunAsUserT = JobRunAsUser>
88 template<
typename LogGroupNameT = Aws::String>
89 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
90 template<
typename LogGroupNameT = Aws::String>
100 template<
typename QueueRoleArnT = Aws::String>
101 void SetQueueRoleArn(QueueRoleArnT&& value) { m_queueRoleArnHasBeenSet =
true; m_queueRoleArn = std::forward<QueueRoleArnT>(value); }
102 template<
typename QueueRoleArnT = Aws::String>
112 template<
typename ParametersT = Aws::Map<Aws::String, JobParameter>>
113 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
114 template<
typename ParametersT = Aws::Map<Aws::String, JobParameter>>
116 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = JobParameter>
118 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
128 template<
typename SchemaVersionT = Aws::String>
129 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
130 template<
typename SchemaVersionT = Aws::String>
140 template<
typename PathMappingRulesT = Aws::Vector<PathMappingRule>>
141 void SetPathMappingRules(PathMappingRulesT&& value) { m_pathMappingRulesHasBeenSet =
true; m_pathMappingRules = std::forward<PathMappingRulesT>(value); }
142 template<
typename PathMappingRulesT = Aws::Vector<PathMappingRule>>
144 template<
typename PathMappingRulesT = PathMappingRule>
145 JobDetailsEntity&
AddPathMappingRules(PathMappingRulesT&& value) { m_pathMappingRulesHasBeenSet =
true; m_pathMappingRules.emplace_back(std::forward<PathMappingRulesT>(value));
return *
this; }
150 bool m_jobIdHasBeenSet =
false;
153 bool m_jobAttachmentSettingsHasBeenSet =
false;
156 bool m_jobRunAsUserHasBeenSet =
false;
159 bool m_logGroupNameHasBeenSet =
false;
162 bool m_queueRoleArnHasBeenSet =
false;
165 bool m_parametersHasBeenSet =
false;
168 bool m_schemaVersionHasBeenSet =
false;
171 bool m_pathMappingRulesHasBeenSet =
false;
JobDetailsEntity & WithParameters(ParametersT &&value)
void SetJobRunAsUser(JobRunAsUserT &&value)
void SetJobId(JobIdT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
const Aws::String & GetQueueRoleArn() const
JobDetailsEntity & WithSchemaVersion(SchemaVersionT &&value)
const Aws::Map< Aws::String, JobParameter > & GetParameters() const
bool JobAttachmentSettingsHasBeenSet() const
const Aws::String & GetSchemaVersion() const
void SetJobAttachmentSettings(JobAttachmentSettingsT &&value)
const JobRunAsUser & GetJobRunAsUser() const
AWS_DEADLINE_API JobDetailsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
const JobAttachmentSettings & GetJobAttachmentSettings() const
JobDetailsEntity & WithJobId(JobIdT &&value)
void SetQueueRoleArn(QueueRoleArnT &&value)
bool ParametersHasBeenSet() const
void SetParameters(ParametersT &&value)
bool QueueRoleArnHasBeenSet() const
void SetLogGroupName(LogGroupNameT &&value)
JobDetailsEntity & WithPathMappingRules(PathMappingRulesT &&value)
void SetPathMappingRules(PathMappingRulesT &&value)
JobDetailsEntity & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::String & GetJobId() const
bool LogGroupNameHasBeenSet() const
JobDetailsEntity & AddPathMappingRules(PathMappingRulesT &&value)
JobDetailsEntity & WithQueueRoleArn(QueueRoleArnT &&value)
const Aws::Vector< PathMappingRule > & GetPathMappingRules() const
bool SchemaVersionHasBeenSet() const
AWS_DEADLINE_API JobDetailsEntity()=default
JobDetailsEntity & WithJobRunAsUser(JobRunAsUserT &&value)
JobDetailsEntity & WithJobAttachmentSettings(JobAttachmentSettingsT &&value)
AWS_DEADLINE_API JobDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
bool PathMappingRulesHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobDetailsEntity & WithLogGroupName(LogGroupNameT &&value)
const Aws::String & GetLogGroupName() const
bool JobRunAsUserHasBeenSet() const
bool JobIdHasBeenSet() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue