7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/IpOrganizationDetails.h>
10#include <aws/securityhub/model/Country.h>
11#include <aws/securityhub/model/City.h>
12#include <aws/securityhub/model/GeoLocation.h>
55 inline void SetIpAddressV4(
const char* value) { m_ipAddressV4HasBeenSet =
true; m_ipAddressV4.assign(value); }
80 inline void SetCountry(
const Country& value) { m_countryHasBeenSet =
true; m_country = value; }
81 inline void SetCountry(
Country&& value) { m_countryHasBeenSet =
true; m_country = std::move(value); }
92 inline void SetCity(
const City& value) { m_cityHasBeenSet =
true; m_city = value; }
93 inline void SetCity(
City&& value) { m_cityHasBeenSet =
true; m_city = std::move(value); }
112 bool m_ipAddressV4HasBeenSet =
false;
115 bool m_organizationHasBeenSet =
false;
118 bool m_countryHasBeenSet =
false;
121 bool m_cityHasBeenSet =
false;
124 bool m_geoLocationHasBeenSet =
false;
AWS_SECURITYHUB_API ActionRemoteIpDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionRemoteIpDetails & WithCity(const City &value)
void SetCity(const City &value)
const Aws::String & GetIpAddressV4() const
void SetOrganization(const IpOrganizationDetails &value)
void SetIpAddressV4(Aws::String &&value)
ActionRemoteIpDetails & WithCountry(Country &&value)
void SetCity(City &&value)
const Country & GetCountry() const
AWS_SECURITYHUB_API ActionRemoteIpDetails(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddressV4(const char *value)
ActionRemoteIpDetails & WithIpAddressV4(Aws::String &&value)
bool CountryHasBeenSet() const
ActionRemoteIpDetails & WithOrganization(const IpOrganizationDetails &value)
bool GeoLocationHasBeenSet() const
ActionRemoteIpDetails & WithOrganization(IpOrganizationDetails &&value)
void SetGeoLocation(const GeoLocation &value)
void SetIpAddressV4(const Aws::String &value)
ActionRemoteIpDetails & WithIpAddressV4(const char *value)
ActionRemoteIpDetails & WithCountry(const Country &value)
ActionRemoteIpDetails & WithGeoLocation(const GeoLocation &value)
void SetOrganization(IpOrganizationDetails &&value)
void SetCountry(const Country &value)
ActionRemoteIpDetails & WithCity(City &&value)
ActionRemoteIpDetails & WithGeoLocation(GeoLocation &&value)
ActionRemoteIpDetails & WithIpAddressV4(const Aws::String &value)
bool OrganizationHasBeenSet() const
void SetCountry(Country &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool IpAddressV4HasBeenSet() const
void SetGeoLocation(GeoLocation &&value)
const City & GetCity() const
const GeoLocation & GetGeoLocation() const
AWS_SECURITYHUB_API ActionRemoteIpDetails()
bool CityHasBeenSet() const
const IpOrganizationDetails & GetOrganization() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue