AWS SDK for C++  1.9.126
AWS SDK for C++
Public Member Functions | List of all members
Aws::RAM::Model::AssociateResourceShareRequest Class Reference

#include <AssociateResourceShareRequest.h>

+ Inheritance diagram for Aws::RAM::Model::AssociateResourceShareRequest:

Public Member Functions

 AssociateResourceShareRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetResourceShareArn () const
 
bool ResourceShareArnHasBeenSet () const
 
void SetResourceShareArn (const Aws::String &value)
 
void SetResourceShareArn (Aws::String &&value)
 
void SetResourceShareArn (const char *value)
 
AssociateResourceShareRequestWithResourceShareArn (const Aws::String &value)
 
AssociateResourceShareRequestWithResourceShareArn (Aws::String &&value)
 
AssociateResourceShareRequestWithResourceShareArn (const char *value)
 
const Aws::Vector< Aws::String > & GetResourceArns () const
 
bool ResourceArnsHasBeenSet () const
 
void SetResourceArns (const Aws::Vector< Aws::String > &value)
 
void SetResourceArns (Aws::Vector< Aws::String > &&value)
 
AssociateResourceShareRequestWithResourceArns (const Aws::Vector< Aws::String > &value)
 
AssociateResourceShareRequestWithResourceArns (Aws::Vector< Aws::String > &&value)
 
AssociateResourceShareRequestAddResourceArns (const Aws::String &value)
 
AssociateResourceShareRequestAddResourceArns (Aws::String &&value)
 
AssociateResourceShareRequestAddResourceArns (const char *value)
 
const Aws::Vector< Aws::String > & GetPrincipals () const
 
bool PrincipalsHasBeenSet () const
 
void SetPrincipals (const Aws::Vector< Aws::String > &value)
 
void SetPrincipals (Aws::Vector< Aws::String > &&value)
 
AssociateResourceShareRequestWithPrincipals (const Aws::Vector< Aws::String > &value)
 
AssociateResourceShareRequestWithPrincipals (Aws::Vector< Aws::String > &&value)
 
AssociateResourceShareRequestAddPrincipals (const Aws::String &value)
 
AssociateResourceShareRequestAddPrincipals (Aws::String &&value)
 
AssociateResourceShareRequestAddPrincipals (const char *value)
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
AssociateResourceShareRequestWithClientToken (const Aws::String &value)
 
AssociateResourceShareRequestWithClientToken (Aws::String &&value)
 
AssociateResourceShareRequestWithClientToken (const char *value)
 
- Public Member Functions inherited from Aws::RAM::RAMRequest
virtual ~RAMRequest ()
 
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::RAM::RAMRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 22 of file AssociateResourceShareRequest.h.

Constructor & Destructor Documentation

◆ AssociateResourceShareRequest()

Aws::RAM::Model::AssociateResourceShareRequest::AssociateResourceShareRequest ( )

Member Function Documentation

◆ AddPrincipals() [1/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::AddPrincipals ( Aws::String &&  value)
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 233 of file AssociateResourceShareRequest.h.

◆ AddPrincipals() [2/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::AddPrincipals ( const Aws::String value)
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 219 of file AssociateResourceShareRequest.h.

◆ AddPrincipals() [3/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::AddPrincipals ( const char *  value)
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 247 of file AssociateResourceShareRequest.h.

◆ AddResourceArns() [1/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::AddResourceArns ( Aws::String &&  value)
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 115 of file AssociateResourceShareRequest.h.

◆ AddResourceArns() [2/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::AddResourceArns ( const Aws::String value)
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 110 of file AssociateResourceShareRequest.h.

◆ AddResourceArns() [3/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::AddResourceArns ( const char *  value)
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 120 of file AssociateResourceShareRequest.h.

◆ ClientTokenHasBeenSet()

bool Aws::RAM::Model::AssociateResourceShareRequest::ClientTokenHasBeenSet ( ) const
inline

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Definition at line 260 of file AssociateResourceShareRequest.h.

◆ GetClientToken()

const Aws::String& Aws::RAM::Model::AssociateResourceShareRequest::GetClientToken ( ) const
inline

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Definition at line 254 of file AssociateResourceShareRequest.h.

◆ GetPrincipals()

const Aws::Vector<Aws::String>& Aws::RAM::Model::AssociateResourceShareRequest::GetPrincipals ( ) const
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 135 of file AssociateResourceShareRequest.h.

◆ GetResourceArns()

const Aws::Vector<Aws::String>& Aws::RAM::Model::AssociateResourceShareRequest::GetResourceArns ( ) const
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 80 of file AssociateResourceShareRequest.h.

◆ GetResourceShareArn()

const Aws::String& Aws::RAM::Model::AssociateResourceShareRequest::GetResourceShareArn ( ) const
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 39 of file AssociateResourceShareRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::RAM::Model::AssociateResourceShareRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file AssociateResourceShareRequest.h.

◆ PrincipalsHasBeenSet()

bool Aws::RAM::Model::AssociateResourceShareRequest::PrincipalsHasBeenSet ( ) const
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 149 of file AssociateResourceShareRequest.h.

◆ ResourceArnsHasBeenSet()

bool Aws::RAM::Model::AssociateResourceShareRequest::ResourceArnsHasBeenSet ( ) const
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 85 of file AssociateResourceShareRequest.h.

◆ ResourceShareArnHasBeenSet()

bool Aws::RAM::Model::AssociateResourceShareRequest::ResourceShareArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 44 of file AssociateResourceShareRequest.h.

◆ SerializePayload()

Aws::String Aws::RAM::Model::AssociateResourceShareRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetClientToken() [1/3]

void Aws::RAM::Model::AssociateResourceShareRequest::SetClientToken ( Aws::String &&  value)
inline

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Definition at line 272 of file AssociateResourceShareRequest.h.

◆ SetClientToken() [2/3]

void Aws::RAM::Model::AssociateResourceShareRequest::SetClientToken ( const Aws::String value)
inline

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Definition at line 266 of file AssociateResourceShareRequest.h.

◆ SetClientToken() [3/3]

void Aws::RAM::Model::AssociateResourceShareRequest::SetClientToken ( const char *  value)
inline

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Definition at line 278 of file AssociateResourceShareRequest.h.

◆ SetPrincipals() [1/2]

void Aws::RAM::Model::AssociateResourceShareRequest::SetPrincipals ( Aws::Vector< Aws::String > &&  value)
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 177 of file AssociateResourceShareRequest.h.

◆ SetPrincipals() [2/2]

void Aws::RAM::Model::AssociateResourceShareRequest::SetPrincipals ( const Aws::Vector< Aws::String > &  value)
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 163 of file AssociateResourceShareRequest.h.

◆ SetResourceArns() [1/2]

void Aws::RAM::Model::AssociateResourceShareRequest::SetResourceArns ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 95 of file AssociateResourceShareRequest.h.

◆ SetResourceArns() [2/2]

void Aws::RAM::Model::AssociateResourceShareRequest::SetResourceArns ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 90 of file AssociateResourceShareRequest.h.

◆ SetResourceShareArn() [1/3]

void Aws::RAM::Model::AssociateResourceShareRequest::SetResourceShareArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 54 of file AssociateResourceShareRequest.h.

◆ SetResourceShareArn() [2/3]

void Aws::RAM::Model::AssociateResourceShareRequest::SetResourceShareArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 49 of file AssociateResourceShareRequest.h.

◆ SetResourceShareArn() [3/3]

void Aws::RAM::Model::AssociateResourceShareRequest::SetResourceShareArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 59 of file AssociateResourceShareRequest.h.

◆ WithClientToken() [1/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithClientToken ( Aws::String &&  value)
inline

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Definition at line 290 of file AssociateResourceShareRequest.h.

◆ WithClientToken() [2/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithClientToken ( const Aws::String value)
inline

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Definition at line 284 of file AssociateResourceShareRequest.h.

◆ WithClientToken() [3/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithClientToken ( const char *  value)
inline

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Definition at line 296 of file AssociateResourceShareRequest.h.

◆ WithPrincipals() [1/2]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithPrincipals ( Aws::Vector< Aws::String > &&  value)
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 205 of file AssociateResourceShareRequest.h.

◆ WithPrincipals() [2/2]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithPrincipals ( const Aws::Vector< Aws::String > &  value)
inline

The principals to associate with the resource share. The possible values are:

  • An Amazon Web Services account ID

  • An Amazon Resource Name (ARN) of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Not all resource types can be shared with IAM roles and IAM users. For more information, see Sharing with IAM roles and IAM users in the Resource Access Manager User Guide.

Definition at line 191 of file AssociateResourceShareRequest.h.

◆ WithResourceArns() [1/2]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithResourceArns ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 105 of file AssociateResourceShareRequest.h.

◆ WithResourceArns() [2/2]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithResourceArns ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Names (ARNs) of the resources.

Definition at line 100 of file AssociateResourceShareRequest.h.

◆ WithResourceShareArn() [1/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithResourceShareArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 69 of file AssociateResourceShareRequest.h.

◆ WithResourceShareArn() [2/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithResourceShareArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 64 of file AssociateResourceShareRequest.h.

◆ WithResourceShareArn() [3/3]

AssociateResourceShareRequest& Aws::RAM::Model::AssociateResourceShareRequest::WithResourceShareArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 74 of file AssociateResourceShareRequest.h.


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