AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListAnalyzersRequest.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
8#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
9#include <aws/accessanalyzer/model/Type.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace AccessAnalyzer {
19namespace Model {
20
27 public:
28 AWS_ACCESSANALYZER_API ListAnalyzersRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListAnalyzers"; }
35
36 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
37
38 AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetNextToken() const { return m_nextToken; }
45 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 template <typename NextTokenT = Aws::String>
47 void SetNextToken(NextTokenT&& value) {
48 m_nextTokenHasBeenSet = true;
49 m_nextToken = std::forward<NextTokenT>(value);
50 }
51 template <typename NextTokenT = Aws::String>
52 ListAnalyzersRequest& WithNextToken(NextTokenT&& value) {
53 SetNextToken(std::forward<NextTokenT>(value));
54 return *this;
55 }
57
59
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) {
65 m_maxResultsHasBeenSet = true;
66 m_maxResults = value;
67 }
69 SetMaxResults(value);
70 return *this;
71 }
73
75
78 inline Type GetType() const { return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(Type value) {
81 m_typeHasBeenSet = true;
82 m_type = value;
83 }
85 SetType(value);
86 return *this;
87 }
89 private:
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92
93 int m_maxResults{0};
94 bool m_maxResultsHasBeenSet = false;
95
96 Type m_type{Type::NOT_SET};
97 bool m_typeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AccessAnalyzer
102} // namespace Aws
AWS_ACCESSANALYZER_API ListAnalyzersRequest()=default
virtual const char * GetServiceRequestName() const override
ListAnalyzersRequest & WithNextToken(NextTokenT &&value)
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String