AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
ChannelStreamConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9#include <aws/kinesis/model/RecordConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Kinesis {
21namespace Model {
22
30 public:
31 AWS_KINESIS_API ChannelStreamConfiguration() = default;
34 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
41 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
42 template <typename StreamARNT = Aws::String>
43 void SetStreamARN(StreamARNT&& value) {
44 m_streamARNHasBeenSet = true;
45 m_streamARN = std::forward<StreamARNT>(value);
46 }
47 template <typename StreamARNT = Aws::String>
49 SetStreamARN(std::forward<StreamARNT>(value));
50 return *this;
51 }
53
55
58 inline const RecordConfiguration& GetRecordConfiguration() const { return m_recordConfiguration; }
59 inline bool RecordConfigurationHasBeenSet() const { return m_recordConfigurationHasBeenSet; }
60 template <typename RecordConfigurationT = RecordConfiguration>
61 void SetRecordConfiguration(RecordConfigurationT&& value) {
62 m_recordConfigurationHasBeenSet = true;
63 m_recordConfiguration = std::forward<RecordConfigurationT>(value);
64 }
65 template <typename RecordConfigurationT = RecordConfiguration>
66 ChannelStreamConfiguration& WithRecordConfiguration(RecordConfigurationT&& value) {
67 SetRecordConfiguration(std::forward<RecordConfigurationT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_streamARN;
73
74 RecordConfiguration m_recordConfiguration;
75 bool m_streamARNHasBeenSet = false;
76 bool m_recordConfigurationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Kinesis
81} // namespace Aws
const RecordConfiguration & GetRecordConfiguration() const
AWS_KINESIS_API ChannelStreamConfiguration()=default
ChannelStreamConfiguration & WithRecordConfiguration(RecordConfigurationT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESIS_API ChannelStreamConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESIS_API ChannelStreamConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetRecordConfiguration(RecordConfigurationT &&value)
ChannelStreamConfiguration & WithStreamARN(StreamARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue