AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DiscoverInputSchemaResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
10#include <aws/kinesisanalytics/model/SourceSchema.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace KinesisAnalytics {
24namespace Model {
31 public:
32 AWS_KINESISANALYTICS_API DiscoverInputSchemaResult() = default;
35
37
42 inline const SourceSchema& GetInputSchema() const { return m_inputSchema; }
43 template <typename InputSchemaT = SourceSchema>
44 void SetInputSchema(InputSchemaT&& value) {
45 m_inputSchemaHasBeenSet = true;
46 m_inputSchema = std::forward<InputSchemaT>(value);
47 }
48 template <typename InputSchemaT = SourceSchema>
50 SetInputSchema(std::forward<InputSchemaT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetParsedInputRecords() const { return m_parsedInputRecords; }
61 template <typename ParsedInputRecordsT = Aws::Vector<Aws::Vector<Aws::String>>>
62 void SetParsedInputRecords(ParsedInputRecordsT&& value) {
63 m_parsedInputRecordsHasBeenSet = true;
64 m_parsedInputRecords = std::forward<ParsedInputRecordsT>(value);
65 }
66 template <typename ParsedInputRecordsT = Aws::Vector<Aws::Vector<Aws::String>>>
67 DiscoverInputSchemaResult& WithParsedInputRecords(ParsedInputRecordsT&& value) {
68 SetParsedInputRecords(std::forward<ParsedInputRecordsT>(value));
69 return *this;
70 }
71 template <typename ParsedInputRecordsT = Aws::Vector<Aws::String>>
72 DiscoverInputSchemaResult& AddParsedInputRecords(ParsedInputRecordsT&& value) {
73 m_parsedInputRecordsHasBeenSet = true;
74 m_parsedInputRecords.emplace_back(std::forward<ParsedInputRecordsT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const { return m_processedInputRecords; }
85 template <typename ProcessedInputRecordsT = Aws::Vector<Aws::String>>
86 void SetProcessedInputRecords(ProcessedInputRecordsT&& value) {
87 m_processedInputRecordsHasBeenSet = true;
88 m_processedInputRecords = std::forward<ProcessedInputRecordsT>(value);
89 }
90 template <typename ProcessedInputRecordsT = Aws::Vector<Aws::String>>
91 DiscoverInputSchemaResult& WithProcessedInputRecords(ProcessedInputRecordsT&& value) {
92 SetProcessedInputRecords(std::forward<ProcessedInputRecordsT>(value));
93 return *this;
94 }
95 template <typename ProcessedInputRecordsT = Aws::String>
96 DiscoverInputSchemaResult& AddProcessedInputRecords(ProcessedInputRecordsT&& value) {
97 m_processedInputRecordsHasBeenSet = true;
98 m_processedInputRecords.emplace_back(std::forward<ProcessedInputRecordsT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::Vector<Aws::String>& GetRawInputRecords() const { return m_rawInputRecords; }
108 template <typename RawInputRecordsT = Aws::Vector<Aws::String>>
109 void SetRawInputRecords(RawInputRecordsT&& value) {
110 m_rawInputRecordsHasBeenSet = true;
111 m_rawInputRecords = std::forward<RawInputRecordsT>(value);
112 }
113 template <typename RawInputRecordsT = Aws::Vector<Aws::String>>
115 SetRawInputRecords(std::forward<RawInputRecordsT>(value));
116 return *this;
117 }
118 template <typename RawInputRecordsT = Aws::String>
120 m_rawInputRecordsHasBeenSet = true;
121 m_rawInputRecords.emplace_back(std::forward<RawInputRecordsT>(value));
122 return *this;
123 }
125
127
128 inline const Aws::String& GetRequestId() const { return m_requestId; }
129 template <typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) {
131 m_requestIdHasBeenSet = true;
132 m_requestId = std::forward<RequestIdT>(value);
133 }
134 template <typename RequestIdT = Aws::String>
136 SetRequestId(std::forward<RequestIdT>(value));
137 return *this;
138 }
140 private:
141 SourceSchema m_inputSchema;
142
143 Aws::Vector<Aws::Vector<Aws::String>> m_parsedInputRecords;
144
145 Aws::Vector<Aws::String> m_processedInputRecords;
146
147 Aws::Vector<Aws::String> m_rawInputRecords;
148
149 Aws::String m_requestId;
150 bool m_inputSchemaHasBeenSet = false;
151 bool m_parsedInputRecordsHasBeenSet = false;
152 bool m_processedInputRecordsHasBeenSet = false;
153 bool m_rawInputRecordsHasBeenSet = false;
154 bool m_requestIdHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace KinesisAnalytics
159} // namespace Aws
DiscoverInputSchemaResult & WithParsedInputRecords(ParsedInputRecordsT &&value)
DiscoverInputSchemaResult & AddRawInputRecords(RawInputRecordsT &&value)
DiscoverInputSchemaResult & AddProcessedInputRecords(ProcessedInputRecordsT &&value)
AWS_KINESISANALYTICS_API DiscoverInputSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DiscoverInputSchemaResult & AddParsedInputRecords(ParsedInputRecordsT &&value)
AWS_KINESISANALYTICS_API DiscoverInputSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DiscoverInputSchemaResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetRawInputRecords() const
DiscoverInputSchemaResult & WithInputSchema(InputSchemaT &&value)
DiscoverInputSchemaResult & WithProcessedInputRecords(ProcessedInputRecordsT &&value)
DiscoverInputSchemaResult & WithRawInputRecords(RawInputRecordsT &&value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetParsedInputRecords() const
AWS_KINESISANALYTICS_API DiscoverInputSchemaResult()=default
const Aws::Vector< Aws::String > & GetProcessedInputRecords() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue