7#include <aws/inspector2/Inspector2_EXPORTS.h>
46 inline void SetCodeRepository(
bool value) { m_codeRepositoryHasBeenSet =
true; m_codeRepository = value; }
55 inline bool GetEc2()
const {
return m_ec2; }
57 inline void SetEc2(
bool value) { m_ec2HasBeenSet =
true; m_ec2 = value; }
66 inline bool GetEcr()
const {
return m_ecr; }
68 inline void SetEcr(
bool value) { m_ecrHasBeenSet =
true; m_ecr = value; }
80 inline void SetLambda(
bool value) { m_lambdaHasBeenSet =
true; m_lambda = value; }
91 inline void SetLambdaCode(
bool value) { m_lambdaCodeHasBeenSet =
true; m_lambdaCode = value; }
96 bool m_codeRepository{
false};
97 bool m_codeRepositoryHasBeenSet =
false;
100 bool m_ec2HasBeenSet =
false;
103 bool m_ecrHasBeenSet =
false;
105 bool m_lambda{
false};
106 bool m_lambdaHasBeenSet =
false;
108 bool m_lambdaCode{
false};
109 bool m_lambdaCodeHasBeenSet =
false;
bool LambdaCodeHasBeenSet() const
AutoEnable & WithLambda(bool value)
bool GetCodeRepository() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool CodeRepositoryHasBeenSet() const
void SetCodeRepository(bool value)
AutoEnable & WithLambdaCode(bool value)
bool LambdaHasBeenSet() const
bool GetLambdaCode() const
void SetLambdaCode(bool value)
AutoEnable & WithCodeRepository(bool value)
bool Ec2HasBeenSet() const
AWS_INSPECTOR2_API AutoEnable(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API AutoEnable()=default
void SetLambda(bool value)
bool EcrHasBeenSet() const
AWS_INSPECTOR2_API AutoEnable & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoEnable & WithEcr(bool value)
AutoEnable & WithEc2(bool value)
Aws::Utils::Json::JsonValue JsonValue