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>
49 template<
typename ProtectionGroupIdT = Aws::String>
50 void SetProtectionGroupId(ProtectionGroupIdT&& value) { m_protectionGroupIdHasBeenSet =
true; m_protectionGroupId = std::forward<ProtectionGroupIdT>(value); }
51 template<
typename ProtectionGroupIdT = Aws::String>
110 template<
typename MembersT = Aws::Vector<Aws::String>>
111 void SetMembers(MembersT&& value) { m_membersHasBeenSet =
true; m_members = std::forward<MembersT>(value); }
112 template<
typename MembersT = Aws::Vector<Aws::String>>
114 template<
typename MembersT = Aws::String>
120 bool m_protectionGroupIdHasBeenSet =
false;
123 bool m_aggregationHasBeenSet =
false;
126 bool m_patternHasBeenSet =
false;
129 bool m_resourceTypeHasBeenSet =
false;
132 bool m_membersHasBeenSet =
false;
void SetProtectionGroupId(ProtectionGroupIdT &&value)
bool ResourceTypeHasBeenSet() const
bool ProtectionGroupIdHasBeenSet() const
UpdateProtectionGroupRequest & WithResourceType(ProtectedResourceType value)
void SetMembers(MembersT &&value)
bool MembersHasBeenSet() const
UpdateProtectionGroupRequest & WithPattern(ProtectionGroupPattern value)
AWS_SHIELD_API UpdateProtectionGroupRequest()=default
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateProtectionGroupRequest & WithMembers(MembersT &&value)
UpdateProtectionGroupRequest & AddMembers(MembersT &&value)
AWS_SHIELD_API Aws::String SerializePayload() const override
bool AggregationHasBeenSet() const
void SetResourceType(ProtectedResourceType value)
ProtectionGroupAggregation GetAggregation() const
bool PatternHasBeenSet() const
void SetPattern(ProtectionGroupPattern value)
void SetAggregation(ProtectionGroupAggregation value)
ProtectedResourceType GetResourceType() const
const Aws::Vector< Aws::String > & GetMembers() const
ProtectionGroupPattern GetPattern() const
UpdateProtectionGroupRequest & WithProtectionGroupId(ProtectionGroupIdT &&value)
UpdateProtectionGroupRequest & WithAggregation(ProtectionGroupAggregation value)
const Aws::String & GetProtectionGroupId() 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