AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListInvestigationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/detective/DetectiveRequest.h>
9#include <aws/detective/Detective_EXPORTS.h>
10#include <aws/detective/model/FilterCriteria.h>
11#include <aws/detective/model/SortCriteria.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Detective {
17namespace Model {
18
22 public:
23 AWS_DETECTIVE_API ListInvestigationsRequest() = 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 "ListInvestigations"; }
30
31 AWS_DETECTIVE_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
38 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
39 template <typename GraphArnT = Aws::String>
40 void SetGraphArn(GraphArnT&& value) {
41 m_graphArnHasBeenSet = true;
42 m_graphArn = std::forward<GraphArnT>(value);
43 }
44 template <typename GraphArnT = Aws::String>
46 SetGraphArn(std::forward<GraphArnT>(value));
47 return *this;
48 }
50
52
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 template <typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) {
63 m_nextTokenHasBeenSet = true;
64 m_nextToken = std::forward<NextTokenT>(value);
65 }
66 template <typename NextTokenT = Aws::String>
68 SetNextToken(std::forward<NextTokenT>(value));
69 return *this;
70 }
72
74
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
93 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
94 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
95 template <typename FilterCriteriaT = FilterCriteria>
96 void SetFilterCriteria(FilterCriteriaT&& value) {
97 m_filterCriteriaHasBeenSet = true;
98 m_filterCriteria = std::forward<FilterCriteriaT>(value);
99 }
100 template <typename FilterCriteriaT = FilterCriteria>
102 SetFilterCriteria(std::forward<FilterCriteriaT>(value));
103 return *this;
104 }
106
108
111 inline const SortCriteria& GetSortCriteria() const { return m_sortCriteria; }
112 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
113 template <typename SortCriteriaT = SortCriteria>
114 void SetSortCriteria(SortCriteriaT&& value) {
115 m_sortCriteriaHasBeenSet = true;
116 m_sortCriteria = std::forward<SortCriteriaT>(value);
117 }
118 template <typename SortCriteriaT = SortCriteria>
120 SetSortCriteria(std::forward<SortCriteriaT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_graphArn;
126 bool m_graphArnHasBeenSet = false;
127
128 Aws::String m_nextToken;
129 bool m_nextTokenHasBeenSet = false;
130
131 int m_maxResults{0};
132 bool m_maxResultsHasBeenSet = false;
133
134 FilterCriteria m_filterCriteria;
135 bool m_filterCriteriaHasBeenSet = false;
136
137 SortCriteria m_sortCriteria;
138 bool m_sortCriteriaHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Detective
143} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListInvestigationsRequest & WithMaxResults(int value)
ListInvestigationsRequest & WithSortCriteria(SortCriteriaT &&value)
AWS_DETECTIVE_API Aws::String SerializePayload() const override
AWS_DETECTIVE_API ListInvestigationsRequest()=default
ListInvestigationsRequest & WithGraphArn(GraphArnT &&value)
ListInvestigationsRequest & WithNextToken(NextTokenT &&value)
ListInvestigationsRequest & WithFilterCriteria(FilterCriteriaT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String