7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/State.h>
42 template <
typename Ec2T = State>
44 m_ec2HasBeenSet =
true;
45 m_ec2 = std::forward<Ec2T>(value);
47 template <
typename Ec2T = State>
49 SetEc2(std::forward<Ec2T>(value));
61 template <
typename EcrT = State>
63 m_ecrHasBeenSet =
true;
64 m_ecr = std::forward<EcrT>(value);
66 template <
typename EcrT = State>
68 SetEcr(std::forward<EcrT>(value));
80 template <
typename LambdaT = State>
82 m_lambdaHasBeenSet =
true;
83 m_lambda = std::forward<LambdaT>(value);
85 template <
typename LambdaT = State>
99 template <
typename LambdaCodeT = State>
101 m_lambdaCodeHasBeenSet =
true;
102 m_lambdaCode = std::forward<LambdaCodeT>(value);
104 template <
typename LambdaCodeT = State>
115 template <
typename CodeRepositoryT = State>
117 m_codeRepositoryHasBeenSet =
true;
118 m_codeRepository = std::forward<CodeRepositoryT>(value);
120 template <
typename CodeRepositoryT = State>
135 State m_codeRepository;
136 bool m_ec2HasBeenSet =
false;
137 bool m_ecrHasBeenSet =
false;
138 bool m_lambdaHasBeenSet =
false;
139 bool m_lambdaCodeHasBeenSet =
false;
140 bool m_codeRepositoryHasBeenSet =
false;
const State & GetEcr() const
AWS_INSPECTOR2_API ResourceState(Aws::Utils::Json::JsonView jsonValue)
bool CodeRepositoryHasBeenSet() const
bool LambdaCodeHasBeenSet() const
void SetEc2(Ec2T &&value)
ResourceState & WithEc2(Ec2T &&value)
const State & GetLambda() const
AWS_INSPECTOR2_API ResourceState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API ResourceState()=default
const State & GetEc2() const
const State & GetCodeRepository() const
ResourceState & WithCodeRepository(CodeRepositoryT &&value)
const State & GetLambdaCode() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool LambdaHasBeenSet() const
void SetLambdaCode(LambdaCodeT &&value)
ResourceState & WithLambdaCode(LambdaCodeT &&value)
bool EcrHasBeenSet() const
bool Ec2HasBeenSet() const
ResourceState & WithEcr(EcrT &&value)
void SetCodeRepository(CodeRepositoryT &&value)
ResourceState & WithLambda(LambdaT &&value)
void SetEcr(EcrT &&value)
void SetLambda(LambdaT &&value)
Aws::Utils::Json::JsonValue JsonValue