AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KinesisConfiguration.h
1
6#pragma once
7#include <aws/qldb/QLDB_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 QLDB
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QLDB_API KinesisConfiguration();
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 KinesisConfiguration& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
51 inline KinesisConfiguration& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
52 inline KinesisConfiguration& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
54
56
68 inline bool GetAggregationEnabled() const{ return m_aggregationEnabled; }
69 inline bool AggregationEnabledHasBeenSet() const { return m_aggregationEnabledHasBeenSet; }
70 inline void SetAggregationEnabled(bool value) { m_aggregationEnabledHasBeenSet = true; m_aggregationEnabled = value; }
71 inline KinesisConfiguration& WithAggregationEnabled(bool value) { SetAggregationEnabled(value); return *this;}
73 private:
74
75 Aws::String m_streamArn;
76 bool m_streamArnHasBeenSet = false;
77
78 bool m_aggregationEnabled;
79 bool m_aggregationEnabledHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace QLDB
84} // namespace Aws
void SetStreamArn(const Aws::String &value)
KinesisConfiguration & WithStreamArn(Aws::String &&value)
AWS_QLDB_API KinesisConfiguration(Aws::Utils::Json::JsonView jsonValue)
KinesisConfiguration & WithStreamArn(const char *value)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QLDB_API KinesisConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisConfiguration & WithAggregationEnabled(bool value)
KinesisConfiguration & WithStreamArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue