AWS SDK for C++  1.9.153
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 Macie2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<Finding>& GetFindings() const{ return m_findings; }
41 
46  inline void SetFindings(const Aws::Vector<Finding>& value) { m_findings = value; }
47 
52  inline void SetFindings(Aws::Vector<Finding>&& value) { m_findings = std::move(value); }
53 
58  inline GetFindingsResult& WithFindings(const Aws::Vector<Finding>& value) { SetFindings(value); return *this;}
59 
64  inline GetFindingsResult& WithFindings(Aws::Vector<Finding>&& value) { SetFindings(std::move(value)); return *this;}
65 
70  inline GetFindingsResult& AddFindings(const Finding& value) { m_findings.push_back(value); return *this; }
71 
76  inline GetFindingsResult& AddFindings(Finding&& value) { m_findings.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<Finding> m_findings;
81  };
82 
83 } // namespace Model
84 } // namespace Macie2
85 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::GetFindingsResult::AddFindings
GetFindingsResult & AddFindings(const Finding &value)
Definition: GetFindingsResult.h:70
Aws::Macie2::Model::GetFindingsResult
Definition: GetFindingsResult.h:29
Macie2_EXPORTS.h
Aws::Macie2::Model::GetFindingsResult::WithFindings
GetFindingsResult & WithFindings(const Aws::Vector< Finding > &value)
Definition: GetFindingsResult.h:58
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Macie2::Model::GetFindingsResult::GetFindings
const Aws::Vector< Finding > & GetFindings() const
Definition: GetFindingsResult.h:40
AWSVector.h
Aws::Macie2::Model::GetFindingsResult::operator=
GetFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetFindingsResult::SetFindings
void SetFindings(const Aws::Vector< Finding > &value)
Definition: GetFindingsResult.h:46
Aws::Macie2::Model::GetFindingsResult::WithFindings
GetFindingsResult & WithFindings(Aws::Vector< Finding > &&value)
Definition: GetFindingsResult.h:64
Aws::Macie2::Model::GetFindingsResult::GetFindingsResult
GetFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetFindingsResult::SetFindings
void SetFindings(Aws::Vector< Finding > &&value)
Definition: GetFindingsResult.h:52
Aws::Macie2::Model::GetFindingsResult::GetFindingsResult
GetFindingsResult()
Aws::Macie2::Model::Finding
Definition: Finding.h:39
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::GetFindingsResult::AddFindings
GetFindingsResult & AddFindings(Finding &&value)
Definition: GetFindingsResult.h:76
Finding.h