AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsDynamoDbTableStreamSpecification.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsDynamoDbTableStreamSpecification() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetStreamEnabled() const { return m_streamEnabled; }
46 inline bool StreamEnabledHasBeenSet() const { return m_streamEnabledHasBeenSet; }
47 inline void SetStreamEnabled(bool value) { m_streamEnabledHasBeenSet = true; m_streamEnabled = value; }
48 inline AwsDynamoDbTableStreamSpecification& WithStreamEnabled(bool value) { SetStreamEnabled(value); return *this;}
50
52
55 inline const Aws::String& GetStreamViewType() const { return m_streamViewType; }
56 inline bool StreamViewTypeHasBeenSet() const { return m_streamViewTypeHasBeenSet; }
57 template<typename StreamViewTypeT = Aws::String>
58 void SetStreamViewType(StreamViewTypeT&& value) { m_streamViewTypeHasBeenSet = true; m_streamViewType = std::forward<StreamViewTypeT>(value); }
59 template<typename StreamViewTypeT = Aws::String>
60 AwsDynamoDbTableStreamSpecification& WithStreamViewType(StreamViewTypeT&& value) { SetStreamViewType(std::forward<StreamViewTypeT>(value)); return *this;}
62 private:
63
64 bool m_streamEnabled{false};
65 bool m_streamEnabledHasBeenSet = false;
66
67 Aws::String m_streamViewType;
68 bool m_streamViewTypeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SecurityHub
73} // namespace Aws
AWS_SECURITYHUB_API AwsDynamoDbTableStreamSpecification()=default
AWS_SECURITYHUB_API AwsDynamoDbTableStreamSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsDynamoDbTableStreamSpecification & WithStreamViewType(StreamViewTypeT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsDynamoDbTableStreamSpecification(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue