7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 inline void SetApi(
Aws::String&& value) { m_apiHasBeenSet =
true; m_api = std::move(value); }
51 inline void SetApi(
const char* value) { m_apiHasBeenSet =
true; m_api.assign(value); }
66 inline void SetApiServiceName(
const char* value) { m_apiServiceNameHasBeenSet =
true; m_apiServiceName.assign(value); }
100 bool m_apiHasBeenSet =
false;
103 bool m_apiServiceNameHasBeenSet =
false;
106 bool m_firstSeenHasBeenSet =
false;
109 bool m_lastSeenHasBeenSet =
false;
ApiCallDetails & WithApi(Aws::String &&value)
ApiCallDetails & WithLastSeen(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastSeen() const
ApiCallDetails & WithApi(const Aws::String &value)
ApiCallDetails & WithFirstSeen(Aws::Utils::DateTime &&value)
ApiCallDetails & WithApi(const char *value)
bool FirstSeenHasBeenSet() const
void SetLastSeen(const Aws::Utils::DateTime &value)
bool LastSeenHasBeenSet() const
ApiCallDetails & WithLastSeen(const Aws::Utils::DateTime &value)
ApiCallDetails & WithApiServiceName(Aws::String &&value)
void SetApi(Aws::String &&value)
AWS_MACIE2_API ApiCallDetails(Aws::Utils::Json::JsonView jsonValue)
ApiCallDetails & WithFirstSeen(const Aws::Utils::DateTime &value)
void SetFirstSeen(const Aws::Utils::DateTime &value)
const Aws::String & GetApiServiceName() const
AWS_MACIE2_API ApiCallDetails()
void SetApi(const char *value)
void SetApiServiceName(const Aws::String &value)
ApiCallDetails & WithApiServiceName(const char *value)
void SetFirstSeen(Aws::Utils::DateTime &&value)
ApiCallDetails & WithApiServiceName(const Aws::String &value)
bool ApiHasBeenSet() const
void SetApiServiceName(const char *value)
const Aws::Utils::DateTime & GetFirstSeen() const
void SetApiServiceName(Aws::String &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetApi(const Aws::String &value)
const Aws::String & GetApi() const
AWS_MACIE2_API ApiCallDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastSeen(Aws::Utils::DateTime &&value)
bool ApiServiceNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue