AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnableToDetectSchemaException.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisAnalyticsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException();
37 AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetMessage() const{ return m_message; }
45 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
47 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
48 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
49 inline UnableToDetectSchemaException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
50 inline UnableToDetectSchemaException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
51 inline UnableToDetectSchemaException& WithMessage(const char* value) { SetMessage(value); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetRawInputRecords() const{ return m_rawInputRecords; }
59 inline bool RawInputRecordsHasBeenSet() const { return m_rawInputRecordsHasBeenSet; }
60 inline void SetRawInputRecords(const Aws::Vector<Aws::String>& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords = value; }
61 inline void SetRawInputRecords(Aws::Vector<Aws::String>&& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords = std::move(value); }
64 inline UnableToDetectSchemaException& AddRawInputRecords(const Aws::String& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(value); return *this; }
65 inline UnableToDetectSchemaException& AddRawInputRecords(Aws::String&& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(std::move(value)); return *this; }
66 inline UnableToDetectSchemaException& AddRawInputRecords(const char* value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(value); return *this; }
68
70
74 inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const{ return m_processedInputRecords; }
75 inline bool ProcessedInputRecordsHasBeenSet() const { return m_processedInputRecordsHasBeenSet; }
76 inline void SetProcessedInputRecords(const Aws::Vector<Aws::String>& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords = value; }
77 inline void SetProcessedInputRecords(Aws::Vector<Aws::String>&& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords = std::move(value); }
80 inline UnableToDetectSchemaException& AddProcessedInputRecords(const Aws::String& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(value); return *this; }
81 inline UnableToDetectSchemaException& AddProcessedInputRecords(Aws::String&& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(std::move(value)); return *this; }
82 inline UnableToDetectSchemaException& AddProcessedInputRecords(const char* value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(value); return *this; }
84 private:
85
86 Aws::String m_message;
87 bool m_messageHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_rawInputRecords;
90 bool m_rawInputRecordsHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_processedInputRecords;
93 bool m_processedInputRecordsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace KinesisAnalyticsV2
98} // namespace Aws
UnableToDetectSchemaException & WithProcessedInputRecords(Aws::Vector< Aws::String > &&value)
UnableToDetectSchemaException & WithRawInputRecords(const Aws::Vector< Aws::String > &value)
AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException & operator=(Aws::Utils::Json::JsonView jsonValue)
UnableToDetectSchemaException & AddProcessedInputRecords(const Aws::String &value)
UnableToDetectSchemaException & WithMessage(const Aws::String &value)
UnableToDetectSchemaException & AddProcessedInputRecords(const char *value)
UnableToDetectSchemaException & WithMessage(Aws::String &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProcessedInputRecords(const Aws::Vector< Aws::String > &value)
UnableToDetectSchemaException & AddProcessedInputRecords(Aws::String &&value)
AWS_KINESISANALYTICSV2_API UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue)
UnableToDetectSchemaException & WithProcessedInputRecords(const Aws::Vector< Aws::String > &value)
UnableToDetectSchemaException & AddRawInputRecords(const Aws::String &value)
UnableToDetectSchemaException & AddRawInputRecords(const char *value)
UnableToDetectSchemaException & AddRawInputRecords(Aws::String &&value)
UnableToDetectSchemaException & WithMessage(const char *value)
UnableToDetectSchemaException & WithRawInputRecords(Aws::Vector< 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