7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/macie2/Macie2_EXPORTS.h>
11#include <aws/macie2/model/JobStatus.h>
12#include <aws/macie2/model/JobType.h>
13#include <aws/macie2/model/LastRunErrorStatus.h>
14#include <aws/macie2/model/S3BucketCriteriaForJob.h>
15#include <aws/macie2/model/S3BucketDefinitionForJob.h>
16#include <aws/macie2/model/UserPausedDetails.h>
52 template <
typename BucketCriteriaT = S3BucketCriteriaForJob>
54 m_bucketCriteriaHasBeenSet =
true;
55 m_bucketCriteria = std::forward<BucketCriteriaT>(value);
57 template <
typename BucketCriteriaT = S3BucketCriteriaForJob>
74 template <
typename BucketDefinitionsT = Aws::Vector<S3BucketDefinitionForJob>>
76 m_bucketDefinitionsHasBeenSet =
true;
77 m_bucketDefinitions = std::forward<BucketDefinitionsT>(value);
79 template <
typename BucketDefinitionsT = Aws::Vector<S3BucketDefinitionForJob>>
84 template <
typename BucketDefinitionsT = S3BucketDefinitionForJob>
86 m_bucketDefinitionsHasBeenSet =
true;
87 m_bucketDefinitions.emplace_back(std::forward<BucketDefinitionsT>(value));
99 template <
typename CreatedAtT = Aws::Utils::DateTime>
101 m_createdAtHasBeenSet =
true;
102 m_createdAt = std::forward<CreatedAtT>(value);
104 template <
typename CreatedAtT = Aws::Utils::DateTime>
117 template <
typename JobIdT = Aws::String>
119 m_jobIdHasBeenSet =
true;
120 m_jobId = std::forward<JobIdT>(value);
122 template <
typename JobIdT = Aws::String>
124 SetJobId(std::forward<JobIdT>(value));
151 m_jobStatusHasBeenSet =
true;
169 m_jobTypeHasBeenSet =
true;
186 template <
typename LastRunErrorStatusT = LastRunErrorStatus>
188 m_lastRunErrorStatusHasBeenSet =
true;
189 m_lastRunErrorStatus = std::forward<LastRunErrorStatusT>(value);
191 template <
typename LastRunErrorStatusT = LastRunErrorStatus>
204 template <
typename NameT = Aws::String>
206 m_nameHasBeenSet =
true;
207 m_name = std::forward<NameT>(value);
209 template <
typename NameT = Aws::String>
211 SetName(std::forward<NameT>(value));
225 template <
typename UserPausedDetailsT = UserPausedDetails>
227 m_userPausedDetailsHasBeenSet =
true;
228 m_userPausedDetails = std::forward<UserPausedDetailsT>(value);
230 template <
typename UserPausedDetailsT = UserPausedDetails>
249 LastRunErrorStatus m_lastRunErrorStatus;
253 UserPausedDetails m_userPausedDetails;
254 bool m_bucketCriteriaHasBeenSet =
false;
255 bool m_bucketDefinitionsHasBeenSet =
false;
256 bool m_createdAtHasBeenSet =
false;
257 bool m_jobIdHasBeenSet =
false;
258 bool m_jobStatusHasBeenSet =
false;
259 bool m_jobTypeHasBeenSet =
false;
260 bool m_lastRunErrorStatusHasBeenSet =
false;
261 bool m_nameHasBeenSet =
false;
262 bool m_userPausedDetailsHasBeenSet =
false;
JobSummary & WithJobId(JobIdT &&value)
JobType GetJobType() const
const S3BucketCriteriaForJob & GetBucketCriteria() const
JobSummary & AddBucketDefinitions(BucketDefinitionsT &&value)
const LastRunErrorStatus & GetLastRunErrorStatus() const
JobSummary & WithCreatedAt(CreatedAtT &&value)
bool UserPausedDetailsHasBeenSet() const
void SetBucketCriteria(BucketCriteriaT &&value)
JobSummary & WithBucketDefinitions(BucketDefinitionsT &&value)
bool LastRunErrorStatusHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool JobIdHasBeenSet() const
void SetJobId(JobIdT &&value)
JobStatus GetJobStatus() const
AWS_MACIE2_API JobSummary(Aws::Utils::Json::JsonView jsonValue)
JobSummary & WithJobStatus(JobStatus value)
const Aws::Vector< S3BucketDefinitionForJob > & GetBucketDefinitions() const
AWS_MACIE2_API JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool JobTypeHasBeenSet() const
bool JobStatusHasBeenSet() const
JobSummary & WithBucketCriteria(BucketCriteriaT &&value)
JobSummary & WithLastRunErrorStatus(LastRunErrorStatusT &&value)
void SetUserPausedDetails(UserPausedDetailsT &&value)
void SetBucketDefinitions(BucketDefinitionsT &&value)
const Aws::String & GetName() const
void SetLastRunErrorStatus(LastRunErrorStatusT &&value)
void SetName(NameT &&value)
bool BucketDefinitionsHasBeenSet() const
void SetJobStatus(JobStatus value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobType(JobType value)
bool CreatedAtHasBeenSet() const
JobSummary & WithUserPausedDetails(UserPausedDetailsT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool BucketCriteriaHasBeenSet() const
const UserPausedDetails & GetUserPausedDetails() const
const Aws::String & GetJobId() const
bool NameHasBeenSet() const
JobSummary & WithJobType(JobType value)
AWS_MACIE2_API JobSummary()=default
JobSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue