7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/SubResourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/shield/model/SummarizedAttackVector.h>
12#include <aws/shield/model/SummarizedCounter.h>
64 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
65 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
101 bool m_typeHasBeenSet =
false;
104 bool m_idHasBeenSet =
false;
107 bool m_attackVectorsHasBeenSet =
false;
110 bool m_countersHasBeenSet =
false;
void SetId(Aws::String &&value)
SubResourceSummary & WithId(Aws::String &&value)
void SetType(const SubResourceType &value)
const Aws::Vector< SummarizedAttackVector > & GetAttackVectors() const
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCounters(const Aws::Vector< SummarizedCounter > &value)
void SetId(const char *value)
SubResourceSummary & WithId(const char *value)
SubResourceSummary & WithAttackVectors(Aws::Vector< SummarizedAttackVector > &&value)
SubResourceSummary & WithCounters(Aws::Vector< SummarizedCounter > &&value)
const SubResourceType & GetType() const
AWS_SHIELD_API SubResourceSummary()
SubResourceSummary & AddAttackVectors(const SummarizedAttackVector &value)
AWS_SHIELD_API SubResourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
SubResourceSummary & WithType(const SubResourceType &value)
SubResourceSummary & WithType(SubResourceType &&value)
void SetId(const Aws::String &value)
SubResourceSummary & WithAttackVectors(const Aws::Vector< SummarizedAttackVector > &value)
SubResourceSummary & AddCounters(SummarizedCounter &&value)
SubResourceSummary & AddAttackVectors(SummarizedAttackVector &&value)
const Aws::Vector< SummarizedCounter > & GetCounters() const
void SetAttackVectors(Aws::Vector< SummarizedAttackVector > &&value)
void SetCounters(Aws::Vector< SummarizedCounter > &&value)
bool AttackVectorsHasBeenSet() const
bool TypeHasBeenSet() const
SubResourceSummary & AddCounters(const SummarizedCounter &value)
void SetType(SubResourceType &&value)
SubResourceSummary & WithCounters(const Aws::Vector< SummarizedCounter > &value)
void SetAttackVectors(const Aws::Vector< SummarizedAttackVector > &value)
const Aws::String & GetId() const
SubResourceSummary & WithId(const Aws::String &value)
AWS_SHIELD_API SubResourceSummary(Aws::Utils::Json::JsonView jsonValue)
bool CountersHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue