AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeMalwareScansRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/FilterCriteria.h>
11#include <aws/guardduty/model/SortCriteria.h>
12
13#include <utility>
14
15namespace Aws {
16namespace GuardDuty {
17namespace Model {
18
22 public:
23 AWS_GUARDDUTY_API DescribeMalwareScansRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeMalwareScans"; }
30
31 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
32
34
41 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
42 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
43 template <typename DetectorIdT = Aws::String>
44 void SetDetectorId(DetectorIdT&& value) {
45 m_detectorIdHasBeenSet = true;
46 m_detectorId = std::forward<DetectorIdT>(value);
47 }
48 template <typename DetectorIdT = Aws::String>
50 SetDetectorId(std::forward<DetectorIdT>(value));
51 return *this;
52 }
54
56
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 template <typename NextTokenT = Aws::String>
65 void SetNextToken(NextTokenT&& value) {
66 m_nextTokenHasBeenSet = true;
67 m_nextToken = std::forward<NextTokenT>(value);
68 }
69 template <typename NextTokenT = Aws::String>
71 SetNextToken(std::forward<NextTokenT>(value));
72 return *this;
73 }
75
77
81 inline int GetMaxResults() const { return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) {
84 m_maxResultsHasBeenSet = true;
85 m_maxResults = value;
86 }
88 SetMaxResults(value);
89 return *this;
90 }
92
94
98 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
99 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
100 template <typename FilterCriteriaT = FilterCriteria>
101 void SetFilterCriteria(FilterCriteriaT&& value) {
102 m_filterCriteriaHasBeenSet = true;
103 m_filterCriteria = std::forward<FilterCriteriaT>(value);
104 }
105 template <typename FilterCriteriaT = FilterCriteria>
107 SetFilterCriteria(std::forward<FilterCriteriaT>(value));
108 return *this;
109 }
111
113
119 inline const SortCriteria& GetSortCriteria() const { return m_sortCriteria; }
120 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
121 template <typename SortCriteriaT = SortCriteria>
122 void SetSortCriteria(SortCriteriaT&& value) {
123 m_sortCriteriaHasBeenSet = true;
124 m_sortCriteria = std::forward<SortCriteriaT>(value);
125 }
126 template <typename SortCriteriaT = SortCriteria>
128 SetSortCriteria(std::forward<SortCriteriaT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_detectorId;
134
135 Aws::String m_nextToken;
136
137 int m_maxResults{0};
138
139 FilterCriteria m_filterCriteria;
140
141 SortCriteria m_sortCriteria;
142 bool m_detectorIdHasBeenSet = false;
143 bool m_nextTokenHasBeenSet = false;
144 bool m_maxResultsHasBeenSet = false;
145 bool m_filterCriteriaHasBeenSet = false;
146 bool m_sortCriteriaHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace GuardDuty
151} // namespace Aws
DescribeMalwareScansRequest & WithMaxResults(int value)
DescribeMalwareScansRequest & WithNextToken(NextTokenT &&value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
DescribeMalwareScansRequest & WithSortCriteria(SortCriteriaT &&value)
AWS_GUARDDUTY_API DescribeMalwareScansRequest()=default
DescribeMalwareScansRequest & WithDetectorId(DetectorIdT &&value)
virtual const char * GetServiceRequestName() const override
DescribeMalwareScansRequest & WithFilterCriteria(FilterCriteriaT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String