AWS SDK for C++  1.9.153
AWS SDK for C++
Public Member Functions | List of all members
Aws::Shield::Model::UpdateProtectionGroupRequest Class Reference

#include <UpdateProtectionGroupRequest.h>

+ Inheritance diagram for Aws::Shield::Model::UpdateProtectionGroupRequest:

Public Member Functions

 UpdateProtectionGroupRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetProtectionGroupId () const
 
bool ProtectionGroupIdHasBeenSet () const
 
void SetProtectionGroupId (const Aws::String &value)
 
void SetProtectionGroupId (Aws::String &&value)
 
void SetProtectionGroupId (const char *value)
 
UpdateProtectionGroupRequestWithProtectionGroupId (const Aws::String &value)
 
UpdateProtectionGroupRequestWithProtectionGroupId (Aws::String &&value)
 
UpdateProtectionGroupRequestWithProtectionGroupId (const char *value)
 
const ProtectionGroupAggregationGetAggregation () const
 
bool AggregationHasBeenSet () const
 
void SetAggregation (const ProtectionGroupAggregation &value)
 
void SetAggregation (ProtectionGroupAggregation &&value)
 
UpdateProtectionGroupRequestWithAggregation (const ProtectionGroupAggregation &value)
 
UpdateProtectionGroupRequestWithAggregation (ProtectionGroupAggregation &&value)
 
const ProtectionGroupPatternGetPattern () const
 
bool PatternHasBeenSet () const
 
void SetPattern (const ProtectionGroupPattern &value)
 
void SetPattern (ProtectionGroupPattern &&value)
 
UpdateProtectionGroupRequestWithPattern (const ProtectionGroupPattern &value)
 
UpdateProtectionGroupRequestWithPattern (ProtectionGroupPattern &&value)
 
const ProtectedResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ProtectedResourceType &value)
 
void SetResourceType (ProtectedResourceType &&value)
 
UpdateProtectionGroupRequestWithResourceType (const ProtectedResourceType &value)
 
UpdateProtectionGroupRequestWithResourceType (ProtectedResourceType &&value)
 
const Aws::Vector< Aws::String > & GetMembers () const
 
bool MembersHasBeenSet () const
 
void SetMembers (const Aws::Vector< Aws::String > &value)
 
void SetMembers (Aws::Vector< Aws::String > &&value)
 
UpdateProtectionGroupRequestWithMembers (const Aws::Vector< Aws::String > &value)
 
UpdateProtectionGroupRequestWithMembers (Aws::Vector< Aws::String > &&value)
 
UpdateProtectionGroupRequestAddMembers (const Aws::String &value)
 
UpdateProtectionGroupRequestAddMembers (Aws::String &&value)
 
UpdateProtectionGroupRequestAddMembers (const char *value)
 
- Public Member Functions inherited from Aws::Shield::ShieldRequest
virtual ~ShieldRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 25 of file UpdateProtectionGroupRequest.h.

Constructor & Destructor Documentation

◆ UpdateProtectionGroupRequest()

Aws::Shield::Model::UpdateProtectionGroupRequest::UpdateProtectionGroupRequest ( )

Member Function Documentation

◆ AddMembers() [1/3]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::AddMembers ( Aws::String &&  value)
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 349 of file UpdateProtectionGroupRequest.h.

◆ AddMembers() [2/3]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::AddMembers ( const Aws::String value)
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 341 of file UpdateProtectionGroupRequest.h.

◆ AddMembers() [3/3]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::AddMembers ( const char *  value)
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 357 of file UpdateProtectionGroupRequest.h.

◆ AggregationHasBeenSet()

bool Aws::Shield::Model::UpdateProtectionGroupRequest::AggregationHasBeenSet ( ) const
inline

Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.

  • Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

  • Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

  • Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.

Definition at line 126 of file UpdateProtectionGroupRequest.h.

◆ GetAggregation()

const ProtectionGroupAggregation& Aws::Shield::Model::UpdateProtectionGroupRequest::GetAggregation ( ) const
inline

Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.

  • Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

  • Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

  • Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.

Definition at line 111 of file UpdateProtectionGroupRequest.h.

◆ GetMembers()

const Aws::Vector<Aws::String>& Aws::Shield::Model::UpdateProtectionGroupRequest::GetMembers ( ) const
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 293 of file UpdateProtectionGroupRequest.h.

◆ GetPattern()

const ProtectionGroupPattern& Aws::Shield::Model::UpdateProtectionGroupRequest::GetPattern ( ) const
inline

The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

Definition at line 195 of file UpdateProtectionGroupRequest.h.

◆ GetProtectionGroupId()

const Aws::String& Aws::Shield::Model::UpdateProtectionGroupRequest::GetProtectionGroupId ( ) const
inline

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Definition at line 46 of file UpdateProtectionGroupRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Shield::Model::UpdateProtectionGroupRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Shield::ShieldRequest.

◆ GetResourceType()

const ProtectedResourceType& Aws::Shield::Model::UpdateProtectionGroupRequest::GetResourceType ( ) const
inline

The resource type to include in the protection group. All protected resources of this type are included in the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

Definition at line 244 of file UpdateProtectionGroupRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Shield::Model::UpdateProtectionGroupRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file UpdateProtectionGroupRequest.h.

◆ MembersHasBeenSet()

