AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Stream.h
1
6#pragma once
7#include <aws/dynamodbstreams/DynamoDBStreams_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 DynamoDBStreams
22{
23namespace Model
24{
25
32 class Stream
33 {
34 public:
35 AWS_DYNAMODBSTREAMS_API Stream();
36 AWS_DYNAMODBSTREAMS_API Stream(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DYNAMODBSTREAMS_API Stream& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStreamArn() const{ return m_streamArn; }
46 inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
47 inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; }
48 inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); }
49 inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); }
50 inline Stream& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
51 inline Stream& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
52 inline Stream& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
54
56
59 inline const Aws::String& GetTableName() const{ return m_tableName; }
60 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
61 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
62 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
63 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
64 inline Stream& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
65 inline Stream& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
66 inline Stream& WithTableName(const char* value) { SetTableName(value); return *this;}
68
70
79 inline const Aws::String& GetStreamLabel() const{ return m_streamLabel; }
80 inline bool StreamLabelHasBeenSet() const { return m_streamLabelHasBeenSet; }
81 inline void SetStreamLabel(const Aws::String& value) { m_streamLabelHasBeenSet = true; m_streamLabel = value; }
82 inline void SetStreamLabel(Aws::String&& value) { m_streamLabelHasBeenSet = true; m_streamLabel = std::move(value); }
83 inline void SetStreamLabel(const char* value) { m_streamLabelHasBeenSet = true; m_streamLabel.assign(value); }
84 inline Stream& WithStreamLabel(const Aws::String& value) { SetStreamLabel(value); return *this;}
85 inline Stream& WithStreamLabel(Aws::String&& value) { SetStreamLabel(std::move(value)); return *this;}
86 inline Stream& WithStreamLabel(const char* value) { SetStreamLabel(value); return *this;}
88 private:
89
90 Aws::String m_streamArn;
91 bool m_streamArnHasBeenSet = false;
92
93 Aws::String m_tableName;
94 bool m_tableNameHasBeenSet = false;
95
96 Aws::String m_streamLabel;
97 bool m_streamLabelHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace DynamoDBStreams
102} // namespace Aws
Stream & WithStreamLabel(const char *value)
Definition Stream.h:86
Stream & WithStreamArn(const char *value)
Definition Stream.h:52
const Aws::String & GetTableName() const
Definition Stream.h:59
AWS_DYNAMODBSTREAMS_API Stream()
void SetStreamArn(const Aws::String &value)
Definition Stream.h:47
AWS_DYNAMODBSTREAMS_API Stream(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStreamLabel() const
Definition Stream.h:79
Stream & WithStreamArn(const Aws::String &value)
Definition Stream.h:50
void SetStreamLabel(const char *value)
Definition Stream.h:83
Stream & WithTableName(const char *value)
Definition Stream.h:66
Stream & WithStreamLabel(const Aws::String &value)
Definition Stream.h:84
void SetTableName(Aws::String &&value)
Definition Stream.h:62
void SetStreamLabel(Aws::String &&value)
Definition Stream.h:82
void SetTableName(const char *value)
Definition Stream.h:63
void SetStreamLabel(const Aws::String &value)
Definition Stream.h:81
Stream & WithStreamArn(Aws::String &&value)
Definition Stream.h:51
Stream & WithStreamLabel(Aws::String &&value)
Definition Stream.h:85
Stream & WithTableName(const Aws::String &value)
Definition Stream.h:64
void SetStreamArn(Aws::String &&value)
Definition Stream.h:48
AWS_DYNAMODBSTREAMS_API Stream & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStreamArn() const
Definition Stream.h:45
void SetStreamArn(const char *value)
Definition Stream.h:49
Stream & WithTableName(Aws::String &&value)
Definition Stream.h:65
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTableName(const Aws::String &value)
Definition Stream.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue