7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/City.h>
9#include <aws/guardduty/model/Country.h>
10#include <aws/guardduty/model/GeoLocation.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/guardduty/model/Organization.h>
51 template<
typename CityT = City>
52 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
53 template<
typename CityT = City>
63 template<
typename CountryT = Country>
64 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
65 template<
typename CountryT = Country>
75 template<
typename GeoLocationT = GeoLocation>
76 void SetGeoLocation(GeoLocationT&& value) { m_geoLocationHasBeenSet =
true; m_geoLocation = std::forward<GeoLocationT>(value); }
77 template<
typename GeoLocationT = GeoLocation>
87 template<
typename IpAddressV4T = Aws::String>
88 void SetIpAddressV4(IpAddressV4T&& value) { m_ipAddressV4HasBeenSet =
true; m_ipAddressV4 = std::forward<IpAddressV4T>(value); }
89 template<
typename IpAddressV4T = Aws::String>
99 template<
typename IpAddressV6T = Aws::String>
100 void SetIpAddressV6(IpAddressV6T&& value) { m_ipAddressV6HasBeenSet =
true; m_ipAddressV6 = std::forward<IpAddressV6T>(value); }
101 template<
typename IpAddressV6T = Aws::String>
111 template<
typename OrganizationT = Organization>
112 void SetOrganization(OrganizationT&& value) { m_organizationHasBeenSet =
true; m_organization = std::forward<OrganizationT>(value); }
113 template<
typename OrganizationT = Organization>
119 bool m_cityHasBeenSet =
false;
122 bool m_countryHasBeenSet =
false;
125 bool m_geoLocationHasBeenSet =
false;
128 bool m_ipAddressV4HasBeenSet =
false;
131 bool m_ipAddressV6HasBeenSet =
false;
134 bool m_organizationHasBeenSet =
false;
void SetCity(CityT &&value)
const Organization & GetOrganization() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const GeoLocation & GetGeoLocation() const
RemoteIpDetails & WithIpAddressV4(IpAddressV4T &&value)
bool IpAddressV4HasBeenSet() const
AWS_GUARDDUTY_API RemoteIpDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RemoteIpDetails & WithCountry(CountryT &&value)
void SetCountry(CountryT &&value)
RemoteIpDetails & WithGeoLocation(GeoLocationT &&value)
const Country & GetCountry() const
void SetIpAddressV4(IpAddressV4T &&value)
const Aws::String & GetIpAddressV6() const
void SetIpAddressV6(IpAddressV6T &&value)
void SetGeoLocation(GeoLocationT &&value)
const Aws::String & GetIpAddressV4() const
AWS_GUARDDUTY_API RemoteIpDetails(Aws::Utils::Json::JsonView jsonValue)
bool CityHasBeenSet() const
bool GeoLocationHasBeenSet() const
AWS_GUARDDUTY_API RemoteIpDetails()=default
RemoteIpDetails & WithOrganization(OrganizationT &&value)
RemoteIpDetails & WithCity(CityT &&value)
bool CountryHasBeenSet() const
void SetOrganization(OrganizationT &&value)
const City & GetCity() const
RemoteIpDetails & WithIpAddressV6(IpAddressV6T &&value)
bool OrganizationHasBeenSet() const
bool IpAddressV6HasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue