AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Stream.h
1
6#pragma once
7#include <aws/keyspacesstreams/KeyspacesStreams_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 KeyspacesStreams
22{
23namespace Model
24{
25
32 class Stream
33 {
34 public:
35 AWS_KEYSPACESSTREAMS_API Stream() = default;
36 AWS_KEYSPACESSTREAMS_API Stream(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KEYSPACESSTREAMS_API Stream& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KEYSPACESSTREAMS_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 template<typename StreamArnT = Aws::String>
48 void SetStreamArn(StreamArnT&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::forward<StreamArnT>(value); }
49 template<typename StreamArnT = Aws::String>
50 Stream& WithStreamArn(StreamArnT&& value) { SetStreamArn(std::forward<StreamArnT>(value)); return *this;}
52
54
58 inline const Aws::String& GetKeyspaceName() const { return m_keyspaceName; }
59 inline bool KeyspaceNameHasBeenSet() const { return m_keyspaceNameHasBeenSet; }
60 template<typename KeyspaceNameT = Aws::String>
61 void SetKeyspaceName(KeyspaceNameT&& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = std::forward<KeyspaceNameT>(value); }
62 template<typename KeyspaceNameT = Aws::String>
63 Stream& WithKeyspaceName(KeyspaceNameT&& value) { SetKeyspaceName(std::forward<KeyspaceNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetTableName() const { return m_tableName; }
71 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
72 template<typename TableNameT = Aws::String>
73 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
74 template<typename TableNameT = Aws::String>
75 Stream& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
77
79
83 inline const Aws::String& GetStreamLabel() const { return m_streamLabel; }
84 inline bool StreamLabelHasBeenSet() const { return m_streamLabelHasBeenSet; }
85 template<typename StreamLabelT = Aws::String>
86 void SetStreamLabel(StreamLabelT&& value) { m_streamLabelHasBeenSet = true; m_streamLabel = std::forward<StreamLabelT>(value); }
87 template<typename StreamLabelT = Aws::String>
88 Stream& WithStreamLabel(StreamLabelT&& value) { SetStreamLabel(std::forward<StreamLabelT>(value)); return *this;}
90 private:
91
92 Aws::String m_streamArn;
93 bool m_streamArnHasBeenSet = false;
94
95 Aws::String m_keyspaceName;
96 bool m_keyspaceNameHasBeenSet = false;
97
98 Aws::String m_tableName;
99 bool m_tableNameHasBeenSet = false;
100
101 Aws::String m_streamLabel;
102 bool m_streamLabelHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace KeyspacesStreams
107} // namespace Aws
const Aws::String & GetKeyspaceName() const
Definition Stream.h:58
Stream & WithStreamArn(StreamArnT &&value)
Definition Stream.h:50
const Aws::String & GetTableName() const
Definition Stream.h:70
AWS_KEYSPACESSTREAMS_API Stream()=default
void SetKeyspaceName(KeyspaceNameT &&value)
Definition Stream.h:61
AWS_KEYSPACESSTREAMS_API Stream & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStreamLabel() const
Definition Stream.h:83
Stream & WithTableName(TableNameT &&value)
Definition Stream.h:75
AWS_KEYSPACESSTREAMS_API Stream(Aws::Utils::Json::JsonView jsonValue)
Stream & WithStreamLabel(StreamLabelT &&value)
Definition Stream.h:88
void SetStreamArn(StreamArnT &&value)
Definition Stream.h:48
void SetTableName(TableNameT &&value)
Definition Stream.h:73
Stream & WithKeyspaceName(KeyspaceNameT &&value)
Definition Stream.h:63
const Aws::String & GetStreamArn() const
Definition Stream.h:45
AWS_KEYSPACESSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreamLabel(StreamLabelT &&value)
Definition Stream.h:86
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue