AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiscoverInputSchemaResult.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/kinesisanalytics/model/SourceSchema.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace KinesisAnalytics
26{
27namespace Model
28{
35 {
36 public:
37 AWS_KINESISANALYTICS_API DiscoverInputSchemaResult();
40
41
43
48 inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
49 inline void SetInputSchema(const SourceSchema& value) { m_inputSchema = value; }
50 inline void SetInputSchema(SourceSchema&& value) { m_inputSchema = std::move(value); }
51 inline DiscoverInputSchemaResult& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
52 inline DiscoverInputSchemaResult& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
54
56
60 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetParsedInputRecords() const{ return m_parsedInputRecords; }
61 inline void SetParsedInputRecords(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_parsedInputRecords = value; }
62 inline void SetParsedInputRecords(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_parsedInputRecords = std::move(value); }
65 inline DiscoverInputSchemaResult& AddParsedInputRecords(const Aws::Vector<Aws::String>& value) { m_parsedInputRecords.push_back(value); return *this; }
66 inline DiscoverInputSchemaResult& AddParsedInputRecords(Aws::Vector<Aws::String>&& value) { m_parsedInputRecords.push_back(std::move(value)); return *this; }
68
70
74 inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const{ return m_processedInputRecords; }
75 inline void SetProcessedInputRecords(const Aws::Vector<Aws::String>& value) { m_processedInputRecords = value; }
76 inline void SetProcessedInputRecords(Aws::Vector<Aws::String>&& value) { m_processedInputRecords = std::move(value); }
79 inline DiscoverInputSchemaResult& AddProcessedInputRecords(const Aws::String& value) { m_processedInputRecords.push_back(value); return *this; }
80 inline DiscoverInputSchemaResult& AddProcessedInputRecords(Aws::String&& value) { m_processedInputRecords.push_back(std::move(value)); return *this; }
81 inline DiscoverInputSchemaResult& AddProcessedInputRecords(const char* value) { m_processedInputRecords.push_back(value); return *this; }
83
85
88 inline const Aws::Vector<Aws::String>& GetRawInputRecords() const{ return m_rawInputRecords; }
89 inline void SetRawInputRecords(const Aws::Vector<Aws::String>& value) { m_rawInputRecords = value; }
90 inline void SetRawInputRecords(Aws::Vector<Aws::String>&& value) { m_rawInputRecords = std::move(value); }
93 inline DiscoverInputSchemaResult& AddRawInputRecords(const Aws::String& value) { m_rawInputRecords.push_back(value); return *this; }
94 inline DiscoverInputSchemaResult& AddRawInputRecords(Aws::String&& value) { m_rawInputRecords.push_back(std::move(value)); return *this; }
95 inline DiscoverInputSchemaResult& AddRawInputRecords(const char* value) { m_rawInputRecords.push_back(value); return *this; }
97
99
100 inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
102 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline DiscoverInputSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
105 inline DiscoverInputSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
106 inline DiscoverInputSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 private:
109
110 SourceSchema m_inputSchema;
111
112 Aws::Vector<Aws::Vector<Aws::String>> m_parsedInputRecords;
113
114 Aws::Vector<Aws::String> m_processedInputRecords;
115
116 Aws::Vector<Aws::String> m_rawInputRecords;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace KinesisAnalytics
123} // namespace Aws
DiscoverInputSchemaResult & WithProcessedInputRecords(const Aws::Vector< Aws::String > &value)
void SetRawInputRecords(Aws::Vector< Aws::String > &&value)
DiscoverInputSchemaResult & WithRawInputRecords(Aws::Vector< Aws::String > &&value)
DiscoverInputSchemaResult & WithRequestId(const Aws::String &value)
AWS_KINESISANALYTICS_API DiscoverInputSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KINESISANALYTICS_API DiscoverInputSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProcessedInputRecords(Aws::Vector< Aws::String > &&value)
DiscoverInputSchemaResult & AddProcessedInputRecords(const char *value)
DiscoverInputSchemaResult & WithParsedInputRecords(const Aws::Vector< Aws::Vector< Aws::String > > &value)
const Aws::Vector< Aws::String > & GetRawInputRecords() const
DiscoverInputSchemaResult & WithInputSchema(const SourceSchema &value)
DiscoverInputSchemaResult & WithProcessedInputRecords(Aws::Vector< Aws::String > &&value)
DiscoverInputSchemaResult & AddParsedInputRecords(const Aws::Vector< Aws::String > &value)
void SetRawInputRecords(const Aws::Vector< Aws::String > &value)
void SetParsedInputRecords(Aws::Vector< Aws::Vector< Aws::String > > &&value)
DiscoverInputSchemaResult & AddParsedInputRecords(Aws::Vector< Aws::String > &&value)
DiscoverInputSchemaResult & WithRequestId(const char *value)
DiscoverInputSchemaResult & WithRawInputRecords(const Aws::Vector< Aws::String > &value)
DiscoverInputSchemaResult & WithInputSchema(SourceSchema &&value)
DiscoverInputSchemaResult & AddRawInputRecords(Aws::String &&value)
void SetProcessedInputRecords(const Aws::Vector< Aws::String > &value)
void SetParsedInputRecords(const Aws::Vector< Aws::Vector< Aws::String > > &value)
DiscoverInputSchemaResult & WithParsedInputRecords(Aws::Vector< Aws::Vector< Aws::String > > &&value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetParsedInputRecords() const
DiscoverInputSchemaResult & AddRawInputRecords(const char *value)
DiscoverInputSchemaResult & AddRawInputRecords(const Aws::String &value)
DiscoverInputSchemaResult & AddProcessedInputRecords(Aws::String &&value)
DiscoverInputSchemaResult & AddProcessedInputRecords(const Aws::String &value)
const Aws::Vector< Aws::String > & GetProcessedInputRecords() const
DiscoverInputSchemaResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue