AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeClassificationJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/macie2/Macie2_EXPORTS.h>
14#include <aws/macie2/model/JobScheduleFrequency.h>
15#include <aws/macie2/model/JobStatus.h>
16#include <aws/macie2/model/JobType.h>
17#include <aws/macie2/model/LastRunErrorStatus.h>
18#include <aws/macie2/model/ManagedDataIdentifierSelector.h>
19#include <aws/macie2/model/S3JobDefinition.h>
20#include <aws/macie2/model/Statistics.h>
21#include <aws/macie2/model/UserPausedDetails.h>
22
23#include <utility>
24
25namespace Aws {
26template <typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils {
30namespace Json {
31class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace Macie2 {
35namespace Model {
37 public:
38 AWS_MACIE2_API DescribeClassificationJobResult() = default;
41
43
47 inline const Aws::Vector<Aws::String>& GetAllowListIds() const { return m_allowListIds; }
48 template <typename AllowListIdsT = Aws::Vector<Aws::String>>
49 void SetAllowListIds(AllowListIdsT&& value) {
50 m_allowListIdsHasBeenSet = true;
51 m_allowListIds = std::forward<AllowListIdsT>(value);
52 }
53 template <typename AllowListIdsT = Aws::Vector<Aws::String>>
55 SetAllowListIds(std::forward<AllowListIdsT>(value));
56 return *this;
57 }
58 template <typename AllowListIdsT = Aws::String>
60 m_allowListIdsHasBeenSet = true;
61 m_allowListIds.emplace_back(std::forward<AllowListIdsT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetClientToken() const { return m_clientToken; }
72 template <typename ClientTokenT = Aws::String>
73 void SetClientToken(ClientTokenT&& value) {
74 m_clientTokenHasBeenSet = true;
75 m_clientToken = std::forward<ClientTokenT>(value);
76 }
77 template <typename ClientTokenT = Aws::String>
79 SetClientToken(std::forward<ClientTokenT>(value));
80 return *this;
81 }
83
85
89 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
90 template <typename CreatedAtT = Aws::Utils::DateTime>
91 void SetCreatedAt(CreatedAtT&& value) {
92 m_createdAtHasBeenSet = true;
93 m_createdAt = std::forward<CreatedAtT>(value);
94 }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
97 SetCreatedAt(std::forward<CreatedAtT>(value));
98 return *this;
99 }
101
103
108 inline const Aws::Vector<Aws::String>& GetCustomDataIdentifierIds() const { return m_customDataIdentifierIds; }
109 template <typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
110 void SetCustomDataIdentifierIds(CustomDataIdentifierIdsT&& value) {
111 m_customDataIdentifierIdsHasBeenSet = true;
112 m_customDataIdentifierIds = std::forward<CustomDataIdentifierIdsT>(value);
113 }
114 template <typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
116 SetCustomDataIdentifierIds(std::forward<CustomDataIdentifierIdsT>(value));
117 return *this;
118 }
119 template <typename CustomDataIdentifierIdsT = Aws::String>
121 m_customDataIdentifierIdsHasBeenSet = true;
122 m_customDataIdentifierIds.emplace_back(std::forward<CustomDataIdentifierIdsT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDescription() const { return m_description; }
132 template <typename DescriptionT = Aws::String>
133 void SetDescription(DescriptionT&& value) {
134 m_descriptionHasBeenSet = true;
135 m_description = std::forward<DescriptionT>(value);
136 }
137 template <typename DescriptionT = Aws::String>
139 SetDescription(std::forward<DescriptionT>(value));
140 return *this;
141 }
143
145
152 inline bool GetInitialRun() const { return m_initialRun; }
153 inline void SetInitialRun(bool value) {
154 m_initialRunHasBeenSet = true;
155 m_initialRun = value;
156 }
158 SetInitialRun(value);
159 return *this;
160 }
162
164
167 inline const Aws::String& GetJobArn() const { return m_jobArn; }
168 template <typename JobArnT = Aws::String>
169 void SetJobArn(JobArnT&& value) {
170 m_jobArnHasBeenSet = true;
171 m_jobArn = std::forward<JobArnT>(value);
172 }
173 template <typename JobArnT = Aws::String>
175 SetJobArn(std::forward<JobArnT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetJobId() const { return m_jobId; }
185 template <typename JobIdT = Aws::String>
186 void SetJobId(JobIdT&& value) {
187 m_jobIdHasBeenSet = true;
188 m_jobId = std::forward<JobIdT>(value);
189 }
190 template <typename JobIdT = Aws::String>
192 SetJobId(std::forward<JobIdT>(value));
193 return *this;
194 }
196
198
216 inline JobStatus GetJobStatus() const { return m_jobStatus; }
217 inline void SetJobStatus(JobStatus value) {
218 m_jobStatusHasBeenSet = true;
219 m_jobStatus = value;
220 }
222 SetJobStatus(value);
223 return *this;
224 }
226
228
234 inline JobType GetJobType() const { return m_jobType; }
235 inline void SetJobType(JobType value) {
236 m_jobTypeHasBeenSet = true;
237 m_jobType = value;
238 }
240 SetJobType(value);
241 return *this;
242 }
244
246
251 inline const LastRunErrorStatus& GetLastRunErrorStatus() const { return m_lastRunErrorStatus; }
252 template <typename LastRunErrorStatusT = LastRunErrorStatus>
253 void SetLastRunErrorStatus(LastRunErrorStatusT&& value) {
254 m_lastRunErrorStatusHasBeenSet = true;
255 m_lastRunErrorStatus = std::forward<LastRunErrorStatusT>(value);
256 }
257 template <typename LastRunErrorStatusT = LastRunErrorStatus>
259 SetLastRunErrorStatus(std::forward<LastRunErrorStatusT>(value));
260 return *this;
261 }
263
265
270 inline const Aws::Utils::DateTime& GetLastRunTime() const { return m_lastRunTime; }
271 template <typename LastRunTimeT = Aws::Utils::DateTime>
272 void SetLastRunTime(LastRunTimeT&& value) {
273 m_lastRunTimeHasBeenSet = true;
274 m_lastRunTime = std::forward<LastRunTimeT>(value);
275 }
276 template <typename LastRunTimeT = Aws::Utils::DateTime>
278 SetLastRunTime(std::forward<LastRunTimeT>(value));
279 return *this;
280 }
282
284
292 inline const Aws::Vector<Aws::String>& GetManagedDataIdentifierIds() const { return m_managedDataIdentifierIds; }
293 template <typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
294 void SetManagedDataIdentifierIds(ManagedDataIdentifierIdsT&& value) {
295 m_managedDataIdentifierIdsHasBeenSet = true;
296 m_managedDataIdentifierIds = std::forward<ManagedDataIdentifierIdsT>(value);
297 }
298 template <typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
300 SetManagedDataIdentifierIds(std::forward<ManagedDataIdentifierIdsT>(value));
301 return *this;
302 }
303 template <typename ManagedDataIdentifierIdsT = Aws::String>
305 m_managedDataIdentifierIdsHasBeenSet = true;
306 m_managedDataIdentifierIds.emplace_back(std::forward<ManagedDataIdentifierIdsT>(value));
307 return *this;
308 }
310
312
334 inline ManagedDataIdentifierSelector GetManagedDataIdentifierSelector() const { return m_managedDataIdentifierSelector; }
336 m_managedDataIdentifierSelectorHasBeenSet = true;
337 m_managedDataIdentifierSelector = value;
338 }
341 return *this;
342 }
344
346
349 inline const Aws::String& GetName() const { return m_name; }
350 template <typename NameT = Aws::String>
351 void SetName(NameT&& value) {
352 m_nameHasBeenSet = true;
353 m_name = std::forward<NameT>(value);
354 }
355 template <typename NameT = Aws::String>
357 SetName(std::forward<NameT>(value));
358 return *this;
359 }
361
363
367 inline const S3JobDefinition& GetS3JobDefinition() const { return m_s3JobDefinition; }
368 template <typename S3JobDefinitionT = S3JobDefinition>
369 void SetS3JobDefinition(S3JobDefinitionT&& value) {
370 m_s3JobDefinitionHasBeenSet = true;
371 m_s3JobDefinition = std::forward<S3JobDefinitionT>(value);
372 }
373 template <typename S3JobDefinitionT = S3JobDefinition>
375 SetS3JobDefinition(std::forward<S3JobDefinitionT>(value));
376 return *this;
377 }
379
381
385 inline int GetSamplingPercentage() const { return m_samplingPercentage; }
386 inline void SetSamplingPercentage(int value) {
387 m_samplingPercentageHasBeenSet = true;
388 m_samplingPercentage = value;
389 }
392 return *this;
393 }
395
397
401 inline const JobScheduleFrequency& GetScheduleFrequency() const { return m_scheduleFrequency; }
402 template <typename ScheduleFrequencyT = JobScheduleFrequency>
403 void SetScheduleFrequency(ScheduleFrequencyT&& value) {
404 m_scheduleFrequencyHasBeenSet = true;
405 m_scheduleFrequency = std::forward<ScheduleFrequencyT>(value);
406 }
407 template <typename ScheduleFrequencyT = JobScheduleFrequency>
409 SetScheduleFrequency(std::forward<ScheduleFrequencyT>(value));
410 return *this;
411 }
413
415
419 inline const Statistics& GetStatistics() const { return m_statistics; }
420 template <typename StatisticsT = Statistics>
421 void SetStatistics(StatisticsT&& value) {
422 m_statisticsHasBeenSet = true;
423 m_statistics = std::forward<StatisticsT>(value);
424 }
425 template <typename StatisticsT = Statistics>
427 SetStatistics(std::forward<StatisticsT>(value));
428 return *this;
429 }
431
433
437 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
438 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
439 void SetTags(TagsT&& value) {
440 m_tagsHasBeenSet = true;
441 m_tags = std::forward<TagsT>(value);
442 }
443 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
445 SetTags(std::forward<TagsT>(value));
446 return *this;
447 }
448 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
449 DescribeClassificationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
450 m_tagsHasBeenSet = true;
451 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
452 return *this;
453 }
455
457
463 inline const UserPausedDetails& GetUserPausedDetails() const { return m_userPausedDetails; }
464 template <typename UserPausedDetailsT = UserPausedDetails>
465 void SetUserPausedDetails(UserPausedDetailsT&& value) {
466 m_userPausedDetailsHasBeenSet = true;
467 m_userPausedDetails = std::forward<UserPausedDetailsT>(value);
468 }
469 template <typename UserPausedDetailsT = UserPausedDetails>
471 SetUserPausedDetails(std::forward<UserPausedDetailsT>(value));
472 return *this;
473 }
475
477
478 inline const Aws::String& GetRequestId() const { return m_requestId; }
479 template <typename RequestIdT = Aws::String>
480 void SetRequestId(RequestIdT&& value) {
481 m_requestIdHasBeenSet = true;
482 m_requestId = std::forward<RequestIdT>(value);
483 }
484 template <typename RequestIdT = Aws::String>
486 SetRequestId(std::forward<RequestIdT>(value));
487 return *this;
488 }
490 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
491
492 private:
493 Aws::Vector<Aws::String> m_allowListIds;
494
496
497 Aws::Utils::DateTime m_createdAt{};
498
499 Aws::Vector<Aws::String> m_customDataIdentifierIds;
500
501 Aws::String m_description;
502
503 bool m_initialRun{false};
504
505 Aws::String m_jobArn;
506
507 Aws::String m_jobId;
508
509 JobStatus m_jobStatus{JobStatus::NOT_SET};
510
511 JobType m_jobType{JobType::NOT_SET};
512
513 LastRunErrorStatus m_lastRunErrorStatus;
514
515 Aws::Utils::DateTime m_lastRunTime{};
516
517 Aws::Vector<Aws::String> m_managedDataIdentifierIds;
518
520
521 Aws::String m_name;
522
523 S3JobDefinition m_s3JobDefinition;
524
525 int m_samplingPercentage{0};
526
527 JobScheduleFrequency m_scheduleFrequency;
528
529 Statistics m_statistics;
530
532
533 UserPausedDetails m_userPausedDetails;
534
535 Aws::String m_requestId;
536 Aws::Http::HttpResponseCode m_HttpResponseCode;
537 bool m_allowListIdsHasBeenSet = false;
538 bool m_clientTokenHasBeenSet = true;
539 bool m_createdAtHasBeenSet = false;
540 bool m_customDataIdentifierIdsHasBeenSet = false;
541 bool m_descriptionHasBeenSet = false;
542 bool m_initialRunHasBeenSet = false;
543 bool m_jobArnHasBeenSet = false;
544 bool m_jobIdHasBeenSet = false;
545 bool m_jobStatusHasBeenSet = false;
546 bool m_jobTypeHasBeenSet = false;
547 bool m_lastRunErrorStatusHasBeenSet = false;
548 bool m_lastRunTimeHasBeenSet = false;
549 bool m_managedDataIdentifierIdsHasBeenSet = false;
550 bool m_managedDataIdentifierSelectorHasBeenSet = false;
551 bool m_nameHasBeenSet = false;
552 bool m_s3JobDefinitionHasBeenSet = false;
553 bool m_samplingPercentageHasBeenSet = false;
554 bool m_scheduleFrequencyHasBeenSet = false;
555 bool m_statisticsHasBeenSet = false;
556 bool m_tagsHasBeenSet = false;
557 bool m_userPausedDetailsHasBeenSet = false;
558 bool m_requestIdHasBeenSet = false;
559};
560
561} // namespace Model
562} // namespace Macie2
563} // 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