7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/IamInstanceProfile.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/NetworkInterface.h>
12#include <aws/guardduty/model/ProductCode.h>
13#include <aws/guardduty/model/Tag.h>
54 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
80 inline void SetImageDescription(
const char* value) { m_imageDescriptionHasBeenSet =
true; m_imageDescription.assign(value); }
94 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
108 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
122 inline void SetInstanceState(
const char* value) { m_instanceStateHasBeenSet =
true; m_instanceState.assign(value); }
136 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
151 inline void SetOutpostArn(
const char* value) { m_outpostArnHasBeenSet =
true; m_outpostArn.assign(value); }
165 inline void SetLaunchTime(
const char* value) { m_launchTimeHasBeenSet =
true; m_launchTime.assign(value); }
193 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
229 bool m_availabilityZoneHasBeenSet =
false;
232 bool m_iamInstanceProfileHasBeenSet =
false;
235 bool m_imageDescriptionHasBeenSet =
false;
238 bool m_imageIdHasBeenSet =
false;
241 bool m_instanceIdHasBeenSet =
false;
244 bool m_instanceStateHasBeenSet =
false;
247 bool m_instanceTypeHasBeenSet =
false;
250 bool m_outpostArnHasBeenSet =
false;
253 bool m_launchTimeHasBeenSet =
false;
256 bool m_networkInterfacesHasBeenSet =
false;
259 bool m_platformHasBeenSet =
false;
262 bool m_productCodesHasBeenSet =
false;
265 bool m_tagsHasBeenSet =
false;
void SetIamInstanceProfile(const IamInstanceProfile &value)
InstanceDetails & WithInstanceId(const char *value)
bool OutpostArnHasBeenSet() const
AWS_GUARDDUTY_API InstanceDetails(Aws::Utils::Json::JsonView jsonValue)
void SetImageId(const Aws::String &value)
InstanceDetails & WithImageId(Aws::String &&value)
void SetInstanceId(const char *value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
bool ImageIdHasBeenSet() const
InstanceDetails & AddNetworkInterfaces(NetworkInterface &&value)
void SetOutpostArn(Aws::String &&value)
bool ImageDescriptionHasBeenSet() const
InstanceDetails & AddTags(Tag &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool LaunchTimeHasBeenSet() const
const Aws::String & GetInstanceType() const
InstanceDetails & WithTags(const Aws::Vector< Tag > &value)
InstanceDetails & WithProductCodes(const Aws::Vector< ProductCode > &value)
AWS_GUARDDUTY_API InstanceDetails()
void SetInstanceState(Aws::String &&value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
InstanceDetails & WithAvailabilityZone(const Aws::String &value)
void SetOutpostArn(const Aws::String &value)
InstanceDetails & WithImageDescription(const char *value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
bool ProductCodesHasBeenSet() const
const Aws::String & GetOutpostArn() const
const Aws::Vector< Tag > & GetTags() const
void SetPlatform(const char *value)
InstanceDetails & WithInstanceType(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
bool NetworkInterfacesHasBeenSet() const
InstanceDetails & WithLaunchTime(const char *value)
InstanceDetails & WithAvailabilityZone(Aws::String &&value)
void SetInstanceType(const char *value)
InstanceDetails & WithInstanceId(const Aws::String &value)
InstanceDetails & AddNetworkInterfaces(const NetworkInterface &value)
bool TagsHasBeenSet() const
void SetImageId(Aws::String &&value)
InstanceDetails & WithIamInstanceProfile(const IamInstanceProfile &value)
bool InstanceTypeHasBeenSet() const
InstanceDetails & WithInstanceId(Aws::String &&value)
void SetLaunchTime(const Aws::String &value)
InstanceDetails & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
void SetLaunchTime(const char *value)
InstanceDetails & WithOutpostArn(const Aws::String &value)
InstanceDetails & WithPlatform(const Aws::String &value)
void SetAvailabilityZone(const char *value)
const Aws::String & GetInstanceState() const
void SetPlatform(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
void SetInstanceState(const Aws::String &value)
void SetImageDescription(const Aws::String &value)
InstanceDetails & WithLaunchTime(const Aws::String &value)
void SetAvailabilityZone(Aws::String &&value)
InstanceDetails & WithOutpostArn(Aws::String &&value)
InstanceDetails & WithImageId(const Aws::String &value)
bool AvailabilityZoneHasBeenSet() const
AWS_GUARDDUTY_API InstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImageDescription(const char *value)
InstanceDetails & WithInstanceState(Aws::String &&value)
InstanceDetails & WithPlatform(const char *value)
InstanceDetails & WithLaunchTime(Aws::String &&value)
void SetLaunchTime(Aws::String &&value)
InstanceDetails & WithInstanceState(const Aws::String &value)
InstanceDetails & AddProductCodes(const ProductCode &value)
InstanceDetails & WithInstanceType(const Aws::String &value)
InstanceDetails & WithIamInstanceProfile(IamInstanceProfile &&value)
InstanceDetails & WithAvailabilityZone(const char *value)
const Aws::String & GetInstanceId() const
const Aws::Vector< ProductCode > & GetProductCodes() const
void SetProductCodes(Aws::Vector< ProductCode > &&value)
bool InstanceStateHasBeenSet() const
InstanceDetails & WithInstanceState(const char *value)
const Aws::String & GetLaunchTime() const
InstanceDetails & AddProductCodes(ProductCode &&value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetImageDescription() const
InstanceDetails & AddTags(const Tag &value)
InstanceDetails & WithInstanceType(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
void SetOutpostArn(const char *value)
const Aws::String & GetAvailabilityZone() const
const Aws::String & GetPlatform() const
InstanceDetails & WithImageDescription(const Aws::String &value)
void SetImageDescription(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
void SetProductCodes(const Aws::Vector< ProductCode > &value)
void SetIamInstanceProfile(IamInstanceProfile &&value)
void SetInstanceType(Aws::String &&value)
InstanceDetails & WithProductCodes(Aws::Vector< ProductCode > &&value)
InstanceDetails & WithOutpostArn(const char *value)
InstanceDetails & WithTags(Aws::Vector< Tag > &&value)
void SetPlatform(Aws::String &&value)
bool PlatformHasBeenSet() const
InstanceDetails & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetInstanceState(const char *value)
InstanceDetails & WithImageDescription(Aws::String &&value)
bool IamInstanceProfileHasBeenSet() const
InstanceDetails & WithPlatform(Aws::String &&value)
const IamInstanceProfile & GetIamInstanceProfile() const
bool InstanceIdHasBeenSet() const
void SetImageId(const char *value)
InstanceDetails & WithImageId(const char *value)
void SetInstanceType(const Aws::String &value)
const Aws::String & GetImageId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue