AWS SDK for C++  1.9.106
AWS SDK for C++
SensitiveDataResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SecurityHub
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
48  inline const Aws::String& GetCategory() const{ return m_category; }
49 
55  inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
56 
62  inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
63 
69  inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
70 
76  inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
77 
83  inline SensitiveDataResult& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
84 
90  inline SensitiveDataResult& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
91 
97  inline SensitiveDataResult& WithCategory(const char* value) { SetCategory(value); return *this;}
98 
99 
103  inline const Aws::Vector<SensitiveDataDetections>& GetDetections() const{ return m_detections; }
104 
108  inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; }
109 
113  inline void SetDetections(const Aws::Vector<SensitiveDataDetections>& value) { m_detectionsHasBeenSet = true; m_detections = value; }
114 
118  inline void SetDetections(Aws::Vector<SensitiveDataDetections>&& value) { m_detectionsHasBeenSet = true; m_detections = std::move(value); }
119 
123  inline SensitiveDataResult& WithDetections(const Aws::Vector<SensitiveDataDetections>& value) { SetDetections(value); return *this;}
124 
128  inline SensitiveDataResult& WithDetections(Aws::Vector<SensitiveDataDetections>&& value) { SetDetections(std::move(value)); return *this;}
129 
133  inline SensitiveDataResult& AddDetections(const SensitiveDataDetections& value) { m_detectionsHasBeenSet = true; m_detections.push_back(value); return *this; }
134 
138  inline SensitiveDataResult& AddDetections(SensitiveDataDetections&& value) { m_detectionsHasBeenSet = true; m_detections.push_back(std::move(value)); return *this; }
139 
140 
144  inline long long GetTotalCount() const{ return m_totalCount; }
145 
149  inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
150 
154  inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
155 
159  inline SensitiveDataResult& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
160 
161  private:
162 
163  Aws::String m_category;
164  bool m_categoryHasBeenSet;
165 
167  bool m_detectionsHasBeenSet;
168 
169  long long m_totalCount;
170  bool m_totalCountHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace SecurityHub
175 } // namespace Aws
Aws::SecurityHub::Model::SensitiveDataResult::SetDetections
void SetDetections(Aws::Vector< SensitiveDataDetections > &&value)
Definition: SensitiveDataResult.h:118
Aws::SecurityHub::Model::SensitiveDataResult::GetCategory
const Aws::String & GetCategory() const
Definition: SensitiveDataResult.h:48
Aws::SecurityHub::Model::SensitiveDataResult::WithDetections
SensitiveDataResult & WithDetections(Aws::Vector< SensitiveDataDetections > &&value)
Definition: SensitiveDataResult.h:128
SensitiveDataDetections.h
Aws::SecurityHub::Model::SensitiveDataResult::AddDetections
SensitiveDataResult & AddDetections(SensitiveDataDetections &&value)
Definition: SensitiveDataResult.h:138
Aws::SecurityHub::Model::SensitiveDataResult::SetCategory
void SetCategory(Aws::String &&value)
Definition: SensitiveDataResult.h:69
Aws::SecurityHub::Model::SensitiveDataResult::SetCategory
void SetCategory(const char *value)
Definition: SensitiveDataResult.h:76
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SecurityHub::Model::SensitiveDataResult::SensitiveDataResult
SensitiveDataResult()
AWSVector.h
Aws::SecurityHub::Model::SensitiveDataResult::WithCategory
SensitiveDataResult & WithCategory(const char *value)
Definition: SensitiveDataResult.h:97
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::SensitiveDataDetections
Definition: SensitiveDataDetections.h:34
Aws::SecurityHub::Model::SensitiveDataResult::GetTotalCount
long long GetTotalCount() const
Definition: SensitiveDataResult.h:144
Aws::SecurityHub::Model::SensitiveDataResult::WithCategory
SensitiveDataResult & WithCategory(const Aws::String &value)
Definition: SensitiveDataResult.h:83
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::SensitiveDataResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::SensitiveDataResult::SetCategory
void SetCategory(const Aws::String &value)
Definition: SensitiveDataResult.h:62
Aws::SecurityHub::Model::SensitiveDataResult::DetectionsHasBeenSet
bool DetectionsHasBeenSet() const
Definition: SensitiveDataResult.h:108
Aws::SecurityHub::Model::SensitiveDataResult::SensitiveDataResult
SensitiveDataResult(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::SensitiveDataResult::AddDetections
SensitiveDataResult & AddDetections(const SensitiveDataDetections &value)
Definition: SensitiveDataResult.h:133
Aws::SecurityHub::Model::SensitiveDataResult::WithTotalCount
SensitiveDataResult & WithTotalCount(long long value)
Definition: SensitiveDataResult.h:159
Aws::SecurityHub::Model::SensitiveDataResult::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: SensitiveDataResult.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::SensitiveDataResult::operator=
SensitiveDataResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::SensitiveDataResult::TotalCountHasBeenSet
bool TotalCountHasBeenSet() const
Definition: SensitiveDataResult.h:149
Aws::SecurityHub::Model::SensitiveDataResult::WithCategory
SensitiveDataResult & WithCategory(Aws::String &&value)
Definition: SensitiveDataResult.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::SensitiveDataResult::SetTotalCount
void SetTotalCount(long long value)
Definition: SensitiveDataResult.h:154
Aws::SecurityHub::Model::SensitiveDataResult::GetDetections
const Aws::Vector< SensitiveDataDetections > & GetDetections() const
Definition: SensitiveDataResult.h:103
Aws::SecurityHub::Model::SensitiveDataResult::SetDetections
void SetDetections(const Aws::Vector< SensitiveDataDetections > &value)
Definition: SensitiveDataResult.h:113
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::SensitiveDataResult::WithDetections
SensitiveDataResult & WithDetections(const Aws::Vector< SensitiveDataDetections > &value)
Definition: SensitiveDataResult.h:123
Aws::SecurityHub::Model::SensitiveDataResult
Definition: SensitiveDataResult.h:35