7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/City.h>
10#include <aws/guardduty/model/Country.h>
11#include <aws/guardduty/model/GeoLocation.h>
12#include <aws/guardduty/model/Organization.h>
45 template <
typename CityT = City>
47 m_cityHasBeenSet =
true;
48 m_city = std::forward<CityT>(value);
50 template <
typename CityT = City>
52 SetCity(std::forward<CityT>(value));
63 template <
typename CountryT = Country>
65 m_countryHasBeenSet =
true;
66 m_country = std::forward<CountryT>(value);
68 template <
typename CountryT = Country>
81 template <
typename GeoLocationT = GeoLocation>
83 m_geoLocationHasBeenSet =
true;
84 m_geoLocation = std::forward<GeoLocationT>(value);
86 template <
typename GeoLocationT = GeoLocation>
99 template <
typename IpAddressV4T = Aws::String>
101 m_ipAddressV4HasBeenSet =
true;
102 m_ipAddressV4 = std::forward<IpAddressV4T>(value);
104 template <
typename IpAddressV4T = Aws::String>
117 template <
typename IpAddressV6T = Aws::String>
119 m_ipAddressV6HasBeenSet =
true;
120 m_ipAddressV6 = std::forward<IpAddressV6T>(value);
122 template <
typename IpAddressV6T = Aws::String>
135 template <
typename OrganizationT = Organization>
137 m_organizationHasBeenSet =
true;
138 m_organization = std::forward<OrganizationT>(value);
140 template <
typename OrganizationT = Organization>
158 bool m_cityHasBeenSet =
false;
159 bool m_countryHasBeenSet =
false;
160 bool m_geoLocationHasBeenSet =
false;
161 bool m_ipAddressV4HasBeenSet =
false;
162 bool m_ipAddressV6HasBeenSet =
false;
163 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