/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoT { namespace Model { /** *

The input for the DynamoActionVS action that specifies the DynamoDB table to * which the message data will be written.

See Also:

AWS * API Reference

*/ class PutItemInput { public: AWS_IOT_API PutItemInput(); AWS_IOT_API PutItemInput(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API PutItemInput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The table where the message data will be written.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

The table where the message data will be written.

*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

The table where the message data will be written.

*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *

The table where the message data will be written.

*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *

The table where the message data will be written.

*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *

The table where the message data will be written.

*/ inline PutItemInput& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The table where the message data will be written.

*/ inline PutItemInput& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

The table where the message data will be written.

*/ inline PutItemInput& WithTableName(const char* value) { SetTableName(value); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws