AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
45
46
48
52 inline const Aws::Vector<Aws::String>& GetAllowListIds() const{ return m_allowListIds; }
53 inline void SetAllowListIds(const Aws::Vector<Aws::String>& value) { m_allowListIds = value; }
54 inline void SetAllowListIds(Aws::Vector<Aws::String>&& value) { m_allowListIds = std::move(value); }
57 inline DescribeClassificationJobResult& AddAllowListIds(const Aws::String& value) { m_allowListIds.push_back(value); return *this; }
58 inline DescribeClassificationJobResult& AddAllowListIds(Aws::String&& value) { m_allowListIds.push_back(std::move(value)); return *this; }
59 inline DescribeClassificationJobResult& AddAllowListIds(const char* value) { m_allowListIds.push_back(value); return *this; }
61
63
67 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
68 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
69 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
70 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
71 inline DescribeClassificationJobResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
72 inline DescribeClassificationJobResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
73 inline DescribeClassificationJobResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
82 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
83 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
85 inline DescribeClassificationJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
87
89
94 inline const Aws::Vector<Aws::String>& GetCustomDataIdentifierIds() const{ return m_customDataIdentifierIds; }
95 inline void SetCustomDataIdentifierIds(const Aws::Vector<Aws::String>& value) { m_customDataIdentifierIds = value; }
96 inline void SetCustomDataIdentifierIds(Aws::Vector<Aws::String>&& value) { m_customDataIdentifierIds = std::move(value); }
99 inline DescribeClassificationJobResult& AddCustomDataIdentifierIds(const Aws::String& value) { m_customDataIdentifierIds.push_back(value); return *this; }
100 inline DescribeClassificationJobResult& AddCustomDataIdentifierIds(Aws::String&& value) { m_customDataIdentifierIds.push_back(std::move(value)); return *this; }
101 inline DescribeClassificationJobResult& AddCustomDataIdentifierIds(const char* value) { m_customDataIdentifierIds.push_back(value); return *this; }
103
105
108 inline const Aws::String& GetDescription() const{ return m_description; }
109 inline void SetDescription(const Aws::String& value) { m_description = value; }
110 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
111 inline void SetDescription(const char* value) { m_description.assign(value); }
112 inline DescribeClassificationJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
113 inline DescribeClassificationJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 inline DescribeClassificationJobResult& WithDescription(const char* value) { SetDescription(value); return *this;}
116
118
125 inline bool GetInitialRun() const{ return m_initialRun; }
126 inline void SetInitialRun(bool value) { m_initialRun = value; }
127 inline DescribeClassificationJobResult& WithInitialRun(bool value) { SetInitialRun(value); return *this;}
129
131
134 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
135 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
136 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
137 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
138 inline DescribeClassificationJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
139 inline DescribeClassificationJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
140 inline DescribeClassificationJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
142
144
147 inline const Aws::String& GetJobId() const{ return m_jobId; }
148 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
149 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
150 inline void SetJobId(const char* value) { m_jobId.assign(value); }
151 inline DescribeClassificationJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
152 inline DescribeClassificationJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
153 inline DescribeClassificationJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
155
157
175 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
176 inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
177 inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
178 inline DescribeClassificationJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
179 inline DescribeClassificationJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
181
183
189 inline const JobType& GetJobType() const{ return m_jobType; }
190 inline void SetJobType(const JobType& value) { m_jobType = value; }
191 inline void SetJobType(JobType&& value) { m_jobType = std::move(value); }
192 inline DescribeClassificationJobResult& WithJobType(const JobType& value) { SetJobType(value); return *this;}
193 inline DescribeClassificationJobResult& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
195
197
202 inline const LastRunErrorStatus& GetLastRunErrorStatus() const{ return m_lastRunErrorStatus; }
203 inline void SetLastRunErrorStatus(const LastRunErrorStatus& value) { m_lastRunErrorStatus = value; }
204 inline void SetLastRunErrorStatus(LastRunErrorStatus&& value) { m_lastRunErrorStatus = std::move(value); }
208
210
215 inline const Aws::Utils::DateTime& GetLastRunTime() const{ return m_lastRunTime; }
216 inline void SetLastRunTime(const Aws::Utils::DateTime& value) { m_lastRunTime = value; }
217 inline void SetLastRunTime(Aws::Utils::DateTime&& value) { m_lastRunTime = std::move(value); }
219 inline DescribeClassificationJobResult& WithLastRunTime(Aws::Utils::DateTime&& value) { SetLastRunTime(std::move(value)); return *this;}
221
223
231 inline const Aws::Vector<Aws::String>& GetManagedDataIdentifierIds() const{ return m_managedDataIdentifierIds; }
232 inline void SetManagedDataIdentifierIds(const Aws::Vector<Aws::String>& value) { m_managedDataIdentifierIds = value; }
233 inline void SetManagedDataIdentifierIds(Aws::Vector<Aws::String>&& value) { m_managedDataIdentifierIds = std::move(value); }
236 inline DescribeClassificationJobResult& AddManagedDataIdentifierIds(const Aws::String& value) { m_managedDataIdentifierIds.push_back(value); return *this; }
237 inline DescribeClassificationJobResult& AddManagedDataIdentifierIds(Aws::String&& value) { m_managedDataIdentifierIds.push_back(std::move(value)); return *this; }
238 inline DescribeClassificationJobResult& AddManagedDataIdentifierIds(const char* value) { m_managedDataIdentifierIds.push_back(value); return *this; }
240
242
264 inline const ManagedDataIdentifierSelector& GetManagedDataIdentifierSelector() const{ return m_managedDataIdentifierSelector; }
265 inline void SetManagedDataIdentifierSelector(const ManagedDataIdentifierSelector& value) { m_managedDataIdentifierSelector = value; }
266 inline void SetManagedDataIdentifierSelector(ManagedDataIdentifierSelector&& value) { m_managedDataIdentifierSelector = std::move(value); }
270
272
275 inline const Aws::String& GetName() const{ return m_name; }
276 inline void SetName(const Aws::String& value) { m_name = value; }
277 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
278 inline void SetName(const char* value) { m_name.assign(value); }
279 inline DescribeClassificationJobResult& WithName(const Aws::String& value) { SetName(value); return *this;}
280 inline DescribeClassificationJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
281 inline DescribeClassificationJobResult& WithName(const char* value) { SetName(value); return *this;}
283
285
289 inline const S3JobDefinition& GetS3JobDefinition() const{ return m_s3JobDefinition; }
290 inline void SetS3JobDefinition(const S3JobDefinition& value) { m_s3JobDefinition = value; }
291 inline void SetS3JobDefinition(S3JobDefinition&& value) { m_s3JobDefinition = std::move(value); }
295
297
301 inline int GetSamplingPercentage() const{ return m_samplingPercentage; }
302 inline void SetSamplingPercentage(int value) { m_samplingPercentage = value; }
305
307
311 inline const JobScheduleFrequency& GetScheduleFrequency() const{ return m_scheduleFrequency; }
312 inline void SetScheduleFrequency(const JobScheduleFrequency& value) { m_scheduleFrequency = value; }
313 inline void SetScheduleFrequency(JobScheduleFrequency&& value) { m_scheduleFrequency = std::move(value); }
317
319
323 inline const Statistics& GetStatistics() const{ return m_statistics; }
324 inline void SetStatistics(const Statistics& value) { m_statistics = value; }
325 inline void SetStatistics(Statistics&& value) { m_statistics = std::move(value); }
326 inline DescribeClassificationJobResult& WithStatistics(const Statistics& value) { SetStatistics(value); return *this;}
327 inline DescribeClassificationJobResult& WithStatistics(Statistics&& value) { SetStatistics(std::move(value)); return *this;}
329
331
335 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
336 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
337 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
339 inline DescribeClassificationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
340 inline DescribeClassificationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
341 inline DescribeClassificationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
342 inline DescribeClassificationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
343 inline DescribeClassificationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
344 inline DescribeClassificationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
345 inline DescribeClassificationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
346 inline DescribeClassificationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
348
350
356 inline const UserPausedDetails& GetUserPausedDetails() const{ return m_userPausedDetails; }
357 inline void SetUserPausedDetails(const UserPausedDetails& value) { m_userPausedDetails = value; }
358 inline void SetUserPausedDetails(UserPausedDetails&& value) { m_userPausedDetails = std::move(value); }
362
364
365 inline const Aws::String& GetRequestId() const{ return m_requestId; }
366 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
367 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
368 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
369 inline DescribeClassificationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
370 inline DescribeClassificationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
371 inline DescribeClassificationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
373 private:
374
375 Aws::Vector<Aws::String> m_allowListIds;
376
377 Aws::String m_clientToken;
378
379 Aws::Utils::DateTime m_createdAt;
380
381 Aws::Vector<Aws::String> m_customDataIdentifierIds;
382
383 Aws::String m_description;
384
385 bool m_initialRun;
386
387 Aws::String m_jobArn;
388
389 Aws::String m_jobId;
390
391 JobStatus m_jobStatus;
392
393 JobType m_jobType;
394
395 LastRunErrorStatus m_lastRunErrorStatus;
396
397 Aws::Utils::DateTime m_lastRunTime;
398
399 Aws::Vector<Aws::String> m_managedDataIdentifierIds;
400
401 ManagedDataIdentifierSelector m_managedDataIdentifierSelector;
402
403 Aws::String m_name;
404
405 S3JobDefinition m_s3JobDefinition;
406
407 int m_samplingPercentage;
408
409 JobScheduleFrequency m_scheduleFrequency;
410
411 Statistics m_statistics;
412
414
415 UserPausedDetails m_userPausedDetails;
416
417 Aws::String m_requestId;
418 };
419
420} // namespace Model
421} // namespace Macie2
422} // namespace Aws
DescribeClassificationJobResult & WithStatistics(const Statistics &value)
void SetManagedDataIdentifierSelector(ManagedDataIdentifierSelector &&value)
DescribeClassificationJobResult & AddManagedDataIdentifierIds(Aws::String &&value)
AWS_MACIE2_API DescribeClassificationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeClassificationJobResult & WithScheduleFrequency(const JobScheduleFrequency &value)
DescribeClassificationJobResult & AddManagedDataIdentifierIds(const char *value)
DescribeClassificationJobResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeClassificationJobResult & AddTags(Aws::String &&key, const char *value)
DescribeClassificationJobResult & WithAllowListIds(Aws::Vector< Aws::String > &&value)
DescribeClassificationJobResult & WithStatistics(Statistics &&value)
void SetCustomDataIdentifierIds(const Aws::Vector< Aws::String > &value)
DescribeClassificationJobResult & WithScheduleFrequency(JobScheduleFrequency &&value)
DescribeClassificationJobResult & WithUserPausedDetails(UserPausedDetails &&value)
DescribeClassificationJobResult & WithJobType(const JobType &value)
DescribeClassificationJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeClassificationJobResult & WithName(const Aws::String &value)
DescribeClassificationJobResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeClassificationJobResult & WithS3JobDefinition(const S3JobDefinition &value)
DescribeClassificationJobResult & WithLastRunTime(const Aws::Utils::DateTime &value)
DescribeClassificationJobResult & AddCustomDataIdentifierIds(const char *value)
DescribeClassificationJobResult & WithUserPausedDetails(const UserPausedDetails &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeClassificationJobResult & WithClientToken(Aws::String &&value)
DescribeClassificationJobResult & WithInitialRun(bool value)
void SetManagedDataIdentifierIds(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeClassificationJobResult & WithCreatedAt(Aws::Utils::DateTime &&value)
DescribeClassificationJobResult & AddAllowListIds(const char *value)
DescribeClassificationJobResult & WithJobArn(const char *value)
DescribeClassificationJobResult & WithJobArn(const Aws::String &value)
DescribeClassificationJobResult & WithCustomDataIdentifierIds(Aws::Vector< Aws::String > &&value)
DescribeClassificationJobResult & WithDescription(const char *value)
DescribeClassificationJobResult & WithName(Aws::String &&value)
void SetAllowListIds(const Aws::Vector< Aws::String > &value)
DescribeClassificationJobResult & AddCustomDataIdentifierIds(Aws::String &&value)
DescribeClassificationJobResult & WithDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCustomDataIdentifierIds() const
DescribeClassificationJobResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_MACIE2_API DescribeClassificationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeClassificationJobResult & WithJobId(const char *value)
DescribeClassificationJobResult & AddManagedDataIdentifierIds(const Aws::String &value)
DescribeClassificationJobResult & WithJobType(JobType &&value)
DescribeClassificationJobResult & WithName(const char *value)
DescribeClassificationJobResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeClassificationJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeClassificationJobResult & WithCustomDataIdentifierIds(const Aws::Vector< Aws::String > &value)
DescribeClassificationJobResult & WithJobId(const Aws::String &value)
DescribeClassificationJobResult & WithJobStatus(JobStatus &&value)
DescribeClassificationJobResult & WithAllowListIds(const Aws::Vector< Aws::String > &value)
void SetCustomDataIdentifierIds(Aws::Vector< Aws::String > &&value)
DescribeClassificationJobResult & WithLastRunTime(Aws::Utils::DateTime &&value)
DescribeClassificationJobResult & WithS3JobDefinition(S3JobDefinition &&value)
DescribeClassificationJobResult & AddAllowListIds(const Aws::String &value)
void SetManagedDataIdentifierIds(Aws::Vector< Aws::String > &&value)
DescribeClassificationJobResult & WithClientToken(const Aws::String &value)
DescribeClassificationJobResult & WithJobId(Aws::String &&value)
DescribeClassificationJobResult & WithManagedDataIdentifierIds(Aws::Vector< Aws::String > &&value)
DescribeClassificationJobResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeClassificationJobResult & WithJobArn(Aws::String &&value)
DescribeClassificationJobResult & WithLastRunErrorStatus(LastRunErrorStatus &&value)
DescribeClassificationJobResult & WithDescription(const Aws::String &value)
DescribeClassificationJobResult & WithRequestId(Aws::String &&value)
DescribeClassificationJobResult & WithSamplingPercentage(int value)
DescribeClassificationJobResult & WithManagedDataIdentifierSelector(ManagedDataIdentifierSelector &&value)
DescribeClassificationJobResult & AddTags(const char *key, Aws::String &&value)
DescribeClassificationJobResult & WithLastRunErrorStatus(const LastRunErrorStatus &value)
void SetManagedDataIdentifierSelector(const ManagedDataIdentifierSelector &value)
DescribeClassificationJobResult & AddAllowListIds(Aws::String &&value)
DescribeClassificationJobResult & WithRequestId(const char *value)
DescribeClassificationJobResult & WithManagedDataIdentifierSelector(const ManagedDataIdentifierSelector &value)
const Aws::Vector< Aws::String > & GetManagedDataIdentifierIds() const
const ManagedDataIdentifierSelector & GetManagedDataIdentifierSelector() const
DescribeClassificationJobResult & AddCustomDataIdentifierIds(const Aws::String &value)
DescribeClassificationJobResult & AddTags(const char *key, const char *value)
DescribeClassificationJobResult & WithJobStatus(const JobStatus &value)
DescribeClassificationJobResult & WithRequestId(const Aws::String &value)
DescribeClassificationJobResult & WithClientToken(const char *value)
DescribeClassificationJobResult & WithManagedDataIdentifierIds(const Aws::Vector< Aws::String > &value)
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