AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UnableToDetectSchemaException.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KinesisAnalytics {
21namespace Model {
22
30 public:
31 AWS_KINESISANALYTICS_API UnableToDetectSchemaException() = default;
32 AWS_KINESISANALYTICS_API UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetMessage() const { return m_message; }
39 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
40 template <typename MessageT = Aws::String>
41 void SetMessage(MessageT&& value) {
42 m_messageHasBeenSet = true;
43 m_message = std::forward<MessageT>(value);
44 }
45 template <typename MessageT = Aws::String>
47 SetMessage(std::forward<MessageT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::Vector<Aws::String>& GetRawInputRecords() const { return m_rawInputRecords; }
55 inline bool RawInputRecordsHasBeenSet() const { return m_rawInputRecordsHasBeenSet; }
56 template <typename RawInputRecordsT = Aws::Vector<Aws::String>>
57 void SetRawInputRecords(RawInputRecordsT&& value) {
58 m_rawInputRecordsHasBeenSet = true;
59 m_rawInputRecords = std::forward<RawInputRecordsT>(value);
60 }
61 template <typename RawInputRecordsT = Aws::Vector<Aws::String>>
63 SetRawInputRecords(std::forward<RawInputRecordsT>(value));
64 return *this;
65 }
66 template <typename RawInputRecordsT = Aws::String>
68 m_rawInputRecordsHasBeenSet = true;
69 m_rawInputRecords.emplace_back(std::forward<RawInputRecordsT>(value));
70 return *this;
71 }
73
75
76 inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const { return m_processedInputRecords; }
77 inline bool ProcessedInputRecordsHasBeenSet() const { return m_processedInputRecordsHasBeenSet; }
78 template <typename ProcessedInputRecordsT = Aws::Vector<Aws::String>>
79 void SetProcessedInputRecords(ProcessedInputRecordsT&& value) {
80 m_processedInputRecordsHasBeenSet = true;
81 m_processedInputRecords = std::forward<ProcessedInputRecordsT>(value);
82 }
83 template <typename ProcessedInputRecordsT = Aws::Vector<Aws::String>>
85 SetProcessedInputRecords(std::forward<ProcessedInputRecordsT>(value));
86 return *this;
87 }
88 template <typename ProcessedInputRecordsT = Aws::String>
90 m_processedInputRecordsHasBeenSet = true;
91 m_processedInputRecords.emplace_back(std::forward<ProcessedInputRecordsT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_message;
97
98 Aws::Vector<Aws::String> m_rawInputRecords;
99
100 Aws::Vector<Aws::String> m_processedInputRecords;
101 bool m_messageHasBeenSet = false;
102 bool m_rawInputRecordsHasBeenSet = false;
103 bool m_processedInputRecordsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace KinesisAnalytics
108} // namespace Aws
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICS_API UnableToDetectSchemaException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API UnableToDetectSchemaException()=default
UnableToDetectSchemaException & WithRawInputRecords(RawInputRecordsT &&value)
UnableToDetectSchemaException & AddProcessedInputRecords(ProcessedInputRecordsT &&value)
UnableToDetectSchemaException & WithProcessedInputRecords(ProcessedInputRecordsT &&value)
UnableToDetectSchemaException & WithMessage(MessageT &&value)
UnableToDetectSchemaException & AddRawInputRecords(RawInputRecordsT &&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