7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/State.h>
45 template<
typename CodeRepositoryT = State>
46 void SetCodeRepository(CodeRepositoryT&& value) { m_codeRepositoryHasBeenSet =
true; m_codeRepository = std::forward<CodeRepositoryT>(value); }
47 template<
typename CodeRepositoryT = State>
58 template<
typename Ec2T = State>
59 void SetEc2(Ec2T&& value) { m_ec2HasBeenSet =
true; m_ec2 = std::forward<Ec2T>(value); }
60 template<
typename Ec2T = State>
71 template<
typename EcrT = State>
72 void SetEcr(EcrT&& value) { m_ecrHasBeenSet =
true; m_ecr = std::forward<EcrT>(value); }
73 template<
typename EcrT = State>
84 template<
typename LambdaT = State>
85 void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet =
true; m_lambda = std::forward<LambdaT>(value); }
86 template<
typename LambdaT = State>
97 template<
typename LambdaCodeT = State>
98 void SetLambdaCode(LambdaCodeT&& value) { m_lambdaCodeHasBeenSet =
true; m_lambdaCode = std::forward<LambdaCodeT>(value); }
99 template<
typename LambdaCodeT = State>
104 State m_codeRepository;
105 bool m_codeRepositoryHasBeenSet =
false;
108 bool m_ec2HasBeenSet =
false;
111 bool m_ecrHasBeenSet =
false;
114 bool m_lambdaHasBeenSet =
false;
117 bool m_lambdaCodeHasBeenSet =
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