AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceDetails.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Inspector2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_INSPECTOR2_API ResourceDetails();
38 AWS_INSPECTOR2_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AwsEc2InstanceDetails& GetAwsEc2Instance() const{ return m_awsEc2Instance; }
49 inline bool AwsEc2InstanceHasBeenSet() const { return m_awsEc2InstanceHasBeenSet; }
50 inline void SetAwsEc2Instance(const AwsEc2InstanceDetails& value) { m_awsEc2InstanceHasBeenSet = true; m_awsEc2Instance = value; }
51 inline void SetAwsEc2Instance(AwsEc2InstanceDetails&& value) { m_awsEc2InstanceHasBeenSet = true; m_awsEc2Instance = std::move(value); }
52 inline ResourceDetails& WithAwsEc2Instance(const AwsEc2InstanceDetails& value) { SetAwsEc2Instance(value); return *this;}
53 inline ResourceDetails& WithAwsEc2Instance(AwsEc2InstanceDetails&& value) { SetAwsEc2Instance(std::move(value)); return *this;}
55
57
61 inline const AwsEcrContainerImageDetails& GetAwsEcrContainerImage() const{ return m_awsEcrContainerImage; }
62 inline bool AwsEcrContainerImageHasBeenSet() const { return m_awsEcrContainerImageHasBeenSet; }
63 inline void SetAwsEcrContainerImage(const AwsEcrContainerImageDetails& value) { m_awsEcrContainerImageHasBeenSet = true; m_awsEcrContainerImage = value; }
64 inline void SetAwsEcrContainerImage(AwsEcrContainerImageDetails&& value) { m_awsEcrContainerImageHasBeenSet = true; m_awsEcrContainerImage = std::move(value); }
68
70
74 inline const AwsLambdaFunctionDetails& GetAwsLambdaFunction() const{ return m_awsLambdaFunction; }
75 inline bool AwsLambdaFunctionHasBeenSet() const { return m_awsLambdaFunctionHasBeenSet; }
76 inline void SetAwsLambdaFunction(const AwsLambdaFunctionDetails& value) { m_awsLambdaFunctionHasBeenSet = true; m_awsLambdaFunction = value; }
77 inline void SetAwsLambdaFunction(AwsLambdaFunctionDetails&& value) { m_awsLambdaFunctionHasBeenSet = true; m_awsLambdaFunction = std::move(value); }
79 inline ResourceDetails& WithAwsLambdaFunction(AwsLambdaFunctionDetails&& value) { SetAwsLambdaFunction(std::move(value)); return *this;}
81 private:
82
83 AwsEc2InstanceDetails m_awsEc2Instance;
84 bool m_awsEc2InstanceHasBeenSet = false;
85
86 AwsEcrContainerImageDetails m_awsEcrContainerImage;
87 bool m_awsEcrContainerImageHasBeenSet = false;
88
89 AwsLambdaFunctionDetails m_awsLambdaFunction;
90 bool m_awsLambdaFunctionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Inspector2
95} // namespace Aws
AWS_INSPECTOR2_API ResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDetails & WithAwsLambdaFunction(AwsLambdaFunctionDetails &&value)
void SetAwsEcrContainerImage(AwsEcrContainerImageDetails &&value)
void SetAwsLambdaFunction(const AwsLambdaFunctionDetails &value)
ResourceDetails & WithAwsEcrContainerImage(const AwsEcrContainerImageDetails &value)
ResourceDetails & WithAwsLambdaFunction(const AwsLambdaFunctionDetails &value)
ResourceDetails & WithAwsEcrContainerImage(AwsEcrContainerImageDetails &&value)
void SetAwsEc2Instance(AwsEc2InstanceDetails &&value)
void SetAwsEcrContainerImage(const AwsEcrContainerImageDetails &value)
const AwsEc2InstanceDetails & GetAwsEc2Instance() const
void SetAwsLambdaFunction(AwsLambdaFunctionDetails &&value)
void SetAwsEc2Instance(const AwsEc2InstanceDetails &value)
ResourceDetails & WithAwsEc2Instance(const AwsEc2InstanceDetails &value)
AWS_INSPECTOR2_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDetails & WithAwsEc2Instance(AwsEc2InstanceDetails &&value)
const AwsEcrContainerImageDetails & GetAwsEcrContainerImage() const
const AwsLambdaFunctionDetails & GetAwsLambdaFunction() const
Aws::Utils::Json::JsonValue JsonValue