AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
JobDetailsEntity.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace deadline
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_DEADLINE_API JobDetailsEntity() = default;
41 AWS_DEADLINE_API JobDetailsEntity(Aws::Utils::Json::JsonView jsonValue);
43 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetJobId() const { return m_jobId; }
51 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
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>
55 JobDetailsEntity& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
57
59
62 inline const JobAttachmentSettings& GetJobAttachmentSettings() const { return m_jobAttachmentSettings; }
63 inline bool JobAttachmentSettingsHasBeenSet() const { return m_jobAttachmentSettingsHasBeenSet; }
64 template<typename JobAttachmentSettingsT = JobAttachmentSettings>
65 void SetJobAttachmentSettings(JobAttachmentSettingsT&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::forward<JobAttachmentSettingsT>(value); }
66 template<typename JobAttachmentSettingsT = JobAttachmentSettings>
67 JobDetailsEntity& WithJobAttachmentSettings(JobAttachmentSettingsT&& value) { SetJobAttachmentSettings(std::forward<JobAttachmentSettingsT>(value)); return *this;}
69
71
74 inline const JobRunAsUser& GetJobRunAsUser() const { return m_jobRunAsUser; }
75 inline bool JobRunAsUserHasBeenSet() const { return m_jobRunAsUserHasBeenSet; }
76 template<typename JobRunAsUserT = JobRunAsUser>
77 void SetJobRunAsUser(JobRunAsUserT&& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = std::forward<JobRunAsUserT>(value); }
78 template<typename JobRunAsUserT = JobRunAsUser>
79 JobDetailsEntity& WithJobRunAsUser(JobRunAsUserT&& value) { SetJobRunAsUser(std::forward<JobRunAsUserT>(value)); return *this;}
81
83
86 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
87 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
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>
91 JobDetailsEntity& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
93
95
98 inline const Aws::String& GetQueueRoleArn() const { return m_queueRoleArn; }
99 inline bool QueueRoleArnHasBeenSet() const { return m_queueRoleArnHasBeenSet; }
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>
103 JobDetailsEntity& WithQueueRoleArn(QueueRoleArnT&& value) { SetQueueRoleArn(std::forward<QueueRoleArnT>(value)); return *this;}
105
107
110 inline const Aws::Map<Aws::String, JobParameter>& GetParameters() const { return m_parameters; }
111 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
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>>
115 JobDetailsEntity& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
116 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = JobParameter>
117 JobDetailsEntity& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
118 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
119 }
121
123
126 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
127 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
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>
131 JobDetailsEntity& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
133
135
138 inline const Aws::Vector<PathMappingRule>& GetPathMappingRules() const { return m_pathMappingRules; }
139 inline bool PathMappingRulesHasBeenSet() const { return m_pathMappingRulesHasBeenSet; }
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>>
143 JobDetailsEntity& WithPathMappingRules(PathMappingRulesT&& value) { SetPathMappingRules(std::forward<PathMappingRulesT>(value)); return *this;}
144 template<typename PathMappingRulesT = PathMappingRule>
145 JobDetailsEntity& AddPathMappingRules(PathMappingRulesT&& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules.emplace_back(std::forward<PathMappingRulesT>(value)); return *this; }
147 private:
148
149 Aws::String m_jobId;
150 bool m_jobIdHasBeenSet = false;
151
152 JobAttachmentSettings m_jobAttachmentSettings;
153 bool m_jobAttachmentSettingsHasBeenSet = false;
154
155 JobRunAsUser m_jobRunAsUser;
156 bool m_jobRunAsUserHasBeenSet = false;
157
158 Aws::String m_logGroupName;
159 bool m_logGroupNameHasBeenSet = false;
160
161 Aws::String m_queueRoleArn;
162 bool m_queueRoleArnHasBeenSet = false;
163
165 bool m_parametersHasBeenSet = false;
166
167 Aws::String m_schemaVersion;
168 bool m_schemaVersionHasBeenSet = false;
169
170 Aws::Vector<PathMappingRule> m_pathMappingRules;
171 bool m_pathMappingRulesHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace deadline
176} // namespace Aws
JobDetailsEntity & WithParameters(ParametersT &&value)
void SetJobRunAsUser(JobRunAsUserT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
const Aws::String & GetQueueRoleArn() const
JobDetailsEntity & WithSchemaVersion(SchemaVersionT &&value)
const Aws::Map< Aws::String, JobParameter > & GetParameters() 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)
void SetParameters(ParametersT &&value)
void SetLogGroupName(LogGroupNameT &&value)
JobDetailsEntity & WithPathMappingRules(PathMappingRulesT &&value)
void SetPathMappingRules(PathMappingRulesT &&value)
JobDetailsEntity & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::String & GetJobId() const
JobDetailsEntity & AddPathMappingRules(PathMappingRulesT &&value)
JobDetailsEntity & WithQueueRoleArn(QueueRoleArnT &&value)
const Aws::Vector< PathMappingRule > & GetPathMappingRules() const
AWS_DEADLINE_API JobDetailsEntity()=default
JobDetailsEntity & WithJobRunAsUser(JobRunAsUserT &&value)
JobDetailsEntity & WithJobAttachmentSettings(JobAttachmentSettingsT &&value)
AWS_DEADLINE_API JobDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobDetailsEntity & WithLogGroupName(LogGroupNameT &&value)
const Aws::String & GetLogGroupName() 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