7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/shield/ShieldRequest.h>
10#include <aws/shield/Shield_EXPORTS.h>
11#include <aws/shield/model/ProtectedResourceType.h>
12#include <aws/shield/model/ProtectionGroupAggregation.h>
13#include <aws/shield/model/ProtectionGroupPattern.h>
45 template <
typename ProtectionGroupIdT = Aws::String>
47 m_protectionGroupIdHasBeenSet =
true;
48 m_protectionGroupId = std::forward<ProtectionGroupIdT>(value);
50 template <
typename ProtectionGroupIdT = Aws::String>
74 m_aggregationHasBeenSet =
true;
75 m_aggregation = value;
93 m_patternHasBeenSet =
true;
112 m_resourceTypeHasBeenSet =
true;
113 m_resourceType = value;
130 template <
typename MembersT = Aws::Vector<Aws::String>>
132 m_membersHasBeenSet =
true;
133 m_members = std::forward<MembersT>(value);
135 template <
typename MembersT = Aws::Vector<Aws::String>>
140 template <
typename MembersT = Aws::String>
142 m_membersHasBeenSet =
true;
143 m_members.emplace_back(std::forward<MembersT>(value));
157 bool m_protectionGroupIdHasBeenSet =
false;
158 bool m_aggregationHasBeenSet =
false;
159 bool m_patternHasBeenSet =
false;
160 bool m_resourceTypeHasBeenSet =
false;
161 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