7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
43 template <
typename ApiT = Aws::String>
45 m_apiHasBeenSet =
true;
46 m_api = std::forward<ApiT>(value);
48 template <
typename ApiT = Aws::String>
50 SetApi(std::forward<ApiT>(value));
62 template <
typename ApiServiceNameT = Aws::String>
64 m_apiServiceNameHasBeenSet =
true;
65 m_apiServiceName = std::forward<ApiServiceNameT>(value);
67 template <
typename ApiServiceNameT = Aws::String>
81 template <
typename FirstSeenT = Aws::Utils::DateTime>
83 m_firstSeenHasBeenSet =
true;
84 m_firstSeen = std::forward<FirstSeenT>(value);
86 template <
typename FirstSeenT = Aws::Utils::DateTime>
100 template <
typename LastSeenT = Aws::Utils::DateTime>
102 m_lastSeenHasBeenSet =
true;
103 m_lastSeen = std::forward<LastSeenT>(value);
105 template <
typename LastSeenT = Aws::Utils::DateTime>
119 bool m_apiHasBeenSet =
false;
120 bool m_apiServiceNameHasBeenSet =
false;
121 bool m_firstSeenHasBeenSet =
false;
122 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