AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
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 ListCoverageRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
48 inline ListCoverageRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
49 inline ListCoverageRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
51
53
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
62 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
63 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
64 inline ListCoverageRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
65 inline ListCoverageRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 inline ListCoverageRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
68
70
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 ListCoverageRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
83 inline const CoverageFilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
84 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
85 inline void SetFilterCriteria(const CoverageFilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
86 inline void SetFilterCriteria(CoverageFilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
88 inline ListCoverageRequest& WithFilterCriteria(CoverageFilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;}
90
92
95 inline const CoverageSortCriteria& GetSortCriteria() const{ return m_sortCriteria; }
96 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
97 inline void SetSortCriteria(const CoverageSortCriteria& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
98 inline void SetSortCriteria(CoverageSortCriteria&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
99 inline ListCoverageRequest& WithSortCriteria(const CoverageSortCriteria& value) { SetSortCriteria(value); return *this;}
100 inline ListCoverageRequest& WithSortCriteria(CoverageSortCriteria&& value) { SetSortCriteria(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_detectorId;
105 bool m_detectorIdHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109
110 int m_maxResults;
111 bool m_maxResultsHasBeenSet = false;
112
113 CoverageFilterCriteria m_filterCriteria;
114 bool m_filterCriteriaHasBeenSet = false;
115
116 CoverageSortCriteria m_sortCriteria;
117 bool m_sortCriteriaHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace GuardDuty
122} // namespace Aws
ListCoverageRequest & WithNextToken(const Aws::String &value)
ListCoverageRequest & WithSortCriteria(CoverageSortCriteria &&value)
void SetFilterCriteria(CoverageFilterCriteria &&value)
const CoverageSortCriteria & GetSortCriteria() const
ListCoverageRequest & WithNextToken(Aws::String &&value)
ListCoverageRequest & WithDetectorId(const char *value)
ListCoverageRequest & WithMaxResults(int value)
ListCoverageRequest & WithFilterCriteria(const CoverageFilterCriteria &value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
ListCoverageRequest & WithSortCriteria(const CoverageSortCriteria &value)
ListCoverageRequest & WithFilterCriteria(CoverageFilterCriteria &&value)
ListCoverageRequest & WithDetectorId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
void SetDetectorId(const Aws::String &value)
void SetSortCriteria(CoverageSortCriteria &&value)
const CoverageFilterCriteria & GetFilterCriteria() const
ListCoverageRequest & WithDetectorId(Aws::String &&value)
void SetSortCriteria(const CoverageSortCriteria &value)
ListCoverageRequest & WithNextToken(const char *value)
void SetFilterCriteria(const CoverageFilterCriteria &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String