AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobEntityIdentifiersUnion.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/JobDetailsIdentifiers.h>
9#include <aws/deadline/model/JobAttachmentDetailsIdentifiers.h>
10#include <aws/deadline/model/StepDetailsIdentifiers.h>
11#include <aws/deadline/model/EnvironmentDetailsIdentifiers.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace deadline
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DEADLINE_API JobEntityIdentifiersUnion();
40 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const JobDetailsIdentifiers& GetJobDetails() const{ return m_jobDetails; }
48 inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; }
49 inline void SetJobDetails(const JobDetailsIdentifiers& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; }
50 inline void SetJobDetails(JobDetailsIdentifiers&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); }
51 inline JobEntityIdentifiersUnion& WithJobDetails(const JobDetailsIdentifiers& value) { SetJobDetails(value); return *this;}
52 inline JobEntityIdentifiersUnion& WithJobDetails(JobDetailsIdentifiers&& value) { SetJobDetails(std::move(value)); return *this;}
54
56
59 inline const JobAttachmentDetailsIdentifiers& GetJobAttachmentDetails() const{ return m_jobAttachmentDetails; }
60 inline bool JobAttachmentDetailsHasBeenSet() const { return m_jobAttachmentDetailsHasBeenSet; }
61 inline void SetJobAttachmentDetails(const JobAttachmentDetailsIdentifiers& value) { m_jobAttachmentDetailsHasBeenSet = true; m_jobAttachmentDetails = value; }
62 inline void SetJobAttachmentDetails(JobAttachmentDetailsIdentifiers&& value) { m_jobAttachmentDetailsHasBeenSet = true; m_jobAttachmentDetails = std::move(value); }
66
68
71 inline const StepDetailsIdentifiers& GetStepDetails() const{ return m_stepDetails; }
72 inline bool StepDetailsHasBeenSet() const { return m_stepDetailsHasBeenSet; }
73 inline void SetStepDetails(const StepDetailsIdentifiers& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = value; }
74 inline void SetStepDetails(StepDetailsIdentifiers&& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = std::move(value); }
76 inline JobEntityIdentifiersUnion& WithStepDetails(StepDetailsIdentifiers&& value) { SetStepDetails(std::move(value)); return *this;}
78
80
83 inline const EnvironmentDetailsIdentifiers& GetEnvironmentDetails() const{ return m_environmentDetails; }
84 inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; }
85 inline void SetEnvironmentDetails(const EnvironmentDetailsIdentifiers& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; }
86 inline void SetEnvironmentDetails(EnvironmentDetailsIdentifiers&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); }
90 private:
91
92 JobDetailsIdentifiers m_jobDetails;
93 bool m_jobDetailsHasBeenSet = false;
94
95 JobAttachmentDetailsIdentifiers m_jobAttachmentDetails;
96 bool m_jobAttachmentDetailsHasBeenSet = false;
97
98 StepDetailsIdentifiers m_stepDetails;
99 bool m_stepDetailsHasBeenSet = false;
100
101 EnvironmentDetailsIdentifiers m_environmentDetails;
102 bool m_environmentDetailsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace deadline
107} // namespace Aws
JobEntityIdentifiersUnion & WithJobDetails(JobDetailsIdentifiers &&value)
const JobDetailsIdentifiers & GetJobDetails() const
const StepDetailsIdentifiers & GetStepDetails() const
const EnvironmentDetailsIdentifiers & GetEnvironmentDetails() const
void SetJobAttachmentDetails(JobAttachmentDetailsIdentifiers &&value)
JobEntityIdentifiersUnion & WithEnvironmentDetails(const EnvironmentDetailsIdentifiers &value)
void SetStepDetails(const StepDetailsIdentifiers &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobEntityIdentifiersUnion & WithStepDetails(const StepDetailsIdentifiers &value)
const JobAttachmentDetailsIdentifiers & GetJobAttachmentDetails() const
AWS_DEADLINE_API JobEntityIdentifiersUnion & operator=(Aws::Utils::Json::JsonView jsonValue)
JobEntityIdentifiersUnion & WithJobAttachmentDetails(const JobAttachmentDetailsIdentifiers &value)
void SetStepDetails(StepDetailsIdentifiers &&value)
JobEntityIdentifiersUnion & WithEnvironmentDetails(EnvironmentDetailsIdentifiers &&value)
AWS_DEADLINE_API JobEntityIdentifiersUnion(Aws::Utils::Json::JsonView jsonValue)
void SetEnvironmentDetails(const EnvironmentDetailsIdentifiers &value)
JobEntityIdentifiersUnion & WithJobAttachmentDetails(JobAttachmentDetailsIdentifiers &&value)
void SetJobAttachmentDetails(const JobAttachmentDetailsIdentifiers &value)
void SetJobDetails(const JobDetailsIdentifiers &value)
void SetEnvironmentDetails(EnvironmentDetailsIdentifiers &&value)
JobEntityIdentifiersUnion & WithStepDetails(StepDetailsIdentifiers &&value)
JobEntityIdentifiersUnion & WithJobDetails(const JobDetailsIdentifiers &value)
Aws::Utils::Json::JsonValue JsonValue