AWS SDK for C++  1.9.106
AWS SDK for C++
ClassificationDetails.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Macie2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
48  inline const Aws::String& GetDetailedResultsLocation() const{ return m_detailedResultsLocation; }
49 
56  inline bool DetailedResultsLocationHasBeenSet() const { return m_detailedResultsLocationHasBeenSet; }
57 
64  inline void SetDetailedResultsLocation(const Aws::String& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = value; }
65 
72  inline void SetDetailedResultsLocation(Aws::String&& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = std::move(value); }
73 
80  inline void SetDetailedResultsLocation(const char* value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation.assign(value); }
81 
88  inline ClassificationDetails& WithDetailedResultsLocation(const Aws::String& value) { SetDetailedResultsLocation(value); return *this;}
89 
96  inline ClassificationDetails& WithDetailedResultsLocation(Aws::String&& value) { SetDetailedResultsLocation(std::move(value)); return *this;}
97 
104  inline ClassificationDetails& WithDetailedResultsLocation(const char* value) { SetDetailedResultsLocation(value); return *this;}
105 
106 
111  inline const Aws::String& GetJobArn() const{ return m_jobArn; }
112 
117  inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
118 
123  inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
124 
129  inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
130 
135  inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
136 
141  inline ClassificationDetails& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
142 
147  inline ClassificationDetails& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
148 
153  inline ClassificationDetails& WithJobArn(const char* value) { SetJobArn(value); return *this;}
154 
155 
160  inline const Aws::String& GetJobId() const{ return m_jobId; }
161 
166  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
167 
172  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
173 
178  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
179 
184  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
185 
190  inline ClassificationDetails& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
191 
196  inline ClassificationDetails& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
197 
202  inline ClassificationDetails& WithJobId(const char* value) { SetJobId(value); return *this;}
203 
204 
208  inline const ClassificationResult& GetResult() const{ return m_result; }
209 
213  inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
214 
218  inline void SetResult(const ClassificationResult& value) { m_resultHasBeenSet = true; m_result = value; }
219 
223  inline void SetResult(ClassificationResult&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
224 
228  inline ClassificationDetails& WithResult(const ClassificationResult& value) { SetResult(value); return *this;}
229 
233  inline ClassificationDetails& WithResult(ClassificationResult&& value) { SetResult(std::move(value)); return *this;}
234 
235  private:
236 
237  Aws::String m_detailedResultsLocation;
238  bool m_detailedResultsLocationHasBeenSet;
239 
240  Aws::String m_jobArn;
241  bool m_jobArnHasBeenSet;
242 
243  Aws::String m_jobId;
244  bool m_jobIdHasBeenSet;
245 
246  ClassificationResult m_result;
247  bool m_resultHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace Macie2
252 } // namespace Aws
Aws::Macie2::Model::ClassificationDetails::SetResult
void SetResult(ClassificationResult &&value)
Definition: ClassificationDetails.h:223
Aws::Macie2::Model::ClassificationDetails::GetJobArn
const Aws::String & GetJobArn() const
Definition: ClassificationDetails.h:111
Aws::Macie2::Model::ClassificationDetails::DetailedResultsLocationHasBeenSet
bool DetailedResultsLocationHasBeenSet() const
Definition: ClassificationDetails.h:56
Aws::Macie2::Model::ClassificationDetails::SetJobId
void SetJobId(Aws::String &&value)
Definition: ClassificationDetails.h:178
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::ClassificationDetails::GetDetailedResultsLocation
const Aws::String & GetDetailedResultsLocation() const
Definition: ClassificationDetails.h:48
Aws::Macie2::Model::ClassificationDetails::WithDetailedResultsLocation
ClassificationDetails & WithDetailedResultsLocation(const char *value)
Definition: ClassificationDetails.h:104
Aws::Macie2::Model::ClassificationDetails::WithJobId
ClassificationDetails & WithJobId(const Aws::String &value)
Definition: ClassificationDetails.h:190
Macie2_EXPORTS.h
Aws::Macie2::Model::ClassificationDetails::SetDetailedResultsLocation
void SetDetailedResultsLocation(Aws::String &&value)
Definition: ClassificationDetails.h:72
Aws::Macie2::Model::ClassificationDetails::ResultHasBeenSet
bool ResultHasBeenSet() const
Definition: ClassificationDetails.h:213
ClassificationResult.h
Aws::Macie2::Model::ClassificationDetails::WithJobArn
ClassificationDetails & WithJobArn(const Aws::String &value)
Definition: ClassificationDetails.h:141
Aws::Macie2::Model::ClassificationDetails::SetJobId
void SetJobId(const char *value)
Definition: ClassificationDetails.h:184
Aws::Macie2::Model::ClassificationDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::ClassificationDetails::WithJobId
ClassificationDetails & WithJobId(const char *value)
Definition: ClassificationDetails.h:202
Aws::Macie2::Model::ClassificationDetails::SetResult
void SetResult(const ClassificationResult &value)
Definition: ClassificationDetails.h:218
Aws::Macie2::Model::ClassificationDetails::ClassificationDetails
ClassificationDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::ClassificationDetails::SetJobArn
void SetJobArn(const Aws::String &value)
Definition: ClassificationDetails.h:123
Aws::Macie2::Model::ClassificationDetails::WithDetailedResultsLocation
ClassificationDetails & WithDetailedResultsLocation(const Aws::String &value)
Definition: ClassificationDetails.h:88
Aws::Macie2::Model::ClassificationDetails::GetJobId
const Aws::String & GetJobId() const
Definition: ClassificationDetails.h:160
Aws::Macie2::Model::ClassificationDetails::WithJobId
ClassificationDetails & WithJobId(Aws::String &&value)
Definition: ClassificationDetails.h:196
Aws::Macie2::Model::ClassificationDetails::JobArnHasBeenSet
bool JobArnHasBeenSet() const
Definition: ClassificationDetails.h:117
Aws::Macie2::Model::ClassificationDetails::ClassificationDetails
ClassificationDetails()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::ClassificationDetails::WithDetailedResultsLocation
ClassificationDetails & WithDetailedResultsLocation(Aws::String &&value)
Definition: ClassificationDetails.h:96
Aws::Macie2::Model::ClassificationDetails::WithJobArn
ClassificationDetails & WithJobArn(const char *value)
Definition: ClassificationDetails.h:153
Aws::Macie2::Model::ClassificationDetails::SetDetailedResultsLocation
void SetDetailedResultsLocation(const Aws::String &value)
Definition: ClassificationDetails.h:64
Aws::Macie2::Model::ClassificationDetails::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: ClassificationDetails.h:166
Aws::Macie2::Model::ClassificationDetails::GetResult
const ClassificationResult & GetResult() const
Definition: ClassificationDetails.h:208
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::ClassificationDetails::SetJobId
void SetJobId(const Aws::String &value)
Definition: ClassificationDetails.h:172
Aws::Macie2::Model::ClassificationDetails::WithJobArn
ClassificationDetails & WithJobArn(Aws::String &&value)
Definition: ClassificationDetails.h:147
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::ClassificationDetails::WithResult
ClassificationDetails & WithResult(ClassificationResult &&value)
Definition: ClassificationDetails.h:233
Aws::Macie2::Model::ClassificationDetails::WithResult
ClassificationDetails & WithResult(const ClassificationResult &value)
Definition: ClassificationDetails.h:228
Aws::Macie2::Model::ClassificationResult
Definition: ClassificationResult.h:38
Aws::Macie2::Model::ClassificationDetails::SetJobArn
void SetJobArn(const char *value)
Definition: ClassificationDetails.h:135
Aws::Macie2::Model::ClassificationDetails::operator=
ClassificationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::ClassificationDetails::SetDetailedResultsLocation
void SetDetailedResultsLocation(const char *value)
Definition: ClassificationDetails.h:80
Aws::Macie2::Model::ClassificationDetails
Definition: ClassificationDetails.h:34
Aws::Macie2::Model::ClassificationDetails::SetJobArn
void SetJobArn(Aws::String &&value)
Definition: ClassificationDetails.h:129