AWS SDK for C++  1.9.160
AWS SDK for C++
ListAnalyzedResourcesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace AccessAnalyzer
16 {
17 namespace Model
18 {
19 
27  {
28  public:
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::String SerializePayload() const override;
38 
39 
45  inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; }
46 
52  inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; }
53 
59  inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; }
60 
66  inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); }
67 
73  inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); }
74 
80  inline ListAnalyzedResourcesRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
81 
87  inline ListAnalyzedResourcesRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
88 
94  inline ListAnalyzedResourcesRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
95 
96 
100  inline int GetMaxResults() const{ return m_maxResults; }
101 
105  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
106 
110  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111 
115  inline ListAnalyzedResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
116 
117 
121  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
122 
126  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
127 
131  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
132 
136  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
137 
141  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
142 
146  inline ListAnalyzedResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
147 
151  inline ListAnalyzedResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
152 
156  inline ListAnalyzedResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
157 
158 
162  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
163 
167  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
168 
172  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
173 
177  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
178 
182  inline ListAnalyzedResourcesRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
183 
187  inline ListAnalyzedResourcesRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
188 
189  private:
190 
191  Aws::String m_analyzerArn;
192  bool m_analyzerArnHasBeenSet;
193 
194  int m_maxResults;
195  bool m_maxResultsHasBeenSet;
196 
197  Aws::String m_nextToken;
198  bool m_nextTokenHasBeenSet;
199 
200  ResourceType m_resourceType;
201  bool m_resourceTypeHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace AccessAnalyzer
206 } // namespace Aws
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithNextToken
ListAnalyzedResourcesRequest & WithNextToken(const char *value)
Definition: ListAnalyzedResourcesRequest.h:156
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::AnalyzerArnHasBeenSet
bool AnalyzerArnHasBeenSet() const
Definition: ListAnalyzedResourcesRequest.h:52
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAnalyzedResourcesRequest.h:100
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithAnalyzerArn
ListAnalyzedResourcesRequest & WithAnalyzerArn(const Aws::String &value)
Definition: ListAnalyzedResourcesRequest.h:80
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::GetResourceType
const ResourceType & GetResourceType() const
Definition: ListAnalyzedResourcesRequest.h:162
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithResourceType
ListAnalyzedResourcesRequest & WithResourceType(ResourceType &&value)
Definition: ListAnalyzedResourcesRequest.h:187
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithMaxResults
ListAnalyzedResourcesRequest & WithMaxResults(int value)
Definition: ListAnalyzedResourcesRequest.h:115
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAnalyzedResourcesRequest.h:126
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithNextToken
ListAnalyzedResourcesRequest & WithNextToken(const Aws::String &value)
Definition: ListAnalyzedResourcesRequest.h:146
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithNextToken
ListAnalyzedResourcesRequest & WithNextToken(Aws::String &&value)
Definition: ListAnalyzedResourcesRequest.h:151
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAnalyzedResourcesRequest.h:121
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithAnalyzerArn
ListAnalyzedResourcesRequest & WithAnalyzerArn(const char *value)
Definition: ListAnalyzedResourcesRequest.h:94
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::ListAnalyzedResourcesRequest
ListAnalyzedResourcesRequest()
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAnalyzedResourcesRequest.h:131
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAnalyzedResourcesRequest.h:141
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetAnalyzerArn
void SetAnalyzerArn(Aws::String &&value)
Definition: ListAnalyzedResourcesRequest.h:66
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::GetAnalyzerArn
const Aws::String & GetAnalyzerArn() const
Definition: ListAnalyzedResourcesRequest.h:45
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithResourceType
ListAnalyzedResourcesRequest & WithResourceType(const ResourceType &value)
Definition: ListAnalyzedResourcesRequest.h:182
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAnalyzedResourcesRequest.h:136
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: ListAnalyzedResourcesRequest.h:177
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: ListAnalyzedResourcesRequest.h:167
AWSString.h
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest
Definition: ListAnalyzedResourcesRequest.h:27
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAnalyzedResourcesRequest.h:110
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: ListAnalyzedResourcesRequest.h:172
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetAnalyzerArn
void SetAnalyzerArn(const Aws::String &value)
Definition: ListAnalyzedResourcesRequest.h:59
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::WithAnalyzerArn
ListAnalyzedResourcesRequest & WithAnalyzerArn(Aws::String &&value)
Definition: ListAnalyzedResourcesRequest.h:87
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::SetAnalyzerArn
void SetAnalyzerArn(const char *value)
Definition: ListAnalyzedResourcesRequest.h:73
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAnalyzedResourcesRequest.h:35
ResourceType.h
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAnalyzedResourcesRequest.h:105