AWS SDK for C++  1.8.23
AWS SDK for C++
Public Member Functions | List of all members
Aws::IoT::Model::DynamoDBv2Action Class Reference

#include <DynamoDBv2Action.h>

Public Member Functions

 DynamoDBv2Action ()
 
 DynamoDBv2Action (Aws::Utils::Json::JsonView jsonValue)
 
DynamoDBv2Actionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetRoleArn () const
 
bool RoleArnHasBeenSet () const
 
void SetRoleArn (const Aws::String &value)
 
void SetRoleArn (Aws::String &&value)
 
void SetRoleArn (const char *value)
 
DynamoDBv2ActionWithRoleArn (const Aws::String &value)
 
DynamoDBv2ActionWithRoleArn (Aws::String &&value)
 
DynamoDBv2ActionWithRoleArn (const char *value)
 
const PutItemInputGetPutItem () const
 
bool PutItemHasBeenSet () const
 
void SetPutItem (const PutItemInput &value)
 
void SetPutItem (PutItemInput &&value)
 
DynamoDBv2ActionWithPutItem (const PutItemInput &value)
 
DynamoDBv2ActionWithPutItem (PutItemInput &&value)
 

Detailed Description

Describes an action to write to a DynamoDB table.

This DynamoDB action writes each attribute in the message payload into it's own column in the DynamoDB table.

See Also:

AWS API Reference

Definition at line 34 of file DynamoDBv2Action.h.

Constructor & Destructor Documentation

◆ DynamoDBv2Action() [1/2]

Aws::IoT::Model::DynamoDBv2Action::DynamoDBv2Action ( )

◆ DynamoDBv2Action() [2/2]

Aws::IoT::Model::DynamoDBv2Action::DynamoDBv2Action ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetPutItem()

const PutItemInput& Aws::IoT::Model::DynamoDBv2Action::GetPutItem ( ) const
inline

Specifies the DynamoDB table to which the message data will be written. For example:

{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }

Each attribute in the message payload will be written to a separate column in the DynamoDB database.

Definition at line 91 of file DynamoDBv2Action.h.

◆ GetRoleArn()

const Aws::String& Aws::IoT::Model::DynamoDBv2Action::GetRoleArn ( ) const
inline

The ARN of the IAM role that grants access to the DynamoDB table.

Definition at line 46 of file DynamoDBv2Action.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::IoT::Model::DynamoDBv2Action::Jsonize ( ) const

◆ operator=()

DynamoDBv2Action& Aws::IoT::Model::DynamoDBv2Action::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PutItemHasBeenSet()

bool Aws::IoT::Model::DynamoDBv2Action::PutItemHasBeenSet ( ) const
inline

Specifies the DynamoDB table to which the message data will be written. For example:

{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }

Each attribute in the message payload will be written to a separate column in the DynamoDB database.

Definition at line 100 of file DynamoDBv2Action.h.

◆ RoleArnHasBeenSet()

bool Aws::IoT::Model::DynamoDBv2Action::RoleArnHasBeenSet ( ) const
inline

The ARN of the IAM role that grants access to the DynamoDB table.

Definition at line 51 of file DynamoDBv2Action.h.

◆ SetPutItem() [1/2]

void Aws::IoT::Model::DynamoDBv2Action::SetPutItem ( const PutItemInput value)
inline

Specifies the DynamoDB table to which the message data will be written. For example:

{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }

Each attribute in the message payload will be written to a separate column in the DynamoDB database.

Definition at line 109 of file DynamoDBv2Action.h.

◆ SetPutItem() [2/2]

void Aws::IoT::Model::DynamoDBv2Action::SetPutItem ( PutItemInput &&  value)
inline

Specifies the DynamoDB table to which the message data will be written. For example:

{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }

Each attribute in the message payload will be written to a separate column in the DynamoDB database.

Definition at line 118 of file DynamoDBv2Action.h.

◆ SetRoleArn() [1/3]

void Aws::IoT::Model::DynamoDBv2Action::SetRoleArn ( const Aws::String value)
inline

The ARN of the IAM role that grants access to the DynamoDB table.

Definition at line 56 of file DynamoDBv2Action.h.

◆ SetRoleArn() [2/3]

void Aws::IoT::Model::DynamoDBv2Action::SetRoleArn ( Aws::String &&  value)
inline

The ARN of the IAM role that grants access to the DynamoDB table.

Definition at line 61 of file DynamoDBv2Action.h.

◆ SetRoleArn() [3/3]

void Aws::IoT::Model::DynamoDBv2Action::SetRoleArn ( const char *  value)
inline

The ARN of the IAM role that grants access to the DynamoDB table.

Definition at line 66 of file DynamoDBv2Action.h.

◆ WithPutItem() [1/2]

DynamoDBv2Action& Aws::IoT::Model::DynamoDBv2Action::WithPutItem ( const PutItemInput value)
inline

Specifies the DynamoDB table to which the message data will be written. For example:

{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }

Each attribute in the message payload will be written to a separate column in the DynamoDB database.

Definition at line 127 of file DynamoDBv2Action.h.

◆ WithPutItem() [2/2]

DynamoDBv2Action& Aws::IoT::Model::DynamoDBv2Action::WithPutItem ( PutItemInput &&  value)
inline

Specifies the DynamoDB table to which the message data will be written. For example:

{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }

Each attribute in the message payload will be written to a separate column in the DynamoDB database.

Definition at line 136 of file DynamoDBv2Action.h.

◆ WithRoleArn() [1/3]

DynamoDBv2Action& Aws::IoT::Model::DynamoDBv2Action::WithRoleArn ( const Aws::String value)
inline

The ARN of the IAM role that grants access to the DynamoDB table.

Definition at line 71 of file DynamoDBv2Action.h.

◆ WithRoleArn() [2/3]

DynamoDBv2Action& Aws::IoT::Model::DynamoDBv2Action::WithRoleArn ( Aws::String &&  value)
inline

The ARN of the IAM role that grants access to the DynamoDB table.

Definition at line 76 of file DynamoDBv2Action.h.

◆ WithRoleArn() [3/3]

DynamoDBv2Action& Aws::IoT::Model::DynamoDBv2Action::WithRoleArn ( const char *  value)
inline

The ARN of the IAM role that grants access to the DynamoDB table.

Definition at line 81 of file DynamoDBv2Action.h.


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