7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename LocationT = Aws::String>
49 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
50 template<
typename LocationT = Aws::String>
60 template<
typename IpAddressT = Aws::String>
61 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
62 template<
typename IpAddressT = Aws::String>
72 inline void SetIsNewForEntireAccount(
bool value) { m_isNewForEntireAccountHasBeenSet =
true; m_isNewForEntireAccount = value; }
78 bool m_locationHasBeenSet =
false;
81 bool m_ipAddressHasBeenSet =
false;
83 bool m_isNewForEntireAccount{
false};
84 bool m_isNewForEntireAccountHasBeenSet =
false;
NewGeolocationDetail & WithIpAddress(IpAddressT &&value)
NewGeolocationDetail & WithLocation(LocationT &&value)
bool GetIsNewForEntireAccount() const
void SetIsNewForEntireAccount(bool value)
AWS_DETECTIVE_API NewGeolocationDetail()=default
bool LocationHasBeenSet() const
bool IsNewForEntireAccountHasBeenSet() const
AWS_DETECTIVE_API NewGeolocationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLocation(LocationT &&value)
void SetIpAddress(IpAddressT &&value)
const Aws::String & GetLocation() const
AWS_DETECTIVE_API NewGeolocationDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIpAddress() const
bool IpAddressHasBeenSet() const
NewGeolocationDetail & WithIsNewForEntireAccount(bool value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue