AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetCoverageStatisticsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDutyRequest.h>
10#include <aws/guardduty/GuardDuty_EXPORTS.h>
11#include <aws/guardduty/model/CoverageFilterCriteria.h>
12#include <aws/guardduty/model/CoverageStatisticsType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace GuardDuty {
18namespace Model {
19
23 public:
24 AWS_GUARDDUTY_API GetCoverageStatisticsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetCoverageStatistics"; }
31
32 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
33
35
42 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
43 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
44 template <typename DetectorIdT = Aws::String>
45 void SetDetectorId(DetectorIdT&& value) {
46 m_detectorIdHasBeenSet = true;
47 m_detectorId = std::forward<DetectorIdT>(value);
48 }
49 template <typename DetectorIdT = Aws::String>
51 SetDetectorId(std::forward<DetectorIdT>(value));
52 return *this;
53 }
55
57
60 inline const CoverageFilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
61 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
62 template <typename FilterCriteriaT = CoverageFilterCriteria>
63 void SetFilterCriteria(FilterCriteriaT&& value) {
64 m_filterCriteriaHasBeenSet = true;
65 m_filterCriteria = std::forward<FilterCriteriaT>(value);
66 }
67 template <typename FilterCriteriaT = CoverageFilterCriteria>
69 SetFilterCriteria(std::forward<FilterCriteriaT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<CoverageStatisticsType>& GetStatisticsType() const { return m_statisticsType; }
79 inline bool StatisticsTypeHasBeenSet() const { return m_statisticsTypeHasBeenSet; }
80 template <typename StatisticsTypeT = Aws::Vector<CoverageStatisticsType>>
81 void SetStatisticsType(StatisticsTypeT&& value) {
82 m_statisticsTypeHasBeenSet = true;
83 m_statisticsType = std::forward<StatisticsTypeT>(value);
84 }
85 template <typename StatisticsTypeT = Aws::Vector<CoverageStatisticsType>>
87 SetStatisticsType(std::forward<StatisticsTypeT>(value));
88 return *this;
89 }
91 m_statisticsTypeHasBeenSet = true;
92 m_statisticsType.push_back(value);
93 return *this;
94 }
96 private:
97 Aws::String m_detectorId;
98
99 CoverageFilterCriteria m_filterCriteria;
100
102 bool m_detectorIdHasBeenSet = false;
103 bool m_filterCriteriaHasBeenSet = false;
104 bool m_statisticsTypeHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace GuardDuty
109} // namespace Aws
const Aws::Vector< CoverageStatisticsType > & GetStatisticsType() const
GetCoverageStatisticsRequest & WithStatisticsType(StatisticsTypeT &&value)
GetCoverageStatisticsRequest & WithDetectorId(DetectorIdT &&value)
GetCoverageStatisticsRequest & WithFilterCriteria(FilterCriteriaT &&value)
AWS_GUARDDUTY_API GetCoverageStatisticsRequest()=default
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
GetCoverageStatisticsRequest & AddStatisticsType(CoverageStatisticsType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector