7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
41 template <
typename InstanceIdT = Aws::String>
43 m_instanceIdHasBeenSet =
true;
44 m_instanceId = std::forward<InstanceIdT>(value);
46 template <
typename InstanceIdT = Aws::String>
59 template <
typename InstanceTypeT = Aws::String>
61 m_instanceTypeHasBeenSet =
true;
62 m_instanceType = std::forward<InstanceTypeT>(value);
64 template <
typename InstanceTypeT = Aws::String>
77 template <
typename InstanceStateT = Aws::String>
79 m_instanceStateHasBeenSet =
true;
80 m_instanceState = std::forward<InstanceStateT>(value);
82 template <
typename InstanceStateT = Aws::String>
95 template <
typename AvailabilityZoneT = Aws::String>
97 m_availabilityZoneHasBeenSet =
true;
98 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
100 template <
typename AvailabilityZoneT = Aws::String>
113 template <
typename PrivateIpAddressT = Aws::String>
115 m_privateIpAddressHasBeenSet =
true;
116 m_privateIpAddress = std::forward<PrivateIpAddressT>(value);
118 template <
typename PrivateIpAddressT = Aws::String>
131 template <
typename PublicIpT = Aws::String>
133 m_publicIpHasBeenSet =
true;
134 m_publicIp = std::forward<PublicIpT>(value);
136 template <
typename PublicIpT = Aws::String>
149 template <
typename VpcIdT = Aws::String>
151 m_vpcIdHasBeenSet =
true;
152 m_vpcId = std::forward<VpcIdT>(value);
154 template <
typename VpcIdT = Aws::String>
156 SetVpcId(std::forward<VpcIdT>(value));
167 template <
typename SubnetIdT = Aws::String>
169 m_subnetIdHasBeenSet =
true;
170 m_subnetId = std::forward<SubnetIdT>(value);
172 template <
typename SubnetIdT = Aws::String>
186 template <
typename ImageIdT = Aws::String>
188 m_imageIdHasBeenSet =
true;
189 m_imageId = std::forward<ImageIdT>(value);
191 template <
typename ImageIdT = Aws::String>
204 template <
typename LaunchedAtT = Aws::Utils::DateTime>
206 m_launchedAtHasBeenSet =
true;
207 m_launchedAt = std::forward<LaunchedAtT>(value);
209 template <
typename LaunchedAtT = Aws::Utils::DateTime>
235 bool m_instanceIdHasBeenSet =
false;
236 bool m_instanceTypeHasBeenSet =
false;
237 bool m_instanceStateHasBeenSet =
false;
238 bool m_availabilityZoneHasBeenSet =
false;
239 bool m_privateIpAddressHasBeenSet =
false;
240 bool m_publicIpHasBeenSet =
false;
241 bool m_vpcIdHasBeenSet =
false;
242 bool m_subnetIdHasBeenSet =
false;
243 bool m_imageIdHasBeenSet =
false;
244 bool m_launchedAtHasBeenSet =
false;
const Aws::String & GetAvailabilityZone() const
InvestigationEc2Instance & WithSubnetId(SubnetIdT &&value)
bool PublicIpHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInstanceType() const
bool PrivateIpAddressHasBeenSet() const
bool LaunchedAtHasBeenSet() const
void SetPublicIp(PublicIpT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetVpcId() const
void SetLaunchedAt(LaunchedAtT &&value)
const Aws::String & GetSubnetId() const
void SetInstanceType(InstanceTypeT &&value)
const Aws::String & GetPrivateIpAddress() const
void SetPrivateIpAddress(PrivateIpAddressT &&value)
void SetImageId(ImageIdT &&value)
const Aws::String & GetImageId() const
InvestigationEc2Instance & WithInstanceId(InstanceIdT &&value)
InvestigationEc2Instance & WithLaunchedAt(LaunchedAtT &&value)
InvestigationEc2Instance & WithInstanceType(InstanceTypeT &&value)
void SetInstanceState(InstanceStateT &&value)
InvestigationEc2Instance & WithAvailabilityZone(AvailabilityZoneT &&value)
bool InstanceIdHasBeenSet() const
AWS_GUARDDUTY_API InvestigationEc2Instance(Aws::Utils::Json::JsonView jsonValue)
InvestigationEc2Instance & WithVpcId(VpcIdT &&value)
bool ImageIdHasBeenSet() const
bool InstanceStateHasBeenSet() const
bool VpcIdHasBeenSet() const
InvestigationEc2Instance & WithImageId(ImageIdT &&value)
const Aws::String & GetPublicIp() const
void SetSubnetId(SubnetIdT &&value)
AWS_GUARDDUTY_API InvestigationEc2Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SubnetIdHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetInstanceId() const
InvestigationEc2Instance & WithInstanceState(InstanceStateT &&value)
void SetInstanceId(InstanceIdT &&value)
const Aws::Utils::DateTime & GetLaunchedAt() const
AWS_GUARDDUTY_API InvestigationEc2Instance()=default
InvestigationEc2Instance & WithPrivateIpAddress(PrivateIpAddressT &&value)
const Aws::String & GetInstanceState() const
bool InstanceTypeHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
InvestigationEc2Instance & WithPublicIp(PublicIpT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue