AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFindingsStatisticsRequest.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/FindingCriteria.h>
11#include <aws/guardduty/model/GroupByType.h>
12#include <aws/guardduty/model/OrderBy.h>
13#include <utility>
14
15namespace Aws
16{
17namespace GuardDuty
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GUARDDUTY_API GetFindingsStatisticsRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetFindingsStatistics"; }
34
35 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
43 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
44 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
45 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
46 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
47 inline GetFindingsStatisticsRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
48 inline GetFindingsStatisticsRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
49 inline GetFindingsStatisticsRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
51
53
56 inline const FindingCriteria& GetFindingCriteria() const{ return m_findingCriteria; }
57 inline bool FindingCriteriaHasBeenSet() const { return m_findingCriteriaHasBeenSet; }
58 inline void SetFindingCriteria(const FindingCriteria& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = value; }
59 inline void SetFindingCriteria(FindingCriteria&& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = std::move(value); }
61 inline GetFindingsStatisticsRequest& WithFindingCriteria(FindingCriteria&& value) { SetFindingCriteria(std::move(value)); return *this;}
63
65
69 inline const GroupByType& GetGroupBy() const{ return m_groupBy; }
70 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
71 inline void SetGroupBy(const GroupByType& value) { m_groupByHasBeenSet = true; m_groupBy = value; }
72 inline void SetGroupBy(GroupByType&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); }
73 inline GetFindingsStatisticsRequest& WithGroupBy(const GroupByType& value) { SetGroupBy(value); return *this;}
74 inline GetFindingsStatisticsRequest& WithGroupBy(GroupByType&& value) { SetGroupBy(std::move(value)); return *this;}
76
78
83 inline const OrderBy& GetOrderBy() const{ return m_orderBy; }
84 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
85 inline void SetOrderBy(const OrderBy& value) { m_orderByHasBeenSet = true; m_orderBy = value; }
86 inline void SetOrderBy(OrderBy&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); }
87 inline GetFindingsStatisticsRequest& WithOrderBy(const OrderBy& value) { SetOrderBy(value); return *this;}
88 inline GetFindingsStatisticsRequest& WithOrderBy(OrderBy&& value) { SetOrderBy(std::move(value)); return *this;}
90
92
97 inline int GetMaxResults() const{ return m_maxResults; }
98 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
99 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 inline GetFindingsStatisticsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
102 private:
103
104 Aws::String m_detectorId;
105 bool m_detectorIdHasBeenSet = false;
106
107 FindingCriteria m_findingCriteria;
108 bool m_findingCriteriaHasBeenSet = false;
109
110 GroupByType m_groupBy;
111 bool m_groupByHasBeenSet = false;
112
113 OrderBy m_orderBy;
114 bool m_orderByHasBeenSet = false;
115
116 int m_maxResults;
117 bool m_maxResultsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace GuardDuty
122} // namespace Aws
GetFindingsStatisticsRequest & WithGroupBy(const GroupByType &value)
GetFindingsStatisticsRequest & WithOrderBy(const OrderBy &value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
GetFindingsStatisticsRequest & WithOrderBy(OrderBy &&value)
GetFindingsStatisticsRequest & WithDetectorId(Aws::String &&value)
GetFindingsStatisticsRequest & WithFindingCriteria(const FindingCriteria &value)
GetFindingsStatisticsRequest & WithDetectorId(const Aws::String &value)
GetFindingsStatisticsRequest & WithDetectorId(const char *value)
GetFindingsStatisticsRequest & WithGroupBy(GroupByType &&value)
GetFindingsStatisticsRequest & WithFindingCriteria(FindingCriteria &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String