AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListAnalyzedResourcesRequest.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/ResourceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AccessAnalyzer
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ACCESSANALYZER_API ListAnalyzedResourcesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListAnalyzedResources"; }
36
37 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
38
39
41
46 inline const Aws::String& GetAnalyzerArn() const { return m_analyzerArn; }
47 inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; }
48 template<typename AnalyzerArnT = Aws::String>
49 void SetAnalyzerArn(AnalyzerArnT&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::forward<AnalyzerArnT>(value); }
50 template<typename AnalyzerArnT = Aws::String>
51 ListAnalyzedResourcesRequest& WithAnalyzerArn(AnalyzerArnT&& value) { SetAnalyzerArn(std::forward<AnalyzerArnT>(value)); return *this;}
53
55
58 inline ResourceType GetResourceType() const { return m_resourceType; }
59 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
60 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
63
65
68 inline const Aws::String& GetNextToken() const { return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 template<typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
72 template<typename NextTokenT = Aws::String>
73 ListAnalyzedResourcesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
75
77
80 inline int GetMaxResults() const { return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline ListAnalyzedResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85 private:
86
87 Aws::String m_analyzerArn;
88 bool m_analyzerArnHasBeenSet = false;
89
90 ResourceType m_resourceType{ResourceType::NOT_SET};
91 bool m_resourceTypeHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 int m_maxResults{0};
97 bool m_maxResultsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace AccessAnalyzer
102} // namespace Aws
ListAnalyzedResourcesRequest & WithNextToken(NextTokenT &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
AWS_ACCESSANALYZER_API ListAnalyzedResourcesRequest()=default
ListAnalyzedResourcesRequest & WithAnalyzerArn(AnalyzerArnT &&value)
ListAnalyzedResourcesRequest & WithResourceType(ResourceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String