/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about an Amazon Elastic Container Registry
* repository.See Also:
AWS
* API Reference
The ARN of the repository.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the repository.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the repository.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the repository.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the repository.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the repository.
*/ inline AwsEcrRepositoryDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the repository.
*/ inline AwsEcrRepositoryDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the repository.
*/ inline AwsEcrRepositoryDetails& WithArn(const char* value) { SetArn(value); return *this;} /** *The image scanning configuration for a repository.
*/ inline const AwsEcrRepositoryImageScanningConfigurationDetails& GetImageScanningConfiguration() const{ return m_imageScanningConfiguration; } /** *The image scanning configuration for a repository.
*/ inline bool ImageScanningConfigurationHasBeenSet() const { return m_imageScanningConfigurationHasBeenSet; } /** *The image scanning configuration for a repository.
*/ inline void SetImageScanningConfiguration(const AwsEcrRepositoryImageScanningConfigurationDetails& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = value; } /** *The image scanning configuration for a repository.
*/ inline void SetImageScanningConfiguration(AwsEcrRepositoryImageScanningConfigurationDetails&& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = std::move(value); } /** *The image scanning configuration for a repository.
*/ inline AwsEcrRepositoryDetails& WithImageScanningConfiguration(const AwsEcrRepositoryImageScanningConfigurationDetails& value) { SetImageScanningConfiguration(value); return *this;} /** *The image scanning configuration for a repository.
*/ inline AwsEcrRepositoryDetails& WithImageScanningConfiguration(AwsEcrRepositoryImageScanningConfigurationDetails&& value) { SetImageScanningConfiguration(std::move(value)); return *this;} /** *The tag mutability setting for the repository. Valid values are
* IMMUTABLE
or MUTABLE
.
The tag mutability setting for the repository. Valid values are
* IMMUTABLE
or MUTABLE
.
The tag mutability setting for the repository. Valid values are
* IMMUTABLE
or MUTABLE
.
The tag mutability setting for the repository. Valid values are
* IMMUTABLE
or MUTABLE
.
The tag mutability setting for the repository. Valid values are
* IMMUTABLE
or MUTABLE
.
The tag mutability setting for the repository. Valid values are
* IMMUTABLE
or MUTABLE
.
The tag mutability setting for the repository. Valid values are
* IMMUTABLE
or MUTABLE
.
The tag mutability setting for the repository. Valid values are
* IMMUTABLE
or MUTABLE
.
Information about the lifecycle policy for the repository.
*/ inline const AwsEcrRepositoryLifecyclePolicyDetails& GetLifecyclePolicy() const{ return m_lifecyclePolicy; } /** *Information about the lifecycle policy for the repository.
*/ inline bool LifecyclePolicyHasBeenSet() const { return m_lifecyclePolicyHasBeenSet; } /** *Information about the lifecycle policy for the repository.
*/ inline void SetLifecyclePolicy(const AwsEcrRepositoryLifecyclePolicyDetails& value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy = value; } /** *Information about the lifecycle policy for the repository.
*/ inline void SetLifecyclePolicy(AwsEcrRepositoryLifecyclePolicyDetails&& value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy = std::move(value); } /** *Information about the lifecycle policy for the repository.
*/ inline AwsEcrRepositoryDetails& WithLifecyclePolicy(const AwsEcrRepositoryLifecyclePolicyDetails& value) { SetLifecyclePolicy(value); return *this;} /** *Information about the lifecycle policy for the repository.
*/ inline AwsEcrRepositoryDetails& WithLifecyclePolicy(AwsEcrRepositoryLifecyclePolicyDetails&& value) { SetLifecyclePolicy(std::move(value)); return *this;} /** *The name of the repository.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The name of the repository.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The name of the repository.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The name of the repository.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The name of the repository.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The name of the repository.
*/ inline AwsEcrRepositoryDetails& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The name of the repository.
*/ inline AwsEcrRepositoryDetails& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The name of the repository.
*/ inline AwsEcrRepositoryDetails& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *The text of the repository policy.
*/ inline const Aws::String& GetRepositoryPolicyText() const{ return m_repositoryPolicyText; } /** *The text of the repository policy.
*/ inline bool RepositoryPolicyTextHasBeenSet() const { return m_repositoryPolicyTextHasBeenSet; } /** *The text of the repository policy.
*/ inline void SetRepositoryPolicyText(const Aws::String& value) { m_repositoryPolicyTextHasBeenSet = true; m_repositoryPolicyText = value; } /** *The text of the repository policy.
*/ inline void SetRepositoryPolicyText(Aws::String&& value) { m_repositoryPolicyTextHasBeenSet = true; m_repositoryPolicyText = std::move(value); } /** *The text of the repository policy.
*/ inline void SetRepositoryPolicyText(const char* value) { m_repositoryPolicyTextHasBeenSet = true; m_repositoryPolicyText.assign(value); } /** *The text of the repository policy.
*/ inline AwsEcrRepositoryDetails& WithRepositoryPolicyText(const Aws::String& value) { SetRepositoryPolicyText(value); return *this;} /** *The text of the repository policy.
*/ inline AwsEcrRepositoryDetails& WithRepositoryPolicyText(Aws::String&& value) { SetRepositoryPolicyText(std::move(value)); return *this;} /** *The text of the repository policy.
*/ inline AwsEcrRepositoryDetails& WithRepositoryPolicyText(const char* value) { SetRepositoryPolicyText(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; AwsEcrRepositoryImageScanningConfigurationDetails m_imageScanningConfiguration; bool m_imageScanningConfigurationHasBeenSet = false; Aws::String m_imageTagMutability; bool m_imageTagMutabilityHasBeenSet = false; AwsEcrRepositoryLifecyclePolicyDetails m_lifecyclePolicy; bool m_lifecyclePolicyHasBeenSet = false; Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; Aws::String m_repositoryPolicyText; bool m_repositoryPolicyTextHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws