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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/model/S3ReferenceDataSource.h>
10#include <aws/kinesisanalyticsv2/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 KinesisAnalyticsV2
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_KINESISANALYTICSV2_API ReferenceDataSource();
41 AWS_KINESISANALYTICSV2_API ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICSV2_API ReferenceDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetTableName() const{ return m_tableName; }
51 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
52 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
53 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
54 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
55 inline ReferenceDataSource& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
56 inline ReferenceDataSource& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
57 inline ReferenceDataSource& WithTableName(const char* value) { SetTableName(value); return *this;}
59
61
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 KinesisAnalyticsV2
101} // namespace Aws
ReferenceDataSource & WithTableName(const Aws::String &value)
AWS_KINESISANALYTICSV2_API ReferenceDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3ReferenceDataSource(const S3ReferenceDataSource &value)
const S3ReferenceDataSource & GetS3ReferenceDataSource() const
ReferenceDataSource & WithTableName(const char *value)
ReferenceDataSource & WithS3ReferenceDataSource(S3ReferenceDataSource &&value)
ReferenceDataSource & WithS3ReferenceDataSource(const S3ReferenceDataSource &value)
ReferenceDataSource & WithReferenceSchema(const SourceSchema &value)
ReferenceDataSource & WithTableName(Aws::String &&value)
ReferenceDataSource & WithReferenceSchema(SourceSchema &&value)
void SetS3ReferenceDataSource(S3ReferenceDataSource &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API ReferenceDataSource()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue