7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/State.h>
48 inline void SetEc2(
const State& value) { m_ec2HasBeenSet =
true; m_ec2 = value; }
49 inline void SetEc2(
State&& value) { m_ec2HasBeenSet =
true; m_ec2 = std::move(value); }
61 inline void SetEcr(
const State& value) { m_ecrHasBeenSet =
true; m_ecr = value; }
62 inline void SetEcr(
State&& value) { m_ecrHasBeenSet =
true; m_ecr = std::move(value); }
71 inline void SetLambda(
const State& value) { m_lambdaHasBeenSet =
true; m_lambda = value; }
72 inline void SetLambda(
State&& value) { m_lambdaHasBeenSet =
true; m_lambda = std::move(value); }
81 inline void SetLambdaCode(
const State& value) { m_lambdaCodeHasBeenSet =
true; m_lambdaCode = value; }
82 inline void SetLambdaCode(
State&& value) { m_lambdaCodeHasBeenSet =
true; m_lambdaCode = std::move(value); }
89 bool m_ec2HasBeenSet =
false;
92 bool m_ecrHasBeenSet =
false;
95 bool m_lambdaHasBeenSet =
false;
98 bool m_lambdaCodeHasBeenSet =
false;
const State & GetEcr() const
AWS_INSPECTOR2_API ResourceState(Aws::Utils::Json::JsonView jsonValue)
bool LambdaCodeHasBeenSet() const
ResourceState & WithLambda(const State &value)
void SetEc2(const State &value)
void SetLambda(const State &value)
const State & GetLambda() const
AWS_INSPECTOR2_API ResourceState & operator=(Aws::Utils::Json::JsonView jsonValue)
const State & GetEc2() const
ResourceState & WithEc2(const State &value)
void SetEcr(const State &value)
ResourceState & WithEcr(State &&value)
ResourceState & WithLambda(State &&value)
const State & GetLambdaCode() const
ResourceState & WithEc2(State &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool LambdaHasBeenSet() const
void SetEcr(State &&value)
bool EcrHasBeenSet() const
bool Ec2HasBeenSet() const
AWS_INSPECTOR2_API ResourceState()
void SetLambdaCode(State &&value)
void SetLambdaCode(const State &value)
void SetEc2(State &&value)
ResourceState & WithLambdaCode(const State &value)
ResourceState & WithEcr(const State &value)
void SetLambda(State &&value)
ResourceState & WithLambdaCode(State &&value)
Aws::Utils::Json::JsonValue JsonValue