AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListCoverageRequest.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/guardduty/model/CoverageSortCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GuardDuty
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GUARDDUTY_API ListCoverageRequest() = default;
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 "ListCoverage"; }
33
34 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
35
36
38
45 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
46 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
47 template<typename DetectorIdT = Aws::String>
48 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
49 template<typename DetectorIdT = Aws::String>
50 ListCoverageRequest& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
52
54
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template<typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<typename NextTokenT = Aws::String>
65 ListCoverageRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
67
69
72 inline int GetMaxResults() const { return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline ListCoverageRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77
79
82 inline const CoverageFilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
83 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
84 template<typename FilterCriteriaT = CoverageFilterCriteria>
85 void SetFilterCriteria(FilterCriteriaT&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::forward<FilterCriteriaT>(value); }
86 template<typename FilterCriteriaT = CoverageFilterCriteria>
87 ListCoverageRequest& WithFilterCriteria(FilterCriteriaT&& value) { SetFilterCriteria(std::forward<FilterCriteriaT>(value)); return *this;}
89
91
94 inline const CoverageSortCriteria& GetSortCriteria() const { return m_sortCriteria; }
95 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
96 template<typename SortCriteriaT = CoverageSortCriteria>
97 void SetSortCriteria(SortCriteriaT&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::forward<SortCriteriaT>(value); }
98 template<typename SortCriteriaT = CoverageSortCriteria>
99 ListCoverageRequest& WithSortCriteria(SortCriteriaT&& value) { SetSortCriteria(std::forward<SortCriteriaT>(value)); return *this;}
101 private:
102
103 Aws::String m_detectorId;
104 bool m_detectorIdHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 int m_maxResults{0};
110 bool m_maxResultsHasBeenSet = false;
111
112 CoverageFilterCriteria m_filterCriteria;
113 bool m_filterCriteriaHasBeenSet = false;
114
115 CoverageSortCriteria m_sortCriteria;
116 bool m_sortCriteriaHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace GuardDuty
121} // namespace Aws
ListCoverageRequest & WithNextToken(NextTokenT &&value)
ListCoverageRequest & WithDetectorId(DetectorIdT &&value)
const CoverageSortCriteria & GetSortCriteria() const
AWS_GUARDDUTY_API ListCoverageRequest()=default
ListCoverageRequest & WithMaxResults(int value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
void SetFilterCriteria(FilterCriteriaT &&value)
ListCoverageRequest & WithSortCriteria(SortCriteriaT &&value)
const CoverageFilterCriteria & GetFilterCriteria() const
ListCoverageRequest & WithFilterCriteria(FilterCriteriaT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String