AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFindingStatisticsRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/macie2/model/FindingCriteria.h>
10#include <aws/macie2/model/GroupBy.h>
11#include <aws/macie2/model/FindingStatisticsSortCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Macie2
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetFindingStatistics"; }
33
34 AWS_MACIE2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const FindingCriteria& GetFindingCriteria() const{ return m_findingCriteria; }
42 inline bool FindingCriteriaHasBeenSet() const { return m_findingCriteriaHasBeenSet; }
43 inline void SetFindingCriteria(const FindingCriteria& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = value; }
44 inline void SetFindingCriteria(FindingCriteria&& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = std::move(value); }
46 inline GetFindingStatisticsRequest& WithFindingCriteria(FindingCriteria&& value) { SetFindingCriteria(std::move(value)); return *this;}
48
50
60 inline const GroupBy& GetGroupBy() const{ return m_groupBy; }
61 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
62 inline void SetGroupBy(const GroupBy& value) { m_groupByHasBeenSet = true; m_groupBy = value; }
63 inline void SetGroupBy(GroupBy&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); }
64 inline GetFindingStatisticsRequest& WithGroupBy(const GroupBy& value) { SetGroupBy(value); return *this;}
65 inline GetFindingStatisticsRequest& WithGroupBy(GroupBy&& value) { SetGroupBy(std::move(value)); return *this;}
67
69
72 inline int GetSize() const{ return m_size; }
73 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
74 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
75 inline GetFindingStatisticsRequest& WithSize(int value) { SetSize(value); return *this;}
77
79
82 inline const FindingStatisticsSortCriteria& GetSortCriteria() const{ return m_sortCriteria; }
83 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
84 inline void SetSortCriteria(const FindingStatisticsSortCriteria& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
85 inline void SetSortCriteria(FindingStatisticsSortCriteria&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
89 private:
90
91 FindingCriteria m_findingCriteria;
92 bool m_findingCriteriaHasBeenSet = false;
93
94 GroupBy m_groupBy;
95 bool m_groupByHasBeenSet = false;
96
97 int m_size;
98 bool m_sizeHasBeenSet = false;
99
100 FindingStatisticsSortCriteria m_sortCriteria;
101 bool m_sortCriteriaHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Macie2
106} // namespace Aws
GetFindingStatisticsRequest & WithFindingCriteria(FindingCriteria &&value)
void SetSortCriteria(const FindingStatisticsSortCriteria &value)
GetFindingStatisticsRequest & WithSortCriteria(FindingStatisticsSortCriteria &&value)
GetFindingStatisticsRequest & WithSize(int value)
GetFindingStatisticsRequest & WithSortCriteria(const FindingStatisticsSortCriteria &value)
AWS_MACIE2_API Aws::String SerializePayload() const override
GetFindingStatisticsRequest & WithGroupBy(GroupBy &&value)
void SetSortCriteria(FindingStatisticsSortCriteria &&value)
const FindingStatisticsSortCriteria & GetSortCriteria() const
GetFindingStatisticsRequest & WithFindingCriteria(const FindingCriteria &value)
GetFindingStatisticsRequest & WithGroupBy(const GroupBy &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String