AWS SDK for C++

AWS SDK for C++ Version 1.11.855

Loading...
Searching...
No Matches
ListInvestigationsRequest.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/InvestigationSortCriteria.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GuardDuty {
16namespace Model {
17
21 public:
22 AWS_GUARDDUTY_API ListInvestigationsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListInvestigations"; }
29
30 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
31
33
40 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
41 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
42 template <typename DetectorIdT = Aws::String>
43 void SetDetectorId(DetectorIdT&& value) {
44 m_detectorIdHasBeenSet = true;
45 m_detectorId = std::forward<DetectorIdT>(value);
46 }
47 template <typename DetectorIdT = Aws::String>
49 SetDetectorId(std::forward<DetectorIdT>(value));
50 return *this;
51 }
53
55
58 inline const InvestigationSortCriteria& GetSortCriteria() const { return m_sortCriteria; }
59 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
60 template <typename SortCriteriaT = InvestigationSortCriteria>
61 void SetSortCriteria(SortCriteriaT&& value) {
62 m_sortCriteriaHasBeenSet = true;
63 m_sortCriteria = std::forward<SortCriteriaT>(value);
64 }
65 template <typename SortCriteriaT = InvestigationSortCriteria>
67 SetSortCriteria(std::forward<SortCriteriaT>(value));
68 return *this;
69 }
71
73
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) {
80 m_maxResultsHasBeenSet = true;
81 m_maxResults = value;
82 }
84 SetMaxResults(value);
85 return *this;
86 }
88
90
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template <typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) {
100 m_nextTokenHasBeenSet = true;
101 m_nextToken = std::forward<NextTokenT>(value);
102 }
103 template <typename NextTokenT = Aws::String>
105 SetNextToken(std::forward<NextTokenT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_detectorId;
111
112 InvestigationSortCriteria m_sortCriteria;
113
114 int m_maxResults{0};
115
116 Aws::String m_nextToken;
117 bool m_detectorIdHasBeenSet = false;
118 bool m_sortCriteriaHasBeenSet = false;
119 bool m_maxResultsHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace GuardDuty
125} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListInvestigationsRequest & WithSortCriteria(SortCriteriaT &&value)
ListInvestigationsRequest & WithMaxResults(int value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
ListInvestigationsRequest & WithDetectorId(DetectorIdT &&value)
ListInvestigationsRequest & WithNextToken(NextTokenT &&value)
const InvestigationSortCriteria & GetSortCriteria() const
AWS_GUARDDUTY_API ListInvestigationsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String