AWS SDK for C++  1.9.109
AWS SDK for C++
GetFindingStatisticsResult.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<GroupCount>& GetCountsByGroup() const{ return m_countsByGroup; }
41 
46  inline void SetCountsByGroup(const Aws::Vector<GroupCount>& value) { m_countsByGroup = value; }
47 
52  inline void SetCountsByGroup(Aws::Vector<GroupCount>&& value) { m_countsByGroup = std::move(value); }
53 
58  inline GetFindingStatisticsResult& WithCountsByGroup(const Aws::Vector<GroupCount>& value) { SetCountsByGroup(value); return *this;}
59 
64  inline GetFindingStatisticsResult& WithCountsByGroup(Aws::Vector<GroupCount>&& value) { SetCountsByGroup(std::move(value)); return *this;}
65 
70  inline GetFindingStatisticsResult& AddCountsByGroup(const GroupCount& value) { m_countsByGroup.push_back(value); return *this; }
71 
76  inline GetFindingStatisticsResult& AddCountsByGroup(GroupCount&& value) { m_countsByGroup.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<GroupCount> m_countsByGroup;
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::GetFindingStatisticsResult::WithCountsByGroup
GetFindingStatisticsResult & WithCountsByGroup(Aws::Vector< GroupCount > &&value)
Definition: GetFindingStatisticsResult.h:64
Macie2_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Macie2::Model::GetFindingStatisticsResult
Definition: GetFindingStatisticsResult.h:29
Aws::Macie2::Model::GroupCount
Definition: GroupCount.h:33
Aws::Macie2::Model::GetFindingStatisticsResult::SetCountsByGroup
void SetCountsByGroup(const Aws::Vector< GroupCount > &value)
Definition: GetFindingStatisticsResult.h:46
Aws::Macie2::Model::GetFindingStatisticsResult::GetFindingStatisticsResult
GetFindingStatisticsResult()
Aws::Macie2::Model::GetFindingStatisticsResult::operator=
GetFindingStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetFindingStatisticsResult::AddCountsByGroup
GetFindingStatisticsResult & AddCountsByGroup(const GroupCount &value)
Definition: GetFindingStatisticsResult.h:70
Aws::Macie2::Model::GetFindingStatisticsResult::GetCountsByGroup
const Aws::Vector< GroupCount > & GetCountsByGroup() const
Definition: GetFindingStatisticsResult.h:40
GroupCount.h
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::GetFindingStatisticsResult::WithCountsByGroup
GetFindingStatisticsResult & WithCountsByGroup(const Aws::Vector< GroupCount > &value)
Definition: GetFindingStatisticsResult.h:58
Aws::Macie2::Model::GetFindingStatisticsResult::GetFindingStatisticsResult
GetFindingStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetFindingStatisticsResult::SetCountsByGroup
void SetCountsByGroup(Aws::Vector< GroupCount > &&value)
Definition: GetFindingStatisticsResult.h:52
Aws::Macie2::Model::GetFindingStatisticsResult::AddCountsByGroup
GetFindingStatisticsResult & AddCountsByGroup(GroupCount &&value)
Definition: GetFindingStatisticsResult.h:76