AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
BatchUpdateFindingsV2Result.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/SecurityHub_EXPORTS.h>
11#include <aws/securityhub/model/BatchUpdateFindingsV2ProcessedFinding.h>
12#include <aws/securityhub/model/BatchUpdateFindingsV2UnprocessedFinding.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub {
26namespace Model {
28 public:
29 AWS_SECURITYHUB_API BatchUpdateFindingsV2Result() = default;
32
34
37 inline const Aws::Vector<BatchUpdateFindingsV2ProcessedFinding>& GetProcessedFindings() const { return m_processedFindings; }
38 template <typename ProcessedFindingsT = Aws::Vector<BatchUpdateFindingsV2ProcessedFinding>>
39 void SetProcessedFindings(ProcessedFindingsT&& value) {
40 m_processedFindingsHasBeenSet = true;
41 m_processedFindings = std::forward<ProcessedFindingsT>(value);
42 }
43 template <typename ProcessedFindingsT = Aws::Vector<BatchUpdateFindingsV2ProcessedFinding>>
45 SetProcessedFindings(std::forward<ProcessedFindingsT>(value));
46 return *this;
47 }
48 template <typename ProcessedFindingsT = BatchUpdateFindingsV2ProcessedFinding>
50 m_processedFindingsHasBeenSet = true;
51 m_processedFindings.emplace_back(std::forward<ProcessedFindingsT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<BatchUpdateFindingsV2UnprocessedFinding>& GetUnprocessedFindings() const { return m_unprocessedFindings; }
61 template <typename UnprocessedFindingsT = Aws::Vector<BatchUpdateFindingsV2UnprocessedFinding>>
62 void SetUnprocessedFindings(UnprocessedFindingsT&& value) {
63 m_unprocessedFindingsHasBeenSet = true;
64 m_unprocessedFindings = std::forward<UnprocessedFindingsT>(value);
65 }
66 template <typename UnprocessedFindingsT = Aws::Vector<BatchUpdateFindingsV2UnprocessedFinding>>
68 SetUnprocessedFindings(std::forward<UnprocessedFindingsT>(value));
69 return *this;
70 }
71 template <typename UnprocessedFindingsT = BatchUpdateFindingsV2UnprocessedFinding>
72 BatchUpdateFindingsV2Result& AddUnprocessedFindings(UnprocessedFindingsT&& value) {
73 m_unprocessedFindingsHasBeenSet = true;
74 m_unprocessedFindings.emplace_back(std::forward<UnprocessedFindingsT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
97
99
100 Aws::String m_requestId;
101 Aws::Http::HttpResponseCode m_HttpResponseCode;
102 bool m_processedFindingsHasBeenSet = false;
103 bool m_unprocessedFindingsHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace SecurityHub
109} // namespace Aws
AWS_SECURITYHUB_API BatchUpdateFindingsV2Result()=default
const Aws::Vector< BatchUpdateFindingsV2ProcessedFinding > & GetProcessedFindings() const
BatchUpdateFindingsV2Result & AddUnprocessedFindings(UnprocessedFindingsT &&value)
BatchUpdateFindingsV2Result & WithUnprocessedFindings(UnprocessedFindingsT &&value)
BatchUpdateFindingsV2Result & WithRequestId(RequestIdT &&value)
BatchUpdateFindingsV2Result & WithProcessedFindings(ProcessedFindingsT &&value)
const Aws::Vector< BatchUpdateFindingsV2UnprocessedFinding > & GetUnprocessedFindings() const
BatchUpdateFindingsV2Result & AddProcessedFindings(ProcessedFindingsT &&value)
AWS_SECURITYHUB_API BatchUpdateFindingsV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API BatchUpdateFindingsV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue