AWS SDK for C++  1.9.131
AWS SDK for C++
Public Member Functions | List of all members
Aws::WorkSpaces::Model::ImagePermission Class Reference

#include <ImagePermission.h>

Public Member Functions

 ImagePermission ()
 
 ImagePermission (Aws::Utils::Json::JsonView jsonValue)
 
ImagePermissionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetSharedAccountId () const
 
bool SharedAccountIdHasBeenSet () const
 
void SetSharedAccountId (const Aws::String &value)
 
void SetSharedAccountId (Aws::String &&value)
 
void SetSharedAccountId (const char *value)
 
ImagePermissionWithSharedAccountId (const Aws::String &value)
 
ImagePermissionWithSharedAccountId (Aws::String &&value)
 
ImagePermissionWithSharedAccountId (const char *value)
 

Detailed Description

Describes the Amazon Web Services accounts that have been granted permission to use a shared image. For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.

See Also:

AWS API Reference

Definition at line 34 of file ImagePermission.h.

Constructor & Destructor Documentation

◆ ImagePermission() [1/2]

Aws::WorkSpaces::Model::ImagePermission::ImagePermission ( )

◆ ImagePermission() [2/2]

Aws::WorkSpaces::Model::ImagePermission::ImagePermission ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetSharedAccountId()

const Aws::String& Aws::WorkSpaces::Model::ImagePermission::GetSharedAccountId ( ) const
inline

The identifier of the Amazon Web Services account that an image has been shared with.

Definition at line 47 of file ImagePermission.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::WorkSpaces::Model::ImagePermission::Jsonize ( ) const

◆ operator=()

ImagePermission& Aws::WorkSpaces::Model::ImagePermission::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetSharedAccountId() [1/3]

void Aws::WorkSpaces::Model::ImagePermission::SetSharedAccountId ( Aws::String &&  value)
inline

The identifier of the Amazon Web Services account that an image has been shared with.

Definition at line 65 of file ImagePermission.h.

◆ SetSharedAccountId() [2/3]

void Aws::WorkSpaces::Model::ImagePermission::SetSharedAccountId ( const Aws::String value)
inline

The identifier of the Amazon Web Services account that an image has been shared with.

Definition at line 59 of file ImagePermission.h.

◆ SetSharedAccountId() [3/3]

void Aws::WorkSpaces::Model::ImagePermission::SetSharedAccountId ( const char *  value)
inline

The identifier of the Amazon Web Services account that an image has been shared with.

Definition at line 71 of file ImagePermission.h.

◆ SharedAccountIdHasBeenSet()

bool Aws::WorkSpaces::Model::ImagePermission::SharedAccountIdHasBeenSet ( ) const
inline

The identifier of the Amazon Web Services account that an image has been shared with.

Definition at line 53 of file ImagePermission.h.

◆ WithSharedAccountId() [1/3]

ImagePermission& Aws::WorkSpaces::Model::ImagePermission::WithSharedAccountId ( Aws::String &&  value)
inline

The identifier of the Amazon Web Services account that an image has been shared with.

Definition at line 83 of file ImagePermission.h.

◆ WithSharedAccountId() [2/3]

ImagePermission& Aws::WorkSpaces::Model::ImagePermission::WithSharedAccountId ( const Aws::String value)
inline

The identifier of the Amazon Web Services account that an image has been shared with.

Definition at line 77 of file ImagePermission.h.

◆ WithSharedAccountId() [3/3]

ImagePermission& Aws::WorkSpaces::Model::ImagePermission::WithSharedAccountId ( const char *  value)
inline

The identifier of the Amazon Web Services account that an image has been shared with.

Definition at line 89 of file ImagePermission.h.


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