7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
49 template<
typename ApiT = Aws::String>
50 void SetApi(ApiT&& value) { m_apiHasBeenSet =
true; m_api = std::forward<ApiT>(value); }
51 template<
typename ApiT = Aws::String>
62 template<
typename ApiServiceNameT = Aws::String>
63 void SetApiServiceName(ApiServiceNameT&& value) { m_apiServiceNameHasBeenSet =
true; m_apiServiceName = std::forward<ApiServiceNameT>(value); }
64 template<
typename ApiServiceNameT = Aws::String>
75 template<
typename FirstSeenT = Aws::Utils::DateTime>
76 void SetFirstSeen(FirstSeenT&& value) { m_firstSeenHasBeenSet =
true; m_firstSeen = std::forward<FirstSeenT>(value); }
77 template<
typename FirstSeenT = Aws::Utils::DateTime>
88 template<
typename LastSeenT = Aws::Utils::DateTime>
89 void SetLastSeen(LastSeenT&& value) { m_lastSeenHasBeenSet =
true; m_lastSeen = std::forward<LastSeenT>(value); }
90 template<
typename LastSeenT = Aws::Utils::DateTime>
96 bool m_apiHasBeenSet =
false;
99 bool m_apiServiceNameHasBeenSet =
false;
102 bool m_firstSeenHasBeenSet =
false;
105 bool m_lastSeenHasBeenSet =
false;
ApiCallDetails & WithFirstSeen(FirstSeenT &&value)
const Aws::Utils::DateTime & GetLastSeen() const
void SetLastSeen(LastSeenT &&value)
void SetApi(ApiT &&value)
ApiCallDetails & WithApiServiceName(ApiServiceNameT &&value)
bool FirstSeenHasBeenSet() const
bool LastSeenHasBeenSet() const
AWS_MACIE2_API ApiCallDetails(Aws::Utils::Json::JsonView jsonValue)
void SetFirstSeen(FirstSeenT &&value)
AWS_MACIE2_API ApiCallDetails()=default
const Aws::String & GetApiServiceName() const
ApiCallDetails & WithLastSeen(LastSeenT &&value)
void SetApiServiceName(ApiServiceNameT &&value)
bool ApiHasBeenSet() const
const Aws::Utils::DateTime & GetFirstSeen() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetApi() const
AWS_MACIE2_API ApiCallDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ApiCallDetails & WithApi(ApiT &&value)
bool ApiServiceNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue