AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCoverageStatisticsRequest.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/CoverageFilterCriteria.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/guardduty/model/CoverageStatisticsType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace GuardDuty
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GUARDDUTY_API GetCoverageStatisticsRequest();
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 "GetCoverageStatistics"; }
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 GetCoverageStatisticsRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
48 inline GetCoverageStatisticsRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
49 inline GetCoverageStatisticsRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
51
53
56 inline const CoverageFilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
57 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
58 inline void SetFilterCriteria(const CoverageFilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
59 inline void SetFilterCriteria(CoverageFilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
63
65
68 inline const Aws::Vector<CoverageStatisticsType>& GetStatisticsType() const{ return m_statisticsType; }
69 inline bool StatisticsTypeHasBeenSet() const { return m_statisticsTypeHasBeenSet; }
70 inline void SetStatisticsType(const Aws::Vector<CoverageStatisticsType>& value) { m_statisticsTypeHasBeenSet = true; m_statisticsType = value; }
71 inline void SetStatisticsType(Aws::Vector<CoverageStatisticsType>&& value) { m_statisticsTypeHasBeenSet = true; m_statisticsType = std::move(value); }
74 inline GetCoverageStatisticsRequest& AddStatisticsType(const CoverageStatisticsType& value) { m_statisticsTypeHasBeenSet = true; m_statisticsType.push_back(value); return *this; }
75 inline GetCoverageStatisticsRequest& AddStatisticsType(CoverageStatisticsType&& value) { m_statisticsTypeHasBeenSet = true; m_statisticsType.push_back(std::move(value)); return *this; }
77 private:
78
79 Aws::String m_detectorId;
80 bool m_detectorIdHasBeenSet = false;
81
82 CoverageFilterCriteria m_filterCriteria;
83 bool m_filterCriteriaHasBeenSet = false;
84
86 bool m_statisticsTypeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace GuardDuty
91} // namespace Aws
void SetStatisticsType(Aws::Vector< CoverageStatisticsType > &&value)
GetCoverageStatisticsRequest & WithDetectorId(Aws::String &&value)
const Aws::Vector< CoverageStatisticsType > & GetStatisticsType() const
GetCoverageStatisticsRequest & AddStatisticsType(const CoverageStatisticsType &value)
GetCoverageStatisticsRequest & WithStatisticsType(const Aws::Vector< CoverageStatisticsType > &value)
GetCoverageStatisticsRequest & WithFilterCriteria(CoverageFilterCriteria &&value)
GetCoverageStatisticsRequest & WithDetectorId(const char *value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
GetCoverageStatisticsRequest & WithDetectorId(const Aws::String &value)
void SetFilterCriteria(const CoverageFilterCriteria &value)
GetCoverageStatisticsRequest & WithFilterCriteria(const CoverageFilterCriteria &value)
GetCoverageStatisticsRequest & AddStatisticsType(CoverageStatisticsType &&value)
GetCoverageStatisticsRequest & WithStatisticsType(Aws::Vector< CoverageStatisticsType > &&value)
void SetStatisticsType(const Aws::Vector< CoverageStatisticsType > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector