AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputSchemaUpdate.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/RecordFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kinesisanalyticsv2/model/RecordColumn.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KinesisAnalyticsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_KINESISANALYTICSV2_API InputSchemaUpdate();
39 AWS_KINESISANALYTICSV2_API InputSchemaUpdate(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API InputSchemaUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const RecordFormat& GetRecordFormatUpdate() const{ return m_recordFormatUpdate; }
49 inline bool RecordFormatUpdateHasBeenSet() const { return m_recordFormatUpdateHasBeenSet; }
50 inline void SetRecordFormatUpdate(const RecordFormat& value) { m_recordFormatUpdateHasBeenSet = true; m_recordFormatUpdate = value; }
51 inline void SetRecordFormatUpdate(RecordFormat&& value) { m_recordFormatUpdateHasBeenSet = true; m_recordFormatUpdate = std::move(value); }
52 inline InputSchemaUpdate& WithRecordFormatUpdate(const RecordFormat& value) { SetRecordFormatUpdate(value); return *this;}
53 inline InputSchemaUpdate& WithRecordFormatUpdate(RecordFormat&& value) { SetRecordFormatUpdate(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetRecordEncodingUpdate() const{ return m_recordEncodingUpdate; }
62 inline bool RecordEncodingUpdateHasBeenSet() const { return m_recordEncodingUpdateHasBeenSet; }
63 inline void SetRecordEncodingUpdate(const Aws::String& value) { m_recordEncodingUpdateHasBeenSet = true; m_recordEncodingUpdate = value; }
64 inline void SetRecordEncodingUpdate(Aws::String&& value) { m_recordEncodingUpdateHasBeenSet = true; m_recordEncodingUpdate = std::move(value); }
65 inline void SetRecordEncodingUpdate(const char* value) { m_recordEncodingUpdateHasBeenSet = true; m_recordEncodingUpdate.assign(value); }
67 inline InputSchemaUpdate& WithRecordEncodingUpdate(Aws::String&& value) { SetRecordEncodingUpdate(std::move(value)); return *this;}
68 inline InputSchemaUpdate& WithRecordEncodingUpdate(const char* value) { SetRecordEncodingUpdate(value); return *this;}
70
72
77 inline const Aws::Vector<RecordColumn>& GetRecordColumnUpdates() const{ return m_recordColumnUpdates; }
78 inline bool RecordColumnUpdatesHasBeenSet() const { return m_recordColumnUpdatesHasBeenSet; }
79 inline void SetRecordColumnUpdates(const Aws::Vector<RecordColumn>& value) { m_recordColumnUpdatesHasBeenSet = true; m_recordColumnUpdates = value; }
80 inline void SetRecordColumnUpdates(Aws::Vector<RecordColumn>&& value) { m_recordColumnUpdatesHasBeenSet = true; m_recordColumnUpdates = std::move(value); }
83 inline InputSchemaUpdate& AddRecordColumnUpdates(const RecordColumn& value) { m_recordColumnUpdatesHasBeenSet = true; m_recordColumnUpdates.push_back(value); return *this; }
84 inline InputSchemaUpdate& AddRecordColumnUpdates(RecordColumn&& value) { m_recordColumnUpdatesHasBeenSet = true; m_recordColumnUpdates.push_back(std::move(value)); return *this; }
86 private:
87
88 RecordFormat m_recordFormatUpdate;
89 bool m_recordFormatUpdateHasBeenSet = false;
90
91 Aws::String m_recordEncodingUpdate;
92 bool m_recordEncodingUpdateHasBeenSet = false;
93
94 Aws::Vector<RecordColumn> m_recordColumnUpdates;
95 bool m_recordColumnUpdatesHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace KinesisAnalyticsV2
100} // namespace Aws
InputSchemaUpdate & WithRecordFormatUpdate(const RecordFormat &value)
InputSchemaUpdate & WithRecordEncodingUpdate(const char *value)
void SetRecordColumnUpdates(const Aws::Vector< RecordColumn > &value)
const Aws::Vector< RecordColumn > & GetRecordColumnUpdates() const
InputSchemaUpdate & WithRecordEncodingUpdate(Aws::String &&value)
InputSchemaUpdate & WithRecordColumnUpdates(Aws::Vector< RecordColumn > &&value)
InputSchemaUpdate & AddRecordColumnUpdates(const RecordColumn &value)
void SetRecordColumnUpdates(Aws::Vector< RecordColumn > &&value)
InputSchemaUpdate & WithRecordFormatUpdate(RecordFormat &&value)
AWS_KINESISANALYTICSV2_API InputSchemaUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecordEncodingUpdate(const Aws::String &value)
InputSchemaUpdate & AddRecordColumnUpdates(RecordColumn &&value)
InputSchemaUpdate & WithRecordEncodingUpdate(const Aws::String &value)
InputSchemaUpdate & WithRecordColumnUpdates(const Aws::Vector< RecordColumn > &value)
AWS_KINESISANALYTICSV2_API InputSchemaUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetRecordFormatUpdate(const RecordFormat &value)
AWS_KINESISANALYTICSV2_API InputSchemaUpdate()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue