AWS SDK for C++  1.9.108
AWS SDK for C++
BatchUpdateFindingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SecurityHub
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<AwsSecurityFindingIdentifier>& GetProcessedFindings() const{ return m_processedFindings; }
41 
45  inline void SetProcessedFindings(const Aws::Vector<AwsSecurityFindingIdentifier>& value) { m_processedFindings = value; }
46 
50  inline void SetProcessedFindings(Aws::Vector<AwsSecurityFindingIdentifier>&& value) { m_processedFindings = std::move(value); }
51 
55  inline BatchUpdateFindingsResult& WithProcessedFindings(const Aws::Vector<AwsSecurityFindingIdentifier>& value) { SetProcessedFindings(value); return *this;}
56 
60  inline BatchUpdateFindingsResult& WithProcessedFindings(Aws::Vector<AwsSecurityFindingIdentifier>&& value) { SetProcessedFindings(std::move(value)); return *this;}
61 
65  inline BatchUpdateFindingsResult& AddProcessedFindings(const AwsSecurityFindingIdentifier& value) { m_processedFindings.push_back(value); return *this; }
66 
70  inline BatchUpdateFindingsResult& AddProcessedFindings(AwsSecurityFindingIdentifier&& value) { m_processedFindings.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::Vector<BatchUpdateFindingsUnprocessedFinding>& GetUnprocessedFindings() const{ return m_unprocessedFindings; }
77 
81  inline void SetUnprocessedFindings(const Aws::Vector<BatchUpdateFindingsUnprocessedFinding>& value) { m_unprocessedFindings = value; }
82 
86  inline void SetUnprocessedFindings(Aws::Vector<BatchUpdateFindingsUnprocessedFinding>&& value) { m_unprocessedFindings = std::move(value); }
87 
91  inline BatchUpdateFindingsResult& WithUnprocessedFindings(const Aws::Vector<BatchUpdateFindingsUnprocessedFinding>& value) { SetUnprocessedFindings(value); return *this;}
92 
96  inline BatchUpdateFindingsResult& WithUnprocessedFindings(Aws::Vector<BatchUpdateFindingsUnprocessedFinding>&& value) { SetUnprocessedFindings(std::move(value)); return *this;}
97 
101  inline BatchUpdateFindingsResult& AddUnprocessedFindings(const BatchUpdateFindingsUnprocessedFinding& value) { m_unprocessedFindings.push_back(value); return *this; }
102 
106  inline BatchUpdateFindingsResult& AddUnprocessedFindings(BatchUpdateFindingsUnprocessedFinding&& value) { m_unprocessedFindings.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::Vector<AwsSecurityFindingIdentifier> m_processedFindings;
111 
113  };
114 
115 } // namespace Model
116 } // namespace SecurityHub
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AwsSecurityFindingIdentifier.h
Aws::SecurityHub::Model::BatchUpdateFindingsResult
Definition: BatchUpdateFindingsResult.h:30
Aws::SecurityHub::Model::BatchUpdateFindingsResult::GetUnprocessedFindings
const Aws::Vector< BatchUpdateFindingsUnprocessedFinding > & GetUnprocessedFindings() const
Definition: BatchUpdateFindingsResult.h:76
Aws::SecurityHub::Model::BatchUpdateFindingsResult::WithProcessedFindings
BatchUpdateFindingsResult & WithProcessedFindings(Aws::Vector< AwsSecurityFindingIdentifier > &&value)
Definition: BatchUpdateFindingsResult.h:60
Aws::SecurityHub::Model::BatchUpdateFindingsResult::AddUnprocessedFindings
BatchUpdateFindingsResult & AddUnprocessedFindings(BatchUpdateFindingsUnprocessedFinding &&value)
Definition: BatchUpdateFindingsResult.h:106
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SecurityHub::Model::BatchUpdateFindingsResult::WithProcessedFindings
BatchUpdateFindingsResult & WithProcessedFindings(const Aws::Vector< AwsSecurityFindingIdentifier > &value)
Definition: BatchUpdateFindingsResult.h:55
AWSVector.h
Aws::SecurityHub::Model::BatchUpdateFindingsResult::SetUnprocessedFindings
void SetUnprocessedFindings(const Aws::Vector< BatchUpdateFindingsUnprocessedFinding > &value)
Definition: BatchUpdateFindingsResult.h:81
BatchUpdateFindingsUnprocessedFinding.h
Aws::SecurityHub::Model::BatchUpdateFindingsResult::WithUnprocessedFindings
BatchUpdateFindingsResult & WithUnprocessedFindings(Aws::Vector< BatchUpdateFindingsUnprocessedFinding > &&value)
Definition: BatchUpdateFindingsResult.h:96
Aws::SecurityHub::Model::BatchUpdateFindingsResult::AddProcessedFindings
BatchUpdateFindingsResult & AddProcessedFindings(const AwsSecurityFindingIdentifier &value)
Definition: BatchUpdateFindingsResult.h:65
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::BatchUpdateFindingsResult::AddProcessedFindings
BatchUpdateFindingsResult & AddProcessedFindings(AwsSecurityFindingIdentifier &&value)
Definition: BatchUpdateFindingsResult.h:70
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding
Definition: BatchUpdateFindingsUnprocessedFinding.h:34
Aws::SecurityHub::Model::BatchUpdateFindingsResult::AddUnprocessedFindings
BatchUpdateFindingsResult & AddUnprocessedFindings(const BatchUpdateFindingsUnprocessedFinding &value)
Definition: BatchUpdateFindingsResult.h:101
Aws::SecurityHub::Model::BatchUpdateFindingsResult::WithUnprocessedFindings
BatchUpdateFindingsResult & WithUnprocessedFindings(const Aws::Vector< BatchUpdateFindingsUnprocessedFinding > &value)
Definition: BatchUpdateFindingsResult.h:91
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier
Definition: AwsSecurityFindingIdentifier.h:33
Aws::SecurityHub::Model::BatchUpdateFindingsResult::SetUnprocessedFindings
void SetUnprocessedFindings(Aws::Vector< BatchUpdateFindingsUnprocessedFinding > &&value)
Definition: BatchUpdateFindingsResult.h:86
Aws::SecurityHub::Model::BatchUpdateFindingsResult::BatchUpdateFindingsResult
BatchUpdateFindingsResult()
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::BatchUpdateFindingsResult::operator=
BatchUpdateFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::BatchUpdateFindingsResult::SetProcessedFindings
void SetProcessedFindings(Aws::Vector< AwsSecurityFindingIdentifier > &&value)
Definition: BatchUpdateFindingsResult.h:50
Aws::SecurityHub::Model::BatchUpdateFindingsResult::SetProcessedFindings
void SetProcessedFindings(const Aws::Vector< AwsSecurityFindingIdentifier > &value)
Definition: BatchUpdateFindingsResult.h:45
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::BatchUpdateFindingsResult::GetProcessedFindings
const Aws::Vector< AwsSecurityFindingIdentifier > & GetProcessedFindings() const
Definition: BatchUpdateFindingsResult.h:40
Aws::SecurityHub::Model::BatchUpdateFindingsResult::BatchUpdateFindingsResult
BatchUpdateFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)