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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/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 KinesisAnalyticsV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_KINESISANALYTICSV2_API DiscoverInputSchemaResult();
35
36
38
43 inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
44 inline void SetInputSchema(const SourceSchema& value) { m_inputSchema = value; }
45 inline void SetInputSchema(SourceSchema&& value) { m_inputSchema = std::move(value); }
46 inline DiscoverInputSchemaResult& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
47 inline DiscoverInputSchemaResult& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
49
51
55 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetParsedInputRecords() const{ return m_parsedInputRecords; }
56 inline void SetParsedInputRecords(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_parsedInputRecords = value; }
57 inline void SetParsedInputRecords(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_parsedInputRecords = std::move(value); }
60 inline DiscoverInputSchemaResult& AddParsedInputRecords(const Aws::Vector<Aws::String>& value) { m_parsedInputRecords.push_back(value); return *this; }
61 inline DiscoverInputSchemaResult& AddParsedInputRecords(Aws::Vector<Aws::String>&& value) { m_parsedInputRecords.push_back(std::move(value)); return *this; }
63
65
69 inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const{ return m_processedInputRecords; }
70 inline void SetProcessedInputRecords(const Aws::Vector<Aws::String>& value) { m_processedInputRecords = value; }
71 inline void SetProcessedInputRecords(Aws::Vector<Aws::String>&& value) { m_processedInputRecords = std::move(value); }
74 inline DiscoverInputSchemaResult& AddProcessedInputRecords(const Aws::String& value) { m_processedInputRecords.push_back(value); return *this; }
75 inline DiscoverInputSchemaResult& AddProcessedInputRecords(Aws::String&& value) { m_processedInputRecords.push_back(std::move(value)); return *this; }
76 inline DiscoverInputSchemaResult& AddProcessedInputRecords(const char* value) { m_processedInputRecords.push_back(value); return *this; }
78
80
83 inline const Aws::Vector<Aws::String>& GetRawInputRecords() const{ return m_rawInputRecords; }
84 inline void SetRawInputRecords(const Aws::Vector<Aws::String>& value) { m_rawInputRecords = value; }
85 inline void SetRawInputRecords(Aws::Vector<Aws::String>&& value) { m_rawInputRecords = std::move(value); }
88 inline DiscoverInputSchemaResult& AddRawInputRecords(const Aws::String& value) { m_rawInputRecords.push_back(value); return *this; }
89 inline DiscoverInputSchemaResult& AddRawInputRecords(Aws::String&& value) { m_rawInputRecords.push_back(std::move(value)); return *this; }
90 inline DiscoverInputSchemaResult& AddRawInputRecords(const char* value) { m_rawInputRecords.push_back(value); return *this; }
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline DiscoverInputSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline DiscoverInputSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline DiscoverInputSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 SourceSchema m_inputSchema;
106
107 Aws::Vector<Aws::Vector<Aws::String>> m_parsedInputRecords;
108
109 Aws::Vector<Aws::String> m_processedInputRecords;
110
111 Aws::Vector<Aws::String> m_rawInputRecords;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace KinesisAnalyticsV2
118} // namespace Aws
void SetProcessedInputRecords(const Aws::Vector< Aws::String > &value)
DiscoverInputSchemaResult & AddRawInputRecords(Aws::String &&value)
DiscoverInputSchemaResult & WithRequestId(const Aws::String &value)
DiscoverInputSchemaResult & WithProcessedInputRecords(const Aws::Vector< Aws::String > &value)
DiscoverInputSchemaResult & WithRequestId(const char *value)
DiscoverInputSchemaResult & AddProcessedInputRecords(const char *value)
DiscoverInputSchemaResult & WithRawInputRecords(const Aws::Vector< Aws::String > &value)
DiscoverInputSchemaResult & AddRawInputRecords(const Aws::String &value)
DiscoverInputSchemaResult & WithInputSchema(const SourceSchema &value)
DiscoverInputSchemaResult & AddProcessedInputRecords(Aws::String &&value)
AWS_KINESISANALYTICSV2_API DiscoverInputSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetRawInputRecords() const
DiscoverInputSchemaResult & WithRawInputRecords(Aws::Vector< Aws::String > &&value)
DiscoverInputSchemaResult & AddParsedInputRecords(const Aws::Vector< Aws::String > &value)
DiscoverInputSchemaResult & WithInputSchema(SourceSchema &&value)
void SetParsedInputRecords(Aws::Vector< Aws::Vector< Aws::String > > &&value)
void SetRawInputRecords(const Aws::Vector< Aws::String > &value)
DiscoverInputSchemaResult & WithParsedInputRecords(Aws::Vector< Aws::Vector< Aws::String > > &&value)
DiscoverInputSchemaResult & WithParsedInputRecords(const Aws::Vector< Aws::Vector< Aws::String > > &value)
DiscoverInputSchemaResult & AddParsedInputRecords(Aws::Vector< Aws::String > &&value)
void SetParsedInputRecords(const Aws::Vector< Aws::Vector< Aws::String > > &value)
DiscoverInputSchemaResult & AddRawInputRecords(const char *value)
const Aws::Vector< Aws::String > & GetProcessedInputRecords() const
AWS_KINESISANALYTICSV2_API DiscoverInputSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::Vector< Aws::String > > & GetParsedInputRecords() const
DiscoverInputSchemaResult & WithRequestId(Aws::String &&value)
DiscoverInputSchemaResult & WithProcessedInputRecords(Aws::Vector< Aws::String > &&value)
void SetProcessedInputRecords(Aws::Vector< Aws::String > &&value)
DiscoverInputSchemaResult & AddProcessedInputRecords(const 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