AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeClassificationJobResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.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/ManagedDataIdentifierSelector.h>
15#include <aws/macie2/model/S3JobDefinition.h>
16#include <aws/macie2/model/JobScheduleFrequency.h>
17#include <aws/macie2/model/Statistics.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/macie2/model/UserPausedDetails.h>
20#include <utility>
21#include <aws/core/utils/UUID.h>
22
23namespace Aws
24{
25template<typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace Macie2
36{
37namespace Model
38{
40 {
41 public:
42 AWS_MACIE2_API DescribeClassificationJobResult() = default;
45
46
48
52 inline const Aws::Vector<Aws::String>& GetAllowListIds() const { return m_allowListIds; }
53 template<typename AllowListIdsT = Aws::Vector<Aws::String>>
54 void SetAllowListIds(AllowListIdsT&& value) { m_allowListIdsHasBeenSet = true; m_allowListIds = std::forward<AllowListIdsT>(value); }
55 template<typename AllowListIdsT = Aws::Vector<Aws::String>>
56 DescribeClassificationJobResult& WithAllowListIds(AllowListIdsT&& value) { SetAllowListIds(std::forward<AllowListIdsT>(value)); return *this;}
57 template<typename AllowListIdsT = Aws::String>
58 DescribeClassificationJobResult& AddAllowListIds(AllowListIdsT&& value) { m_allowListIdsHasBeenSet = true; m_allowListIds.emplace_back(std::forward<AllowListIdsT>(value)); return *this; }
60
62
66 inline const Aws::String& GetClientToken() const { return m_clientToken; }
67 template<typename ClientTokenT = Aws::String>
68 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
69 template<typename ClientTokenT = Aws::String>
70 DescribeClassificationJobResult& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
72
74
78 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
79 template<typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
81 template<typename CreatedAtT = Aws::Utils::DateTime>
82 DescribeClassificationJobResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
84
86
91 inline const Aws::Vector<Aws::String>& GetCustomDataIdentifierIds() const { return m_customDataIdentifierIds; }
92 template<typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
93 void SetCustomDataIdentifierIds(CustomDataIdentifierIdsT&& value) { m_customDataIdentifierIdsHasBeenSet = true; m_customDataIdentifierIds = std::forward<CustomDataIdentifierIdsT>(value); }
94 template<typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
95 DescribeClassificationJobResult& WithCustomDataIdentifierIds(CustomDataIdentifierIdsT&& value) { SetCustomDataIdentifierIds(std::forward<CustomDataIdentifierIdsT>(value)); return *this;}
96 template<typename CustomDataIdentifierIdsT = Aws::String>
97 DescribeClassificationJobResult& AddCustomDataIdentifierIds(CustomDataIdentifierIdsT&& value) { m_customDataIdentifierIdsHasBeenSet = true; m_customDataIdentifierIds.emplace_back(std::forward<CustomDataIdentifierIdsT>(value)); return *this; }
99
101
104 inline const Aws::String& GetDescription() const { return m_description; }
105 template<typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
107 template<typename DescriptionT = Aws::String>
108 DescribeClassificationJobResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
110
112
119 inline bool GetInitialRun() const { return m_initialRun; }
120 inline void SetInitialRun(bool value) { m_initialRunHasBeenSet = true; m_initialRun = value; }
121 inline DescribeClassificationJobResult& WithInitialRun(bool value) { SetInitialRun(value); return *this;}
123
125
128 inline const Aws::String& GetJobArn() const { return m_jobArn; }
129 template<typename JobArnT = Aws::String>
130 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
131 template<typename JobArnT = Aws::String>
132 DescribeClassificationJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
134
136
139 inline const Aws::String& GetJobId() const { return m_jobId; }
140 template<typename JobIdT = Aws::String>
141 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
142 template<typename JobIdT = Aws::String>
143 DescribeClassificationJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
145
147
165 inline JobStatus GetJobStatus() const { return m_jobStatus; }
166 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
169
171
177 inline JobType GetJobType() const { return m_jobType; }
178 inline void SetJobType(JobType value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
179 inline DescribeClassificationJobResult& WithJobType(JobType value) { SetJobType(value); return *this;}
181
183
188 inline const LastRunErrorStatus& GetLastRunErrorStatus() const { return m_lastRunErrorStatus; }
189 template<typename LastRunErrorStatusT = LastRunErrorStatus>
190 void SetLastRunErrorStatus(LastRunErrorStatusT&& value) { m_lastRunErrorStatusHasBeenSet = true; m_lastRunErrorStatus = std::forward<LastRunErrorStatusT>(value); }
191 template<typename LastRunErrorStatusT = LastRunErrorStatus>
192 DescribeClassificationJobResult& WithLastRunErrorStatus(LastRunErrorStatusT&& value) { SetLastRunErrorStatus(std::forward<LastRunErrorStatusT>(value)); return *this;}
194
196
201 inline const Aws::Utils::DateTime& GetLastRunTime() const { return m_lastRunTime; }
202 template<typename LastRunTimeT = Aws::Utils::DateTime>
203 void SetLastRunTime(LastRunTimeT&& value) { m_lastRunTimeHasBeenSet = true; m_lastRunTime = std::forward<LastRunTimeT>(value); }
204 template<typename LastRunTimeT = Aws::Utils::DateTime>
205 DescribeClassificationJobResult& WithLastRunTime(LastRunTimeT&& value) { SetLastRunTime(std::forward<LastRunTimeT>(value)); return *this;}
207
209
217 inline const Aws::Vector<Aws::String>& GetManagedDataIdentifierIds() const { return m_managedDataIdentifierIds; }
218 template<typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
219 void SetManagedDataIdentifierIds(ManagedDataIdentifierIdsT&& value) { m_managedDataIdentifierIdsHasBeenSet = true; m_managedDataIdentifierIds = std::forward<ManagedDataIdentifierIdsT>(value); }
220 template<typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
221 DescribeClassificationJobResult& WithManagedDataIdentifierIds(ManagedDataIdentifierIdsT&& value) { SetManagedDataIdentifierIds(std::forward<ManagedDataIdentifierIdsT>(value)); return *this;}
222 template<typename ManagedDataIdentifierIdsT = Aws::String>
223 DescribeClassificationJobResult& AddManagedDataIdentifierIds(ManagedDataIdentifierIdsT&& value) { m_managedDataIdentifierIdsHasBeenSet = true; m_managedDataIdentifierIds.emplace_back(std::forward<ManagedDataIdentifierIdsT>(value)); return *this; }
225
227
249 inline ManagedDataIdentifierSelector GetManagedDataIdentifierSelector() const { return m_managedDataIdentifierSelector; }
250 inline void SetManagedDataIdentifierSelector(ManagedDataIdentifierSelector value) { m_managedDataIdentifierSelectorHasBeenSet = true; m_managedDataIdentifierSelector = value; }
253
255
258 inline const Aws::String& GetName() const { return m_name; }
259 template<typename NameT = Aws::String>
260 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
261 template<typename NameT = Aws::String>
262 DescribeClassificationJobResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
264
266
270 inline const S3JobDefinition& GetS3JobDefinition() const { return m_s3JobDefinition; }
271 template<typename S3JobDefinitionT = S3JobDefinition>
272 void SetS3JobDefinition(S3JobDefinitionT&& value) { m_s3JobDefinitionHasBeenSet = true; m_s3JobDefinition = std::forward<S3JobDefinitionT>(value); }
273 template<typename S3JobDefinitionT = S3JobDefinition>
274 DescribeClassificationJobResult& WithS3JobDefinition(S3JobDefinitionT&& value) { SetS3JobDefinition(std::forward<S3JobDefinitionT>(value)); return *this;}
276
278
282 inline int GetSamplingPercentage() const { return m_samplingPercentage; }
283 inline void SetSamplingPercentage(int value) { m_samplingPercentageHasBeenSet = true; m_samplingPercentage = value; }
286
288
292 inline const JobScheduleFrequency& GetScheduleFrequency() const { return m_scheduleFrequency; }
293 template<typename ScheduleFrequencyT = JobScheduleFrequency>
294 void SetScheduleFrequency(ScheduleFrequencyT&& value) { m_scheduleFrequencyHasBeenSet = true; m_scheduleFrequency = std::forward<ScheduleFrequencyT>(value); }
295 template<typename ScheduleFrequencyT = JobScheduleFrequency>
296 DescribeClassificationJobResult& WithScheduleFrequency(ScheduleFrequencyT&& value) { SetScheduleFrequency(std::forward<ScheduleFrequencyT>(value)); return *this;}
298
300
304 inline const Statistics& GetStatistics() const { return m_statistics; }
305 template<typename StatisticsT = Statistics>
306 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
307 template<typename StatisticsT = Statistics>
308 DescribeClassificationJobResult& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
310
312
316 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
317 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
318 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
319 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
320 DescribeClassificationJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
321 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
322 DescribeClassificationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
323 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
324 }
326
328
334 inline const UserPausedDetails& GetUserPausedDetails() const { return m_userPausedDetails; }
335 template<typename UserPausedDetailsT = UserPausedDetails>
336 void SetUserPausedDetails(UserPausedDetailsT&& value) { m_userPausedDetailsHasBeenSet = true; m_userPausedDetails = std::forward<UserPausedDetailsT>(value); }
337 template<typename UserPausedDetailsT = UserPausedDetails>
338 DescribeClassificationJobResult& WithUserPausedDetails(UserPausedDetailsT&& value) { SetUserPausedDetails(std::forward<UserPausedDetailsT>(value)); return *this;}
340
342
343 inline const Aws::String& GetRequestId() const { return m_requestId; }
344 template<typename RequestIdT = Aws::String>
345 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
346 template<typename RequestIdT = Aws::String>
347 DescribeClassificationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
349 private:
350
351 Aws::Vector<Aws::String> m_allowListIds;
352 bool m_allowListIdsHasBeenSet = false;
353
355 bool m_clientTokenHasBeenSet = true;
356
357 Aws::Utils::DateTime m_createdAt{};
358 bool m_createdAtHasBeenSet = false;
359
360 Aws::Vector<Aws::String> m_customDataIdentifierIds;
361 bool m_customDataIdentifierIdsHasBeenSet = false;
362
363 Aws::String m_description;
364 bool m_descriptionHasBeenSet = false;
365
366 bool m_initialRun{false};
367 bool m_initialRunHasBeenSet = false;
368
369 Aws::String m_jobArn;
370 bool m_jobArnHasBeenSet = false;
371
372 Aws::String m_jobId;
373 bool m_jobIdHasBeenSet = false;
374
375 JobStatus m_jobStatus{JobStatus::NOT_SET};
376 bool m_jobStatusHasBeenSet = false;
377
378 JobType m_jobType{JobType::NOT_SET};
379 bool m_jobTypeHasBeenSet = false;
380
381 LastRunErrorStatus m_lastRunErrorStatus;
382 bool m_lastRunErrorStatusHasBeenSet = false;
383
384 Aws::Utils::DateTime m_lastRunTime{};
385 bool m_lastRunTimeHasBeenSet = false;
386
387 Aws::Vector<Aws::String> m_managedDataIdentifierIds;
388 bool m_managedDataIdentifierIdsHasBeenSet = false;
389
391 bool m_managedDataIdentifierSelectorHasBeenSet = false;
392
393 Aws::String m_name;
394 bool m_nameHasBeenSet = false;
395
396 S3JobDefinition m_s3JobDefinition;
397 bool m_s3JobDefinitionHasBeenSet = false;
398
399 int m_samplingPercentage{0};
400 bool m_samplingPercentageHasBeenSet = false;
401
402 JobScheduleFrequency m_scheduleFrequency;
403 bool m_scheduleFrequencyHasBeenSet = false;
404
405 Statistics m_statistics;
406 bool m_statisticsHasBeenSet = false;
407
409 bool m_tagsHasBeenSet = false;
410
411 UserPausedDetails m_userPausedDetails;
412 bool m_userPausedDetailsHasBeenSet = false;
413
414 Aws::String m_requestId;
415 bool m_requestIdHasBeenSet = false;
416 };
417
418} // namespace Model
419} // namespace Macie2
420} // namespace Aws
DescribeClassificationJobResult & WithTags(TagsT &&value)
DescribeClassificationJobResult & WithClientToken(ClientTokenT &&value)
AWS_MACIE2_API DescribeClassificationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeClassificationJobResult & WithUserPausedDetails(UserPausedDetailsT &&value)
DescribeClassificationJobResult & WithManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
DescribeClassificationJobResult & WithName(NameT &&value)
DescribeClassificationJobResult & WithDescription(DescriptionT &&value)
DescribeClassificationJobResult & WithInitialRun(bool value)
DescribeClassificationJobResult & WithLastRunTime(LastRunTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeClassificationJobResult & WithJobId(JobIdT &&value)
DescribeClassificationJobResult & WithJobType(JobType value)
DescribeClassificationJobResult & WithJobArn(JobArnT &&value)
DescribeClassificationJobResult & AddAllowListIds(AllowListIdsT &&value)
const Aws::Vector< Aws::String > & GetCustomDataIdentifierIds() const
void SetManagedDataIdentifierSelector(ManagedDataIdentifierSelector value)
AWS_MACIE2_API DescribeClassificationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeClassificationJobResult & WithLastRunErrorStatus(LastRunErrorStatusT &&value)
DescribeClassificationJobResult & AddManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
DescribeClassificationJobResult & WithRequestId(RequestIdT &&value)
AWS_MACIE2_API DescribeClassificationJobResult()=default
DescribeClassificationJobResult & WithAllowListIds(AllowListIdsT &&value)
DescribeClassificationJobResult & WithCreatedAt(CreatedAtT &&value)
DescribeClassificationJobResult & WithCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
DescribeClassificationJobResult & WithManagedDataIdentifierSelector(ManagedDataIdentifierSelector value)
DescribeClassificationJobResult & WithS3JobDefinition(S3JobDefinitionT &&value)
DescribeClassificationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
DescribeClassificationJobResult & WithSamplingPercentage(int value)
DescribeClassificationJobResult & AddCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
DescribeClassificationJobResult & WithScheduleFrequency(ScheduleFrequencyT &&value)
const Aws::Vector< Aws::String > & GetManagedDataIdentifierIds() const
DescribeClassificationJobResult & WithJobStatus(JobStatus value)
DescribeClassificationJobResult & WithStatistics(StatisticsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue