7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
40 template <
typename ResourceTypeT = Aws::String>
42 m_resourceTypeHasBeenSet =
true;
43 m_resourceType = std::forward<ResourceTypeT>(value);
45 template <
typename ResourceTypeT = Aws::String>
58 template <
typename IdentifierT = Aws::String>
60 m_identifierHasBeenSet =
true;
61 m_identifier = std::forward<IdentifierT>(value);
63 template <
typename IdentifierT = Aws::String>
74 inline long long GetCount()
const {
return m_count; }
77 m_countHasBeenSet =
true;
91 bool m_resourceTypeHasBeenSet =
false;
92 bool m_identifierHasBeenSet =
false;
93 bool m_countHasBeenSet =
false;
AWS_GUARDDUTY_API ResourceDistribution()=default
ResourceDistribution & WithIdentifier(IdentifierT &&value)
void SetIdentifier(IdentifierT &&value)
void SetCount(long long value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceTypeHasBeenSet() const
ResourceDistribution & WithCount(long long value)
AWS_GUARDDUTY_API ResourceDistribution & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetCount() const
ResourceDistribution & WithResourceType(ResourceTypeT &&value)
const Aws::String & GetResourceType() const
const Aws::String & GetIdentifier() const
bool IdentifierHasBeenSet() const
AWS_GUARDDUTY_API ResourceDistribution(Aws::Utils::Json::JsonView jsonValue)
bool CountHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue