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/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KINESISANALYTICS_API UnableToDetectSchemaException();
37 AWS_KINESISANALYTICS_API UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICS_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
56 inline const Aws::Vector<Aws::String>& GetRawInputRecords() const{ return m_rawInputRecords; }
57 inline bool RawInputRecordsHasBeenSet() const { return m_rawInputRecordsHasBeenSet; }
58 inline void SetRawInputRecords(const Aws::Vector<Aws::String>& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords = value; }
59 inline void SetRawInputRecords(Aws::Vector<Aws::String>&& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords = std::move(value); }
62 inline UnableToDetectSchemaException& AddRawInputRecords(const Aws::String& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(value); return *this; }
63 inline UnableToDetectSchemaException& AddRawInputRecords(Aws::String&& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(std::move(value)); return *this; }
64 inline UnableToDetectSchemaException& AddRawInputRecords(const char* value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(value); return *this; }
66
68
69 inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const{ return m_processedInputRecords; }
70 inline bool ProcessedInputRecordsHasBeenSet() const { return m_processedInputRecordsHasBeenSet; }
71 inline void SetProcessedInputRecords(const Aws::Vector<Aws::String>& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords = value; }
72 inline void SetProcessedInputRecords(Aws::Vector<Aws::String>&& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords = std::move(value); }
75 inline UnableToDetectSchemaException& AddProcessedInputRecords(const Aws::String& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(value); return *this; }
76 inline UnableToDetectSchemaException& AddProcessedInputRecords(Aws::String&& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(std::move(value)); return *this; }
77 inline UnableToDetectSchemaException& AddProcessedInputRecords(const char* value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(value); return *this; }
79 private:
80
81 Aws::String m_message;
82 bool m_messageHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_rawInputRecords;
85 bool m_rawInputRecordsHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_processedInputRecords;
88 bool m_processedInputRecordsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace KinesisAnalytics
93} // namespace Aws
UnableToDetectSchemaException & AddProcessedInputRecords(const Aws::String &value)
UnableToDetectSchemaException & WithProcessedInputRecords(Aws::Vector< Aws::String > &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICS_API UnableToDetectSchemaException & operator=(Aws::Utils::Json::JsonView jsonValue)
UnableToDetectSchemaException & AddRawInputRecords(const char *value)
void SetProcessedInputRecords(const Aws::Vector< Aws::String > &value)
UnableToDetectSchemaException & WithMessage(const char *value)
UnableToDetectSchemaException & WithRawInputRecords(Aws::Vector< Aws::String > &&value)
UnableToDetectSchemaException & WithMessage(const Aws::String &value)
UnableToDetectSchemaException & WithRawInputRecords(const Aws::Vector< Aws::String > &value)
UnableToDetectSchemaException & AddRawInputRecords(Aws::String &&value)
AWS_KINESISANALYTICS_API UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue)
UnableToDetectSchemaException & WithMessage(Aws::String &&value)
UnableToDetectSchemaException & WithProcessedInputRecords(const Aws::Vector< Aws::String > &value)
UnableToDetectSchemaException & AddProcessedInputRecords(Aws::String &&value)
UnableToDetectSchemaException & AddProcessedInputRecords(const char *value)
UnableToDetectSchemaException & AddRawInputRecords(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