AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchVulnerabilitiesRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/inspector2/model/SearchVulnerabilitiesFilterCriteria.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Inspector2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_INSPECTOR2_API SearchVulnerabilitiesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SearchVulnerabilities"; }
32
33 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
34
35
37
40 inline const SearchVulnerabilitiesFilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
41 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
42 inline void SetFilterCriteria(const SearchVulnerabilitiesFilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
43 inline void SetFilterCriteria(SearchVulnerabilitiesFilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
47
49
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
58 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
59 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
60 inline SearchVulnerabilitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 inline SearchVulnerabilitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 inline SearchVulnerabilitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
64 private:
65
67 bool m_filterCriteriaHasBeenSet = false;
68
69 Aws::String m_nextToken;
70 bool m_nextTokenHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Inspector2
75} // namespace Aws
void SetFilterCriteria(const SearchVulnerabilitiesFilterCriteria &value)
SearchVulnerabilitiesRequest & WithNextToken(Aws::String &&value)
const SearchVulnerabilitiesFilterCriteria & GetFilterCriteria() const
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
void SetFilterCriteria(SearchVulnerabilitiesFilterCriteria &&value)
SearchVulnerabilitiesRequest & WithNextToken(const char *value)
SearchVulnerabilitiesRequest & WithNextToken(const Aws::String &value)
SearchVulnerabilitiesRequest & WithFilterCriteria(SearchVulnerabilitiesFilterCriteria &&value)
SearchVulnerabilitiesRequest & WithFilterCriteria(const SearchVulnerabilitiesFilterCriteria &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String