AWS SDK for C++

AWS SDK for C++ Version 1.11.901

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
29 public:
30 AWS_IMAGEBUILDER_API ImageScanningConfiguration() = default;
33 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline bool GetImageScanningEnabled() const { return m_imageScanningEnabled; }
45 inline bool ImageScanningEnabledHasBeenSet() const { return m_imageScanningEnabledHasBeenSet; }
46 inline void SetImageScanningEnabled(bool value) {
47 m_imageScanningEnabledHasBeenSet = true;
48 m_imageScanningEnabled = value;
49 }
52 return *this;
53 }
55
57
60 inline const EcrConfiguration& GetEcrConfiguration() const { return m_ecrConfiguration; }
61 inline bool EcrConfigurationHasBeenSet() const { return m_ecrConfigurationHasBeenSet; }
62 template <typename EcrConfigurationT = EcrConfiguration>
63 void SetEcrConfiguration(EcrConfigurationT&& value) {
64 m_ecrConfigurationHasBeenSet = true;
65 m_ecrConfiguration = std::forward<EcrConfigurationT>(value);
66 }
67 template <typename EcrConfigurationT = EcrConfiguration>
69 SetEcrConfiguration(std::forward<EcrConfigurationT>(value));
70 return *this;
71 }
73 private:
74 bool m_imageScanningEnabled{false};
75
76 EcrConfiguration m_ecrConfiguration;
77 bool m_imageScanningEnabledHasBeenSet = false;
78 bool m_ecrConfigurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace imagebuilder
83} // 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