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

#include <CreateProtectionRequest.h>

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

Public Member Functions

 CreateProtectionRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateProtectionRequestWithName (const Aws::String &value)
 
CreateProtectionRequestWithName (Aws::String &&value)
 
CreateProtectionRequestWithName (const char *value)
 
const Aws::StringGetResourceArn () const
 
bool ResourceArnHasBeenSet () const
 
void SetResourceArn (const Aws::String &value)
 
void SetResourceArn (Aws::String &&value)
 
void SetResourceArn (const char *value)
 
CreateProtectionRequestWithResourceArn (const Aws::String &value)
 
CreateProtectionRequestWithResourceArn (Aws::String &&value)
 
CreateProtectionRequestWithResourceArn (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateProtectionRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateProtectionRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateProtectionRequestAddTags (const Tag &value)
 
CreateProtectionRequestAddTags (Tag &&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 23 of file CreateProtectionRequest.h.

Constructor & Destructor Documentation

◆ CreateProtectionRequest()

Aws::Shield::Model::CreateProtectionRequest::CreateProtectionRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::AddTags ( const Tag value)
inline

One or more tag key-value pairs for the Protection object that is created.

Definition at line 273 of file CreateProtectionRequest.h.

◆ AddTags() [2/2]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::AddTags ( Tag &&  value)
inline

One or more tag key-value pairs for the Protection object that is created.

Definition at line 279 of file CreateProtectionRequest.h.

◆ GetName()

const Aws::String& Aws::Shield::Model::CreateProtectionRequest::GetName ( ) const
inline

Friendly name for the Protection you are creating.

Definition at line 42 of file CreateProtectionRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::Shield::ShieldRequest.

◆ GetResourceArn()

const Aws::String& Aws::Shield::Model::CreateProtectionRequest::GetResourceArn ( ) const
inline

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name

  • For an Amazon CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id

  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id

  • For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id

  • For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id

Definition at line 97 of file CreateProtectionRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file CreateProtectionRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Shield::Model::CreateProtectionRequest::GetTags ( ) const
inline

One or more tag key-value pairs for the Protection object that is created.

Definition at line 237 of file CreateProtectionRequest.h.

◆ NameHasBeenSet()

bool Aws::Shield::Model::CreateProtectionRequest::NameHasBeenSet ( ) const
inline

Friendly name for the Protection you are creating.

Definition at line 47 of file CreateProtectionRequest.h.

◆ ResourceArnHasBeenSet()

bool Aws::Shield::Model::CreateProtectionRequest::ResourceArnHasBeenSet ( ) const
inline

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name

  • For an Amazon CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id

  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id

  • For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id

  • For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id

Definition at line 116 of file CreateProtectionRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetName() [1/3]

void Aws::Shield::Model::CreateProtectionRequest::SetName ( Aws::String &&  value)
inline

Friendly name for the Protection you are creating.

Definition at line 57 of file CreateProtectionRequest.h.

◆ SetName() [2/3]

void Aws::Shield::Model::CreateProtectionRequest::SetName ( const Aws::String value)
inline

Friendly name for the Protection you are creating.

Definition at line 52 of file CreateProtectionRequest.h.

◆ SetName() [3/3]

void Aws::Shield::Model::CreateProtectionRequest::SetName ( const char *  value)
inline

Friendly name for the Protection you are creating.

Definition at line 62 of file CreateProtectionRequest.h.

◆ SetResourceArn() [1/3]

void Aws::Shield::Model::CreateProtectionRequest::SetResourceArn ( Aws::String &&  value)
inline

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name

  • For an Amazon CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id

  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id

  • For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id

  • For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id

Definition at line 154 of file CreateProtectionRequest.h.

◆ SetResourceArn() [2/3]

void Aws::Shield::Model::CreateProtectionRequest::SetResourceArn ( const Aws::String value)
inline

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name

  • For an Amazon CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id

  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id

  • For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id

  • For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id

Definition at line 135 of file CreateProtectionRequest.h.

◆ SetResourceArn() [3/3]

void Aws::Shield::Model::CreateProtectionRequest::SetResourceArn ( const char *  value)
inline

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name

  • For an Amazon CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id

  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id

  • For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id

  • For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id

Definition at line 173 of file CreateProtectionRequest.h.

◆ SetTags() [1/2]

void Aws::Shield::Model::CreateProtectionRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

One or more tag key-value pairs for the Protection object that is created.

Definition at line 255 of file CreateProtectionRequest.h.

◆ SetTags() [2/2]

void Aws::Shield::Model::CreateProtectionRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

One or more tag key-value pairs for the Protection object that is created.

Definition at line 249 of file CreateProtectionRequest.h.

◆ TagsHasBeenSet()

bool Aws::Shield::Model::CreateProtectionRequest::TagsHasBeenSet ( ) const
inline

One or more tag key-value pairs for the Protection object that is created.

Definition at line 243 of file CreateProtectionRequest.h.

◆ WithName() [1/3]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::WithName ( Aws::String &&  value)
inline

Friendly name for the Protection you are creating.

Definition at line 72 of file CreateProtectionRequest.h.

◆ WithName() [2/3]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::WithName ( const Aws::String value)
inline

Friendly name for the Protection you are creating.

Definition at line 67 of file CreateProtectionRequest.h.

◆ WithName() [3/3]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::WithName ( const char *  value)
inline

Friendly name for the Protection you are creating.

Definition at line 77 of file CreateProtectionRequest.h.

◆ WithResourceArn() [1/3]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::WithResourceArn ( Aws::String &&  value)
inline

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name

  • For an Amazon CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id

  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id

  • For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id

  • For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id

Definition at line 211 of file CreateProtectionRequest.h.

◆ WithResourceArn() [2/3]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::WithResourceArn ( const Aws::String value)
inline

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name

  • For an Amazon CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id

  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id

  • For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id

  • For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id

Definition at line 192 of file CreateProtectionRequest.h.

◆ WithResourceArn() [3/3]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::WithResourceArn ( const char *  value)
inline

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name

  • For an Amazon CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id

  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id

  • For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id

  • For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id

Definition at line 230 of file CreateProtectionRequest.h.

◆ WithTags() [1/2]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

One or more tag key-value pairs for the Protection object that is created.

Definition at line 267 of file CreateProtectionRequest.h.

◆ WithTags() [2/2]

CreateProtectionRequest& Aws::Shield::Model::CreateProtectionRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

One or more tag key-value pairs for the Protection object that is created.

Definition at line 261 of file CreateProtectionRequest.h.


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