7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/EcrConfiguration.h>
10#include <aws/imagebuilder/model/ImageScanningType.h>
11#include <aws/imagebuilder/model/ScanResultCondition.h>
22namespace imagebuilder {
53 m_imageScanningEnabledHasBeenSet =
true;
54 m_imageScanningEnabled = value;
68 template <
typename EcrConfigurationT = EcrConfiguration>
70 m_ecrConfigurationHasBeenSet =
true;
71 m_ecrConfiguration = std::forward<EcrConfigurationT>(value);
73 template <
typename EcrConfigurationT = EcrConfiguration>
99 template <
typename ImageScanningTypesT = Aws::Vector<ImageScanningType>>
101 m_imageScanningTypesHasBeenSet =
true;
102 m_imageScanningTypes = std::forward<ImageScanningTypesT>(value);
104 template <
typename ImageScanningTypesT = Aws::Vector<ImageScanningType>>
110 m_imageScanningTypesHasBeenSet =
true;
111 m_imageScanningTypes.push_back(value);
132 template <
typename ScanResultConditionT = ScanResultCondition>
134 m_scanResultConditionHasBeenSet =
true;
135 m_scanResultCondition = std::forward<ScanResultConditionT>(value);
137 template <
typename ScanResultConditionT = ScanResultCondition>
144 bool m_imageScanningEnabled{
false};
146 EcrConfiguration m_ecrConfiguration;
150 ScanResultCondition m_scanResultCondition;
151 bool m_imageScanningEnabledHasBeenSet =
false;
152 bool m_ecrConfigurationHasBeenSet =
false;
153 bool m_imageScanningTypesHasBeenSet =
false;
154 bool m_scanResultConditionHasBeenSet =
false;
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ImageScanningConfiguration & WithImageScanningTypes(ImageScanningTypesT &&value)
const Aws::Vector< ImageScanningType > & GetImageScanningTypes() const
const EcrConfiguration & GetEcrConfiguration() const
bool ImageScanningEnabledHasBeenSet() const
bool EcrConfigurationHasBeenSet() const
void SetImageScanningTypes(ImageScanningTypesT &&value)
ImageScanningConfiguration & WithImageScanningEnabled(bool value)
void SetEcrConfiguration(EcrConfigurationT &&value)
void SetImageScanningEnabled(bool value)
bool ScanResultConditionHasBeenSet() const
const ScanResultCondition & GetScanResultCondition() const
bool ImageScanningTypesHasBeenSet() const
void SetScanResultCondition(ScanResultConditionT &&value)
ImageScanningConfiguration & WithScanResultCondition(ScanResultConditionT &&value)
ImageScanningConfiguration & AddImageScanningTypes(ImageScanningType value)
bool GetImageScanningEnabled() const
AWS_IMAGEBUILDER_API ImageScanningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageScanningConfiguration & WithEcrConfiguration(EcrConfigurationT &&value)
AWS_IMAGEBUILDER_API ImageScanningConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API ImageScanningConfiguration()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue