AWS SDK for C++  1.9.46
AWS SDK for C++
GetFindingsStatisticsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace GuardDuty
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
43 
48  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
49 
54  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
55 
60  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
61 
66  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
67 
72  inline GetFindingsStatisticsRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
73 
78  inline GetFindingsStatisticsRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
79 
84  inline GetFindingsStatisticsRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
85 
86 
90  inline const Aws::Vector<FindingStatisticType>& GetFindingStatisticTypes() const{ return m_findingStatisticTypes; }
91 
95  inline bool FindingStatisticTypesHasBeenSet() const { return m_findingStatisticTypesHasBeenSet; }
96 
100  inline void SetFindingStatisticTypes(const Aws::Vector<FindingStatisticType>& value) { m_findingStatisticTypesHasBeenSet = true; m_findingStatisticTypes = value; }
101 
105  inline void SetFindingStatisticTypes(Aws::Vector<FindingStatisticType>&& value) { m_findingStatisticTypesHasBeenSet = true; m_findingStatisticTypes = std::move(value); }
106 
110  inline GetFindingsStatisticsRequest& WithFindingStatisticTypes(const Aws::Vector<FindingStatisticType>& value) { SetFindingStatisticTypes(value); return *this;}
111 
115  inline GetFindingsStatisticsRequest& WithFindingStatisticTypes(Aws::Vector<FindingStatisticType>&& value) { SetFindingStatisticTypes(std::move(value)); return *this;}
116 
120  inline GetFindingsStatisticsRequest& AddFindingStatisticTypes(const FindingStatisticType& value) { m_findingStatisticTypesHasBeenSet = true; m_findingStatisticTypes.push_back(value); return *this; }
121 
125  inline GetFindingsStatisticsRequest& AddFindingStatisticTypes(FindingStatisticType&& value) { m_findingStatisticTypesHasBeenSet = true; m_findingStatisticTypes.push_back(std::move(value)); return *this; }
126 
127 
131  inline const FindingCriteria& GetFindingCriteria() const{ return m_findingCriteria; }
132 
136  inline bool FindingCriteriaHasBeenSet() const { return m_findingCriteriaHasBeenSet; }
137 
141  inline void SetFindingCriteria(const FindingCriteria& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = value; }
142 
146  inline void SetFindingCriteria(FindingCriteria&& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = std::move(value); }
147 
151  inline GetFindingsStatisticsRequest& WithFindingCriteria(const FindingCriteria& value) { SetFindingCriteria(value); return *this;}
152 
156  inline GetFindingsStatisticsRequest& WithFindingCriteria(FindingCriteria&& value) { SetFindingCriteria(std::move(value)); return *this;}
157 
158  private:
159 
160  Aws::String m_detectorId;
161  bool m_detectorIdHasBeenSet;
162 
163  Aws::Vector<FindingStatisticType> m_findingStatisticTypes;
164  bool m_findingStatisticTypesHasBeenSet;
165 
166  FindingCriteria m_findingCriteria;
167  bool m_findingCriteriaHasBeenSet;
168  };
169 
170 } // namespace Model
171 } // namespace GuardDuty
172 } // namespace Aws
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::GetFindingCriteria
const FindingCriteria & GetFindingCriteria() const
Definition: GetFindingsStatisticsRequest.h:131
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::FindingStatisticTypesHasBeenSet
bool FindingStatisticTypesHasBeenSet() const
Definition: GetFindingsStatisticsRequest.h:95
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: GetFindingsStatisticsRequest.h:54
FindingStatisticType.h
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: GetFindingsStatisticsRequest.h:42
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::SetFindingStatisticTypes
void SetFindingStatisticTypes(Aws::Vector< FindingStatisticType > &&value)
Definition: GetFindingsStatisticsRequest.h:105
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::WithFindingCriteria
GetFindingsStatisticsRequest & WithFindingCriteria(const FindingCriteria &value)
Definition: GetFindingsStatisticsRequest.h:151
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GuardDuty::Model::FindingCriteria
Definition: FindingCriteria.h:35
Aws::GuardDuty::Model::FindingStatisticType
FindingStatisticType
Definition: FindingStatisticType.h:17
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::SetFindingCriteria
void SetFindingCriteria(FindingCriteria &&value)
Definition: GetFindingsStatisticsRequest.h:146
AWSVector.h
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::WithDetectorId
GetFindingsStatisticsRequest & WithDetectorId(Aws::String &&value)
Definition: GetFindingsStatisticsRequest.h:78
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::GetFindingStatisticTypes
const Aws::Vector< FindingStatisticType > & GetFindingStatisticTypes() const
Definition: GetFindingsStatisticsRequest.h:90
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::WithDetectorId
GetFindingsStatisticsRequest & WithDetectorId(const char *value)
Definition: GetFindingsStatisticsRequest.h:84
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::SetFindingStatisticTypes
void SetFindingStatisticTypes(const Aws::Vector< FindingStatisticType > &value)
Definition: GetFindingsStatisticsRequest.h:100
Aws::GuardDuty::Model::GetFindingsStatisticsRequest
Definition: GetFindingsStatisticsRequest.h:25
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::FindingCriteriaHasBeenSet
bool FindingCriteriaHasBeenSet() const
Definition: GetFindingsStatisticsRequest.h:136
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::GetFindingsStatisticsRequest
GetFindingsStatisticsRequest()
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::SetFindingCriteria
void SetFindingCriteria(const FindingCriteria &value)
Definition: GetFindingsStatisticsRequest.h:141
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::WithDetectorId
GetFindingsStatisticsRequest & WithDetectorId(const Aws::String &value)
Definition: GetFindingsStatisticsRequest.h:72
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::WithFindingCriteria
GetFindingsStatisticsRequest & WithFindingCriteria(FindingCriteria &&value)
Definition: GetFindingsStatisticsRequest.h:156
AWSString.h
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: GetFindingsStatisticsRequest.h:66
Aws
Definition: AccessManagementClient.h:15
GuardDutyRequest.h
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::WithFindingStatisticTypes
GetFindingsStatisticsRequest & WithFindingStatisticTypes(Aws::Vector< FindingStatisticType > &&value)
Definition: GetFindingsStatisticsRequest.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::AddFindingStatisticTypes
GetFindingsStatisticsRequest & AddFindingStatisticTypes(FindingStatisticType &&value)
Definition: GetFindingsStatisticsRequest.h:125
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: GetFindingsStatisticsRequest.h:60
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: GetFindingsStatisticsRequest.h:48
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetFindingsStatisticsRequest.h:33
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
FindingCriteria.h
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::WithFindingStatisticTypes
GetFindingsStatisticsRequest & WithFindingStatisticTypes(const Aws::Vector< FindingStatisticType > &value)
Definition: GetFindingsStatisticsRequest.h:110
Aws::GuardDuty::Model::GetFindingsStatisticsRequest::AddFindingStatisticTypes
GetFindingsStatisticsRequest & AddFindingStatisticTypes(const FindingStatisticType &value)
Definition: GetFindingsStatisticsRequest.h:120