AWS SDK for C++  1.8.94
AWS SDK for C++
Public Member Functions | List of all members
Aws::Greengrass::Model::ResourceAccessPolicy Class Reference

#include <ResourceAccessPolicy.h>

Public Member Functions

 ResourceAccessPolicy ()
 
 ResourceAccessPolicy (Aws::Utils::Json::JsonView jsonValue)
 
ResourceAccessPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const PermissionGetPermission () const
 
bool PermissionHasBeenSet () const
 
void SetPermission (const Permission &value)
 
void SetPermission (Permission &&value)
 
ResourceAccessPolicyWithPermission (const Permission &value)
 
ResourceAccessPolicyWithPermission (Permission &&value)
 
const Aws::StringGetResourceId () const
 
bool ResourceIdHasBeenSet () const
 
void SetResourceId (const Aws::String &value)
 
void SetResourceId (Aws::String &&value)
 
void SetResourceId (const char *value)
 
ResourceAccessPolicyWithResourceId (const Aws::String &value)
 
ResourceAccessPolicyWithResourceId (Aws::String &&value)
 
ResourceAccessPolicyWithResourceId (const char *value)
 

Detailed Description

A policy used by the function to access a resource.

See Also:

AWS API Reference

Definition at line 32 of file ResourceAccessPolicy.h.

Constructor & Destructor Documentation

◆ ResourceAccessPolicy() [1/2]

Aws::Greengrass::Model::ResourceAccessPolicy::ResourceAccessPolicy ( )

◆ ResourceAccessPolicy() [2/2]

Aws::Greengrass::Model::ResourceAccessPolicy::ResourceAccessPolicy ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetPermission()

const Permission& Aws::Greengrass::Model::ResourceAccessPolicy::GetPermission ( ) const
inline

The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

Definition at line 45 of file ResourceAccessPolicy.h.

◆ GetResourceId()

const Aws::String& Aws::Greengrass::Model::ResourceAccessPolicy::GetResourceId ( ) const
inline

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

Definition at line 82 of file ResourceAccessPolicy.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Greengrass::Model::ResourceAccessPolicy::Jsonize ( ) const

◆ operator=()

ResourceAccessPolicy& Aws::Greengrass::Model::ResourceAccessPolicy::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PermissionHasBeenSet()

bool Aws::Greengrass::Model::ResourceAccessPolicy::PermissionHasBeenSet ( ) const
inline

The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

Definition at line 51 of file ResourceAccessPolicy.h.

◆ ResourceIdHasBeenSet()

bool Aws::Greengrass::Model::ResourceAccessPolicy::ResourceIdHasBeenSet ( ) const
inline

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

Definition at line 88 of file ResourceAccessPolicy.h.

◆ SetPermission() [1/2]

void Aws::Greengrass::Model::ResourceAccessPolicy::SetPermission ( const Permission value)
inline

The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

Definition at line 57 of file ResourceAccessPolicy.h.

◆ SetPermission() [2/2]

void Aws::Greengrass::Model::ResourceAccessPolicy::SetPermission ( Permission &&  value)
inline

The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

Definition at line 63 of file ResourceAccessPolicy.h.

◆ SetResourceId() [1/3]

void Aws::Greengrass::Model::ResourceAccessPolicy::SetResourceId ( const Aws::String value)
inline

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

Definition at line 94 of file ResourceAccessPolicy.h.

◆ SetResourceId() [2/3]

void Aws::Greengrass::Model::ResourceAccessPolicy::SetResourceId ( Aws::String &&  value)
inline

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

Definition at line 100 of file ResourceAccessPolicy.h.

◆ SetResourceId() [3/3]

void Aws::Greengrass::Model::ResourceAccessPolicy::SetResourceId ( const char *  value)
inline

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

Definition at line 106 of file ResourceAccessPolicy.h.

◆ WithPermission() [1/2]

ResourceAccessPolicy& Aws::Greengrass::Model::ResourceAccessPolicy::WithPermission ( const Permission value)
inline

The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

Definition at line 69 of file ResourceAccessPolicy.h.

◆ WithPermission() [2/2]

ResourceAccessPolicy& Aws::Greengrass::Model::ResourceAccessPolicy::WithPermission ( Permission &&  value)
inline

The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

Definition at line 75 of file ResourceAccessPolicy.h.

◆ WithResourceId() [1/3]

ResourceAccessPolicy& Aws::Greengrass::Model::ResourceAccessPolicy::WithResourceId ( const Aws::String value)
inline

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

Definition at line 112 of file ResourceAccessPolicy.h.

◆ WithResourceId() [2/3]

ResourceAccessPolicy& Aws::Greengrass::Model::ResourceAccessPolicy::WithResourceId ( Aws::String &&  value)
inline

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

Definition at line 118 of file ResourceAccessPolicy.h.

◆ WithResourceId() [3/3]

ResourceAccessPolicy& Aws::Greengrass::Model::ResourceAccessPolicy::WithResourceId ( const char *  value)
inline

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

Definition at line 124 of file ResourceAccessPolicy.h.


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