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 inline void SetCity(
const City& value) { m_cityHasBeenSet =
true; m_city = value; }
52 inline void SetCity(
City&& value) { m_cityHasBeenSet =
true; m_city = std::move(value); }
63 inline void SetCountry(
const Country& value) { m_countryHasBeenSet =
true; m_country = value; }
64 inline void SetCountry(
Country&& value) { m_countryHasBeenSet =
true; m_country = std::move(value); }
89 inline void SetIpAddressV4(
const char* value) { m_ipAddressV4HasBeenSet =
true; m_ipAddressV4.assign(value); }
103 inline void SetIpAddressV6(
const char* value) { m_ipAddressV6HasBeenSet =
true; m_ipAddressV6.assign(value); }
123 bool m_cityHasBeenSet =
false;
126 bool m_countryHasBeenSet =
false;
129 bool m_geoLocationHasBeenSet =
false;
132 bool m_ipAddressV4HasBeenSet =
false;
135 bool m_ipAddressV6HasBeenSet =
false;
138 bool m_organizationHasBeenSet =
false;
void SetCity(City &&value)
void SetCity(const City &value)
void SetOrganization(const Organization &value)
const Organization & GetOrganization() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const GeoLocation & GetGeoLocation() const
bool IpAddressV4HasBeenSet() const
AWS_GUARDDUTY_API RemoteIpDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddressV4(Aws::String &&value)
void SetCountry(const Country &value)
void SetIpAddressV6(Aws::String &&value)
RemoteIpDetails & WithCountry(Country &&value)
RemoteIpDetails & WithIpAddressV4(Aws::String &&value)
void SetIpAddressV4(const char *value)
const Country & GetCountry() const
const Aws::String & GetIpAddressV6() const
RemoteIpDetails & WithIpAddressV4(const char *value)
void SetGeoLocation(const GeoLocation &value)
const Aws::String & GetIpAddressV4() const
AWS_GUARDDUTY_API RemoteIpDetails(Aws::Utils::Json::JsonView jsonValue)
bool CityHasBeenSet() const
RemoteIpDetails & WithIpAddressV6(Aws::String &&value)
RemoteIpDetails & WithIpAddressV4(const Aws::String &value)
void SetGeoLocation(GeoLocation &&value)
bool GeoLocationHasBeenSet() const
void SetIpAddressV4(const Aws::String &value)
RemoteIpDetails & WithGeoLocation(GeoLocation &&value)
RemoteIpDetails & WithCity(City &&value)
RemoteIpDetails & WithOrganization(Organization &&value)
void SetCountry(Country &&value)
RemoteIpDetails & WithCountry(const Country &value)
bool CountryHasBeenSet() const
RemoteIpDetails & WithOrganization(const Organization &value)
void SetIpAddressV6(const char *value)
void SetOrganization(Organization &&value)
void SetIpAddressV6(const Aws::String &value)
AWS_GUARDDUTY_API RemoteIpDetails()
const City & GetCity() const
bool OrganizationHasBeenSet() const
RemoteIpDetails & WithIpAddressV6(const char *value)
RemoteIpDetails & WithCity(const City &value)
RemoteIpDetails & WithIpAddressV6(const Aws::String &value)
bool IpAddressV6HasBeenSet() const
RemoteIpDetails & WithGeoLocation(const GeoLocation &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue