AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFindingsRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/macie2/model/FindingCriteria.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/macie2/model/SortCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Macie2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MACIE2_API ListFindingsRequest();
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 "ListFindings"; }
33
34 AWS_MACIE2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const FindingCriteria& GetFindingCriteria() const{ return m_findingCriteria; }
42 inline bool FindingCriteriaHasBeenSet() const { return m_findingCriteriaHasBeenSet; }
43 inline void SetFindingCriteria(const FindingCriteria& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = value; }
44 inline void SetFindingCriteria(FindingCriteria&& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = std::move(value); }
45 inline ListFindingsRequest& WithFindingCriteria(const FindingCriteria& value) { SetFindingCriteria(value); return *this;}
46 inline ListFindingsRequest& WithFindingCriteria(FindingCriteria&& value) { SetFindingCriteria(std::move(value)); return *this;}
48
50
53 inline int GetMaxResults() const{ return m_maxResults; }
54 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
55 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
56 inline ListFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
58
60
64 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
69 inline ListFindingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListFindingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListFindingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
78 inline const SortCriteria& GetSortCriteria() const{ return m_sortCriteria; }
79 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
80 inline void SetSortCriteria(const SortCriteria& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
81 inline void SetSortCriteria(SortCriteria&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
82 inline ListFindingsRequest& WithSortCriteria(const SortCriteria& value) { SetSortCriteria(value); return *this;}
83 inline ListFindingsRequest& WithSortCriteria(SortCriteria&& value) { SetSortCriteria(std::move(value)); return *this;}
85 private:
86
87 FindingCriteria m_findingCriteria;
88 bool m_findingCriteriaHasBeenSet = false;
89
90 int m_maxResults;
91 bool m_maxResultsHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 SortCriteria m_sortCriteria;
97 bool m_sortCriteriaHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Macie2
102} // namespace Aws
ListFindingsRequest & WithSortCriteria(const SortCriteria &value)
void SetSortCriteria(const SortCriteria &value)
ListFindingsRequest & WithNextToken(const char *value)
ListFindingsRequest & WithFindingCriteria(const FindingCriteria &value)
ListFindingsRequest & WithSortCriteria(SortCriteria &&value)
ListFindingsRequest & WithMaxResults(int value)
void SetNextToken(const Aws::String &value)
void SetFindingCriteria(FindingCriteria &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
ListFindingsRequest & WithNextToken(const Aws::String &value)
ListFindingsRequest & WithNextToken(Aws::String &&value)
const SortCriteria & GetSortCriteria() const
const FindingCriteria & GetFindingCriteria() const
void SetFindingCriteria(const FindingCriteria &value)
ListFindingsRequest & WithFindingCriteria(FindingCriteria &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String