AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ClassificationDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/ClassificationResult.h>
10#include <aws/macie2/model/OriginType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2 {
22namespace Model {
23
31 public:
32 AWS_MACIE2_API ClassificationDetails() = default;
35 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::String& GetDetailedResultsLocation() const { return m_detailedResultsLocation; }
45 inline bool DetailedResultsLocationHasBeenSet() const { return m_detailedResultsLocationHasBeenSet; }
46 template <typename DetailedResultsLocationT = Aws::String>
47 void SetDetailedResultsLocation(DetailedResultsLocationT&& value) {
48 m_detailedResultsLocationHasBeenSet = true;
49 m_detailedResultsLocation = std::forward<DetailedResultsLocationT>(value);
50 }
51 template <typename DetailedResultsLocationT = Aws::String>
52 ClassificationDetails& WithDetailedResultsLocation(DetailedResultsLocationT&& value) {
53 SetDetailedResultsLocation(std::forward<DetailedResultsLocationT>(value));
54 return *this;
55 }
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) {
68 m_jobArnHasBeenSet = true;
69 m_jobArn = std::forward<JobArnT>(value);
70 }
71 template <typename JobArnT = Aws::String>
73 SetJobArn(std::forward<JobArnT>(value));
74 return *this;
75 }
77
79
84 inline const Aws::String& GetJobId() const { return m_jobId; }
85 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
86 template <typename JobIdT = Aws::String>
87 void SetJobId(JobIdT&& value) {
88 m_jobIdHasBeenSet = true;
89 m_jobId = std::forward<JobIdT>(value);
90 }
91 template <typename JobIdT = Aws::String>
93 SetJobId(std::forward<JobIdT>(value));
94 return *this;
95 }
97
99
105 inline OriginType GetOriginType() const { return m_originType; }
106 inline bool OriginTypeHasBeenSet() const { return m_originTypeHasBeenSet; }
107 inline void SetOriginType(OriginType value) {
108 m_originTypeHasBeenSet = true;
109 m_originType = value;
110 }
112 SetOriginType(value);
113 return *this;
114 }
116
118
121 inline const ClassificationResult& GetResult() const { return m_result; }
122 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
123 template <typename ResultT = ClassificationResult>
124 void SetResult(ResultT&& value) {
125 m_resultHasBeenSet = true;
126 m_result = std::forward<ResultT>(value);
127 }
128 template <typename ResultT = ClassificationResult>
130 SetResult(std::forward<ResultT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_detailedResultsLocation;
136
137 Aws::String m_jobArn;
138
139 Aws::String m_jobId;
140
141 OriginType m_originType{OriginType::NOT_SET};
142
143 ClassificationResult m_result;
144 bool m_detailedResultsLocationHasBeenSet = false;
145 bool m_jobArnHasBeenSet = false;
146 bool m_jobIdHasBeenSet = false;
147 bool m_originTypeHasBeenSet = false;
148 bool m_resultHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace Macie2
153} // 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