AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename EcrConfigurationT = EcrConfiguration>
60 void SetEcrConfiguration(EcrConfigurationT&& value) { m_ecrConfigurationHasBeenSet = true; m_ecrConfiguration = std::forward<EcrConfigurationT>(value); }
61 template<typename EcrConfigurationT = EcrConfiguration>
62 ImageScanningConfiguration& WithEcrConfiguration(EcrConfigurationT&& value) { SetEcrConfiguration(std::forward<EcrConfigurationT>(value)); return *this;}
64 private:
65
66 bool m_imageScanningEnabled{false};
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
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ImageScanningConfiguration & WithImageScanningEnabled(bool value)
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
Aws::Utils::Json::JsonValue JsonValue