7#include <aws/inspector2/Inspector2_EXPORTS.h>
37 inline bool GetEc2()
const {
return m_ec2; }
40 m_ec2HasBeenSet =
true;
54 inline bool GetEcr()
const {
return m_ecr; }
57 m_ecrHasBeenSet =
true;
75 m_lambdaHasBeenSet =
true;
92 m_lambdaCodeHasBeenSet =
true;
109 m_codeRepositoryHasBeenSet =
true;
110 m_codeRepository = value;
122 bool m_lambda{
false};
124 bool m_lambdaCode{
false};
126 bool m_codeRepository{
false};
127 bool m_ec2HasBeenSet =
false;
128 bool m_ecrHasBeenSet =
false;
129 bool m_lambdaHasBeenSet =
false;
130 bool m_lambdaCodeHasBeenSet =
false;
131 bool m_codeRepositoryHasBeenSet =
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