bool Aws::Shield::Model::UpdateProtectionGroupRequest::MembersHasBeenSet ( ) const
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 301 of file UpdateProtectionGroupRequest.h.

◆ PatternHasBeenSet()

bool Aws::Shield::Model::UpdateProtectionGroupRequest::PatternHasBeenSet ( ) const
inline

The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

Definition at line 203 of file UpdateProtectionGroupRequest.h.

◆ ProtectionGroupIdHasBeenSet()

bool Aws::Shield::Model::UpdateProtectionGroupRequest::ProtectionGroupIdHasBeenSet ( ) const
inline

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Definition at line 53 of file UpdateProtectionGroupRequest.h.

◆ ResourceTypeHasBeenSet()

bool Aws::Shield::Model::UpdateProtectionGroupRequest::ResourceTypeHasBeenSet ( ) const
inline

The resource type to include in the protection group. All protected resources of this type are included in the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

Definition at line 252 of file UpdateProtectionGroupRequest.h.

◆ SerializePayload()

Aws::String Aws::Shield::Model::UpdateProtectionGroupRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAggregation() [1/2]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetAggregation ( const ProtectionGroupAggregation value)
inline

Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.

  • Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

  • Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

  • Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.

Definition at line 141 of file UpdateProtectionGroupRequest.h.

◆ SetAggregation() [2/2]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetAggregation ( ProtectionGroupAggregation &&  value)
inline

Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.

  • Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

  • Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

  • Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.

Definition at line 156 of file UpdateProtectionGroupRequest.h.

◆ SetMembers() [1/2]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetMembers ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 317 of file UpdateProtectionGroupRequest.h.

◆ SetMembers() [2/2]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetMembers ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 309 of file UpdateProtectionGroupRequest.h.

◆ SetPattern() [1/2]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetPattern ( const ProtectionGroupPattern value)
inline

The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

Definition at line 211 of file UpdateProtectionGroupRequest.h.

◆ SetPattern() [2/2]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetPattern ( ProtectionGroupPattern &&  value)
inline

The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

Definition at line 219 of file UpdateProtectionGroupRequest.h.

◆ SetProtectionGroupId() [1/3]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetProtectionGroupId ( Aws::String &&  value)
inline

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Definition at line 67 of file UpdateProtectionGroupRequest.h.

◆ SetProtectionGroupId() [2/3]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetProtectionGroupId ( const Aws::String value)
inline

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Definition at line 60 of file UpdateProtectionGroupRequest.h.

◆ SetProtectionGroupId() [3/3]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetProtectionGroupId ( const char *  value)
inline

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Definition at line 74 of file UpdateProtectionGroupRequest.h.

◆ SetResourceType() [1/2]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetResourceType ( const ProtectedResourceType value)
inline

The resource type to include in the protection group. All protected resources of this type are included in the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

Definition at line 260 of file UpdateProtectionGroupRequest.h.

◆ SetResourceType() [2/2]

void Aws::Shield::Model::UpdateProtectionGroupRequest::SetResourceType ( ProtectedResourceType &&  value)
inline

The resource type to include in the protection group. All protected resources of this type are included in the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

Definition at line 268 of file UpdateProtectionGroupRequest.h.

◆ WithAggregation() [1/2]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithAggregation ( const ProtectionGroupAggregation value)
inline

Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.

  • Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

  • Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

  • Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.

Definition at line 171 of file UpdateProtectionGroupRequest.h.

◆ WithAggregation() [2/2]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithAggregation ( ProtectionGroupAggregation &&  value)
inline

Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.

  • Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

  • Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

  • Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.

Definition at line 186 of file UpdateProtectionGroupRequest.h.

◆ WithMembers() [1/2]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithMembers ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 333 of file UpdateProtectionGroupRequest.h.

◆ WithMembers() [2/2]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithMembers ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

Definition at line 325 of file UpdateProtectionGroupRequest.h.

◆ WithPattern() [1/2]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithPattern ( const ProtectionGroupPattern value)
inline

The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

Definition at line 227 of file UpdateProtectionGroupRequest.h.

◆ WithPattern() [2/2]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithPattern ( ProtectionGroupPattern &&  value)
inline

The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

Definition at line 235 of file UpdateProtectionGroupRequest.h.

◆ WithProtectionGroupId() [1/3]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithProtectionGroupId ( Aws::String &&  value)
inline

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Definition at line 88 of file UpdateProtectionGroupRequest.h.

◆ WithProtectionGroupId() [2/3]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithProtectionGroupId ( const Aws::String value)
inline

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Definition at line 81 of file UpdateProtectionGroupRequest.h.

◆ WithProtectionGroupId() [3/3]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithProtectionGroupId ( const char *  value)
inline

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Definition at line 95 of file UpdateProtectionGroupRequest.h.

◆ WithResourceType() [1/2]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithResourceType ( const ProtectedResourceType value)
inline

The resource type to include in the protection group. All protected resources of this type are included in the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

Definition at line 276 of file UpdateProtectionGroupRequest.h.

◆ WithResourceType() [2/2]

UpdateProtectionGroupRequest& Aws::Shield::Model::UpdateProtectionGroupRequest::WithResourceType ( ProtectedResourceType &&  value)
inline

The resource type to include in the protection group. All protected resources of this type are included in the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

Definition at line 284 of file UpdateProtectionGroupRequest.h.


The documentation for this class was generated from the following file: