AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDetailedResultsLocation(const Aws::String& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = value; }
53 inline void SetDetailedResultsLocation(Aws::String&& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = std::move(value); }
54 inline void SetDetailedResultsLocation(const char* value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation.assign(value); }
57 inline ClassificationDetails& WithDetailedResultsLocation(const char* value) { SetDetailedResultsLocation(value); return *this;}
59
61
66 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
67 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
68 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
69 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
70 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
71 inline ClassificationDetails& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
72 inline ClassificationDetails& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
73 inline ClassificationDetails& WithJobArn(const char* value) { SetJobArn(value); return *this;}
75
77
82 inline const Aws::String& GetJobId() const{ return m_jobId; }
83 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
84 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
85 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
86 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
87 inline ClassificationDetails& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
88 inline ClassificationDetails& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
89 inline ClassificationDetails& WithJobId(const char* value) { SetJobId(value); return *this;}
91
93
99 inline const OriginType& GetOriginType() const{ return m_originType; }
100 inline bool OriginTypeHasBeenSet() const { return m_originTypeHasBeenSet; }
101 inline void SetOriginType(const OriginType& value) { m_originTypeHasBeenSet = true; m_originType = value; }
102 inline void SetOriginType(OriginType&& value) { m_originTypeHasBeenSet = true; m_originType = std::move(value); }
103 inline ClassificationDetails& WithOriginType(const OriginType& value) { SetOriginType(value); return *this;}
104 inline ClassificationDetails& WithOriginType(OriginType&& value) { SetOriginType(std::move(value)); return *this;}
106
108
111 inline const ClassificationResult& GetResult() const{ return m_result; }
112 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
113 inline void SetResult(const ClassificationResult& value) { m_resultHasBeenSet = true; m_result = value; }
114 inline void SetResult(ClassificationResult&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
115 inline ClassificationDetails& WithResult(const ClassificationResult& value) { SetResult(value); return *this;}
116 inline ClassificationDetails& WithResult(ClassificationResult&& value) { SetResult(std::move(value)); return *this;}
118 private:
119
120 Aws::String m_detailedResultsLocation;
121 bool m_detailedResultsLocationHasBeenSet = false;
122
123 Aws::String m_jobArn;
124 bool m_jobArnHasBeenSet = false;
125
126 Aws::String m_jobId;
127 bool m_jobIdHasBeenSet = false;
128
129 OriginType m_originType;
130 bool m_originTypeHasBeenSet = false;
131
132 ClassificationResult m_result;
133 bool m_resultHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Macie2
138} // namespace Aws
ClassificationDetails & WithResult(ClassificationResult &&value)
ClassificationDetails & WithJobArn(const char *value)
ClassificationDetails & WithJobId(Aws::String &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const ClassificationResult & GetResult() const
ClassificationDetails & WithJobArn(Aws::String &&value)
ClassificationDetails & WithOriginType(OriginType &&value)
AWS_MACIE2_API ClassificationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ClassificationDetails & WithDetailedResultsLocation(const char *value)
ClassificationDetails & WithResult(const ClassificationResult &value)
ClassificationDetails & WithJobId(const char *value)
ClassificationDetails & WithDetailedResultsLocation(const Aws::String &value)
ClassificationDetails & WithJobId(const Aws::String &value)
void SetResult(const ClassificationResult &value)
void SetResult(ClassificationResult &&value)
ClassificationDetails & WithDetailedResultsLocation(Aws::String &&value)
ClassificationDetails & WithJobArn(const Aws::String &value)
AWS_MACIE2_API ClassificationDetails(Aws::Utils::Json::JsonView jsonValue)
ClassificationDetails & WithOriginType(const OriginType &value)
const Aws::String & GetDetailedResultsLocation() const
void SetDetailedResultsLocation(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue