7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/shield/model/ProtectionGroupAggregation.h>
10#include <aws/shield/model/ProtectionGroupPattern.h>
11#include <aws/shield/model/ProtectedResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
56 inline void SetProtectionGroupId(
const char* value) { m_protectionGroupIdHasBeenSet =
true; m_protectionGroupId.assign(value); }
140 inline void SetProtectionGroupArn(
const char* value) { m_protectionGroupArnHasBeenSet =
true; m_protectionGroupArn.assign(value); }
148 bool m_protectionGroupIdHasBeenSet =
false;
151 bool m_aggregationHasBeenSet =
false;
154 bool m_patternHasBeenSet =
false;
157 bool m_resourceTypeHasBeenSet =
false;
160 bool m_membersHasBeenSet =
false;
163 bool m_protectionGroupArnHasBeenSet =
false;
const ProtectedResourceType & GetResourceType() const
void SetAggregation(const ProtectionGroupAggregation &value)
ProtectionGroup & WithResourceType(const ProtectedResourceType &value)
ProtectionGroup & AddMembers(Aws::String &&value)
void SetProtectionGroupId(const char *value)
ProtectionGroup & WithResourceType(ProtectedResourceType &&value)
bool ResourceTypeHasBeenSet() const
void SetPattern(ProtectionGroupPattern &&value)
bool ProtectionGroupIdHasBeenSet() const
ProtectionGroup & WithProtectionGroupId(Aws::String &&value)
ProtectionGroup & WithProtectionGroupId(const char *value)
const Aws::String & GetProtectionGroupArn() const
const ProtectionGroupAggregation & GetAggregation() const
void SetProtectionGroupArn(Aws::String &&value)
void SetMembers(const Aws::Vector< Aws::String > &value)
AWS_SHIELD_API ProtectionGroup(Aws::Utils::Json::JsonView jsonValue)
void SetAggregation(ProtectionGroupAggregation &&value)
void SetMembers(Aws::Vector< Aws::String > &&value)
ProtectionGroup & WithMembers(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetMembers() const
void SetProtectionGroupId(Aws::String &&value)
bool AggregationHasBeenSet() const
AWS_SHIELD_API ProtectionGroup()
ProtectionGroup & WithProtectionGroupArn(const Aws::String &value)
ProtectionGroup & WithProtectionGroupArn(Aws::String &&value)
const Aws::String & GetProtectionGroupId() const
ProtectionGroup & WithPattern(const ProtectionGroupPattern &value)
void SetResourceType(ProtectedResourceType &&value)
ProtectionGroup & AddMembers(const Aws::String &value)
void SetPattern(const ProtectionGroupPattern &value)
void SetProtectionGroupId(const Aws::String &value)
ProtectionGroup & WithPattern(ProtectionGroupPattern &&value)
bool PatternHasBeenSet() const
AWS_SHIELD_API ProtectionGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtectionGroup & WithAggregation(const ProtectionGroupAggregation &value)
bool ProtectionGroupArnHasBeenSet() const
ProtectionGroup & WithProtectionGroupArn(const char *value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectionGroup & WithProtectionGroupId(const Aws::String &value)
ProtectionGroup & AddMembers(const char *value)
ProtectionGroup & WithMembers(const Aws::Vector< Aws::String > &value)
void SetResourceType(const ProtectedResourceType &value)
void SetProtectionGroupArn(const Aws::String &value)
ProtectionGroup & WithAggregation(ProtectionGroupAggregation &&value)
bool MembersHasBeenSet() const
const ProtectionGroupPattern & GetPattern() const
void SetProtectionGroupArn(const char *value)
ProtectionGroupAggregation
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue