7#include <aws/inspector2/Inspector2_EXPORTS.h>
44 inline bool GetEc2()
const{
return m_ec2; }
46 inline void SetEc2(
bool value) { m_ec2HasBeenSet =
true; m_ec2 = value; }
55 inline bool GetEcr()
const{
return m_ecr; }
57 inline void SetEcr(
bool value) { m_ecrHasBeenSet =
true; m_ecr = value; }
69 inline void SetLambda(
bool value) { m_lambdaHasBeenSet =
true; m_lambda = value; }
81 inline void SetLambdaCode(
bool value) { m_lambdaCodeHasBeenSet =
true; m_lambdaCode = value; }
87 bool m_ec2HasBeenSet =
false;
90 bool m_ecrHasBeenSet =
false;
93 bool m_lambdaHasBeenSet =
false;
96 bool m_lambdaCodeHasBeenSet =
false;
bool LambdaCodeHasBeenSet() const
AutoEnable & WithLambda(bool value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AutoEnable & WithLambdaCode(bool value)
bool LambdaHasBeenSet() const
bool GetLambdaCode() const
void SetLambdaCode(bool value)
bool Ec2HasBeenSet() const
AWS_INSPECTOR2_API AutoEnable(Aws::Utils::Json::JsonView jsonValue)
void SetLambda(bool value)
bool EcrHasBeenSet() const
AWS_INSPECTOR2_API AutoEnable()
AWS_INSPECTOR2_API AutoEnable & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoEnable & WithEcr(bool value)
AutoEnable & WithEc2(bool value)
Aws::Utils::Json::JsonValue JsonValue