/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains vulnerability counts for a specific image pipeline.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) that identifies the image pipeline for this * aggregation.
*/ inline const Aws::String& GetImagePipelineArn() const{ return m_imagePipelineArn; } /** *The Amazon Resource Name (ARN) that identifies the image pipeline for this * aggregation.
*/ inline bool ImagePipelineArnHasBeenSet() const { return m_imagePipelineArnHasBeenSet; } /** *The Amazon Resource Name (ARN) that identifies the image pipeline for this * aggregation.
*/ inline void SetImagePipelineArn(const Aws::String& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = value; } /** *The Amazon Resource Name (ARN) that identifies the image pipeline for this * aggregation.
*/ inline void SetImagePipelineArn(Aws::String&& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = std::move(value); } /** *The Amazon Resource Name (ARN) that identifies the image pipeline for this * aggregation.
*/ inline void SetImagePipelineArn(const char* value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn.assign(value); } /** *The Amazon Resource Name (ARN) that identifies the image pipeline for this * aggregation.
*/ inline ImagePipelineAggregation& WithImagePipelineArn(const Aws::String& value) { SetImagePipelineArn(value); return *this;} /** *The Amazon Resource Name (ARN) that identifies the image pipeline for this * aggregation.
*/ inline ImagePipelineAggregation& WithImagePipelineArn(Aws::String&& value) { SetImagePipelineArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that identifies the image pipeline for this * aggregation.
*/ inline ImagePipelineAggregation& WithImagePipelineArn(const char* value) { SetImagePipelineArn(value); return *this;} /** *Counts by severity level for medium severity and higher level findings, plus * a total for all of the findings for the specified image pipeline.
*/ inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; } /** *Counts by severity level for medium severity and higher level findings, plus * a total for all of the findings for the specified image pipeline.
*/ inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; } /** *Counts by severity level for medium severity and higher level findings, plus * a total for all of the findings for the specified image pipeline.
*/ inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; } /** *Counts by severity level for medium severity and higher level findings, plus * a total for all of the findings for the specified image pipeline.
*/ inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); } /** *Counts by severity level for medium severity and higher level findings, plus * a total for all of the findings for the specified image pipeline.
*/ inline ImagePipelineAggregation& WithSeverityCounts(const SeverityCounts& value) { SetSeverityCounts(value); return *this;} /** *Counts by severity level for medium severity and higher level findings, plus * a total for all of the findings for the specified image pipeline.
*/ inline ImagePipelineAggregation& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;} private: Aws::String m_imagePipelineArn; bool m_imagePipelineArnHasBeenSet = false; SeverityCounts m_severityCounts; bool m_severityCountsHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws