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/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/ClassificationStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityhub/model/CustomDataIdentifiersResult.h>
12#include <aws/securityhub/model/SensitiveDataResult.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 SecurityHub
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SECURITYHUB_API ClassificationResult();
40 AWS_SECURITYHUB_API ClassificationResult(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetMimeType() const{ return m_mimeType; }
50 inline bool MimeTypeHasBeenSet() const { return m_mimeTypeHasBeenSet; }
51 inline void SetMimeType(const Aws::String& value) { m_mimeTypeHasBeenSet = true; m_mimeType = value; }
52 inline void SetMimeType(Aws::String&& value) { m_mimeTypeHasBeenSet = true; m_mimeType = std::move(value); }
53 inline void SetMimeType(const char* value) { m_mimeTypeHasBeenSet = true; m_mimeType.assign(value); }
54 inline ClassificationResult& WithMimeType(const Aws::String& value) { SetMimeType(value); return *this;}
55 inline ClassificationResult& WithMimeType(Aws::String&& value) { SetMimeType(std::move(value)); return *this;}
56 inline ClassificationResult& WithMimeType(const char* value) { SetMimeType(value); return *this;}
58
60
63 inline long long GetSizeClassified() const{ return m_sizeClassified; }
64 inline bool SizeClassifiedHasBeenSet() const { return m_sizeClassifiedHasBeenSet; }
65 inline void SetSizeClassified(long long value) { m_sizeClassifiedHasBeenSet = true; m_sizeClassified = value; }
66 inline ClassificationResult& WithSizeClassified(long long value) { SetSizeClassified(value); return *this;}
68
70
75 inline bool GetAdditionalOccurrences() const{ return m_additionalOccurrences; }
76 inline bool AdditionalOccurrencesHasBeenSet() const { return m_additionalOccurrencesHasBeenSet; }
77 inline void SetAdditionalOccurrences(bool value) { m_additionalOccurrencesHasBeenSet = true; m_additionalOccurrences = value; }
78 inline ClassificationResult& WithAdditionalOccurrences(bool value) { SetAdditionalOccurrences(value); return *this;}
80
82
85 inline const ClassificationStatus& GetStatus() const{ return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(const ClassificationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
88 inline void SetStatus(ClassificationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
89 inline ClassificationResult& WithStatus(const ClassificationStatus& value) { SetStatus(value); return *this;}
90 inline ClassificationResult& WithStatus(ClassificationStatus&& value) { SetStatus(std::move(value)); return *this;}
92
94
98 inline const Aws::Vector<SensitiveDataResult>& GetSensitiveData() const{ return m_sensitiveData; }
99 inline bool SensitiveDataHasBeenSet() const { return m_sensitiveDataHasBeenSet; }
100 inline void SetSensitiveData(const Aws::Vector<SensitiveDataResult>& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData = value; }
101 inline void SetSensitiveData(Aws::Vector<SensitiveDataResult>&& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData = std::move(value); }
104 inline ClassificationResult& AddSensitiveData(const SensitiveDataResult& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData.push_back(value); return *this; }
105 inline ClassificationResult& AddSensitiveData(SensitiveDataResult&& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData.push_back(std::move(value)); return *this; }
107
109
113 inline const CustomDataIdentifiersResult& GetCustomDataIdentifiers() const{ return m_customDataIdentifiers; }
114 inline bool CustomDataIdentifiersHasBeenSet() const { return m_customDataIdentifiersHasBeenSet; }
115 inline void SetCustomDataIdentifiers(const CustomDataIdentifiersResult& value) { m_customDataIdentifiersHasBeenSet = true; m_customDataIdentifiers = value; }
116 inline void SetCustomDataIdentifiers(CustomDataIdentifiersResult&& value) { m_customDataIdentifiersHasBeenSet = true; m_customDataIdentifiers = std::move(value); }
120 private:
121
122 Aws::String m_mimeType;
123 bool m_mimeTypeHasBeenSet = false;
124
125 long long m_sizeClassified;
126 bool m_sizeClassifiedHasBeenSet = false;
127
128 bool m_additionalOccurrences;
129 bool m_additionalOccurrencesHasBeenSet = false;
130
131 ClassificationStatus m_status;
132 bool m_statusHasBeenSet = false;
133
134 Aws::Vector<SensitiveDataResult> m_sensitiveData;
135 bool m_sensitiveDataHasBeenSet = false;
136
137 CustomDataIdentifiersResult m_customDataIdentifiers;
138 bool m_customDataIdentifiersHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace SecurityHub
143} // namespace Aws
void SetCustomDataIdentifiers(CustomDataIdentifiersResult &&value)
ClassificationResult & WithSensitiveData(Aws::Vector< SensitiveDataResult > &&value)
const ClassificationStatus & GetStatus() const
void SetCustomDataIdentifiers(const CustomDataIdentifiersResult &value)
void SetStatus(ClassificationStatus &&value)
AWS_SECURITYHUB_API ClassificationResult(Aws::Utils::Json::JsonView jsonValue)
ClassificationResult & WithAdditionalOccurrences(bool value)
ClassificationResult & WithSensitiveData(const Aws::Vector< SensitiveDataResult > &value)
ClassificationResult & WithMimeType(const char *value)
ClassificationResult & WithMimeType(Aws::String &&value)
const CustomDataIdentifiersResult & GetCustomDataIdentifiers() const
ClassificationResult & WithStatus(const ClassificationStatus &value)
const Aws::Vector< SensitiveDataResult > & GetSensitiveData() const
ClassificationResult & WithMimeType(const Aws::String &value)
ClassificationResult & WithStatus(ClassificationStatus &&value)
ClassificationResult & WithCustomDataIdentifiers(CustomDataIdentifiersResult &&value)
ClassificationResult & WithSizeClassified(long long value)
ClassificationResult & WithCustomDataIdentifiers(const CustomDataIdentifiersResult &value)
void SetSensitiveData(Aws::Vector< SensitiveDataResult > &&value)
void SetStatus(const ClassificationStatus &value)
void SetSensitiveData(const Aws::Vector< SensitiveDataResult > &value)
ClassificationResult & AddSensitiveData(SensitiveDataResult &&value)
AWS_SECURITYHUB_API ClassificationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ClassificationResult & AddSensitiveData(const SensitiveDataResult &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