AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
ProtectedJob.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cleanrooms/model/ProtectedJobParameters.h>
11#include <aws/cleanrooms/model/ProtectedJobStatus.h>
12#include <aws/cleanrooms/model/ProtectedJobResultConfigurationOutput.h>
13#include <aws/cleanrooms/model/ProtectedJobStatistics.h>
14#include <aws/cleanrooms/model/ProtectedJobResult.h>
15#include <aws/cleanrooms/model/ProtectedJobError.h>
16#include <aws/cleanrooms/model/ProtectedJobComputeConfiguration.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace CleanRooms
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_CLEANROOMS_API ProtectedJob() = default;
44 AWS_CLEANROOMS_API ProtectedJob(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CLEANROOMS_API ProtectedJob& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetId() const { return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 ProtectedJob& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
66 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
67 template<typename MembershipIdT = Aws::String>
68 void SetMembershipId(MembershipIdT&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::forward<MembershipIdT>(value); }
69 template<typename MembershipIdT = Aws::String>
70 ProtectedJob& WithMembershipId(MembershipIdT&& value) { SetMembershipId(std::forward<MembershipIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
78 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
79 template<typename MembershipArnT = Aws::String>
80 void SetMembershipArn(MembershipArnT&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::forward<MembershipArnT>(value); }
81 template<typename MembershipArnT = Aws::String>
82 ProtectedJob& WithMembershipArn(MembershipArnT&& value) { SetMembershipArn(std::forward<MembershipArnT>(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
90 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
91 template<typename CreateTimeT = Aws::Utils::DateTime>
92 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
93 template<typename CreateTimeT = Aws::Utils::DateTime>
94 ProtectedJob& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
96
98
101 inline const ProtectedJobParameters& GetJobParameters() const { return m_jobParameters; }
102 inline bool JobParametersHasBeenSet() const { return m_jobParametersHasBeenSet; }
103 template<typename JobParametersT = ProtectedJobParameters>
104 void SetJobParameters(JobParametersT&& value) { m_jobParametersHasBeenSet = true; m_jobParameters = std::forward<JobParametersT>(value); }
105 template<typename JobParametersT = ProtectedJobParameters>
106 ProtectedJob& WithJobParameters(JobParametersT&& value) { SetJobParameters(std::forward<JobParametersT>(value)); return *this;}
108
110
113 inline ProtectedJobStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(ProtectedJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
116 inline ProtectedJob& WithStatus(ProtectedJobStatus value) { SetStatus(value); return *this;}
118
120
123 inline const ProtectedJobResultConfigurationOutput& GetResultConfiguration() const { return m_resultConfiguration; }
124 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
125 template<typename ResultConfigurationT = ProtectedJobResultConfigurationOutput>
126 void SetResultConfiguration(ResultConfigurationT&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::forward<ResultConfigurationT>(value); }
127 template<typename ResultConfigurationT = ProtectedJobResultConfigurationOutput>
128 ProtectedJob& WithResultConfiguration(ResultConfigurationT&& value) { SetResultConfiguration(std::forward<ResultConfigurationT>(value)); return *this;}
130
132
135 inline const ProtectedJobStatistics& GetStatistics() const { return m_statistics; }
136 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
137 template<typename StatisticsT = ProtectedJobStatistics>
138 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
139 template<typename StatisticsT = ProtectedJobStatistics>
140 ProtectedJob& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
142
144
147 inline const ProtectedJobResult& GetResult() const { return m_result; }
148 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
149 template<typename ResultT = ProtectedJobResult>
150 void SetResult(ResultT&& value) { m_resultHasBeenSet = true; m_result = std::forward<ResultT>(value); }
151 template<typename ResultT = ProtectedJobResult>
152 ProtectedJob& WithResult(ResultT&& value) { SetResult(std::forward<ResultT>(value)); return *this;}
154
156
159 inline const ProtectedJobError& GetError() const { return m_error; }
160 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
161 template<typename ErrorT = ProtectedJobError>
162 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
163 template<typename ErrorT = ProtectedJobError>
164 ProtectedJob& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
166
168
171 inline const ProtectedJobComputeConfiguration& GetComputeConfiguration() const { return m_computeConfiguration; }
172 inline bool ComputeConfigurationHasBeenSet() const { return m_computeConfigurationHasBeenSet; }
173 template<typename ComputeConfigurationT = ProtectedJobComputeConfiguration>
174 void SetComputeConfiguration(ComputeConfigurationT&& value) { m_computeConfigurationHasBeenSet = true; m_computeConfiguration = std::forward<ComputeConfigurationT>(value); }
175 template<typename ComputeConfigurationT = ProtectedJobComputeConfiguration>
176 ProtectedJob& WithComputeConfiguration(ComputeConfigurationT&& value) { SetComputeConfiguration(std::forward<ComputeConfigurationT>(value)); return *this;}
178 private:
179
180 Aws::String m_id;
181 bool m_idHasBeenSet = false;
182
183 Aws::String m_membershipId;
184 bool m_membershipIdHasBeenSet = false;
185
186 Aws::String m_membershipArn;
187 bool m_membershipArnHasBeenSet = false;
188
189 Aws::Utils::DateTime m_createTime{};
190 bool m_createTimeHasBeenSet = false;
191
192 ProtectedJobParameters m_jobParameters;
193 bool m_jobParametersHasBeenSet = false;
194
196 bool m_statusHasBeenSet = false;
197
198 ProtectedJobResultConfigurationOutput m_resultConfiguration;
199 bool m_resultConfigurationHasBeenSet = false;
200
201 ProtectedJobStatistics m_statistics;
202 bool m_statisticsHasBeenSet = false;
203
204 ProtectedJobResult m_result;
205 bool m_resultHasBeenSet = false;
206
207 ProtectedJobError m_error;
208 bool m_errorHasBeenSet = false;
209
210 ProtectedJobComputeConfiguration m_computeConfiguration;
211 bool m_computeConfigurationHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace CleanRooms
216} // namespace Aws
ProtectedJob & WithError(ErrorT &&value)
ProtectedJob & WithComputeConfiguration(ComputeConfigurationT &&value)
void SetStatus(ProtectedJobStatus value)
ProtectedJob & WithResult(ResultT &&value)
ProtectedJob & WithMembershipArn(MembershipArnT &&value)
const ProtectedJobParameters & GetJobParameters() const
const ProtectedJobComputeConfiguration & GetComputeConfiguration() const
void SetCreateTime(CreateTimeT &&value)
AWS_CLEANROOMS_API ProtectedJob(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatistics(StatisticsT &&value)
const ProtectedJobResultConfigurationOutput & GetResultConfiguration() const
void SetComputeConfiguration(ComputeConfigurationT &&value)
AWS_CLEANROOMS_API ProtectedJob()=default
ProtectedJob & WithCreateTime(CreateTimeT &&value)
const Aws::String & GetMembershipId() const
ProtectedJob & WithJobParameters(JobParametersT &&value)
ProtectedJob & WithId(IdT &&value)
ProtectedJobStatus GetStatus() const
void SetMembershipArn(MembershipArnT &&value)
ProtectedJob & WithMembershipId(MembershipIdT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CLEANROOMS_API ProtectedJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobParameters(JobParametersT &&value)
void SetMembershipId(MembershipIdT &&value)
const Aws::String & GetId() const
ProtectedJob & WithStatistics(StatisticsT &&value)
const ProtectedJobError & GetError() const
const ProtectedJobStatistics & GetStatistics() const
ProtectedJob & WithResultConfiguration(ResultConfigurationT &&value)
void SetResultConfiguration(ResultConfigurationT &&value)
ProtectedJob & WithStatus(ProtectedJobStatus value)
const Aws::String & GetMembershipArn() const
const ProtectedJobResult & GetResult() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue