/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Retrieves a list of findings generated by the specified
* analyzer.See Also:
AWS
* API Reference
The ARN * of the analyzer to retrieve findings from.
*/ inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; } /** *The ARN * of the analyzer to retrieve findings from.
*/ inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; } /** *The ARN * of the analyzer to retrieve findings from.
*/ inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; } /** *The ARN * of the analyzer to retrieve findings from.
*/ inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); } /** *The ARN * of the analyzer to retrieve findings from.
*/ inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); } /** *The ARN * of the analyzer to retrieve findings from.
*/ inline ListFindingsRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;} /** *The ARN * of the analyzer to retrieve findings from.
*/ inline ListFindingsRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;} /** *The ARN * of the analyzer to retrieve findings from.
*/ inline ListFindingsRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;} /** *A filter to match for the findings to return.
*/ inline const Aws::MapA filter to match for the findings to return.
*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *A filter to match for the findings to return.
*/ inline void SetFilter(const Aws::MapA filter to match for the findings to return.
*/ inline void SetFilter(Aws::MapA filter to match for the findings to return.
*/ inline ListFindingsRequest& WithFilter(const Aws::MapA filter to match for the findings to return.
*/ inline ListFindingsRequest& WithFilter(Aws::MapA filter to match for the findings to return.
*/ inline ListFindingsRequest& AddFilter(const Aws::String& key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; } /** *A filter to match for the findings to return.
*/ inline ListFindingsRequest& AddFilter(Aws::String&& key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), value); return *this; } /** *A filter to match for the findings to return.
*/ inline ListFindingsRequest& AddFilter(const Aws::String& key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; } /** *A filter to match for the findings to return.
*/ inline ListFindingsRequest& AddFilter(Aws::String&& key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), std::move(value)); return *this; } /** *A filter to match for the findings to return.
*/ inline ListFindingsRequest& AddFilter(const char* key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; } /** *A filter to match for the findings to return.
*/ inline ListFindingsRequest& AddFilter(const char* key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; } /** *The sort order for the findings returned.
*/ inline const SortCriteria& GetSort() const{ return m_sort; } /** *The sort order for the findings returned.
*/ inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } /** *The sort order for the findings returned.
*/ inline void SetSort(const SortCriteria& value) { m_sortHasBeenSet = true; m_sort = value; } /** *The sort order for the findings returned.
*/ inline void SetSort(SortCriteria&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); } /** *The sort order for the findings returned.
*/ inline ListFindingsRequest& WithSort(const SortCriteria& value) { SetSort(value); return *this;} /** *The sort order for the findings returned.
*/ inline ListFindingsRequest& WithSort(SortCriteria&& value) { SetSort(std::move(value)); return *this;} /** *A token used for pagination of results returned.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *A token used for pagination of results returned.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *A token used for pagination of results returned.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *A token used for pagination of results returned.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *A token used for pagination of results returned.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *A token used for pagination of results returned.
*/ inline ListFindingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *A token used for pagination of results returned.
*/ inline ListFindingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *A token used for pagination of results returned.
*/ inline ListFindingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The maximum number of results to return in the response.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of results to return in the response.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of results to return in the response.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of results to return in the response.
*/ inline ListFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_analyzerArn; bool m_analyzerArnHasBeenSet = false; Aws::Map