AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageScanningConfiguration.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/EcrConfiguration.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace imagebuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IMAGEBUILDER_API ImageScanningConfiguration();
38 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline bool GetImageScanningEnabled() const{ return m_imageScanningEnabled; }
48 inline bool ImageScanningEnabledHasBeenSet() const { return m_imageScanningEnabledHasBeenSet; }
49 inline void SetImageScanningEnabled(bool value) { m_imageScanningEnabledHasBeenSet = true; m_imageScanningEnabled = value; }
52
54
57 inline const EcrConfiguration& GetEcrConfiguration() const{ return m_ecrConfiguration; }
58 inline bool EcrConfigurationHasBeenSet() const { return m_ecrConfigurationHasBeenSet; }
59 inline void SetEcrConfiguration(const EcrConfiguration& value) { m_ecrConfigurationHasBeenSet = true; m_ecrConfiguration = value; }
60 inline void SetEcrConfiguration(EcrConfiguration&& value) { m_ecrConfigurationHasBeenSet = true; m_ecrConfiguration = std::move(value); }
62 inline ImageScanningConfiguration& WithEcrConfiguration(EcrConfiguration&& value) { SetEcrConfiguration(std::move(value)); return *this;}
64 private:
65
66 bool m_imageScanningEnabled;
67 bool m_imageScanningEnabledHasBeenSet = false;
68
69 EcrConfiguration m_ecrConfiguration;
70 bool m_ecrConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace imagebuilder
75} // namespace Aws
ImageScanningConfiguration & WithEcrConfiguration(EcrConfiguration &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ImageScanningConfiguration & WithImageScanningEnabled(bool value)
ImageScanningConfiguration & WithEcrConfiguration(const EcrConfiguration &value)
AWS_IMAGEBUILDER_API ImageScanningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API ImageScanningConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue