AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamSpecification.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/StreamViewType.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 DynamoDB
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DYNAMODB_API StreamSpecification();
38 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetStreamEnabled() const{ return m_streamEnabled; }
47 inline bool StreamEnabledHasBeenSet() const { return m_streamEnabledHasBeenSet; }
48 inline void SetStreamEnabled(bool value) { m_streamEnabledHasBeenSet = true; m_streamEnabled = value; }
49 inline StreamSpecification& WithStreamEnabled(bool value) { SetStreamEnabled(value); return *this;}
51
53
65 inline const StreamViewType& GetStreamViewType() const{ return m_streamViewType; }
66 inline bool StreamViewTypeHasBeenSet() const { return m_streamViewTypeHasBeenSet; }
67 inline void SetStreamViewType(const StreamViewType& value) { m_streamViewTypeHasBeenSet = true; m_streamViewType = value; }
68 inline void SetStreamViewType(StreamViewType&& value) { m_streamViewTypeHasBeenSet = true; m_streamViewType = std::move(value); }
69 inline StreamSpecification& WithStreamViewType(const StreamViewType& value) { SetStreamViewType(value); return *this;}
70 inline StreamSpecification& WithStreamViewType(StreamViewType&& value) { SetStreamViewType(std::move(value)); return *this;}
72 private:
73
74 bool m_streamEnabled;
75 bool m_streamEnabledHasBeenSet = false;
76
77 StreamViewType m_streamViewType;
78 bool m_streamViewTypeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace DynamoDB
83} // namespace Aws
StreamSpecification & WithStreamViewType(const StreamViewType &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreamViewType(const StreamViewType &value)
AWS_DYNAMODB_API StreamSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API StreamSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetStreamViewType(StreamViewType &&value)
StreamSpecification & WithStreamEnabled(bool value)
const StreamViewType & GetStreamViewType() const
StreamSpecification & WithStreamViewType(StreamViewType &&value)
Aws::Utils::Json::JsonValue JsonValue