AWS SDK for C++  1.9.107
AWS SDK for C++
ImageScanningConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace ECR
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
48  inline bool GetScanOnPush() const{ return m_scanOnPush; }
49 
59  inline bool ScanOnPushHasBeenSet() const { return m_scanOnPushHasBeenSet; }
60 
70  inline void SetScanOnPush(bool value) { m_scanOnPushHasBeenSet = true; m_scanOnPush = value; }
71 
81  inline ImageScanningConfiguration& WithScanOnPush(bool value) { SetScanOnPush(value); return *this;}
82 
83  private:
84 
85  bool m_scanOnPush;
86  bool m_scanOnPushHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace ECR
91 } // namespace Aws
Aws::ECR::Model::ImageScanningConfiguration
Definition: ImageScanningConfiguration.h:31
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
ECR_EXPORTS.h
Aws::ECR::Model::ImageScanningConfiguration::ImageScanningConfiguration
ImageScanningConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::ImageScanningConfiguration::ScanOnPushHasBeenSet
bool ScanOnPushHasBeenSet() const
Definition: ImageScanningConfiguration.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::ImageScanningConfiguration::WithScanOnPush
ImageScanningConfiguration & WithScanOnPush(bool value)
Definition: ImageScanningConfiguration.h:81
Aws::ECR::Model::ImageScanningConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECR::Model::ImageScanningConfiguration::ImageScanningConfiguration
ImageScanningConfiguration()
Aws::ECR::Model::ImageScanningConfiguration::SetScanOnPush
void SetScanOnPush(bool value)
Definition: ImageScanningConfiguration.h:70
Aws::ECR::Model::ImageScanningConfiguration::operator=
ImageScanningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECR::Model::ImageScanningConfiguration::GetScanOnPush
bool GetScanOnPush() const
Definition: ImageScanningConfiguration.h:48