AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferenceDataSource.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalytics/model/S3ReferenceDataSource.h>
10#include <aws/kinesisanalytics/model/SourceSchema.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KinesisAnalytics
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_KINESISANALYTICS_API ReferenceDataSource();
40 AWS_KINESISANALYTICS_API ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICS_API ReferenceDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetTableName() const{ return m_tableName; }
50 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
51 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
52 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
53 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
54 inline ReferenceDataSource& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
55 inline ReferenceDataSource& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
56 inline ReferenceDataSource& WithTableName(const char* value) { SetTableName(value); return *this;}
58
60
67 inline const S3ReferenceDataSource& GetS3ReferenceDataSource() const{ return m_s3ReferenceDataSource; }
68 inline bool S3ReferenceDataSourceHasBeenSet() const { return m_s3ReferenceDataSourceHasBeenSet; }
69 inline void SetS3ReferenceDataSource(const S3ReferenceDataSource& value) { m_s3ReferenceDataSourceHasBeenSet = true; m_s3ReferenceDataSource = value; }
70 inline void SetS3ReferenceDataSource(S3ReferenceDataSource&& value) { m_s3ReferenceDataSourceHasBeenSet = true; m_s3ReferenceDataSource = std::move(value); }
74
76
80 inline const SourceSchema& GetReferenceSchema() const{ return m_referenceSchema; }
81 inline bool ReferenceSchemaHasBeenSet() const { return m_referenceSchemaHasBeenSet; }
82 inline void SetReferenceSchema(const SourceSchema& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = value; }
83 inline void SetReferenceSchema(SourceSchema&& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = std::move(value); }
84 inline ReferenceDataSource& WithReferenceSchema(const SourceSchema& value) { SetReferenceSchema(value); return *this;}
85 inline ReferenceDataSource& WithReferenceSchema(SourceSchema&& value) { SetReferenceSchema(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_tableName;
90 bool m_tableNameHasBeenSet = false;
91
92 S3ReferenceDataSource m_s3ReferenceDataSource;
93 bool m_s3ReferenceDataSourceHasBeenSet = false;
94
95 SourceSchema m_referenceSchema;
96 bool m_referenceSchemaHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace KinesisAnalytics
101} // namespace Aws
const S3ReferenceDataSource & GetS3ReferenceDataSource() const
ReferenceDataSource & WithReferenceSchema(const SourceSchema &value)
AWS_KINESISANALYTICS_API ReferenceDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceDataSource & WithTableName(Aws::String &&value)
void SetS3ReferenceDataSource(const S3ReferenceDataSource &value)
ReferenceDataSource & WithS3ReferenceDataSource(const S3ReferenceDataSource &value)
ReferenceDataSource & WithReferenceSchema(SourceSchema &&value)
AWS_KINESISANALYTICS_API ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue)
void SetS3ReferenceDataSource(S3ReferenceDataSource &&value)
ReferenceDataSource & WithTableName(const Aws::String &value)
ReferenceDataSource & WithTableName(const char *value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
ReferenceDataSource & WithS3ReferenceDataSource(S3ReferenceDataSource &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue