AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BatchUpdateFindingsV2Result.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/BatchUpdateFindingsV2ProcessedFinding.h>
11#include <aws/securityhub/model/BatchUpdateFindingsV2UnprocessedFinding.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub {
25namespace Model {
27 public:
28 AWS_SECURITYHUB_API BatchUpdateFindingsV2Result() = default;
31
33
36 inline const Aws::Vector<BatchUpdateFindingsV2ProcessedFinding>& GetProcessedFindings() const { return m_processedFindings; }
37 template <typename ProcessedFindingsT = Aws::Vector<BatchUpdateFindingsV2ProcessedFinding>>
38 void SetProcessedFindings(ProcessedFindingsT&& value) {
39 m_processedFindingsHasBeenSet = true;
40 m_processedFindings = std::forward<ProcessedFindingsT>(value);
41 }
42 template <typename ProcessedFindingsT = Aws::Vector<BatchUpdateFindingsV2ProcessedFinding>>
44 SetProcessedFindings(std::forward<ProcessedFindingsT>(value));
45 return *this;
46 }
47 template <typename ProcessedFindingsT = BatchUpdateFindingsV2ProcessedFinding>
49 m_processedFindingsHasBeenSet = true;
50 m_processedFindings.emplace_back(std::forward<ProcessedFindingsT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<BatchUpdateFindingsV2UnprocessedFinding>& GetUnprocessedFindings() const { return m_unprocessedFindings; }
60 template <typename UnprocessedFindingsT = Aws::Vector<BatchUpdateFindingsV2UnprocessedFinding>>
61 void SetUnprocessedFindings(UnprocessedFindingsT&& value) {
62 m_unprocessedFindingsHasBeenSet = true;
63 m_unprocessedFindings = std::forward<UnprocessedFindingsT>(value);
64 }
65 template <typename UnprocessedFindingsT = Aws::Vector<BatchUpdateFindingsV2UnprocessedFinding>>
67 SetUnprocessedFindings(std::forward<UnprocessedFindingsT>(value));
68 return *this;
69 }
70 template <typename UnprocessedFindingsT = BatchUpdateFindingsV2UnprocessedFinding>
71 BatchUpdateFindingsV2Result& AddUnprocessedFindings(UnprocessedFindingsT&& value) {
72 m_unprocessedFindingsHasBeenSet = true;
73 m_unprocessedFindings.emplace_back(std::forward<UnprocessedFindingsT>(value));
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
94
96
97 Aws::String m_requestId;
98 bool m_processedFindingsHasBeenSet = false;
99 bool m_unprocessedFindingsHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace SecurityHub
105} // 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