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>
50 template<
typename ProtectionGroupIdT = Aws::String>
51 void SetProtectionGroupId(ProtectionGroupIdT&& value) { m_protectionGroupIdHasBeenSet =
true; m_protectionGroupId = std::forward<ProtectionGroupIdT>(value); }
52 template<
typename ProtectionGroupIdT = Aws::String>
111 template<
typename MembersT = Aws::Vector<Aws::String>>
112 void SetMembers(MembersT&& value) { m_membersHasBeenSet =
true; m_members = std::forward<MembersT>(value); }
113 template<
typename MembersT = Aws::Vector<Aws::String>>
115 template<
typename MembersT = Aws::String>
125 template<
typename TagsT = Aws::Vector<Tag>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
127 template<
typename TagsT = Aws::Vector<Tag>>
129 template<
typename TagsT = Tag>
135 bool m_protectionGroupIdHasBeenSet =
false;
138 bool m_aggregationHasBeenSet =
false;
141 bool m_patternHasBeenSet =
false;
144 bool m_resourceTypeHasBeenSet =
false;
147 bool m_membersHasBeenSet =
false;
150 bool m_tagsHasBeenSet =
false;
ProtectionGroupPattern GetPattern() const
void SetAggregation(ProtectionGroupAggregation value)
void SetResourceType(ProtectedResourceType value)
CreateProtectionGroupRequest & AddTags(TagsT &&value)
void SetPattern(ProtectionGroupPattern value)
CreateProtectionGroupRequest & WithProtectionGroupId(ProtectionGroupIdT &&value)
AWS_SHIELD_API Aws::String SerializePayload() const override
CreateProtectionGroupRequest & AddMembers(MembersT &&value)
bool AggregationHasBeenSet() const
void SetProtectionGroupId(ProtectionGroupIdT &&value)
CreateProtectionGroupRequest & WithAggregation(ProtectionGroupAggregation value)
CreateProtectionGroupRequest & WithPattern(ProtectionGroupPattern value)
CreateProtectionGroupRequest & WithTags(TagsT &&value)
bool ResourceTypeHasBeenSet() const
bool TagsHasBeenSet() const
bool MembersHasBeenSet() const
ProtectedResourceType GetResourceType() const
CreateProtectionGroupRequest & WithMembers(MembersT &&value)
CreateProtectionGroupRequest & WithResourceType(ProtectedResourceType value)
AWS_SHIELD_API CreateProtectionGroupRequest()=default
const Aws::Vector< Aws::String > & GetMembers() const
bool ProtectionGroupIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetProtectionGroupId() const
virtual const char * GetServiceRequestName() const override
void SetMembers(MembersT &&value)
void SetTags(TagsT &&value)
bool PatternHasBeenSet() const
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ProtectionGroupAggregation GetAggregation() const
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