AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListInvestigationsRequest.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/detective/DetectiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/detective/model/FilterCriteria.h>
11#include <aws/detective/model/SortCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Detective
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DETECTIVE_API ListInvestigationsRequest() = default;
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 "ListInvestigations"; }
33
34 AWS_DETECTIVE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
42 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
43 template<typename GraphArnT = Aws::String>
44 void SetGraphArn(GraphArnT&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::forward<GraphArnT>(value); }
45 template<typename GraphArnT = Aws::String>
46 ListInvestigationsRequest& WithGraphArn(GraphArnT&& value) { SetGraphArn(std::forward<GraphArnT>(value)); return *this;}
48
50
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 template<typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<typename NextTokenT = Aws::String>
62 ListInvestigationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
64
66
69 inline int GetMaxResults() const { return m_maxResults; }
70 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
71 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
72 inline ListInvestigationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
74
76
79 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
80 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
81 template<typename FilterCriteriaT = FilterCriteria>
82 void SetFilterCriteria(FilterCriteriaT&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::forward<FilterCriteriaT>(value); }
83 template<typename FilterCriteriaT = FilterCriteria>
84 ListInvestigationsRequest& WithFilterCriteria(FilterCriteriaT&& value) { SetFilterCriteria(std::forward<FilterCriteriaT>(value)); return *this;}
86
88
91 inline const SortCriteria& GetSortCriteria() const { return m_sortCriteria; }
92 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
93 template<typename SortCriteriaT = SortCriteria>
94 void SetSortCriteria(SortCriteriaT&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::forward<SortCriteriaT>(value); }
95 template<typename SortCriteriaT = SortCriteria>
96 ListInvestigationsRequest& WithSortCriteria(SortCriteriaT&& value) { SetSortCriteria(std::forward<SortCriteriaT>(value)); return *this;}
98 private:
99
100 Aws::String m_graphArn;
101 bool m_graphArnHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 int m_maxResults{0};
107 bool m_maxResultsHasBeenSet = false;
108
109 FilterCriteria m_filterCriteria;
110 bool m_filterCriteriaHasBeenSet = false;
111
112 SortCriteria m_sortCriteria;
113 bool m_sortCriteriaHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Detective
118} // 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