/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A response that contains details on the results of a finding aggregation by
* repository.See Also:
AWS
* API Reference
The ID of the Amazon Web Services account associated with the findings.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The ID of the Amazon Web Services account associated with the findings.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The ID of the Amazon Web Services account associated with the findings.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The ID of the Amazon Web Services account associated with the findings.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The ID of the Amazon Web Services account associated with the findings.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The ID of the Amazon Web Services account associated with the findings.
*/ inline RepositoryAggregationResponse& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The ID of the Amazon Web Services account associated with the findings.
*/ inline RepositoryAggregationResponse& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account associated with the findings.
*/ inline RepositoryAggregationResponse& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The number of container images impacted by the findings.
*/ inline long long GetAffectedImages() const{ return m_affectedImages; } /** *The number of container images impacted by the findings.
*/ inline bool AffectedImagesHasBeenSet() const { return m_affectedImagesHasBeenSet; } /** *The number of container images impacted by the findings.
*/ inline void SetAffectedImages(long long value) { m_affectedImagesHasBeenSet = true; m_affectedImages = value; } /** *The number of container images impacted by the findings.
*/ inline RepositoryAggregationResponse& WithAffectedImages(long long value) { SetAffectedImages(value); return *this;} /** *The name of the repository associated with the findings.
*/ inline const Aws::String& GetRepository() const{ return m_repository; } /** *The name of the repository associated with the findings.
*/ inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; } /** *The name of the repository associated with the findings.
*/ inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; } /** *The name of the repository associated with the findings.
*/ inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); } /** *The name of the repository associated with the findings.
*/ inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); } /** *The name of the repository associated with the findings.
*/ inline RepositoryAggregationResponse& WithRepository(const Aws::String& value) { SetRepository(value); return *this;} /** *The name of the repository associated with the findings.
*/ inline RepositoryAggregationResponse& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;} /** *The name of the repository associated with the findings.
*/ inline RepositoryAggregationResponse& WithRepository(const char* value) { SetRepository(value); return *this;} /** *An object that represent the count of matched findings per severity.
*/ inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; } /** *An object that represent the count of matched findings per severity.
*/ inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; } /** *An object that represent the count of matched findings per severity.
*/ inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; } /** *An object that represent the count of matched findings per severity.
*/ inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); } /** *An object that represent the count of matched findings per severity.
*/ inline RepositoryAggregationResponse& WithSeverityCounts(const SeverityCounts& value) { SetSeverityCounts(value); return *this;} /** *An object that represent the count of matched findings per severity.
*/ inline RepositoryAggregationResponse& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; long long m_affectedImages; bool m_affectedImagesHasBeenSet = false; Aws::String m_repository; bool m_repositoryHasBeenSet = false; SeverityCounts m_severityCounts; bool m_severityCountsHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws