AWS SDK for C++

AWS SDK for C++ Version 1.11.890

Loading...
Searching...
No Matches
RecordConfiguration.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/RecordFormatType.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 RecordConfiguration() = default;
34 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
46 inline RecordFormatType GetRecordFormatType() const { return m_recordFormatType; }
47 inline bool RecordFormatTypeHasBeenSet() const { return m_recordFormatTypeHasBeenSet; }
49 m_recordFormatTypeHasBeenSet = true;
50 m_recordFormatType = value;
51 }
54 return *this;
55 }
57
59
65 inline const Aws::String& GetGSRSchemaARN() const { return m_gSRSchemaARN; }
66 inline bool GSRSchemaARNHasBeenSet() const { return m_gSRSchemaARNHasBeenSet; }
67 template <typename GSRSchemaARNT = Aws::String>
68 void SetGSRSchemaARN(GSRSchemaARNT&& value) {
69 m_gSRSchemaARNHasBeenSet = true;
70 m_gSRSchemaARN = std::forward<GSRSchemaARNT>(value);
71 }
72 template <typename GSRSchemaARNT = Aws::String>
73 RecordConfiguration& WithGSRSchemaARN(GSRSchemaARNT&& value) {
74 SetGSRSchemaARN(std::forward<GSRSchemaARNT>(value));
75 return *this;
76 }
78 private:
80
81 Aws::String m_gSRSchemaARN;
82 bool m_recordFormatTypeHasBeenSet = false;
83 bool m_gSRSchemaARNHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Kinesis
88} // namespace Aws
void SetGSRSchemaARN(GSRSchemaARNT &&value)
AWS_KINESIS_API RecordConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RecordConfiguration & WithGSRSchemaARN(GSRSchemaARNT &&value)
AWS_KINESIS_API RecordConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetRecordFormatType(RecordFormatType value)
RecordConfiguration & WithRecordFormatType(RecordFormatType value)
AWS_KINESIS_API RecordConfiguration()=default
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGSRSchemaARN() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue