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>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
66 template<
typename MembershipIdT = Aws::String>
67 void SetMembershipId(MembershipIdT&& value) { m_membershipIdHasBeenSet =
true; m_membershipId = std::forward<MembershipIdT>(value); }
68 template<
typename MembershipIdT = Aws::String>
78 template<
typename MembershipArnT = Aws::String>
79 void SetMembershipArn(MembershipArnT&& value) { m_membershipArnHasBeenSet =
true; m_membershipArn = std::forward<MembershipArnT>(value); }
80 template<
typename MembershipArnT = Aws::String>
90 template<
typename CreateTimeT = Aws::Utils::DateTime>
91 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
92 template<
typename CreateTimeT = Aws::Utils::DateTime>
102 template<
typename JobParametersT = ProtectedJobParameters>
103 void SetJobParameters(JobParametersT&& value) { m_jobParametersHasBeenSet =
true; m_jobParameters = std::forward<JobParametersT>(value); }
104 template<
typename JobParametersT = ProtectedJobParameters>
124 template<
typename ResultConfigurationT = ProtectedJobResultConfigurationOutput>
125 void SetResultConfiguration(ResultConfigurationT&& value) { m_resultConfigurationHasBeenSet =
true; m_resultConfiguration = std::forward<ResultConfigurationT>(value); }
126 template<
typename ResultConfigurationT = ProtectedJobResultConfigurationOutput>
136 template<
typename StatisticsT = ProtectedJobStatistics>
137 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet =
true; m_statistics = std::forward<StatisticsT>(value); }
138 template<
typename StatisticsT = ProtectedJobStatistics>
148 template<
typename ResultT = ProtectedJobResult>
149 void SetResult(ResultT&& value) { m_resultHasBeenSet =
true; m_result = std::forward<ResultT>(value); }
150 template<
typename ResultT = ProtectedJobResult>
160 template<
typename ErrorT = ProtectedJobError>
161 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
162 template<
typename ErrorT = ProtectedJobError>
168 bool m_idHasBeenSet =
false;
171 bool m_membershipIdHasBeenSet =
false;
174 bool m_membershipArnHasBeenSet =
false;
177 bool m_createTimeHasBeenSet =
false;
179 ProtectedJobParameters m_jobParameters;
180 bool m_jobParametersHasBeenSet =
false;
183 bool m_statusHasBeenSet =
false;
185 ProtectedJobResultConfigurationOutput m_resultConfiguration;
186 bool m_resultConfigurationHasBeenSet =
false;
188 ProtectedJobStatistics m_statistics;
189 bool m_statisticsHasBeenSet =
false;
191 ProtectedJobResult m_result;
192 bool m_resultHasBeenSet =
false;
194 ProtectedJobError m_error;
195 bool m_errorHasBeenSet =
false;
ProtectedJob & WithError(ErrorT &&value)
void SetStatus(ProtectedJobStatus value)
ProtectedJob & WithResult(ResultT &&value)
ProtectedJob & WithMembershipArn(MembershipArnT &&value)
void SetError(ErrorT &&value)
const ProtectedJobParameters & GetJobParameters() const
void SetResult(ResultT &&value)
bool ResultHasBeenSet() const
void SetCreateTime(CreateTimeT &&value)
bool MembershipIdHasBeenSet() const
AWS_CLEANROOMS_API ProtectedJob(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool MembershipArnHasBeenSet() const
bool StatisticsHasBeenSet() const
void SetStatistics(StatisticsT &&value)
const ProtectedJobResultConfigurationOutput & GetResultConfiguration() const
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)
bool ResultConfigurationHasBeenSet() const
const Aws::Utils::DateTime & GetCreateTime() const
bool CreateTimeHasBeenSet() 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)
bool ErrorHasBeenSet() const
bool JobParametersHasBeenSet() const
bool StatusHasBeenSet() const
void SetResultConfiguration(ResultConfigurationT &&value)
ProtectedJob & WithStatus(ProtectedJobStatus value)
bool IdHasBeenSet() const
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