AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ImageScanningConfiguration.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ECR {
17namespace Model {
18
26 public:
27 AWS_ECR_API ImageScanningConfiguration() = default;
31
33
42 inline bool GetScanOnPush() const { return m_scanOnPush; }
43 inline bool ScanOnPushHasBeenSet() const { return m_scanOnPushHasBeenSet; }
44 inline void SetScanOnPush(bool value) {
45 m_scanOnPushHasBeenSet = true;
46 m_scanOnPush = value;
47 }
49 SetScanOnPush(value);
50 return *this;
51 }
53 private:
54 bool m_scanOnPush{false};
55 bool m_scanOnPushHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace ECR
60} // namespace Aws
AWS_ECR_API ImageScanningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API ImageScanningConfiguration(Aws::Utils::Json::JsonView jsonValue)
ImageScanningConfiguration & WithScanOnPush(bool value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECR_API ImageScanningConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue