AWS SDK for C++  1.9.132
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::SNS::Model::AddPermissionRequest Class Reference

#include <AddPermissionRequest.h>

+ Inheritance diagram for Aws::SNS::Model::AddPermissionRequest:

Public Member Functions

 AddPermissionRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetTopicArn () const
 
bool TopicArnHasBeenSet () const
 
void SetTopicArn (const Aws::String &value)
 
void SetTopicArn (Aws::String &&value)
 
void SetTopicArn (const char *value)
 
AddPermissionRequestWithTopicArn (const Aws::String &value)
 
AddPermissionRequestWithTopicArn (Aws::String &&value)
 
AddPermissionRequestWithTopicArn (const char *value)
 
const Aws::StringGetLabel () const
 
bool LabelHasBeenSet () const
 
void SetLabel (const Aws::String &value)
 
void SetLabel (Aws::String &&value)
 
void SetLabel (const char *value)
 
AddPermissionRequestWithLabel (const Aws::String &value)
 
AddPermissionRequestWithLabel (Aws::String &&value)
 
AddPermissionRequestWithLabel (const char *value)
 
const Aws::Vector< Aws::String > & GetAWSAccountId () const
 
bool AWSAccountIdHasBeenSet () const
 
void SetAWSAccountId (const Aws::Vector< Aws::String > &value)
 
void SetAWSAccountId (Aws::Vector< Aws::String > &&value)
 
AddPermissionRequestWithAWSAccountId (const Aws::Vector< Aws::String > &value)
 
AddPermissionRequestWithAWSAccountId (Aws::Vector< Aws::String > &&value)
 
AddPermissionRequestAddAWSAccountId (const Aws::String &value)
 
AddPermissionRequestAddAWSAccountId (Aws::String &&value)
 
AddPermissionRequestAddAWSAccountId (const char *value)
 
const Aws::Vector< Aws::String > & GetActionName () const
 
bool ActionNameHasBeenSet () const
 
void SetActionName (const Aws::Vector< Aws::String > &value)
 
void SetActionName (Aws::Vector< Aws::String > &&value)
 
AddPermissionRequestWithActionName (const Aws::Vector< Aws::String > &value)
 
AddPermissionRequestWithActionName (Aws::Vector< Aws::String > &&value)
 
AddPermissionRequestAddActionName (const Aws::String &value)
 
AddPermissionRequestAddActionName (Aws::String &&value)
 
AddPermissionRequestAddActionName (const char *value)
 
- Public Member Functions inherited from Aws::SNS::SNSRequest
virtual ~SNSRequest ()
 
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
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::SNS::SNSRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 22 of file AddPermissionRequest.h.

Constructor & Destructor Documentation

◆ AddPermissionRequest()

Aws::SNS::Model::AddPermissionRequest::AddPermissionRequest ( )

Member Function Documentation

◆ ActionNameHasBeenSet()

bool Aws::SNS::Model::AddPermissionRequest::ActionNameHasBeenSet ( ) const
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 196 of file AddPermissionRequest.h.

◆ AddActionName() [1/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::AddActionName ( Aws::String &&  value)
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 232 of file AddPermissionRequest.h.

◆ AddActionName() [2/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::AddActionName ( const Aws::String value)
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 226 of file AddPermissionRequest.h.

◆ AddActionName() [3/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::AddActionName ( const char *  value)
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 238 of file AddPermissionRequest.h.

◆ AddAWSAccountId() [1/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::AddAWSAccountId ( Aws::String &&  value)
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 176 of file AddPermissionRequest.h.

◆ AddAWSAccountId() [2/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::AddAWSAccountId ( const Aws::String value)
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 169 of file AddPermissionRequest.h.

◆ AddAWSAccountId() [3/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::AddAWSAccountId ( const char *  value)
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 183 of file AddPermissionRequest.h.

◆ AWSAccountIdHasBeenSet()

bool Aws::SNS::Model::AddPermissionRequest::AWSAccountIdHasBeenSet ( ) const
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 134 of file AddPermissionRequest.h.

◆ DumpBodyToUrl()

void Aws::SNS::Model::AddPermissionRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetActionName()

const Aws::Vector<Aws::String>& Aws::SNS::Model::AddPermissionRequest::GetActionName ( ) const
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 190 of file AddPermissionRequest.h.

◆ GetAWSAccountId()

const Aws::Vector<Aws::String>& Aws::SNS::Model::AddPermissionRequest::GetAWSAccountId ( ) const
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 127 of file AddPermissionRequest.h.

◆ GetLabel()

const Aws::String& Aws::SNS::Model::AddPermissionRequest::GetLabel ( ) const
inline

A unique identifier for the new policy statement.

Definition at line 84 of file AddPermissionRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::SNS::Model::AddPermissionRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file AddPermissionRequest.h.

◆ GetTopicArn()

const Aws::String& Aws::SNS::Model::AddPermissionRequest::GetTopicArn ( ) const
inline

The ARN of the topic whose access control policy you wish to modify.

Definition at line 43 of file AddPermissionRequest.h.

◆ LabelHasBeenSet()

bool Aws::SNS::Model::AddPermissionRequest::LabelHasBeenSet ( ) const
inline

A unique identifier for the new policy statement.

Definition at line 89 of file AddPermissionRequest.h.

◆ SerializePayload()

Aws::String Aws::SNS::Model::AddPermissionRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetActionName() [1/2]

void Aws::SNS::Model::AddPermissionRequest::SetActionName ( Aws::Vector< Aws::String > &&  value)
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 208 of file AddPermissionRequest.h.

◆ SetActionName() [2/2]

void Aws::SNS::Model::AddPermissionRequest::SetActionName ( const Aws::Vector< Aws::String > &  value)
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 202 of file AddPermissionRequest.h.

◆ SetAWSAccountId() [1/2]

void Aws::SNS::Model::AddPermissionRequest::SetAWSAccountId ( Aws::Vector< Aws::String > &&  value)
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 148 of file AddPermissionRequest.h.

◆ SetAWSAccountId() [2/2]

void Aws::SNS::Model::AddPermissionRequest::SetAWSAccountId ( const Aws::Vector< Aws::String > &  value)
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 141 of file AddPermissionRequest.h.

◆ SetLabel() [1/3]

void Aws::SNS::Model::AddPermissionRequest::SetLabel ( Aws::String &&  value)
inline

A unique identifier for the new policy statement.

Definition at line 99 of file AddPermissionRequest.h.

◆ SetLabel() [2/3]

void Aws::SNS::Model::AddPermissionRequest::SetLabel ( const Aws::String value)
inline

A unique identifier for the new policy statement.

Definition at line 94 of file AddPermissionRequest.h.

◆ SetLabel() [3/3]

void Aws::SNS::Model::AddPermissionRequest::SetLabel ( const char *  value)
inline

A unique identifier for the new policy statement.

Definition at line 104 of file AddPermissionRequest.h.

◆ SetTopicArn() [1/3]

void Aws::SNS::Model::AddPermissionRequest::SetTopicArn ( Aws::String &&  value)
inline

The ARN of the topic whose access control policy you wish to modify.

Definition at line 58 of file AddPermissionRequest.h.

◆ SetTopicArn() [2/3]

void Aws::SNS::Model::AddPermissionRequest::SetTopicArn ( const Aws::String value)
inline

The ARN of the topic whose access control policy you wish to modify.

Definition at line 53 of file AddPermissionRequest.h.

◆ SetTopicArn() [3/3]

void Aws::SNS::Model::AddPermissionRequest::SetTopicArn ( const char *  value)
inline

The ARN of the topic whose access control policy you wish to modify.

Definition at line 63 of file AddPermissionRequest.h.

◆ TopicArnHasBeenSet()

bool Aws::SNS::Model::AddPermissionRequest::TopicArnHasBeenSet ( ) const
inline

The ARN of the topic whose access control policy you wish to modify.

Definition at line 48 of file AddPermissionRequest.h.

◆ WithActionName() [1/2]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithActionName ( Aws::Vector< Aws::String > &&  value)
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 220 of file AddPermissionRequest.h.

◆ WithActionName() [2/2]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithActionName ( const Aws::Vector< Aws::String > &  value)
inline

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

Definition at line 214 of file AddPermissionRequest.h.

◆ WithAWSAccountId() [1/2]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithAWSAccountId ( Aws::Vector< Aws::String > &&  value)
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 162 of file AddPermissionRequest.h.

◆ WithAWSAccountId() [2/2]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithAWSAccountId ( const Aws::Vector< Aws::String > &  value)
inline

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

Definition at line 155 of file AddPermissionRequest.h.

◆ WithLabel() [1/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithLabel ( Aws::String &&  value)
inline

A unique identifier for the new policy statement.

Definition at line 114 of file AddPermissionRequest.h.

◆ WithLabel() [2/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithLabel ( const Aws::String value)
inline

A unique identifier for the new policy statement.

Definition at line 109 of file AddPermissionRequest.h.

◆ WithLabel() [3/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithLabel ( const char *  value)
inline

A unique identifier for the new policy statement.

Definition at line 119 of file AddPermissionRequest.h.

◆ WithTopicArn() [1/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithTopicArn ( Aws::String &&  value)
inline

The ARN of the topic whose access control policy you wish to modify.

Definition at line 73 of file AddPermissionRequest.h.

◆ WithTopicArn() [2/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithTopicArn ( const Aws::String value)
inline

The ARN of the topic whose access control policy you wish to modify.

Definition at line 68 of file AddPermissionRequest.h.

◆ WithTopicArn() [3/3]

AddPermissionRequest& Aws::SNS::Model::AddPermissionRequest::WithTopicArn ( const char *  value)
inline

The ARN of the topic whose access control policy you wish to modify.

Definition at line 78 of file AddPermissionRequest.h.


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