AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListAnalyzersRequest.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/accessanalyzer/model/Type.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace AccessAnalyzer
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_ACCESSANALYZER_API ListAnalyzersRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ListAnalyzers"; }
39
40 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
41
42 AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetNextToken() const { return m_nextToken; }
50 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
51 template<typename NextTokenT = Aws::String>
52 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
53 template<typename NextTokenT = Aws::String>
54 ListAnalyzersRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
56
58
61 inline int GetMaxResults() const { return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline ListAnalyzersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
71 inline Type GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
74 inline ListAnalyzersRequest& WithType(Type value) { SetType(value); return *this;}
76 private:
77
78 Aws::String m_nextToken;
79 bool m_nextTokenHasBeenSet = false;
80
81 int m_maxResults{0};
82 bool m_maxResultsHasBeenSet = false;
83
84 Type m_type{Type::NOT_SET};
85 bool m_typeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace AccessAnalyzer
90} // 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