7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/shield/model/ProtectionGroupAggregation.h>
11#include <aws/shield/model/ProtectionGroupPattern.h>
12#include <aws/shield/model/ProtectedResourceType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/shield/model/Tag.h>
52 inline void SetProtectionGroupId(
const char* value) { m_protectionGroupIdHasBeenSet =
true; m_protectionGroupId.assign(value); }
144 bool m_protectionGroupIdHasBeenSet =
false;
147 bool m_aggregationHasBeenSet =
false;
150 bool m_patternHasBeenSet =
false;
153 bool m_resourceTypeHasBeenSet =
false;
156 bool m_membersHasBeenSet =
false;
159 bool m_tagsHasBeenSet =
false;
void SetProtectionGroupId(const char *value)
CreateProtectionGroupRequest & WithProtectionGroupId(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateProtectionGroupRequest & AddTags(const Tag &value)
AWS_SHIELD_API Aws::String SerializePayload() const override
void SetTags(const Aws::Vector< Tag > &value)
const ProtectionGroupAggregation & GetAggregation() const
bool AggregationHasBeenSet() const
CreateProtectionGroupRequest & WithProtectionGroupId(const char *value)
void SetProtectionGroupId(Aws::String &&value)
void SetResourceType(ProtectedResourceType &&value)
CreateProtectionGroupRequest & WithTags(Aws::Vector< Tag > &&value)
void SetPattern(const ProtectionGroupPattern &value)
const ProtectionGroupPattern & GetPattern() const
void SetAggregation(ProtectionGroupAggregation &&value)
CreateProtectionGroupRequest & WithProtectionGroupId(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
bool TagsHasBeenSet() const
bool MembersHasBeenSet() const
CreateProtectionGroupRequest & AddTags(Tag &&value)
void SetAggregation(const ProtectionGroupAggregation &value)
CreateProtectionGroupRequest & WithMembers(Aws::Vector< Aws::String > &&value)
void SetMembers(const Aws::Vector< Aws::String > &value)
AWS_SHIELD_API CreateProtectionGroupRequest()
CreateProtectionGroupRequest & AddMembers(const char *value)
CreateProtectionGroupRequest & WithAggregation(ProtectionGroupAggregation &&value)
CreateProtectionGroupRequest & WithResourceType(ProtectedResourceType &&value)
CreateProtectionGroupRequest & AddMembers(const Aws::String &value)
const ProtectedResourceType & GetResourceType() const
CreateProtectionGroupRequest & WithPattern(const ProtectionGroupPattern &value)
const Aws::Vector< Aws::String > & GetMembers() const
bool ProtectionGroupIdHasBeenSet() const
CreateProtectionGroupRequest & WithPattern(ProtectionGroupPattern &&value)
CreateProtectionGroupRequest & WithMembers(const Aws::Vector< Aws::String > &value)
void SetProtectionGroupId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CreateProtectionGroupRequest & WithAggregation(const ProtectionGroupAggregation &value)
const Aws::String & GetProtectionGroupId() const
virtual const char * GetServiceRequestName() const override
CreateProtectionGroupRequest & WithTags(const Aws::Vector< Tag > &value)
void SetResourceType(const ProtectedResourceType &value)
void SetPattern(ProtectionGroupPattern &&value)
bool PatternHasBeenSet() const
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateProtectionGroupRequest & AddMembers(Aws::String &&value)
CreateProtectionGroupRequest & WithResourceType(const ProtectedResourceType &value)
void SetMembers(Aws::Vector< Aws::String > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ProtectionGroupAggregation
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector