AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
53 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
54 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
55 inline JobDetailsEntity& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
56 inline JobDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
57 inline JobDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;}
59
61
64 inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; }
65 inline bool JobAttachmentSettingsHasBeenSet() const { return m_jobAttachmentSettingsHasBeenSet; }
66 inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = value; }
67 inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::move(value); }
71
73
76 inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; }
77 inline bool JobRunAsUserHasBeenSet() const { return m_jobRunAsUserHasBeenSet; }
78 inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = value; }
79 inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = std::move(value); }
80 inline JobDetailsEntity& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;}
81 inline JobDetailsEntity& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
89 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
90 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
91 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
92 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
93 inline JobDetailsEntity& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
94 inline JobDetailsEntity& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
95 inline JobDetailsEntity& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
97
99
102 inline const Aws::String& GetQueueRoleArn() const{ return m_queueRoleArn; }
103 inline bool QueueRoleArnHasBeenSet() const { return m_queueRoleArnHasBeenSet; }
104 inline void SetQueueRoleArn(const Aws::String& value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn = value; }
105 inline void SetQueueRoleArn(Aws::String&& value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn = std::move(value); }
106 inline void SetQueueRoleArn(const char* value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn.assign(value); }
107 inline JobDetailsEntity& WithQueueRoleArn(const Aws::String& value) { SetQueueRoleArn(value); return *this;}
108 inline JobDetailsEntity& WithQueueRoleArn(Aws::String&& value) { SetQueueRoleArn(std::move(value)); return *this;}
109 inline JobDetailsEntity& WithQueueRoleArn(const char* value) { SetQueueRoleArn(value); return *this;}
111
113
116 inline const Aws::Map<Aws::String, JobParameter>& GetParameters() const{ return m_parameters; }
117 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
118 inline void SetParameters(const Aws::Map<Aws::String, JobParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
119 inline void SetParameters(Aws::Map<Aws::String, JobParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
121 inline JobDetailsEntity& WithParameters(Aws::Map<Aws::String, JobParameter>&& value) { SetParameters(std::move(value)); return *this;}
122 inline JobDetailsEntity& AddParameters(const Aws::String& key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
123 inline JobDetailsEntity& AddParameters(Aws::String&& key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
124 inline JobDetailsEntity& AddParameters(const Aws::String& key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
125 inline JobDetailsEntity& AddParameters(Aws::String&& key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
126 inline JobDetailsEntity& AddParameters(const char* key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
127 inline JobDetailsEntity& AddParameters(const char* key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
129
131
134 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
135 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
136 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
137 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
138 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
139 inline JobDetailsEntity& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
140 inline JobDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
141 inline JobDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
143
145
148 inline const Aws::Vector<PathMappingRule>& GetPathMappingRules() const{ return m_pathMappingRules; }
149 inline bool PathMappingRulesHasBeenSet() const { return m_pathMappingRulesHasBeenSet; }
150 inline void SetPathMappingRules(const Aws::Vector<PathMappingRule>& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules = value; }
151 inline void SetPathMappingRules(Aws::Vector<PathMappingRule>&& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules = std::move(value); }
154 inline JobDetailsEntity& AddPathMappingRules(const PathMappingRule& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules.push_back(value); return *this; }
155 inline JobDetailsEntity& AddPathMappingRules(PathMappingRule&& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules.push_back(std::move(value)); return *this; }
157 private:
158
159 Aws::String m_jobId;
160 bool m_jobIdHasBeenSet = false;
161
162 JobAttachmentSettings m_jobAttachmentSettings;
163 bool m_jobAttachmentSettingsHasBeenSet = false;
164
165 JobRunAsUser m_jobRunAsUser;
166 bool m_jobRunAsUserHasBeenSet = false;
167
168 Aws::String m_logGroupName;
169 bool m_logGroupNameHasBeenSet = false;
170
171 Aws::String m_queueRoleArn;
172 bool m_queueRoleArnHasBeenSet = false;
173
175 bool m_parametersHasBeenSet = false;
176
177 Aws::String m_schemaVersion;
178 bool m_schemaVersionHasBeenSet = false;
179
180 Aws::Vector<PathMappingRule> m_pathMappingRules;
181 bool m_pathMappingRulesHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace deadline
186} // namespace Aws
JobDetailsEntity & WithSchemaVersion(Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, JobParameter > &&value)
JobDetailsEntity & AddParameters(Aws::String &&key, const JobParameter &value)
JobDetailsEntity & WithJobRunAsUser(const JobRunAsUser &value)
JobDetailsEntity & WithJobId(const char *value)
JobDetailsEntity & WithJobRunAsUser(JobRunAsUser &&value)
const Aws::String & GetQueueRoleArn() const
const Aws::Map< Aws::String, JobParameter > & GetParameters() const
JobDetailsEntity & WithJobAttachmentSettings(JobAttachmentSettings &&value)
void SetPathMappingRules(Aws::Vector< PathMappingRule > &&value)
JobDetailsEntity & AddParameters(const char *key, JobParameter &&value)
JobDetailsEntity & WithLogGroupName(const char *value)
JobDetailsEntity & WithJobId(const Aws::String &value)
void SetJobId(const Aws::String &value)
const Aws::String & GetSchemaVersion() const
void SetJobAttachmentSettings(JobAttachmentSettings &&value)
const JobRunAsUser & GetJobRunAsUser() const
JobDetailsEntity & AddParameters(const Aws::String &key, const JobParameter &value)
AWS_DEADLINE_API JobDetailsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
const JobAttachmentSettings & GetJobAttachmentSettings() const
JobDetailsEntity & AddParameters(const Aws::String &key, JobParameter &&value)
JobDetailsEntity & WithPathMappingRules(Aws::Vector< PathMappingRule > &&value)
JobDetailsEntity & WithJobAttachmentSettings(const JobAttachmentSettings &value)
JobDetailsEntity & WithSchemaVersion(const Aws::String &value)
void SetLogGroupName(Aws::String &&value)
void SetQueueRoleArn(const Aws::String &value)
JobDetailsEntity & WithQueueRoleArn(const char *value)
JobDetailsEntity & AddPathMappingRules(const PathMappingRule &value)
JobDetailsEntity & WithSchemaVersion(const char *value)
void SetJobAttachmentSettings(const JobAttachmentSettings &value)
JobDetailsEntity & AddPathMappingRules(PathMappingRule &&value)
JobDetailsEntity & AddParameters(Aws::String &&key, JobParameter &&value)
const Aws::String & GetJobId() const
void SetJobRunAsUser(JobRunAsUser &&value)
void SetJobRunAsUser(const JobRunAsUser &value)
const Aws::Vector< PathMappingRule > & GetPathMappingRules() const
void SetPathMappingRules(const Aws::Vector< PathMappingRule > &value)
JobDetailsEntity & WithLogGroupName(Aws::String &&value)
JobDetailsEntity & WithQueueRoleArn(Aws::String &&value)
void SetSchemaVersion(const Aws::String &value)
void SetSchemaVersion(Aws::String &&value)
JobDetailsEntity & WithParameters(Aws::Map< Aws::String, JobParameter > &&value)
AWS_DEADLINE_API JobDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
JobDetailsEntity & WithQueueRoleArn(const Aws::String &value)
void SetQueueRoleArn(Aws::String &&value)
JobDetailsEntity & WithJobId(Aws::String &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobDetailsEntity & WithLogGroupName(const Aws::String &value)
JobDetailsEntity & AddParameters(const char *key, const JobParameter &value)
const Aws::String & GetLogGroupName() const
void SetParameters(const Aws::Map< Aws::String, JobParameter > &value)
JobDetailsEntity & WithPathMappingRules(const Aws::Vector< PathMappingRule > &value)
void SetLogGroupName(const Aws::String &value)
JobDetailsEntity & WithParameters(const Aws::Map< Aws::String, JobParameter > &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue