AWS SDK for C++

AWS SDK for C++ Version 1.11.761

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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KinesisAnalyticsV2 {
21namespace Model {
22
30 public:
31 AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException() = default;
32 AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICSV2_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
56 inline const Aws::Vector<Aws::String>& GetRawInputRecords() const { return m_rawInputRecords; }
57 inline bool RawInputRecordsHasBeenSet() const { return m_rawInputRecordsHasBeenSet; }
58 template <typename RawInputRecordsT = Aws::Vector<Aws::String>>
59 void SetRawInputRecords(RawInputRecordsT&& value) {
60 m_rawInputRecordsHasBeenSet = true;
61 m_rawInputRecords = std::forward<RawInputRecordsT>(value);
62 }
63 template <typename RawInputRecordsT = Aws::Vector<Aws::String>>
65 SetRawInputRecords(std::forward<RawInputRecordsT>(value));
66 return *this;
67 }
68 template <typename RawInputRecordsT = Aws::String>
70 m_rawInputRecordsHasBeenSet = true;
71 m_rawInputRecords.emplace_back(std::forward<RawInputRecordsT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const { return m_processedInputRecords; }
82 inline bool ProcessedInputRecordsHasBeenSet() const { return m_processedInputRecordsHasBeenSet; }
83 template <typename ProcessedInputRecordsT = Aws::Vector<Aws::String>>
84 void SetProcessedInputRecords(ProcessedInputRecordsT&& value) {
85 m_processedInputRecordsHasBeenSet = true;
86 m_processedInputRecords = std::forward<ProcessedInputRecordsT>(value);
87 }
88 template <typename ProcessedInputRecordsT = Aws::Vector<Aws::String>>
90 SetProcessedInputRecords(std::forward<ProcessedInputRecordsT>(value));
91 return *this;
92 }
93 template <typename ProcessedInputRecordsT = Aws::String>
95 m_processedInputRecordsHasBeenSet = true;
96 m_processedInputRecords.emplace_back(std::forward<ProcessedInputRecordsT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_message;
102
103 Aws::Vector<Aws::String> m_rawInputRecords;
104
105 Aws::Vector<Aws::String> m_processedInputRecords;
106 bool m_messageHasBeenSet = false;
107 bool m_rawInputRecordsHasBeenSet = false;
108 bool m_processedInputRecordsHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace KinesisAnalyticsV2
113} // namespace Aws
AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException & operator=(Aws::Utils::Json::JsonView jsonValue)
UnableToDetectSchemaException & WithProcessedInputRecords(ProcessedInputRecordsT &&value)
UnableToDetectSchemaException & AddProcessedInputRecords(ProcessedInputRecordsT &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException()=default
AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue)
UnableToDetectSchemaException & WithRawInputRecords(RawInputRecordsT &&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