7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
50 template<
typename AccountIdT = Aws::String>
61 template<
typename LastGeneratedAtT = Aws::Utils::DateTime>
62 void SetLastGeneratedAt(LastGeneratedAtT&& value) { m_lastGeneratedAtHasBeenSet =
true; m_lastGeneratedAt = std::forward<LastGeneratedAtT>(value); }
63 template<
typename LastGeneratedAtT = Aws::Utils::DateTime>
87 template<
typename ResourceIdT = Aws::String>
88 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
89 template<
typename ResourceIdT = Aws::String>
99 template<
typename ResourceTypeT = Aws::String>
100 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
101 template<
typename ResourceTypeT = Aws::String>
111 inline void SetTotalFindings(
int value) { m_totalFindingsHasBeenSet =
true; m_totalFindings = value; }
117 bool m_accountIdHasBeenSet =
false;
120 bool m_lastGeneratedAtHasBeenSet =
false;
123 bool m_resourceIdHasBeenSet =
false;
126 bool m_resourceTypeHasBeenSet =
false;
128 int m_totalFindings{0};
129 bool m_totalFindingsHasBeenSet =
false;
bool ResourceTypeHasBeenSet() const
void SetLastGeneratedAt(LastGeneratedAtT &&value)
ResourceStatistics & WithLastGeneratedAt(LastGeneratedAtT &&value)
ResourceStatistics & WithTotalFindings(int value)
bool ResourceIdHasBeenSet() const
AWS_GUARDDUTY_API ResourceStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(ResourceIdT &&value)
bool AccountIdHasBeenSet() const
const Aws::String & GetResourceId() const
void SetTotalFindings(int value)
const Aws::String & GetResourceType() const
bool LastGeneratedAtHasBeenSet() const
ResourceStatistics & WithResourceType(ResourceTypeT &&value)
int GetTotalFindings() const
const Aws::Utils::DateTime & GetLastGeneratedAt() const
AWS_GUARDDUTY_API ResourceStatistics()=default
AWS_GUARDDUTY_API ResourceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceStatistics & WithAccountId(AccountIdT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TotalFindingsHasBeenSet() const
const Aws::String & GetAccountId() const
void SetAccountId(AccountIdT &&value)
ResourceStatistics & WithResourceId(ResourceIdT &&value)
void SetResourceType(ResourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue