AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeMalwareScansRequest.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/FilterCriteria.h>
11#include <aws/guardduty/model/SortCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GuardDuty
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GUARDDUTY_API DescribeMalwareScansRequest();
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 "DescribeMalwareScans"; }
33
34 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
42 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
43 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
44 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
45 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
46 inline DescribeMalwareScansRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
47 inline DescribeMalwareScansRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
48 inline DescribeMalwareScansRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
50
52
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline DescribeMalwareScansRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline DescribeMalwareScansRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline DescribeMalwareScansRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline DescribeMalwareScansRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
84 inline const FilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
85 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
86 inline void SetFilterCriteria(const FilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
87 inline void SetFilterCriteria(FilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
89 inline DescribeMalwareScansRequest& WithFilterCriteria(FilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;}
91
93
99 inline const SortCriteria& GetSortCriteria() const{ return m_sortCriteria; }
100 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
101 inline void SetSortCriteria(const SortCriteria& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
102 inline void SetSortCriteria(SortCriteria&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
103 inline DescribeMalwareScansRequest& WithSortCriteria(const SortCriteria& value) { SetSortCriteria(value); return *this;}
104 inline DescribeMalwareScansRequest& WithSortCriteria(SortCriteria&& value) { SetSortCriteria(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_detectorId;
109 bool m_detectorIdHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113
114 int m_maxResults;
115 bool m_maxResultsHasBeenSet = false;
116
117 FilterCriteria m_filterCriteria;
118 bool m_filterCriteriaHasBeenSet = false;
119
120 SortCriteria m_sortCriteria;
121 bool m_sortCriteriaHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace GuardDuty
126} // namespace Aws
DescribeMalwareScansRequest & WithDetectorId(const Aws::String &value)
DescribeMalwareScansRequest & WithSortCriteria(SortCriteria &&value)
DescribeMalwareScansRequest & WithMaxResults(int value)
DescribeMalwareScansRequest & WithSortCriteria(const SortCriteria &value)
DescribeMalwareScansRequest & WithFilterCriteria(const FilterCriteria &value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
DescribeMalwareScansRequest & WithFilterCriteria(FilterCriteria &&value)
DescribeMalwareScansRequest & WithNextToken(const char *value)
DescribeMalwareScansRequest & WithNextToken(Aws::String &&value)
DescribeMalwareScansRequest & WithDetectorId(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeMalwareScansRequest & WithDetectorId(Aws::String &&value)
DescribeMalwareScansRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String