AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
InvestigationResourceData.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/InvestigationEc2Instance.h>
9#include <aws/guardduty/model/InvestigationEcsCluster.h>
10#include <aws/guardduty/model/InvestigationEksCluster.h>
11#include <aws/guardduty/model/LambdaFunction.h>
12#include <aws/guardduty/model/RdsDbInstance.h>
13#include <aws/guardduty/model/RdsDbUser.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty {
25namespace Model {
26
36 public:
37 AWS_GUARDDUTY_API InvestigationResourceData() = default;
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const InvestigationEc2Instance& GetEc2Instance() const { return m_ec2Instance; }
47 inline bool Ec2InstanceHasBeenSet() const { return m_ec2InstanceHasBeenSet; }
48 template <typename Ec2InstanceT = InvestigationEc2Instance>
49 void SetEc2Instance(Ec2InstanceT&& value) {
50 m_ec2InstanceHasBeenSet = true;
51 m_ec2Instance = std::forward<Ec2InstanceT>(value);
52 }
53 template <typename Ec2InstanceT = InvestigationEc2Instance>
55 SetEc2Instance(std::forward<Ec2InstanceT>(value));
56 return *this;
57 }
59
61
64 inline const LambdaFunction& GetLambdaFunction() const { return m_lambdaFunction; }
65 inline bool LambdaFunctionHasBeenSet() const { return m_lambdaFunctionHasBeenSet; }
66 template <typename LambdaFunctionT = LambdaFunction>
67 void SetLambdaFunction(LambdaFunctionT&& value) {
68 m_lambdaFunctionHasBeenSet = true;
69 m_lambdaFunction = std::forward<LambdaFunctionT>(value);
70 }
71 template <typename LambdaFunctionT = LambdaFunction>
73 SetLambdaFunction(std::forward<LambdaFunctionT>(value));
74 return *this;
75 }
77
79
82 inline const RdsDbInstance& GetRdsDbInstance() const { return m_rdsDbInstance; }
83 inline bool RdsDbInstanceHasBeenSet() const { return m_rdsDbInstanceHasBeenSet; }
84 template <typename RdsDbInstanceT = RdsDbInstance>
85 void SetRdsDbInstance(RdsDbInstanceT&& value) {
86 m_rdsDbInstanceHasBeenSet = true;
87 m_rdsDbInstance = std::forward<RdsDbInstanceT>(value);
88 }
89 template <typename RdsDbInstanceT = RdsDbInstance>
91 SetRdsDbInstance(std::forward<RdsDbInstanceT>(value));
92 return *this;
93 }
95
97
100 inline const RdsDbUser& GetRdsDbUser() const { return m_rdsDbUser; }
101 inline bool RdsDbUserHasBeenSet() const { return m_rdsDbUserHasBeenSet; }
102 template <typename RdsDbUserT = RdsDbUser>
103 void SetRdsDbUser(RdsDbUserT&& value) {
104 m_rdsDbUserHasBeenSet = true;
105 m_rdsDbUser = std::forward<RdsDbUserT>(value);
106 }
107 template <typename RdsDbUserT = RdsDbUser>
109 SetRdsDbUser(std::forward<RdsDbUserT>(value));
110 return *this;
111 }
113
115
118 inline const InvestigationEksCluster& GetEksCluster() const { return m_eksCluster; }
119 inline bool EksClusterHasBeenSet() const { return m_eksClusterHasBeenSet; }
120 template <typename EksClusterT = InvestigationEksCluster>
121 void SetEksCluster(EksClusterT&& value) {
122 m_eksClusterHasBeenSet = true;
123 m_eksCluster = std::forward<EksClusterT>(value);
124 }
125 template <typename EksClusterT = InvestigationEksCluster>
127 SetEksCluster(std::forward<EksClusterT>(value));
128 return *this;
129 }
131
133
136 inline const InvestigationEcsCluster& GetEcsCluster() const { return m_ecsCluster; }
137 inline bool EcsClusterHasBeenSet() const { return m_ecsClusterHasBeenSet; }
138 template <typename EcsClusterT = InvestigationEcsCluster>
139 void SetEcsCluster(EcsClusterT&& value) {
140 m_ecsClusterHasBeenSet = true;
141 m_ecsCluster = std::forward<EcsClusterT>(value);
142 }
143 template <typename EcsClusterT = InvestigationEcsCluster>
145 SetEcsCluster(std::forward<EcsClusterT>(value));
146 return *this;
147 }
149 private:
150 InvestigationEc2Instance m_ec2Instance;
151
152 LambdaFunction m_lambdaFunction;
153
154 RdsDbInstance m_rdsDbInstance;
155
156 RdsDbUser m_rdsDbUser;
157
158 InvestigationEksCluster m_eksCluster;
159
160 InvestigationEcsCluster m_ecsCluster;
161 bool m_ec2InstanceHasBeenSet = false;
162 bool m_lambdaFunctionHasBeenSet = false;
163 bool m_rdsDbInstanceHasBeenSet = false;
164 bool m_rdsDbUserHasBeenSet = false;
165 bool m_eksClusterHasBeenSet = false;
166 bool m_ecsClusterHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace GuardDuty
171} // namespace Aws
AWS_GUARDDUTY_API InvestigationResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API InvestigationResourceData(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
InvestigationResourceData & WithLambdaFunction(LambdaFunctionT &&value)
const InvestigationEksCluster & GetEksCluster() const
InvestigationResourceData & WithEksCluster(EksClusterT &&value)
const InvestigationEc2Instance & GetEc2Instance() const
const InvestigationEcsCluster & GetEcsCluster() const
InvestigationResourceData & WithEc2Instance(Ec2InstanceT &&value)
InvestigationResourceData & WithRdsDbInstance(RdsDbInstanceT &&value)
AWS_GUARDDUTY_API InvestigationResourceData()=default
InvestigationResourceData & WithRdsDbUser(RdsDbUserT &&value)
InvestigationResourceData & WithEcsCluster(EcsClusterT &&value)
Aws::Utils::Json::JsonValue JsonValue