AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListCoverageRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/inspector2/model/CoverageFilterCriteria.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 ListCoverageRequest();
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 "ListCoverage"; }
32
33 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
34
35
37
41 inline const CoverageFilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
42 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
43 inline void SetFilterCriteria(const CoverageFilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
44 inline void SetFilterCriteria(CoverageFilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
46 inline ListCoverageRequest& WithFilterCriteria(CoverageFilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;}
48
50
56 inline int GetMaxResults() const{ return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline ListCoverageRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListCoverageRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListCoverageRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListCoverageRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80 private:
81
82 CoverageFilterCriteria m_filterCriteria;
83 bool m_filterCriteriaHasBeenSet = false;
84
85 int m_maxResults;
86 bool m_maxResultsHasBeenSet = false;
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Inspector2
94} // namespace Aws
ListCoverageRequest & WithNextToken(Aws::String &&value)
void SetFilterCriteria(CoverageFilterCriteria &&value)
ListCoverageRequest & WithFilterCriteria(const CoverageFilterCriteria &value)
const CoverageFilterCriteria & GetFilterCriteria() const
ListCoverageRequest & WithMaxResults(int value)
ListCoverageRequest & WithFilterCriteria(CoverageFilterCriteria &&value)
ListCoverageRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(const Aws::String &value)
void SetFilterCriteria(const CoverageFilterCriteria &value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
ListCoverageRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String