AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListClassificationJobsRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/macie2/model/ListJobsFilterCriteria.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/macie2/model/ListJobsSortCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Macie2
17{
18namespace Model
19{
20
24 {
25 public:
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 "ListClassificationJobs"; }
33
34 AWS_MACIE2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const ListJobsFilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
42 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
43 inline void SetFilterCriteria(const ListJobsFilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
44 inline void SetFilterCriteria(ListJobsFilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
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 ListClassificationJobsRequest& 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 ListClassificationJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListClassificationJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListClassificationJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
78 inline const ListJobsSortCriteria& GetSortCriteria() const{ return m_sortCriteria; }
79 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
80 inline void SetSortCriteria(const ListJobsSortCriteria& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
81 inline void SetSortCriteria(ListJobsSortCriteria&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
83 inline ListClassificationJobsRequest& WithSortCriteria(ListJobsSortCriteria&& value) { SetSortCriteria(std::move(value)); return *this;}
85 private:
86
87 ListJobsFilterCriteria m_filterCriteria;
88 bool m_filterCriteriaHasBeenSet = false;
89
90 int m_maxResults;
91 bool m_maxResultsHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 ListJobsSortCriteria m_sortCriteria;
97 bool m_sortCriteriaHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Macie2
102} // namespace Aws
ListClassificationJobsRequest & WithSortCriteria(ListJobsSortCriteria &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
ListClassificationJobsRequest & WithNextToken(const char *value)
ListClassificationJobsRequest & WithNextToken(const Aws::String &value)
ListClassificationJobsRequest & WithFilterCriteria(ListJobsFilterCriteria &&value)
ListClassificationJobsRequest & WithMaxResults(int value)
ListClassificationJobsRequest & WithNextToken(Aws::String &&value)
void SetFilterCriteria(const ListJobsFilterCriteria &value)
ListClassificationJobsRequest & WithSortCriteria(const ListJobsSortCriteria &value)
ListClassificationJobsRequest & WithFilterCriteria(const ListJobsFilterCriteria &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String