AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClassificationResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/CustomDataIdentifiers.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/macie2/model/ClassificationResultStatus.h>
12#include <aws/macie2/model/SensitiveDataItem.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Macie2
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_MACIE2_API ClassificationResult();
43 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
55 inline bool GetAdditionalOccurrences() const{ return m_additionalOccurrences; }
56 inline bool AdditionalOccurrencesHasBeenSet() const { return m_additionalOccurrencesHasBeenSet; }
57 inline void SetAdditionalOccurrences(bool value) { m_additionalOccurrencesHasBeenSet = true; m_additionalOccurrences = value; }
58 inline ClassificationResult& WithAdditionalOccurrences(bool value) { SetAdditionalOccurrences(value); return *this;}
60
62
66 inline const CustomDataIdentifiers& GetCustomDataIdentifiers() const{ return m_customDataIdentifiers; }
67 inline bool CustomDataIdentifiersHasBeenSet() const { return m_customDataIdentifiersHasBeenSet; }
68 inline void SetCustomDataIdentifiers(const CustomDataIdentifiers& value) { m_customDataIdentifiersHasBeenSet = true; m_customDataIdentifiers = value; }
69 inline void SetCustomDataIdentifiers(CustomDataIdentifiers&& value) { m_customDataIdentifiersHasBeenSet = true; m_customDataIdentifiers = std::move(value); }
73
75
80 inline const Aws::String& GetMimeType() const{ return m_mimeType; }
81 inline bool MimeTypeHasBeenSet() const { return m_mimeTypeHasBeenSet; }
82 inline void SetMimeType(const Aws::String& value) { m_mimeTypeHasBeenSet = true; m_mimeType = value; }
83 inline void SetMimeType(Aws::String&& value) { m_mimeTypeHasBeenSet = true; m_mimeType = std::move(value); }
84 inline void SetMimeType(const char* value) { m_mimeTypeHasBeenSet = true; m_mimeType.assign(value); }
85 inline ClassificationResult& WithMimeType(const Aws::String& value) { SetMimeType(value); return *this;}
86 inline ClassificationResult& WithMimeType(Aws::String&& value) { SetMimeType(std::move(value)); return *this;}
87 inline ClassificationResult& WithMimeType(const char* value) { SetMimeType(value); return *this;}
89
91
95 inline const Aws::Vector<SensitiveDataItem>& GetSensitiveData() const{ return m_sensitiveData; }
96 inline bool SensitiveDataHasBeenSet() const { return m_sensitiveDataHasBeenSet; }
97 inline void SetSensitiveData(const Aws::Vector<SensitiveDataItem>& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData = value; }
98 inline void SetSensitiveData(Aws::Vector<SensitiveDataItem>&& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData = std::move(value); }
101 inline ClassificationResult& AddSensitiveData(const SensitiveDataItem& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData.push_back(value); return *this; }
102 inline ClassificationResult& AddSensitiveData(SensitiveDataItem&& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData.push_back(std::move(value)); return *this; }
104
106
109 inline long long GetSizeClassified() const{ return m_sizeClassified; }
110 inline bool SizeClassifiedHasBeenSet() const { return m_sizeClassifiedHasBeenSet; }
111 inline void SetSizeClassified(long long value) { m_sizeClassifiedHasBeenSet = true; m_sizeClassified = value; }
112 inline ClassificationResult& WithSizeClassified(long long value) { SetSizeClassified(value); return *this;}
114
116
119 inline const ClassificationResultStatus& GetStatus() const{ return m_status; }
120 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
121 inline void SetStatus(const ClassificationResultStatus& value) { m_statusHasBeenSet = true; m_status = value; }
122 inline void SetStatus(ClassificationResultStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
123 inline ClassificationResult& WithStatus(const ClassificationResultStatus& value) { SetStatus(value); return *this;}
124 inline ClassificationResult& WithStatus(ClassificationResultStatus&& value) { SetStatus(std::move(value)); return *this;}
126 private:
127
128 bool m_additionalOccurrences;
129 bool m_additionalOccurrencesHasBeenSet = false;
130
131 CustomDataIdentifiers m_customDataIdentifiers;
132 bool m_customDataIdentifiersHasBeenSet = false;
133
134 Aws::String m_mimeType;
135 bool m_mimeTypeHasBeenSet = false;
136
137 Aws::Vector<SensitiveDataItem> m_sensitiveData;
138 bool m_sensitiveDataHasBeenSet = false;
139
140 long long m_sizeClassified;
141 bool m_sizeClassifiedHasBeenSet = false;
142
144 bool m_statusHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Macie2
149} // namespace Aws
ClassificationResult & WithStatus(ClassificationResultStatus &&value)
void SetCustomDataIdentifiers(CustomDataIdentifiers &&value)
AWS_MACIE2_API ClassificationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(ClassificationResultStatus &&value)
void SetStatus(const ClassificationResultStatus &value)
ClassificationResult & WithMimeType(const char *value)
ClassificationResult & WithCustomDataIdentifiers(CustomDataIdentifiers &&value)
AWS_MACIE2_API ClassificationResult(Aws::Utils::Json::JsonView jsonValue)
void SetMimeType(const Aws::String &value)
ClassificationResult & AddSensitiveData(SensitiveDataItem &&value)
const ClassificationResultStatus & GetStatus() const
const Aws::Vector< SensitiveDataItem > & GetSensitiveData() const
const CustomDataIdentifiers & GetCustomDataIdentifiers() const
ClassificationResult & WithAdditionalOccurrences(bool value)
ClassificationResult & WithMimeType(Aws::String &&value)
ClassificationResult & WithSensitiveData(Aws::Vector< SensitiveDataItem > &&value)
ClassificationResult & WithMimeType(const Aws::String &value)
void SetCustomDataIdentifiers(const CustomDataIdentifiers &value)
ClassificationResult & WithSensitiveData(const Aws::Vector< SensitiveDataItem > &value)
void SetSensitiveData(const Aws::Vector< SensitiveDataItem > &value)
void SetSensitiveData(Aws::Vector< SensitiveDataItem > &&value)
ClassificationResult & AddSensitiveData(const SensitiveDataItem &value)
ClassificationResult & WithStatus(const ClassificationResultStatus &value)
ClassificationResult & WithSizeClassified(long long value)
ClassificationResult & WithCustomDataIdentifiers(const CustomDataIdentifiers &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue