AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; }
44 inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); }
45 inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); }
46 inline ListInvestigationsRequest& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;}
47 inline ListInvestigationsRequest& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;}
48 inline ListInvestigationsRequest& WithGraphArn(const char* value) { SetGraphArn(value); return *this;}
50
52
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 ListInvestigationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
65 inline ListInvestigationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 inline ListInvestigationsRequest& 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 ListInvestigationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
83 inline const FilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
84 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
85 inline void SetFilterCriteria(const FilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
86 inline void SetFilterCriteria(FilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
88 inline ListInvestigationsRequest& WithFilterCriteria(FilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;}
90
92
95 inline const SortCriteria& GetSortCriteria() const{ return m_sortCriteria; }
96 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
97 inline void SetSortCriteria(const SortCriteria& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
98 inline void SetSortCriteria(SortCriteria&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
99 inline ListInvestigationsRequest& WithSortCriteria(const SortCriteria& value) { SetSortCriteria(value); return *this;}
100 inline ListInvestigationsRequest& WithSortCriteria(SortCriteria&& value) { SetSortCriteria(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_graphArn;
105 bool m_graphArnHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109
110 int m_maxResults;
111 bool m_maxResultsHasBeenSet = false;
112
113 FilterCriteria m_filterCriteria;
114 bool m_filterCriteriaHasBeenSet = false;
115
116 SortCriteria m_sortCriteria;
117 bool m_sortCriteriaHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Detective
122} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListInvestigationsRequest & WithGraphArn(const char *value)
ListInvestigationsRequest & WithMaxResults(int value)
ListInvestigationsRequest & WithFilterCriteria(FilterCriteria &&value)
ListInvestigationsRequest & WithGraphArn(Aws::String &&value)
ListInvestigationsRequest & WithFilterCriteria(const FilterCriteria &value)
ListInvestigationsRequest & WithNextToken(const char *value)
ListInvestigationsRequest & WithGraphArn(const Aws::String &value)
ListInvestigationsRequest & WithSortCriteria(SortCriteria &&value)
ListInvestigationsRequest & WithNextToken(Aws::String &&value)
ListInvestigationsRequest & WithSortCriteria(const SortCriteria &value)
ListInvestigationsRequest & WithNextToken(const Aws::String &value)
AWS_DETECTIVE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String