7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/AwsEc2InstanceDetails.h>
9#include <aws/inspector2/model/AwsEcrContainerImageDetails.h>
10#include <aws/inspector2/model/AwsLambdaFunctionDetails.h>
11#include <aws/inspector2/model/CodeRepositoryDetails.h>
12#include <aws/inspector2/model/Image.h>
13#include <aws/inspector2/model/ServerlessFunction.h>
14#include <aws/inspector2/model/Vm.h>
48 template <
typename AwsEc2InstanceT = AwsEc2InstanceDetails>
50 m_awsEc2InstanceHasBeenSet =
true;
51 m_awsEc2Instance = std::forward<AwsEc2InstanceT>(value);
53 template <
typename AwsEc2InstanceT = AwsEc2InstanceDetails>
67 template <
typename AwsEcrContainerImageT = AwsEcrContainerImageDetails>
69 m_awsEcrContainerImageHasBeenSet =
true;
70 m_awsEcrContainerImage = std::forward<AwsEcrContainerImageT>(value);
72 template <
typename AwsEcrContainerImageT = AwsEcrContainerImageDetails>
86 template <
typename AwsLambdaFunctionT = AwsLambdaFunctionDetails>
88 m_awsLambdaFunctionHasBeenSet =
true;
89 m_awsLambdaFunction = std::forward<AwsLambdaFunctionT>(value);
91 template <
typename AwsLambdaFunctionT = AwsLambdaFunctionDetails>
105 template <
typename CodeRepositoryT = CodeRepositoryDetails>
107 m_codeRepositoryHasBeenSet =
true;
108 m_codeRepository = std::forward<CodeRepositoryT>(value);
110 template <
typename CodeRepositoryT = CodeRepositoryDetails>
122 inline const Vm&
GetVm()
const {
return m_vm; }
124 template <
typename VmT = Vm>
126 m_vmHasBeenSet =
true;
127 m_vm = std::forward<VmT>(value);
129 template <
typename VmT = Vm>
131 SetVm(std::forward<VmT>(value));
143 template <
typename ImageT = Image>
145 m_imageHasBeenSet =
true;
146 m_image = std::forward<ImageT>(value);
148 template <
typename ImageT = Image>
150 SetImage(std::forward<ImageT>(value));
162 template <
typename ServerlessFunctionT = ServerlessFunction>
164 m_serverlessFunctionHasBeenSet =
true;
165 m_serverlessFunction = std::forward<ServerlessFunctionT>(value);
167 template <
typename ServerlessFunctionT = ServerlessFunction>
187 bool m_awsEc2InstanceHasBeenSet =
false;
188 bool m_awsEcrContainerImageHasBeenSet =
false;
189 bool m_awsLambdaFunctionHasBeenSet =
false;
190 bool m_codeRepositoryHasBeenSet =
false;
191 bool m_vmHasBeenSet =
false;
192 bool m_imageHasBeenSet =
false;
193 bool m_serverlessFunctionHasBeenSet =
false;
AWS_INSPECTOR2_API ResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServerlessFunction & GetServerlessFunction() const
void SetAwsLambdaFunction(AwsLambdaFunctionT &&value)
bool AwsEc2InstanceHasBeenSet() const
bool CodeRepositoryHasBeenSet() const
ResourceDetails & WithAwsEcrContainerImage(AwsEcrContainerImageT &&value)
ResourceDetails & WithAwsLambdaFunction(AwsLambdaFunctionT &&value)
bool VmHasBeenSet() const
void SetServerlessFunction(ServerlessFunctionT &&value)
bool AwsEcrContainerImageHasBeenSet() const
void SetImage(ImageT &&value)
const AwsEc2InstanceDetails & GetAwsEc2Instance() const
bool ServerlessFunctionHasBeenSet() const
bool ImageHasBeenSet() const
void SetAwsEc2Instance(AwsEc2InstanceT &&value)
const Image & GetImage() const
AWS_INSPECTOR2_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API ResourceDetails()=default
bool AwsLambdaFunctionHasBeenSet() const
ResourceDetails & WithCodeRepository(CodeRepositoryT &&value)
const AwsEcrContainerImageDetails & GetAwsEcrContainerImage() const
void SetAwsEcrContainerImage(AwsEcrContainerImageT &&value)
void SetCodeRepository(CodeRepositoryT &&value)
ResourceDetails & WithServerlessFunction(ServerlessFunctionT &&value)
const CodeRepositoryDetails & GetCodeRepository() const
const AwsLambdaFunctionDetails & GetAwsLambdaFunction() const
ResourceDetails & WithAwsEc2Instance(AwsEc2InstanceT &&value)
ResourceDetails & WithVm(VmT &&value)
ResourceDetails & WithImage(ImageT &&value)
Aws::Utils::Json::JsonValue JsonValue