AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECR::Model::ImageScanningConfiguration Class Reference

#include <ImageScanningConfiguration.h>

Public Member Functions

 ImageScanningConfiguration ()
 
 ImageScanningConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
ImageScanningConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
bool GetScanOnPush () const
 
bool ScanOnPushHasBeenSet () const
 
void SetScanOnPush (bool value)
 
ImageScanningConfigurationWithScanOnPush (bool value)
 

Detailed Description

The image scanning configuration for a repository.

See Also:


AWS API Reference

Definition at line 30 of file ImageScanningConfiguration.h.

Constructor & Destructor Documentation

◆ ImageScanningConfiguration() [1/2]

Aws::ECR::Model::ImageScanningConfiguration::ImageScanningConfiguration ( )

◆ ImageScanningConfiguration() [2/2]

Aws::ECR::Model::ImageScanningConfiguration::ImageScanningConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetScanOnPush()

bool Aws::ECR::Model::ImageScanningConfiguration::GetScanOnPush ( ) const
inline

The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the StartImageScan API.

Definition at line 46 of file ImageScanningConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECR::Model::ImageScanningConfiguration::Jsonize ( ) const

◆ operator=()

ImageScanningConfiguration& Aws::ECR::Model::ImageScanningConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ScanOnPushHasBeenSet()

bool Aws::ECR::Model::ImageScanningConfiguration::ScanOnPushHasBeenSet ( ) const
inline

The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the StartImageScan API.

Definition at line 55 of file ImageScanningConfiguration.h.

◆ SetScanOnPush()

void Aws::ECR::Model::ImageScanningConfiguration::SetScanOnPush ( bool  value)
inline

The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the StartImageScan API.

Definition at line 64 of file ImageScanningConfiguration.h.

◆ WithScanOnPush()

ImageScanningConfiguration& Aws::ECR::Model::ImageScanningConfiguration::WithScanOnPush ( bool  value)
inline

The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the StartImageScan API.

Definition at line 73 of file ImageScanningConfiguration.h.


The documentation for this class was generated from the following file: