AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
37
38
40
46 inline const Aws::String& GetError() const{ return m_error; }
47 inline void SetError(const Aws::String& value) { m_error = value; }
48 inline void SetError(Aws::String&& value) { m_error = std::move(value); }
49 inline void SetError(const char* value) { m_error.assign(value); }
50 inline GetSensitiveDataOccurrencesResult& WithError(const Aws::String& value) { SetError(value); return *this;}
51 inline GetSensitiveDataOccurrencesResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
52 inline GetSensitiveDataOccurrencesResult& WithError(const char* value) { SetError(value); return *this;}
54
56
60 inline const Aws::Map<Aws::String, Aws::Vector<DetectedDataDetails>>& GetSensitiveDataOccurrences() const{ return m_sensitiveDataOccurrences; }
61 inline void SetSensitiveDataOccurrences(const Aws::Map<Aws::String, Aws::Vector<DetectedDataDetails>>& value) { m_sensitiveDataOccurrences = value; }
62 inline void SetSensitiveDataOccurrences(Aws::Map<Aws::String, Aws::Vector<DetectedDataDetails>>&& value) { m_sensitiveDataOccurrences = std::move(value); }
65 inline GetSensitiveDataOccurrencesResult& AddSensitiveDataOccurrences(const Aws::String& key, const Aws::Vector<DetectedDataDetails>& value) { m_sensitiveDataOccurrences.emplace(key, value); return *this; }
66 inline GetSensitiveDataOccurrencesResult& AddSensitiveDataOccurrences(Aws::String&& key, const Aws::Vector<DetectedDataDetails>& value) { m_sensitiveDataOccurrences.emplace(std::move(key), value); return *this; }
67 inline GetSensitiveDataOccurrencesResult& AddSensitiveDataOccurrences(const Aws::String& key, Aws::Vector<DetectedDataDetails>&& value) { m_sensitiveDataOccurrences.emplace(key, std::move(value)); return *this; }
68 inline GetSensitiveDataOccurrencesResult& AddSensitiveDataOccurrences(Aws::String&& key, Aws::Vector<DetectedDataDetails>&& value) { m_sensitiveDataOccurrences.emplace(std::move(key), std::move(value)); return *this; }
69 inline GetSensitiveDataOccurrencesResult& AddSensitiveDataOccurrences(const char* key, Aws::Vector<DetectedDataDetails>&& value) { m_sensitiveDataOccurrences.emplace(key, std::move(value)); return *this; }
70 inline GetSensitiveDataOccurrencesResult& AddSensitiveDataOccurrences(const char* key, const Aws::Vector<DetectedDataDetails>& value) { m_sensitiveDataOccurrences.emplace(key, value); return *this; }
72
74
83 inline const RevealRequestStatus& GetStatus() const{ return m_status; }
84 inline void SetStatus(const RevealRequestStatus& value) { m_status = value; }
85 inline void SetStatus(RevealRequestStatus&& value) { m_status = std::move(value); }
86 inline GetSensitiveDataOccurrencesResult& WithStatus(const RevealRequestStatus& value) { SetStatus(value); return *this;}
87 inline GetSensitiveDataOccurrencesResult& WithStatus(RevealRequestStatus&& value) { SetStatus(std::move(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline GetSensitiveDataOccurrencesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline GetSensitiveDataOccurrencesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline GetSensitiveDataOccurrencesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 Aws::String m_error;
103
105
106 RevealRequestStatus m_status;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace Macie2
113} // namespace Aws
GetSensitiveDataOccurrencesResult & WithError(const char *value)
const Aws::Map< Aws::String, Aws::Vector< DetectedDataDetails > > & GetSensitiveDataOccurrences() const
void SetSensitiveDataOccurrences(const Aws::Map< Aws::String, Aws::Vector< DetectedDataDetails > > &value)
void SetSensitiveDataOccurrences(Aws::Map< Aws::String, Aws::Vector< DetectedDataDetails > > &&value)
GetSensitiveDataOccurrencesResult & AddSensitiveDataOccurrences(const Aws::String &key, Aws::Vector< DetectedDataDetails > &&value)
AWS_MACIE2_API GetSensitiveDataOccurrencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSensitiveDataOccurrencesResult & WithError(Aws::String &&value)
AWS_MACIE2_API GetSensitiveDataOccurrencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSensitiveDataOccurrencesResult & AddSensitiveDataOccurrences(const char *key, const Aws::Vector< DetectedDataDetails > &value)
GetSensitiveDataOccurrencesResult & WithError(const Aws::String &value)
GetSensitiveDataOccurrencesResult & AddSensitiveDataOccurrences(Aws::String &&key, Aws::Vector< DetectedDataDetails > &&value)
GetSensitiveDataOccurrencesResult & AddSensitiveDataOccurrences(const char *key, Aws::Vector< DetectedDataDetails > &&value)
GetSensitiveDataOccurrencesResult & WithSensitiveDataOccurrences(const Aws::Map< Aws::String, Aws::Vector< DetectedDataDetails > > &value)
GetSensitiveDataOccurrencesResult & WithRequestId(Aws::String &&value)
GetSensitiveDataOccurrencesResult & AddSensitiveDataOccurrences(const Aws::String &key, const Aws::Vector< DetectedDataDetails > &value)
GetSensitiveDataOccurrencesResult & WithSensitiveDataOccurrences(Aws::Map< Aws::String, Aws::Vector< DetectedDataDetails > > &&value)
GetSensitiveDataOccurrencesResult & WithStatus(RevealRequestStatus &&value)
GetSensitiveDataOccurrencesResult & WithStatus(const RevealRequestStatus &value)
GetSensitiveDataOccurrencesResult & WithRequestId(const char *value)
GetSensitiveDataOccurrencesResult & WithRequestId(const Aws::String &value)
GetSensitiveDataOccurrencesResult & AddSensitiveDataOccurrences(Aws::String &&key, const Aws::Vector< DetectedDataDetails > &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue