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>
53 template<
typename IpAddressV4T = Aws::String>
54 void SetIpAddressV4(IpAddressV4T&& value) { m_ipAddressV4HasBeenSet =
true; m_ipAddressV4 = std::forward<IpAddressV4T>(value); }
55 template<
typename IpAddressV4T = Aws::String>
66 template<
typename OrganizationT = IpOrganizationDetails>
67 void SetOrganization(OrganizationT&& value) { m_organizationHasBeenSet =
true; m_organization = std::forward<OrganizationT>(value); }
68 template<
typename OrganizationT = IpOrganizationDetails>
78 template<
typename CountryT = Country>
79 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
80 template<
typename CountryT = Country>
90 template<
typename CityT = City>
91 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
92 template<
typename CityT = City>
102 template<
typename GeoLocationT = GeoLocation>
103 void SetGeoLocation(GeoLocationT&& value) { m_geoLocationHasBeenSet =
true; m_geoLocation = std::forward<GeoLocationT>(value); }
104 template<
typename GeoLocationT = GeoLocation>
110 bool m_ipAddressV4HasBeenSet =
false;
113 bool m_organizationHasBeenSet =
false;
116 bool m_countryHasBeenSet =
false;
119 bool m_cityHasBeenSet =
false;
122 bool m_geoLocationHasBeenSet =
false;
AWS_SECURITYHUB_API ActionRemoteIpDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ActionRemoteIpDetails()=default
const Aws::String & GetIpAddressV4() const
void SetCountry(CountryT &&value)
ActionRemoteIpDetails & WithGeoLocation(GeoLocationT &&value)
const Country & GetCountry() const
AWS_SECURITYHUB_API ActionRemoteIpDetails(Aws::Utils::Json::JsonView jsonValue)
void SetCity(CityT &&value)
bool CountryHasBeenSet() const
ActionRemoteIpDetails & WithCity(CityT &&value)
bool GeoLocationHasBeenSet() const
ActionRemoteIpDetails & WithCountry(CountryT &&value)
void SetGeoLocation(GeoLocationT &&value)
void SetIpAddressV4(IpAddressV4T &&value)
bool OrganizationHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool IpAddressV4HasBeenSet() const
const City & GetCity() const
const GeoLocation & GetGeoLocation() const
ActionRemoteIpDetails & WithIpAddressV4(IpAddressV4T &&value)
void SetOrganization(OrganizationT &&value)
bool CityHasBeenSet() const
ActionRemoteIpDetails & WithOrganization(OrganizationT &&value)
const IpOrganizationDetails & GetOrganization() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue