7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/S3BucketCriteriaForJob.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/macie2/model/JobStatus.h>
13#include <aws/macie2/model/JobType.h>
14#include <aws/macie2/model/LastRunErrorStatus.h>
15#include <aws/macie2/model/UserPausedDetails.h>
16#include <aws/macie2/model/S3BucketDefinitionForJob.h>
58 template<
typename BucketCriteriaT = S3BucketCriteriaForJob>
59 void SetBucketCriteria(BucketCriteriaT&& value) { m_bucketCriteriaHasBeenSet =
true; m_bucketCriteria = std::forward<BucketCriteriaT>(value); }
60 template<
typename BucketCriteriaT = S3BucketCriteriaForJob>
74 template<
typename BucketDefinitionsT = Aws::Vector<S3BucketDefinitionForJob>>
75 void SetBucketDefinitions(BucketDefinitionsT&& value) { m_bucketDefinitionsHasBeenSet =
true; m_bucketDefinitions = std::forward<BucketDefinitionsT>(value); }
76 template<
typename BucketDefinitionsT = Aws::Vector<S3BucketDefinitionForJob>>
78 template<
typename BucketDefinitionsT = S3BucketDefinitionForJob>
79 JobSummary&
AddBucketDefinitions(BucketDefinitionsT&& value) { m_bucketDefinitionsHasBeenSet =
true; m_bucketDefinitions.emplace_back(std::forward<BucketDefinitionsT>(value));
return *
this; }
89 template<
typename CreatedAtT = Aws::Utils::DateTime>
90 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
91 template<
typename CreatedAtT = Aws::Utils::DateTime>
101 template<
typename JobIdT = Aws::String>
102 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
103 template<
typename JobIdT = Aws::String>
152 template<
typename LastRunErrorStatusT = LastRunErrorStatus>
153 void SetLastRunErrorStatus(LastRunErrorStatusT&& value) { m_lastRunErrorStatusHasBeenSet =
true; m_lastRunErrorStatus = std::forward<LastRunErrorStatusT>(value); }
154 template<
typename LastRunErrorStatusT = LastRunErrorStatus>
164 template<
typename NameT = Aws::String>
165 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
166 template<
typename NameT = Aws::String>
179 template<
typename UserPausedDetailsT = UserPausedDetails>
180 void SetUserPausedDetails(UserPausedDetailsT&& value) { m_userPausedDetailsHasBeenSet =
true; m_userPausedDetails = std::forward<UserPausedDetailsT>(value); }
181 template<
typename UserPausedDetailsT = UserPausedDetails>
187 bool m_bucketCriteriaHasBeenSet =
false;
190 bool m_bucketDefinitionsHasBeenSet =
false;
193 bool m_createdAtHasBeenSet =
false;
196 bool m_jobIdHasBeenSet =
false;
199 bool m_jobStatusHasBeenSet =
false;
202 bool m_jobTypeHasBeenSet =
false;
204 LastRunErrorStatus m_lastRunErrorStatus;
205 bool m_lastRunErrorStatusHasBeenSet =
false;
208 bool m_nameHasBeenSet =
false;
210 UserPausedDetails m_userPausedDetails;
211 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