AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ClassificationDetails.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/OriginType.h>
10#include <aws/macie2/model/ClassificationResult.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Macie2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MACIE2_API ClassificationDetails() = default;
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetDetailedResultsLocation() const { return m_detailedResultsLocation; }
51 inline bool DetailedResultsLocationHasBeenSet() const { return m_detailedResultsLocationHasBeenSet; }
52 template<typename DetailedResultsLocationT = Aws::String>
53 void SetDetailedResultsLocation(DetailedResultsLocationT&& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = std::forward<DetailedResultsLocationT>(value); }
54 template<typename DetailedResultsLocationT = Aws::String>
55 ClassificationDetails& WithDetailedResultsLocation(DetailedResultsLocationT&& value) { SetDetailedResultsLocation(std::forward<DetailedResultsLocationT>(value)); return *this;}
57
59
64 inline const Aws::String& GetJobArn() const { return m_jobArn; }
65 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
66 template<typename JobArnT = Aws::String>
67 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
68 template<typename JobArnT = Aws::String>
69 ClassificationDetails& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
71
73
78 inline const Aws::String& GetJobId() const { return m_jobId; }
79 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
80 template<typename JobIdT = Aws::String>
81 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
82 template<typename JobIdT = Aws::String>
83 ClassificationDetails& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
85
87
93 inline OriginType GetOriginType() const { return m_originType; }
94 inline bool OriginTypeHasBeenSet() const { return m_originTypeHasBeenSet; }
95 inline void SetOriginType(OriginType value) { m_originTypeHasBeenSet = true; m_originType = value; }
96 inline ClassificationDetails& WithOriginType(OriginType value) { SetOriginType(value); return *this;}
98
100
103 inline const ClassificationResult& GetResult() const { return m_result; }
104 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
105 template<typename ResultT = ClassificationResult>
106 void SetResult(ResultT&& value) { m_resultHasBeenSet = true; m_result = std::forward<ResultT>(value); }
107 template<typename ResultT = ClassificationResult>
108 ClassificationDetails& WithResult(ResultT&& value) { SetResult(std::forward<ResultT>(value)); return *this;}
110 private:
111
112 Aws::String m_detailedResultsLocation;
113 bool m_detailedResultsLocationHasBeenSet = false;
114
115 Aws::String m_jobArn;
116 bool m_jobArnHasBeenSet = false;
117
118 Aws::String m_jobId;
119 bool m_jobIdHasBeenSet = false;
120
121 OriginType m_originType{OriginType::NOT_SET};
122 bool m_originTypeHasBeenSet = false;
123
124 ClassificationResult m_result;
125 bool m_resultHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Macie2
130} // namespace Aws
void SetDetailedResultsLocation(DetailedResultsLocationT &&value)
ClassificationDetails & WithJobId(JobIdT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const ClassificationResult & GetResult() const
ClassificationDetails & WithDetailedResultsLocation(DetailedResultsLocationT &&value)
AWS_MACIE2_API ClassificationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ClassificationDetails & WithJobArn(JobArnT &&value)
ClassificationDetails & WithOriginType(OriginType value)
AWS_MACIE2_API ClassificationDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API ClassificationDetails()=default
ClassificationDetails & WithResult(ResultT &&value)
const Aws::String & GetDetailedResultsLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue