7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/IamInstanceProfile.h>
11#include <aws/guardduty/model/ProductCode.h>
47 template <
typename AvailabilityZoneT = Aws::String>
49 m_availabilityZoneHasBeenSet =
true;
50 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
52 template <
typename AvailabilityZoneT = Aws::String>
65 template <
typename ImageDescriptionT = Aws::String>
67 m_imageDescriptionHasBeenSet =
true;
68 m_imageDescription = std::forward<ImageDescriptionT>(value);
70 template <
typename ImageDescriptionT = Aws::String>
85 template <
typename InstanceStateT = Aws::String>
87 m_instanceStateHasBeenSet =
true;
88 m_instanceState = std::forward<InstanceStateT>(value);
90 template <
typename InstanceStateT = Aws::String>
101 template <
typename IamInstanceProfileT = IamInstanceProfile>
103 m_iamInstanceProfileHasBeenSet =
true;
104 m_iamInstanceProfile = std::forward<IamInstanceProfileT>(value);
106 template <
typename IamInstanceProfileT = IamInstanceProfile>
119 template <
typename InstanceTypeT = Aws::String>
121 m_instanceTypeHasBeenSet =
true;
122 m_instanceType = std::forward<InstanceTypeT>(value);
124 template <
typename InstanceTypeT = Aws::String>
138 template <
typename OutpostArnT = Aws::String>
140 m_outpostArnHasBeenSet =
true;
141 m_outpostArn = std::forward<OutpostArnT>(value);
143 template <
typename OutpostArnT = Aws::String>
156 template <
typename PlatformT = Aws::String>
158 m_platformHasBeenSet =
true;
159 m_platform = std::forward<PlatformT>(value);
161 template <
typename PlatformT = Aws::String>
174 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
176 m_productCodesHasBeenSet =
true;
177 m_productCodes = std::forward<ProductCodesT>(value);
179 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
184 template <
typename ProductCodesT = ProductCode>
186 m_productCodesHasBeenSet =
true;
187 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
198 template <
typename Ec2NetworkInterfaceU
idsT = Aws::Vector<Aws::String>>
200 m_ec2NetworkInterfaceUidsHasBeenSet =
true;
201 m_ec2NetworkInterfaceUids = std::forward<Ec2NetworkInterfaceUidsT>(value);
203 template <
typename Ec2NetworkInterfaceU
idsT = Aws::Vector<Aws::String>>
208 template <
typename Ec2NetworkInterfaceU
idsT = Aws::String>
210 m_ec2NetworkInterfaceUidsHasBeenSet =
true;
211 m_ec2NetworkInterfaceUids.emplace_back(std::forward<Ec2NetworkInterfaceUidsT>(value));
233 bool m_availabilityZoneHasBeenSet =
false;
234 bool m_imageDescriptionHasBeenSet =
false;
235 bool m_instanceStateHasBeenSet =
false;
236 bool m_iamInstanceProfileHasBeenSet =
false;
237 bool m_instanceTypeHasBeenSet =
false;
238 bool m_outpostArnHasBeenSet =
false;
239 bool m_platformHasBeenSet =
false;
240 bool m_productCodesHasBeenSet =
false;
241 bool m_ec2NetworkInterfaceUidsHasBeenSet =
false;
const Aws::String & GetPlatform() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API Ec2Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIamInstanceProfile(IamInstanceProfileT &&value)
bool OutpostArnHasBeenSet() const
bool InstanceTypeHasBeenSet() const
const Aws::Vector< ProductCode > & GetProductCodes() const
bool ProductCodesHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
Ec2Instance & WithAvailabilityZone(AvailabilityZoneT &&value)
Ec2Instance & WithEc2NetworkInterfaceUids(Ec2NetworkInterfaceUidsT &&value)
const IamInstanceProfile & GetIamInstanceProfile() const
void SetProductCodes(ProductCodesT &&value)
bool Ec2NetworkInterfaceUidsHasBeenSet() const
const Aws::String & GetInstanceType() const
Ec2Instance & AddProductCodes(ProductCodesT &&value)
AWS_GUARDDUTY_API Ec2Instance()=default
Ec2Instance & WithInstanceType(InstanceTypeT &&value)
const Aws::String & GetInstanceState() const
bool PlatformHasBeenSet() const
void SetEc2NetworkInterfaceUids(Ec2NetworkInterfaceUidsT &&value)
void SetPlatform(PlatformT &&value)
bool IamInstanceProfileHasBeenSet() const
const Aws::Vector< Aws::String > & GetEc2NetworkInterfaceUids() const
Ec2Instance & WithOutpostArn(OutpostArnT &&value)
AWS_GUARDDUTY_API Ec2Instance(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAvailabilityZone() const
Ec2Instance & WithImageDescription(ImageDescriptionT &&value)
const Aws::String & GetImageDescription() const
Ec2Instance & WithIamInstanceProfile(IamInstanceProfileT &&value)
void SetImageDescription(ImageDescriptionT &&value)
void SetInstanceType(InstanceTypeT &&value)
Ec2Instance & WithPlatform(PlatformT &&value)
bool ImageDescriptionHasBeenSet() const
Ec2Instance & WithProductCodes(ProductCodesT &&value)
Ec2Instance & AddEc2NetworkInterfaceUids(Ec2NetworkInterfaceUidsT &&value)
void SetInstanceState(InstanceStateT &&value)
const Aws::String & GetOutpostArn() const
bool InstanceStateHasBeenSet() const
void SetOutpostArn(OutpostArnT &&value)
Ec2Instance & WithInstanceState(InstanceStateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue