/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the DynamoDB Streams configuration for a table in
* DynamoDB.See Also:
AWS
* API Reference
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on * the table.
*/ inline bool GetStreamEnabled() const{ return m_streamEnabled; } /** *Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on * the table.
*/ inline bool StreamEnabledHasBeenSet() const { return m_streamEnabledHasBeenSet; } /** *Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on * the table.
*/ inline void SetStreamEnabled(bool value) { m_streamEnabledHasBeenSet = true; m_streamEnabled = value; } /** *Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on * the table.
*/ inline StreamSpecification& WithStreamEnabled(bool value) { SetStreamEnabled(value); return *this;} /** * When an item in the table is modified, StreamViewType
* determines what information is written to the stream for this table. Valid
* values for StreamViewType
are:
* KEYS_ONLY
- Only the key attributes of the modified item are
* written to the stream.
NEW_IMAGE
- The entire
* item, as it appears after it was modified, is written to the stream.
OLD_IMAGE
- The entire item, as it appeared before it was
* modified, is written to the stream.
* NEW_AND_OLD_IMAGES
- Both the new and the old item images of the
* item are written to the stream.
When an item in the table is modified, StreamViewType
* determines what information is written to the stream for this table. Valid
* values for StreamViewType
are:
* KEYS_ONLY
- Only the key attributes of the modified item are
* written to the stream.
NEW_IMAGE
- The entire
* item, as it appears after it was modified, is written to the stream.
OLD_IMAGE
- The entire item, as it appeared before it was
* modified, is written to the stream.
* NEW_AND_OLD_IMAGES
- Both the new and the old item images of the
* item are written to the stream.
When an item in the table is modified, StreamViewType
* determines what information is written to the stream for this table. Valid
* values for StreamViewType
are:
* KEYS_ONLY
- Only the key attributes of the modified item are
* written to the stream.
NEW_IMAGE
- The entire
* item, as it appears after it was modified, is written to the stream.
OLD_IMAGE
- The entire item, as it appeared before it was
* modified, is written to the stream.
* NEW_AND_OLD_IMAGES
- Both the new and the old item images of the
* item are written to the stream.
When an item in the table is modified, StreamViewType
* determines what information is written to the stream for this table. Valid
* values for StreamViewType
are:
* KEYS_ONLY
- Only the key attributes of the modified item are
* written to the stream.
NEW_IMAGE
- The entire
* item, as it appears after it was modified, is written to the stream.
OLD_IMAGE
- The entire item, as it appeared before it was
* modified, is written to the stream.
* NEW_AND_OLD_IMAGES
- Both the new and the old item images of the
* item are written to the stream.
When an item in the table is modified, StreamViewType
* determines what information is written to the stream for this table. Valid
* values for StreamViewType
are:
* KEYS_ONLY
- Only the key attributes of the modified item are
* written to the stream.
NEW_IMAGE
- The entire
* item, as it appears after it was modified, is written to the stream.
OLD_IMAGE
- The entire item, as it appeared before it was
* modified, is written to the stream.
* NEW_AND_OLD_IMAGES
- Both the new and the old item images of the
* item are written to the stream.
When an item in the table is modified, StreamViewType
* determines what information is written to the stream for this table. Valid
* values for StreamViewType
are:
* KEYS_ONLY
- Only the key attributes of the modified item are
* written to the stream.
NEW_IMAGE
- The entire
* item, as it appears after it was modified, is written to the stream.
OLD_IMAGE
- The entire item, as it appeared before it was
* modified, is written to the stream.
* NEW_AND_OLD_IMAGES
- Both the new and the old item images of the
* item are written to the stream.