7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
42 template <
typename AccountIdT = Aws::String>
44 m_accountIdHasBeenSet =
true;
45 m_accountId = std::forward<AccountIdT>(value);
47 template <
typename AccountIdT = Aws::String>
61 template <
typename LastGeneratedAtT = Aws::Utils::DateTime>
63 m_lastGeneratedAtHasBeenSet =
true;
64 m_lastGeneratedAt = std::forward<LastGeneratedAtT>(value);
66 template <
typename LastGeneratedAtT = Aws::Utils::DateTime>
93 template <
typename ResourceIdT = Aws::String>
95 m_resourceIdHasBeenSet =
true;
96 m_resourceId = std::forward<ResourceIdT>(value);
98 template <
typename ResourceIdT = Aws::String>
111 template <
typename ResourceTypeT = Aws::String>
113 m_resourceTypeHasBeenSet =
true;
114 m_resourceType = std::forward<ResourceTypeT>(value);
116 template <
typename ResourceTypeT = Aws::String>
130 m_totalFindingsHasBeenSet =
true;
131 m_totalFindings = value;
147 int m_totalFindings{0};
148 bool m_accountIdHasBeenSet =
false;
149 bool m_lastGeneratedAtHasBeenSet =
false;
150 bool m_resourceIdHasBeenSet =
false;
151 bool m_resourceTypeHasBeenSet =
false;
152 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