7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/City.h>
10#include <aws/securityhub/model/Country.h>
11#include <aws/securityhub/model/GeoLocation.h>
12#include <aws/securityhub/model/IpOrganizationDetails.h>
47 template <
typename IpAddressV4T = Aws::String>
49 m_ipAddressV4HasBeenSet =
true;
50 m_ipAddressV4 = std::forward<IpAddressV4T>(value);
52 template <
typename IpAddressV4T = Aws::String>
66 template <
typename OrganizationT = IpOrganizationDetails>
68 m_organizationHasBeenSet =
true;
69 m_organization = std::forward<OrganizationT>(value);
71 template <
typename OrganizationT = IpOrganizationDetails>
84 template <
typename CountryT = Country>
86 m_countryHasBeenSet =
true;
87 m_country = std::forward<CountryT>(value);
89 template <
typename CountryT = Country>
102 template <
typename CityT = City>
104 m_cityHasBeenSet =
true;
105 m_city = std::forward<CityT>(value);
107 template <
typename CityT = City>
109 SetCity(std::forward<CityT>(value));
120 template <
typename GeoLocationT = GeoLocation>
122 m_geoLocationHasBeenSet =
true;
123 m_geoLocation = std::forward<GeoLocationT>(value);
125 template <
typename GeoLocationT = GeoLocation>
141 bool m_ipAddressV4HasBeenSet =
false;
142 bool m_organizationHasBeenSet =
false;
143 bool m_countryHasBeenSet =
false;
144 bool m_cityHasBeenSet =
false;
145 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