AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferenceDataSourceDescription.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/S3ReferenceDataSourceDescription.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
35 {
36 public:
37 AWS_KINESISANALYTICS_API ReferenceDataSourceDescription();
40 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
51 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
52 inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
53 inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
54 inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
55 inline ReferenceDataSourceDescription& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
56 inline ReferenceDataSourceDescription& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
57 inline ReferenceDataSourceDescription& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
59
61
65 inline const Aws::String& GetTableName() const{ return m_tableName; }
66 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
67 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
68 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
69 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
70 inline ReferenceDataSourceDescription& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
71 inline ReferenceDataSourceDescription& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
72 inline ReferenceDataSourceDescription& WithTableName(const char* value) { SetTableName(value); return *this;}
74
76
82 inline const S3ReferenceDataSourceDescription& GetS3ReferenceDataSourceDescription() const{ return m_s3ReferenceDataSourceDescription; }
83 inline bool S3ReferenceDataSourceDescriptionHasBeenSet() const { return m_s3ReferenceDataSourceDescriptionHasBeenSet; }
84 inline void SetS3ReferenceDataSourceDescription(const S3ReferenceDataSourceDescription& value) { m_s3ReferenceDataSourceDescriptionHasBeenSet = true; m_s3ReferenceDataSourceDescription = value; }
85 inline void SetS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription&& value) { m_s3ReferenceDataSourceDescriptionHasBeenSet = true; m_s3ReferenceDataSourceDescription = std::move(value); }
89
91
95 inline const SourceSchema& GetReferenceSchema() const{ return m_referenceSchema; }
96 inline bool ReferenceSchemaHasBeenSet() const { return m_referenceSchemaHasBeenSet; }
97 inline void SetReferenceSchema(const SourceSchema& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = value; }
98 inline void SetReferenceSchema(SourceSchema&& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = std::move(value); }
100 inline ReferenceDataSourceDescription& WithReferenceSchema(SourceSchema&& value) { SetReferenceSchema(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_referenceId;
105 bool m_referenceIdHasBeenSet = false;
106
107 Aws::String m_tableName;
108 bool m_tableNameHasBeenSet = false;
109
110 S3ReferenceDataSourceDescription m_s3ReferenceDataSourceDescription;
111 bool m_s3ReferenceDataSourceDescriptionHasBeenSet = false;
112
113 SourceSchema m_referenceSchema;
114 bool m_referenceSchemaHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace KinesisAnalytics
119} // namespace Aws
AWS_KINESISANALYTICS_API ReferenceDataSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceDataSourceDescription & WithReferenceId(const Aws::String &value)
AWS_KINESISANALYTICS_API ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue)
ReferenceDataSourceDescription & WithTableName(const Aws::String &value)
void SetS3ReferenceDataSourceDescription(const S3ReferenceDataSourceDescription &value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
ReferenceDataSourceDescription & WithTableName(const char *value)
const S3ReferenceDataSourceDescription & GetS3ReferenceDataSourceDescription() const
ReferenceDataSourceDescription & WithReferenceSchema(const SourceSchema &value)
ReferenceDataSourceDescription & WithS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription &&value)
ReferenceDataSourceDescription & WithReferenceSchema(SourceSchema &&value)
ReferenceDataSourceDescription & WithTableName(Aws::String &&value)
ReferenceDataSourceDescription & WithReferenceId(const char *value)
ReferenceDataSourceDescription & WithReferenceId(Aws::String &&value)
void SetS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription &&value)
ReferenceDataSourceDescription & WithS3ReferenceDataSourceDescription(const S3ReferenceDataSourceDescription &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue