AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
41 inline bool GetImageScanningEnabled() const { return m_imageScanningEnabled; }
42 inline bool ImageScanningEnabledHasBeenSet() const { return m_imageScanningEnabledHasBeenSet; }
43 inline void SetImageScanningEnabled(bool value) {
44 m_imageScanningEnabledHasBeenSet = true;
45 m_imageScanningEnabled = value;
46 }
49 return *this;
50 }
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) {
61 m_ecrConfigurationHasBeenSet = true;
62 m_ecrConfiguration = std::forward<EcrConfigurationT>(value);
63 }
64 template <typename EcrConfigurationT = EcrConfiguration>
66 SetEcrConfiguration(std::forward<EcrConfigurationT>(value));
67 return *this;
68 }
70 private:
71 bool m_imageScanningEnabled{false};
72
73 EcrConfiguration m_ecrConfiguration;
74 bool m_imageScanningEnabledHasBeenSet = false;
75 bool m_ecrConfigurationHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace imagebuilder
80} // 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