7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
91 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
105 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
117 inline void SetTotalFindings(
int value) { m_totalFindingsHasBeenSet =
true; m_totalFindings = value; }
123 bool m_accountIdHasBeenSet =
false;
126 bool m_lastGeneratedAtHasBeenSet =
false;
129 bool m_resourceIdHasBeenSet =
false;
132 bool m_resourceTypeHasBeenSet =
false;
135 bool m_totalFindingsHasBeenSet =
false;
ResourceStatistics & WithResourceId(const char *value)
bool ResourceTypeHasBeenSet() const
void SetResourceType(Aws::String &&value)
ResourceStatistics & WithLastGeneratedAt(const Aws::Utils::DateTime &value)
ResourceStatistics & WithTotalFindings(int value)
bool ResourceIdHasBeenSet() const
void SetResourceId(const Aws::String &value)
AWS_GUARDDUTY_API ResourceStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
ResourceStatistics & WithResourceType(const char *value)
void SetLastGeneratedAt(Aws::Utils::DateTime &&value)
bool AccountIdHasBeenSet() const
const Aws::String & GetResourceId() const
void SetTotalFindings(int value)
ResourceStatistics & WithLastGeneratedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetResourceType() const
bool LastGeneratedAtHasBeenSet() const
void SetResourceType(const char *value)
ResourceStatistics & WithAccountId(Aws::String &&value)
int GetTotalFindings() const
ResourceStatistics & WithResourceId(Aws::String &&value)
ResourceStatistics & WithAccountId(const char *value)
void SetAccountId(Aws::String &&value)
ResourceStatistics & WithAccountId(const Aws::String &value)
void SetResourceType(const Aws::String &value)
const Aws::Utils::DateTime & GetLastGeneratedAt() const
AWS_GUARDDUTY_API ResourceStatistics()
void SetLastGeneratedAt(const Aws::Utils::DateTime &value)
AWS_GUARDDUTY_API ResourceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceStatistics & WithResourceId(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceStatistics & WithResourceType(const Aws::String &value)
bool TotalFindingsHasBeenSet() const
void SetAccountId(const char *value)
const Aws::String & GetAccountId() const
ResourceStatistics & WithResourceType(Aws::String &&value)
void SetResourceId(Aws::String &&value)
void SetResourceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue