114 lines
3.6 KiB
C++
114 lines
3.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/securityhub/SecurityHub_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SecurityHub
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>The current DynamoDB Streams configuration for the table.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsDynamoDbTableStreamSpecification">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SECURITYHUB_API AwsDynamoDbTableStreamSpecification
|
|
{
|
|
public:
|
|
AwsDynamoDbTableStreamSpecification();
|
|
AwsDynamoDbTableStreamSpecification(Aws::Utils::Json::JsonView jsonValue);
|
|
AwsDynamoDbTableStreamSpecification& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>Indicates whether DynamoDB Streams is enabled on the table.</p>
|
|
*/
|
|
inline bool GetStreamEnabled() const{ return m_streamEnabled; }
|
|
|
|
/**
|
|
* <p>Indicates whether DynamoDB Streams is enabled on the table.</p>
|
|
*/
|
|
inline bool StreamEnabledHasBeenSet() const { return m_streamEnabledHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Indicates whether DynamoDB Streams is enabled on the table.</p>
|
|
*/
|
|
inline void SetStreamEnabled(bool value) { m_streamEnabledHasBeenSet = true; m_streamEnabled = value; }
|
|
|
|
/**
|
|
* <p>Indicates whether DynamoDB Streams is enabled on the table.</p>
|
|
*/
|
|
inline AwsDynamoDbTableStreamSpecification& WithStreamEnabled(bool value) { SetStreamEnabled(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Determines the information that is written to the table.</p>
|
|
*/
|
|
inline const Aws::String& GetStreamViewType() const{ return m_streamViewType; }
|
|
|
|
/**
|
|
* <p>Determines the information that is written to the table.</p>
|
|
*/
|
|
inline bool StreamViewTypeHasBeenSet() const { return m_streamViewTypeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Determines the information that is written to the table.</p>
|
|
*/
|
|
inline void SetStreamViewType(const Aws::String& value) { m_streamViewTypeHasBeenSet = true; m_streamViewType = value; }
|
|
|
|
/**
|
|
* <p>Determines the information that is written to the table.</p>
|
|
*/
|
|
inline void SetStreamViewType(Aws::String&& value) { m_streamViewTypeHasBeenSet = true; m_streamViewType = std::move(value); }
|
|
|
|
/**
|
|
* <p>Determines the information that is written to the table.</p>
|
|
*/
|
|
inline void SetStreamViewType(const char* value) { m_streamViewTypeHasBeenSet = true; m_streamViewType.assign(value); }
|
|
|
|
/**
|
|
* <p>Determines the information that is written to the table.</p>
|
|
*/
|
|
inline AwsDynamoDbTableStreamSpecification& WithStreamViewType(const Aws::String& value) { SetStreamViewType(value); return *this;}
|
|
|
|
/**
|
|
* <p>Determines the information that is written to the table.</p>
|
|
*/
|
|
inline AwsDynamoDbTableStreamSpecification& WithStreamViewType(Aws::String&& value) { SetStreamViewType(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Determines the information that is written to the table.</p>
|
|
*/
|
|
inline AwsDynamoDbTableStreamSpecification& WithStreamViewType(const char* value) { SetStreamViewType(value); return *this;}
|
|
|
|
private:
|
|
|
|
bool m_streamEnabled;
|
|
bool m_streamEnabledHasBeenSet;
|
|
|
|
Aws::String m_streamViewType;
|
|
bool m_streamViewTypeHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SecurityHub
|
|
} // namespace Aws
|