AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSensitiveDataOccurrencesResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/macie2/model/RevealRequestStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/macie2/model/DetectedDataDetails.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Macie2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MACIE2_API GetSensitiveDataOccurrencesResult() = default;
37
38
40
46 inline const Aws::String& GetError() const { return m_error; }
47 template<typename ErrorT = Aws::String>
48 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
49 template<typename ErrorT = Aws::String>
50 GetSensitiveDataOccurrencesResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
52
54
58 inline const Aws::Map<Aws::String, Aws::Vector<DetectedDataDetails>>& GetSensitiveDataOccurrences() const { return m_sensitiveDataOccurrences; }
59 template<typename SensitiveDataOccurrencesT = Aws::Map<Aws::String, Aws::Vector<DetectedDataDetails>>>
60 void SetSensitiveDataOccurrences(SensitiveDataOccurrencesT&& value) { m_sensitiveDataOccurrencesHasBeenSet = true; m_sensitiveDataOccurrences = std::forward<SensitiveDataOccurrencesT>(value); }
61 template<typename SensitiveDataOccurrencesT = Aws::Map<Aws::String, Aws::Vector<DetectedDataDetails>>>
62 GetSensitiveDataOccurrencesResult& WithSensitiveDataOccurrences(SensitiveDataOccurrencesT&& value) { SetSensitiveDataOccurrences(std::forward<SensitiveDataOccurrencesT>(value)); return *this;}
63 template<typename SensitiveDataOccurrencesKeyT = Aws::String, typename SensitiveDataOccurrencesValueT = Aws::Vector<DetectedDataDetails>>
64 GetSensitiveDataOccurrencesResult& AddSensitiveDataOccurrences(SensitiveDataOccurrencesKeyT&& key, SensitiveDataOccurrencesValueT&& value) {
65 m_sensitiveDataOccurrencesHasBeenSet = true; m_sensitiveDataOccurrences.emplace(std::forward<SensitiveDataOccurrencesKeyT>(key), std::forward<SensitiveDataOccurrencesValueT>(value)); return *this;
66 }
68
70
79 inline RevealRequestStatus GetStatus() const { return m_status; }
80 inline void SetStatus(RevealRequestStatus value) { m_statusHasBeenSet = true; m_status = value; }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template<typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
89 template<typename RequestIdT = Aws::String>
90 GetSensitiveDataOccurrencesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
92 private:
93
94 Aws::String m_error;
95 bool m_errorHasBeenSet = false;
96
98 bool m_sensitiveDataOccurrencesHasBeenSet = false;
99
101 bool m_statusHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Macie2
109} // namespace Aws
const Aws::Map< Aws::String, Aws::Vector< DetectedDataDetails > > & GetSensitiveDataOccurrences() const
AWS_MACIE2_API GetSensitiveDataOccurrencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACIE2_API GetSensitiveDataOccurrencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSensitiveDataOccurrencesResult & WithError(ErrorT &&value)
GetSensitiveDataOccurrencesResult & WithStatus(RevealRequestStatus value)
GetSensitiveDataOccurrencesResult & WithSensitiveDataOccurrences(SensitiveDataOccurrencesT &&value)
GetSensitiveDataOccurrencesResult & WithRequestId(RequestIdT &&value)
GetSensitiveDataOccurrencesResult & AddSensitiveDataOccurrences(SensitiveDataOccurrencesKeyT &&key, SensitiveDataOccurrencesValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue