AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListArchiveRulesRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AccessAnalyzer
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_ACCESSANALYZER_API ListArchiveRulesRequest() = 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 "ListArchiveRules"; }
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& GetAnalyzerName() const { return m_analyzerName; }
50 inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; }
51 template<typename AnalyzerNameT = Aws::String>
52 void SetAnalyzerName(AnalyzerNameT&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::forward<AnalyzerNameT>(value); }
53 template<typename AnalyzerNameT = Aws::String>
54 ListArchiveRulesRequest& WithAnalyzerName(AnalyzerNameT&& value) { SetAnalyzerName(std::forward<AnalyzerNameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 template<typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<typename NextTokenT = Aws::String>
66 ListArchiveRulesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
68
70
73 inline int GetMaxResults() const { return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline ListArchiveRulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78 private:
79
80 Aws::String m_analyzerName;
81 bool m_analyzerNameHasBeenSet = false;
82
83 Aws::String m_nextToken;
84 bool m_nextTokenHasBeenSet = false;
85
86 int m_maxResults{0};
87 bool m_maxResultsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace AccessAnalyzer
92} // namespace Aws
ListArchiveRulesRequest & WithAnalyzerName(AnalyzerNameT &&value)
ListArchiveRulesRequest & WithNextToken(NextTokenT &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
AWS_ACCESSANALYZER_API ListArchiveRulesRequest()=default
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String