AWS SDK for C++  1.8.157
AWS SDK for C++
GetFindingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GuardDuty
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Finding>& GetFindings() const{ return m_findings; }
40 
44  inline void SetFindings(const Aws::Vector<Finding>& value) { m_findings = value; }
45 
49  inline void SetFindings(Aws::Vector<Finding>&& value) { m_findings = std::move(value); }
50 
54  inline GetFindingsResult& WithFindings(const Aws::Vector<Finding>& value) { SetFindings(value); return *this;}
55 
59  inline GetFindingsResult& WithFindings(Aws::Vector<Finding>&& value) { SetFindings(std::move(value)); return *this;}
60 
64  inline GetFindingsResult& AddFindings(const Finding& value) { m_findings.push_back(value); return *this; }
65 
69  inline GetFindingsResult& AddFindings(Finding&& value) { m_findings.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<Finding> m_findings;
74  };
75 
76 } // namespace Model
77 } // namespace GuardDuty
78 } // namespace Aws
Aws::GuardDuty::Model::Finding
Definition: Finding.h:35
Aws::GuardDuty::Model::GetFindingsResult::WithFindings
GetFindingsResult & WithFindings(const Aws::Vector< Finding > &value)
Definition: GetFindingsResult.h:54
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::GetFindingsResult::SetFindings
void SetFindings(Aws::Vector< Finding > &&value)
Definition: GetFindingsResult.h:49
Aws::GuardDuty::Model::GetFindingsResult::AddFindings
GetFindingsResult & AddFindings(const Finding &value)
Definition: GetFindingsResult.h:64
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GuardDuty::Model::GetFindingsResult::GetFindingsResult
GetFindingsResult()
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetFindingsResult::GetFindings
const Aws::Vector< Finding > & GetFindings() const
Definition: GetFindingsResult.h:39
Aws::GuardDuty::Model::GetFindingsResult
Definition: GetFindingsResult.h:29
Aws::GuardDuty::Model::GetFindingsResult::WithFindings
GetFindingsResult & WithFindings(Aws::Vector< Finding > &&value)
Definition: GetFindingsResult.h:59
Aws
Definition: AccessManagementClient.h:15
Finding.h
Aws::GuardDuty::Model::GetFindingsResult::operator=
GetFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetFindingsResult::GetFindingsResult
GetFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetFindingsResult::SetFindings
void SetFindings(const Aws::Vector< Finding > &value)
Definition: GetFindingsResult.h:44
Aws::GuardDuty::Model::GetFindingsResult::AddFindings
GetFindingsResult & AddFindings(Finding &&value)
Definition: GetFindingsResult.h:69