AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GetJobEntityError.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/EnvironmentDetailsError.h>
9#include <aws/deadline/model/JobAttachmentDetailsError.h>
10#include <aws/deadline/model/JobDetailsError.h>
11#include <aws/deadline/model/StepDetailsError.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline {
23namespace Model {
24
31 public:
32 AWS_DEADLINE_API GetJobEntityError() = default;
33 AWS_DEADLINE_API GetJobEntityError(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const JobDetailsError& GetJobDetails() const { return m_jobDetails; }
42 inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; }
43 template <typename JobDetailsT = JobDetailsError>
44 void SetJobDetails(JobDetailsT&& value) {
45 m_jobDetailsHasBeenSet = true;
46 m_jobDetails = std::forward<JobDetailsT>(value);
47 }
48 template <typename JobDetailsT = JobDetailsError>
49 GetJobEntityError& WithJobDetails(JobDetailsT&& value) {
50 SetJobDetails(std::forward<JobDetailsT>(value));
51 return *this;
52 }
54
56
59 inline const JobAttachmentDetailsError& GetJobAttachmentDetails() const { return m_jobAttachmentDetails; }
60 inline bool JobAttachmentDetailsHasBeenSet() const { return m_jobAttachmentDetailsHasBeenSet; }
61 template <typename JobAttachmentDetailsT = JobAttachmentDetailsError>
62 void SetJobAttachmentDetails(JobAttachmentDetailsT&& value) {
63 m_jobAttachmentDetailsHasBeenSet = true;
64 m_jobAttachmentDetails = std::forward<JobAttachmentDetailsT>(value);
65 }
66 template <typename JobAttachmentDetailsT = JobAttachmentDetailsError>
67 GetJobEntityError& WithJobAttachmentDetails(JobAttachmentDetailsT&& value) {
68 SetJobAttachmentDetails(std::forward<JobAttachmentDetailsT>(value));
69 return *this;
70 }
72
74
77 inline const StepDetailsError& GetStepDetails() const { return m_stepDetails; }
78 inline bool StepDetailsHasBeenSet() const { return m_stepDetailsHasBeenSet; }
79 template <typename StepDetailsT = StepDetailsError>
80 void SetStepDetails(StepDetailsT&& value) {
81 m_stepDetailsHasBeenSet = true;
82 m_stepDetails = std::forward<StepDetailsT>(value);
83 }
84 template <typename StepDetailsT = StepDetailsError>
85 GetJobEntityError& WithStepDetails(StepDetailsT&& value) {
86 SetStepDetails(std::forward<StepDetailsT>(value));
87 return *this;
88 }
90
92
95 inline const EnvironmentDetailsError& GetEnvironmentDetails() const { return m_environmentDetails; }
96 inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; }
97 template <typename EnvironmentDetailsT = EnvironmentDetailsError>
98 void SetEnvironmentDetails(EnvironmentDetailsT&& value) {
99 m_environmentDetailsHasBeenSet = true;
100 m_environmentDetails = std::forward<EnvironmentDetailsT>(value);
101 }
102 template <typename EnvironmentDetailsT = EnvironmentDetailsError>
103 GetJobEntityError& WithEnvironmentDetails(EnvironmentDetailsT&& value) {
104 SetEnvironmentDetails(std::forward<EnvironmentDetailsT>(value));
105 return *this;
106 }
108 private:
109 JobDetailsError m_jobDetails;
110
111 JobAttachmentDetailsError m_jobAttachmentDetails;
112
113 StepDetailsError m_stepDetails;
114
115 EnvironmentDetailsError m_environmentDetails;
116 bool m_jobDetailsHasBeenSet = false;
117 bool m_jobAttachmentDetailsHasBeenSet = false;
118 bool m_stepDetailsHasBeenSet = false;
119 bool m_environmentDetailsHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace deadline
124} // namespace Aws
void SetEnvironmentDetails(EnvironmentDetailsT &&value)
AWS_DEADLINE_API GetJobEntityError & operator=(Aws::Utils::Json::JsonView jsonValue)
GetJobEntityError & WithJobDetails(JobDetailsT &&value)
GetJobEntityError & WithStepDetails(StepDetailsT &&value)
void SetStepDetails(StepDetailsT &&value)
GetJobEntityError & WithJobAttachmentDetails(JobAttachmentDetailsT &&value)
const EnvironmentDetailsError & GetEnvironmentDetails() const
GetJobEntityError & WithEnvironmentDetails(EnvironmentDetailsT &&value)
AWS_DEADLINE_API GetJobEntityError(Aws::Utils::Json::JsonView jsonValue)
void SetJobAttachmentDetails(JobAttachmentDetailsT &&value)
const JobDetailsError & GetJobDetails() const
const StepDetailsError & GetStepDetails() const
const JobAttachmentDetailsError & GetJobAttachmentDetails() const
AWS_DEADLINE_API GetJobEntityError()=default
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue