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

#include <CreateResourceShareRequest.h>

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

Public Member Functions

 CreateResourceShareRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () 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)
 
CreateResourceShareRequestWithName (const Aws::String &value)
 
CreateResourceShareRequestWithName (Aws::String &&value)
 
CreateResourceShareRequestWithName (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)
 
CreateResourceShareRequestWithResourceArns (const Aws::Vector< Aws::String > &value)
 
CreateResourceShareRequestWithResourceArns (Aws::Vector< Aws::String > &&value)
 
CreateResourceShareRequestAddResourceArns (const Aws::String &value)
 
CreateResourceShareRequestAddResourceArns (Aws::String &&value)
 
CreateResourceShareRequestAddResourceArns (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)
 
CreateResourceShareRequestWithPrincipals (const Aws::Vector< Aws::String > &value)
 
CreateResourceShareRequestWithPrincipals (Aws::Vector< Aws::String > &&value)
 
CreateResourceShareRequestAddPrincipals (const Aws::String &value)
 
CreateResourceShareRequestAddPrincipals (Aws::String &&value)
 
CreateResourceShareRequestAddPrincipals (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)
 
CreateResourceShareRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateResourceShareRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateResourceShareRequestAddTags (const Tag &value)
 
CreateResourceShareRequestAddTags (Tag &&value)
 
bool GetAllowExternalPrincipals () const
 
bool AllowExternalPrincipalsHasBeenSet () const
 
void SetAllowExternalPrincipals (bool value)
 
CreateResourceShareRequestWithAllowExternalPrincipals (bool value)
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
CreateResourceShareRequestWithClientToken (const Aws::String &value)
 
CreateResourceShareRequestWithClientToken (Aws::String &&value)
 
CreateResourceShareRequestWithClientToken (const char *value)
 
const Aws::Vector< Aws::String > & GetPermissionArns () const
 
bool PermissionArnsHasBeenSet () const
 
void SetPermissionArns (const Aws::Vector< Aws::String > &value)
 
void SetPermissionArns (Aws::Vector< Aws::String > &&value)
 
CreateResourceShareRequestWithPermissionArns (const Aws::Vector< Aws::String > &value)
 
CreateResourceShareRequestWithPermissionArns (Aws::Vector< Aws::String > &&value)
 
CreateResourceShareRequestAddPermissionArns (const Aws::String &value)
 
CreateResourceShareRequestAddPermissionArns (Aws::String &&value)
 
CreateResourceShareRequestAddPermissionArns (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 23 of file CreateResourceShareRequest.h.

Constructor & Destructor Documentation

◆ CreateResourceShareRequest()

Aws::RAM::Model::CreateResourceShareRequest::CreateResourceShareRequest ( )

Member Function Documentation

◆ AddPermissionArns() [1/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::AddPermissionArns ( Aws::String &&  value)
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 436 of file CreateResourceShareRequest.h.

◆ AddPermissionArns() [2/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::AddPermissionArns ( const Aws::String value)
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 427 of file CreateResourceShareRequest.h.

◆ AddPermissionArns() [3/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::AddPermissionArns ( const char *  value)
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 445 of file CreateResourceShareRequest.h.

◆ AddPrincipals() [1/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::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 234 of file CreateResourceShareRequest.h.

◆ AddPrincipals() [2/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::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 220 of file CreateResourceShareRequest.h.

◆ AddPrincipals() [3/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::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 248 of file CreateResourceShareRequest.h.

◆ AddResourceArns() [1/3]

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

The ARNs of the resources to associate with the resource share.

Definition at line 116 of file CreateResourceShareRequest.h.

◆ AddResourceArns() [2/3]

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

The ARNs of the resources to associate with the resource share.

Definition at line 111 of file CreateResourceShareRequest.h.

◆ AddResourceArns() [3/3]

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

The ARNs of the resources to associate with the resource share.

Definition at line 121 of file CreateResourceShareRequest.h.

◆ AddTags() [1/2]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::AddTags ( const Tag value)
inline

One or more tags.

Definition at line 284 of file CreateResourceShareRequest.h.

◆ AddTags() [2/2]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::AddTags ( Tag &&  value)
inline

One or more tags.

Definition at line 289 of file CreateResourceShareRequest.h.

◆ AllowExternalPrincipalsHasBeenSet()

bool Aws::RAM::Model::CreateResourceShareRequest::AllowExternalPrincipalsHasBeenSet ( ) const
inline

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

Definition at line 302 of file CreateResourceShareRequest.h.

◆ ClientTokenHasBeenSet()

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

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

Definition at line 327 of file CreateResourceShareRequest.h.

◆ GetAllowExternalPrincipals()

bool Aws::RAM::Model::CreateResourceShareRequest::GetAllowExternalPrincipals ( ) const
inline

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

Definition at line 296 of file CreateResourceShareRequest.h.

◆ GetClientToken()

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

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

Definition at line 321 of file CreateResourceShareRequest.h.

◆ GetName()

const Aws::String& Aws::RAM::Model::CreateResourceShareRequest::GetName ( ) const
inline

The name of the resource share.

Definition at line 40 of file CreateResourceShareRequest.h.

◆ GetPermissionArns()

const Aws::Vector<Aws::String>& Aws::RAM::Model::CreateResourceShareRequest::GetPermissionArns ( ) const
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 373 of file CreateResourceShareRequest.h.

◆ GetPrincipals()

const Aws::Vector<Aws::String>& Aws::RAM::Model::CreateResourceShareRequest::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 136 of file CreateResourceShareRequest.h.

◆ GetResourceArns()

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

The ARNs of the resources to associate with the resource share.

Definition at line 81 of file CreateResourceShareRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file CreateResourceShareRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::RAM::Model::CreateResourceShareRequest::GetTags ( ) const
inline

One or more tags.

Definition at line 254 of file CreateResourceShareRequest.h.

◆ NameHasBeenSet()

bool Aws::RAM::Model::CreateResourceShareRequest::NameHasBeenSet ( ) const
inline

The name of the resource share.

Definition at line 45 of file CreateResourceShareRequest.h.

◆ PermissionArnsHasBeenSet()

bool Aws::RAM::Model::CreateResourceShareRequest::PermissionArnsHasBeenSet ( ) const
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 382 of file CreateResourceShareRequest.h.

◆ PrincipalsHasBeenSet()

bool Aws::RAM::Model::CreateResourceShareRequest::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 150 of file CreateResourceShareRequest.h.

◆ ResourceArnsHasBeenSet()

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

The ARNs of the resources to associate with the resource share.

Definition at line 86 of file CreateResourceShareRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAllowExternalPrincipals()

void Aws::RAM::Model::CreateResourceShareRequest::SetAllowExternalPrincipals ( bool  value)
inline

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

Definition at line 308 of file CreateResourceShareRequest.h.

◆ SetClientToken() [1/3]

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

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

Definition at line 339 of file CreateResourceShareRequest.h.

◆ SetClientToken() [2/3]

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

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

Definition at line 333 of file CreateResourceShareRequest.h.

◆ SetClientToken() [3/3]

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

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

Definition at line 345 of file CreateResourceShareRequest.h.

◆ SetName() [1/3]

void Aws::RAM::Model::CreateResourceShareRequest::SetName ( Aws::String &&  value)
inline

The name of the resource share.

Definition at line 55 of file CreateResourceShareRequest.h.

◆ SetName() [2/3]

void Aws::RAM::Model::CreateResourceShareRequest::SetName ( const Aws::String value)
inline

The name of the resource share.

Definition at line 50 of file CreateResourceShareRequest.h.

◆ SetName() [3/3]

void Aws::RAM::Model::CreateResourceShareRequest::SetName ( const char *  value)
inline

The name of the resource share.

Definition at line 60 of file CreateResourceShareRequest.h.

◆ SetPermissionArns() [1/2]

void Aws::RAM::Model::CreateResourceShareRequest::SetPermissionArns ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 400 of file CreateResourceShareRequest.h.

◆ SetPermissionArns() [2/2]

void Aws::RAM::Model::CreateResourceShareRequest::SetPermissionArns ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 391 of file CreateResourceShareRequest.h.

◆ SetPrincipals() [1/2]

void Aws::RAM::Model::CreateResourceShareRequest::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 178 of file CreateResourceShareRequest.h.

◆ SetPrincipals() [2/2]

void Aws::RAM::Model::CreateResourceShareRequest::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 164 of file CreateResourceShareRequest.h.

◆ SetResourceArns() [1/2]

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

The ARNs of the resources to associate with the resource share.

Definition at line 96 of file CreateResourceShareRequest.h.

◆ SetResourceArns() [2/2]

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

The ARNs of the resources to associate with the resource share.

Definition at line 91 of file CreateResourceShareRequest.h.

◆ SetTags() [1/2]

void Aws::RAM::Model::CreateResourceShareRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

One or more tags.

Definition at line 269 of file CreateResourceShareRequest.h.

◆ SetTags() [2/2]

void Aws::RAM::Model::CreateResourceShareRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

One or more tags.

Definition at line 264 of file CreateResourceShareRequest.h.

◆ TagsHasBeenSet()

bool Aws::RAM::Model::CreateResourceShareRequest::TagsHasBeenSet ( ) const
inline

One or more tags.

Definition at line 259 of file CreateResourceShareRequest.h.

◆ WithAllowExternalPrincipals()

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::WithAllowExternalPrincipals ( bool  value)
inline

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

Definition at line 314 of file CreateResourceShareRequest.h.

◆ WithClientToken() [1/3]

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

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

Definition at line 357 of file CreateResourceShareRequest.h.

◆ WithClientToken() [2/3]

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

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

Definition at line 351 of file CreateResourceShareRequest.h.

◆ WithClientToken() [3/3]

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

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

Definition at line 363 of file CreateResourceShareRequest.h.

◆ WithName() [1/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::WithName ( Aws::String &&  value)
inline

The name of the resource share.

Definition at line 70 of file CreateResourceShareRequest.h.

◆ WithName() [2/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::WithName ( const Aws::String value)
inline

The name of the resource share.

Definition at line 65 of file CreateResourceShareRequest.h.

◆ WithName() [3/3]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::WithName ( const char *  value)
inline

The name of the resource share.

Definition at line 75 of file CreateResourceShareRequest.h.

◆ WithPermissionArns() [1/2]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::WithPermissionArns ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 418 of file CreateResourceShareRequest.h.

◆ WithPermissionArns() [2/2]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::WithPermissionArns ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. Only one permission can be associated with each resource type in a resource share.

Definition at line 409 of file CreateResourceShareRequest.h.

◆ WithPrincipals() [1/2]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::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 206 of file CreateResourceShareRequest.h.

◆ WithPrincipals() [2/2]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::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 192 of file CreateResourceShareRequest.h.

◆ WithResourceArns() [1/2]

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

The ARNs of the resources to associate with the resource share.

Definition at line 106 of file CreateResourceShareRequest.h.

◆ WithResourceArns() [2/2]

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

The ARNs of the resources to associate with the resource share.

Definition at line 101 of file CreateResourceShareRequest.h.

◆ WithTags() [1/2]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

One or more tags.

Definition at line 279 of file CreateResourceShareRequest.h.

◆ WithTags() [2/2]

CreateResourceShareRequest& Aws::RAM::Model::CreateResourceShareRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

One or more tags.

Definition at line 274 of file CreateResourceShareRequest.h.


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