/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An aggregation of information about Amazon ECR containers.See
* Also:
AWS
* API Reference
The Amazon Web Services account ID of the account that owns the * container.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Web Services account ID of the account that owns the * container.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Web Services account ID of the account that owns the * container.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Web Services account ID of the account that owns the * container.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Web Services account ID of the account that owns the * container.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Web Services account ID of the account that owns the * container.
*/ inline AwsEcrContainerAggregationResponse& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account ID of the account that owns the * container.
*/ inline AwsEcrContainerAggregationResponse& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the account that owns the * container.
*/ inline AwsEcrContainerAggregationResponse& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The architecture of the container.
*/ inline const Aws::String& GetArchitecture() const{ return m_architecture; } /** *The architecture of the container.
*/ inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; } /** *The architecture of the container.
*/ inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; } /** *The architecture of the container.
*/ inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); } /** *The architecture of the container.
*/ inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); } /** *The architecture of the container.
*/ inline AwsEcrContainerAggregationResponse& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;} /** *The architecture of the container.
*/ inline AwsEcrContainerAggregationResponse& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;} /** *The architecture of the container.
*/ inline AwsEcrContainerAggregationResponse& WithArchitecture(const char* value) { SetArchitecture(value); return *this;} /** *The SHA value of the container image.
*/ inline const Aws::String& GetImageSha() const{ return m_imageSha; } /** *The SHA value of the container image.
*/ inline bool ImageShaHasBeenSet() const { return m_imageShaHasBeenSet; } /** *The SHA value of the container image.
*/ inline void SetImageSha(const Aws::String& value) { m_imageShaHasBeenSet = true; m_imageSha = value; } /** *The SHA value of the container image.
*/ inline void SetImageSha(Aws::String&& value) { m_imageShaHasBeenSet = true; m_imageSha = std::move(value); } /** *The SHA value of the container image.
*/ inline void SetImageSha(const char* value) { m_imageShaHasBeenSet = true; m_imageSha.assign(value); } /** *The SHA value of the container image.
*/ inline AwsEcrContainerAggregationResponse& WithImageSha(const Aws::String& value) { SetImageSha(value); return *this;} /** *The SHA value of the container image.
*/ inline AwsEcrContainerAggregationResponse& WithImageSha(Aws::String&& value) { SetImageSha(std::move(value)); return *this;} /** *The SHA value of the container image.
*/ inline AwsEcrContainerAggregationResponse& WithImageSha(const char* value) { SetImageSha(value); return *this;} /** *The container image stags.
*/ inline const Aws::VectorThe container image stags.
*/ inline bool ImageTagsHasBeenSet() const { return m_imageTagsHasBeenSet; } /** *The container image stags.
*/ inline void SetImageTags(const Aws::VectorThe container image stags.
*/ inline void SetImageTags(Aws::VectorThe container image stags.
*/ inline AwsEcrContainerAggregationResponse& WithImageTags(const Aws::VectorThe container image stags.
*/ inline AwsEcrContainerAggregationResponse& WithImageTags(Aws::VectorThe container image stags.
*/ inline AwsEcrContainerAggregationResponse& AddImageTags(const Aws::String& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; } /** *The container image stags.
*/ inline AwsEcrContainerAggregationResponse& AddImageTags(Aws::String&& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(std::move(value)); return *this; } /** *The container image stags.
*/ inline AwsEcrContainerAggregationResponse& AddImageTags(const char* value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; } /** *The container repository.
*/ inline const Aws::String& GetRepository() const{ return m_repository; } /** *The container repository.
*/ inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; } /** *The container repository.
*/ inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; } /** *The container repository.
*/ inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); } /** *The container repository.
*/ inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); } /** *The container repository.
*/ inline AwsEcrContainerAggregationResponse& WithRepository(const Aws::String& value) { SetRepository(value); return *this;} /** *The container repository.
*/ inline AwsEcrContainerAggregationResponse& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;} /** *The container repository.
*/ inline AwsEcrContainerAggregationResponse& WithRepository(const char* value) { SetRepository(value); return *this;} /** *The resource ID of the container.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The resource ID of the container.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The resource ID of the container.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The resource ID of the container.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The resource ID of the container.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The resource ID of the container.
*/ inline AwsEcrContainerAggregationResponse& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The resource ID of the container.
*/ inline AwsEcrContainerAggregationResponse& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The resource ID of the container.
*/ inline AwsEcrContainerAggregationResponse& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The number of finding by severity.
*/ inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; } /** *The number of finding by severity.
*/ inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; } /** *The number of finding by severity.
*/ inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; } /** *The number of finding by severity.
*/ inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); } /** *The number of finding by severity.
*/ inline AwsEcrContainerAggregationResponse& WithSeverityCounts(const SeverityCounts& value) { SetSeverityCounts(value); return *this;} /** *The number of finding by severity.
*/ inline AwsEcrContainerAggregationResponse& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_architecture; bool m_architectureHasBeenSet = false; Aws::String m_imageSha; bool m_imageShaHasBeenSet = false; Aws::Vector