AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoEnable.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector2
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_INSPECTOR2_API AutoEnable();
34 AWS_INSPECTOR2_API AutoEnable(Aws::Utils::Json::JsonView jsonValue);
35 AWS_INSPECTOR2_API AutoEnable& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetEc2() const{ return m_ec2; }
45 inline bool Ec2HasBeenSet() const { return m_ec2HasBeenSet; }
46 inline void SetEc2(bool value) { m_ec2HasBeenSet = true; m_ec2 = value; }
47 inline AutoEnable& WithEc2(bool value) { SetEc2(value); return *this;}
49
51
55 inline bool GetEcr() const{ return m_ecr; }
56 inline bool EcrHasBeenSet() const { return m_ecrHasBeenSet; }
57 inline void SetEcr(bool value) { m_ecrHasBeenSet = true; m_ecr = value; }
58 inline AutoEnable& WithEcr(bool value) { SetEcr(value); return *this;}
60
62
67 inline bool GetLambda() const{ return m_lambda; }
68 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
69 inline void SetLambda(bool value) { m_lambdaHasBeenSet = true; m_lambda = value; }
70 inline AutoEnable& WithLambda(bool value) { SetLambda(value); return *this;}
72
74
79 inline bool GetLambdaCode() const{ return m_lambdaCode; }
80 inline bool LambdaCodeHasBeenSet() const { return m_lambdaCodeHasBeenSet; }
81 inline void SetLambdaCode(bool value) { m_lambdaCodeHasBeenSet = true; m_lambdaCode = value; }
82 inline AutoEnable& WithLambdaCode(bool value) { SetLambdaCode(value); return *this;}
84 private:
85
86 bool m_ec2;
87 bool m_ec2HasBeenSet = false;
88
89 bool m_ecr;
90 bool m_ecrHasBeenSet = false;
91
92 bool m_lambda;
93 bool m_lambdaHasBeenSet = false;
94
95 bool m_lambdaCode;
96 bool m_lambdaCodeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Inspector2
101} // namespace Aws
AutoEnable & WithLambda(bool value)
Definition AutoEnable.h:70
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AutoEnable & WithLambdaCode(bool value)
Definition AutoEnable.h:82
AWS_INSPECTOR2_API AutoEnable(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API AutoEnable()
AWS_INSPECTOR2_API AutoEnable & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoEnable & WithEcr(bool value)
Definition AutoEnable.h:58
AutoEnable & WithEc2(bool value)
Definition AutoEnable.h:47
Aws::Utils::Json::JsonValue JsonValue