AWS SDK for C++  1.9.153
AWS SDK for C++
ListAccessPreviewFindingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace AccessAnalyzer
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "ListAccessPreviewFindings"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetAccessPreviewId() const{ return m_accessPreviewId; }
41 
45  inline bool AccessPreviewIdHasBeenSet() const { return m_accessPreviewIdHasBeenSet; }
46 
50  inline void SetAccessPreviewId(const Aws::String& value) { m_accessPreviewIdHasBeenSet = true; m_accessPreviewId = value; }
51 
55  inline void SetAccessPreviewId(Aws::String&& value) { m_accessPreviewIdHasBeenSet = true; m_accessPreviewId = std::move(value); }
56 
60  inline void SetAccessPreviewId(const char* value) { m_accessPreviewIdHasBeenSet = true; m_accessPreviewId.assign(value); }
61 
65  inline ListAccessPreviewFindingsRequest& WithAccessPreviewId(const Aws::String& value) { SetAccessPreviewId(value); return *this;}
66 
70  inline ListAccessPreviewFindingsRequest& WithAccessPreviewId(Aws::String&& value) { SetAccessPreviewId(std::move(value)); return *this;}
71 
75  inline ListAccessPreviewFindingsRequest& WithAccessPreviewId(const char* value) { SetAccessPreviewId(value); return *this;}
76 
77 
83  inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; }
84 
90  inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; }
91 
97  inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; }
98 
104  inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); }
105 
111  inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); }
112 
118  inline ListAccessPreviewFindingsRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
119 
125  inline ListAccessPreviewFindingsRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
126 
132  inline ListAccessPreviewFindingsRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
133 
134 
138  inline const Aws::Map<Aws::String, Criterion>& GetFilter() const{ return m_filter; }
139 
143  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
144 
148  inline void SetFilter(const Aws::Map<Aws::String, Criterion>& value) { m_filterHasBeenSet = true; m_filter = value; }
149 
153  inline void SetFilter(Aws::Map<Aws::String, Criterion>&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
154 
158  inline ListAccessPreviewFindingsRequest& WithFilter(const Aws::Map<Aws::String, Criterion>& value) { SetFilter(value); return *this;}
159 
163  inline ListAccessPreviewFindingsRequest& WithFilter(Aws::Map<Aws::String, Criterion>&& value) { SetFilter(std::move(value)); return *this;}
164 
168  inline ListAccessPreviewFindingsRequest& AddFilter(const Aws::String& key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; }
169 
173  inline ListAccessPreviewFindingsRequest& AddFilter(Aws::String&& key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), value); return *this; }
174 
178  inline ListAccessPreviewFindingsRequest& AddFilter(const Aws::String& key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; }
179 
183  inline ListAccessPreviewFindingsRequest& AddFilter(Aws::String&& key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), std::move(value)); return *this; }
184 
188  inline ListAccessPreviewFindingsRequest& AddFilter(const char* key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; }
189 
193  inline ListAccessPreviewFindingsRequest& AddFilter(const char* key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; }
194 
195 
199  inline int GetMaxResults() const{ return m_maxResults; }
200 
204  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
205 
209  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
210 
214  inline ListAccessPreviewFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
215 
216 
220  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
221 
225  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
226 
230  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
231 
235  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
236 
240  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
241 
245  inline ListAccessPreviewFindingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
246 
250  inline ListAccessPreviewFindingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
251 
255  inline ListAccessPreviewFindingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
256 
257  private:
258 
259  Aws::String m_accessPreviewId;
260  bool m_accessPreviewIdHasBeenSet;
261 
262  Aws::String m_analyzerArn;
263  bool m_analyzerArnHasBeenSet;
264 
266  bool m_filterHasBeenSet;
267 
268  int m_maxResults;
269  bool m_maxResultsHasBeenSet;
270 
271  Aws::String m_nextToken;
272  bool m_nextTokenHasBeenSet;
273  };
274 
275 } // namespace Model
276 } // namespace AccessAnalyzer
277 } // namespace Aws
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::AccessPreviewIdHasBeenSet
bool AccessPreviewIdHasBeenSet() const
Definition: ListAccessPreviewFindingsRequest.h:45
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithFilter
ListAccessPreviewFindingsRequest & WithFilter(Aws::Map< Aws::String, Criterion > &&value)
Definition: ListAccessPreviewFindingsRequest.h:163
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithAnalyzerArn
ListAccessPreviewFindingsRequest & WithAnalyzerArn(const Aws::String &value)
Definition: ListAccessPreviewFindingsRequest.h:118
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::GetAccessPreviewId
const Aws::String & GetAccessPreviewId() const
Definition: ListAccessPreviewFindingsRequest.h:40
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest
Definition: ListAccessPreviewFindingsRequest.h:24
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::AddFilter
ListAccessPreviewFindingsRequest & AddFilter(const char *key, Criterion &&value)
Definition: ListAccessPreviewFindingsRequest.h:188
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetFilter
void SetFilter(const Aws::Map< Aws::String, Criterion > &value)
Definition: ListAccessPreviewFindingsRequest.h:148
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithFilter
ListAccessPreviewFindingsRequest & WithFilter(const Aws::Map< Aws::String, Criterion > &value)
Definition: ListAccessPreviewFindingsRequest.h:158
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAccessPreviewFindingsRequest.h:240
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAccessPreviewFindingsRequest.h:235
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAccessPreviewFindingsRequest.h:220
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithMaxResults
ListAccessPreviewFindingsRequest & WithMaxResults(int value)
Definition: ListAccessPreviewFindingsRequest.h:214
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetAnalyzerArn
void SetAnalyzerArn(const char *value)
Definition: ListAccessPreviewFindingsRequest.h:111
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::AnalyzerArnHasBeenSet
bool AnalyzerArnHasBeenSet() const
Definition: ListAccessPreviewFindingsRequest.h:90
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithNextToken
ListAccessPreviewFindingsRequest & WithNextToken(Aws::String &&value)
Definition: ListAccessPreviewFindingsRequest.h:250
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: ListAccessPreviewFindingsRequest.h:143
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithAccessPreviewId
ListAccessPreviewFindingsRequest & WithAccessPreviewId(Aws::String &&value)
Definition: ListAccessPreviewFindingsRequest.h:70
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAccessPreviewFindingsRequest.h:225
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithAccessPreviewId
ListAccessPreviewFindingsRequest & WithAccessPreviewId(const char *value)
Definition: ListAccessPreviewFindingsRequest.h:75
Aws::AccessAnalyzer::Model::Criterion
Definition: Criterion.h:34
Criterion.h
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithAnalyzerArn
ListAccessPreviewFindingsRequest & WithAnalyzerArn(Aws::String &&value)
Definition: ListAccessPreviewFindingsRequest.h:125
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAccessPreviewFindingsRequest.h:199
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithAnalyzerArn
ListAccessPreviewFindingsRequest & WithAnalyzerArn(const char *value)
Definition: ListAccessPreviewFindingsRequest.h:132
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::AddFilter
ListAccessPreviewFindingsRequest & AddFilter(const Aws::String &key, const Criterion &value)
Definition: ListAccessPreviewFindingsRequest.h:168
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetAccessPreviewId
void SetAccessPreviewId(const char *value)
Definition: ListAccessPreviewFindingsRequest.h:60
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithNextToken
ListAccessPreviewFindingsRequest & WithNextToken(const char *value)
Definition: ListAccessPreviewFindingsRequest.h:255
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::AddFilter
ListAccessPreviewFindingsRequest & AddFilter(Aws::String &&key, const Criterion &value)
Definition: ListAccessPreviewFindingsRequest.h:173
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithAccessPreviewId
ListAccessPreviewFindingsRequest & WithAccessPreviewId(const Aws::String &value)
Definition: ListAccessPreviewFindingsRequest.h:65
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetAnalyzerArn
void SetAnalyzerArn(Aws::String &&value)
Definition: ListAccessPreviewFindingsRequest.h:104
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAccessPreviewFindingsRequest.h:209
AWSString.h
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetFilter
void SetFilter(Aws::Map< Aws::String, Criterion > &&value)
Definition: ListAccessPreviewFindingsRequest.h:153
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::GetAnalyzerArn
const Aws::String & GetAnalyzerArn() const
Definition: ListAccessPreviewFindingsRequest.h:83
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::GetFilter
const Aws::Map< Aws::String, Criterion > & GetFilter() const
Definition: ListAccessPreviewFindingsRequest.h:138
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAccessPreviewFindingsRequest.h:32
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::WithNextToken
ListAccessPreviewFindingsRequest & WithNextToken(const Aws::String &value)
Definition: ListAccessPreviewFindingsRequest.h:245
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::AddFilter
ListAccessPreviewFindingsRequest & AddFilter(const Aws::String &key, Criterion &&value)
Definition: ListAccessPreviewFindingsRequest.h:178
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAccessPreviewFindingsRequest.h:230
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::ListAccessPreviewFindingsRequest::SetAccessPreviewId
void SetAccessPreviewId(const Aws::String &value)
Definition: ListAccessPreviewFindingsRequest.h:50
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::AddFilter
ListAccessPreviewFindingsRequest & AddFilter(const char *key, const Criterion &value)
Definition: ListAccessPreviewFindingsRequest.h:193
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetAnalyzerArn
void SetAnalyzerArn(const Aws::String &value)
Definition: ListAccessPreviewFindingsRequest.h:97
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::AddFilter
ListAccessPreviewFindingsRequest & AddFilter(Aws::String &&key, Criterion &&value)
Definition: ListAccessPreviewFindingsRequest.h:183
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAccessPreviewFindingsRequest.h:204
AWSMap.h
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::SetAccessPreviewId
void SetAccessPreviewId(Aws::String &&value)
Definition: ListAccessPreviewFindingsRequest.h:55
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsRequest::ListAccessPreviewFindingsRequest
ListAccessPreviewFindingsRequest()