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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/model/S3ReferenceDataSourceDescription.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
35 {
36 public:
37 AWS_KINESISANALYTICSV2_API ReferenceDataSourceDescription();
38 AWS_KINESISANALYTICSV2_API ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
50 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
51 inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
52 inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
53 inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
54 inline ReferenceDataSourceDescription& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
55 inline ReferenceDataSourceDescription& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
56 inline ReferenceDataSourceDescription& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
58
60
64 inline const Aws::String& GetTableName() const{ return m_tableName; }
65 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
66 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
67 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
68 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
69 inline ReferenceDataSourceDescription& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
70 inline ReferenceDataSourceDescription& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
71 inline ReferenceDataSourceDescription& WithTableName(const char* value) { SetTableName(value); return *this;}
73
75
79 inline const S3ReferenceDataSourceDescription& GetS3ReferenceDataSourceDescription() const{ return m_s3ReferenceDataSourceDescription; }
80 inline bool S3ReferenceDataSourceDescriptionHasBeenSet() const { return m_s3ReferenceDataSourceDescriptionHasBeenSet; }
81 inline void SetS3ReferenceDataSourceDescription(const S3ReferenceDataSourceDescription& value) { m_s3ReferenceDataSourceDescriptionHasBeenSet = true; m_s3ReferenceDataSourceDescription = value; }
82 inline void SetS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription&& value) { m_s3ReferenceDataSourceDescriptionHasBeenSet = true; m_s3ReferenceDataSourceDescription = std::move(value); }
86
88
92 inline const SourceSchema& GetReferenceSchema() const{ return m_referenceSchema; }
93 inline bool ReferenceSchemaHasBeenSet() const { return m_referenceSchemaHasBeenSet; }
94 inline void SetReferenceSchema(const SourceSchema& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = value; }
95 inline void SetReferenceSchema(SourceSchema&& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = std::move(value); }
97 inline ReferenceDataSourceDescription& WithReferenceSchema(SourceSchema&& value) { SetReferenceSchema(std::move(value)); return *this;}
99 private:
100
101 Aws::String m_referenceId;
102 bool m_referenceIdHasBeenSet = false;
103
104 Aws::String m_tableName;
105 bool m_tableNameHasBeenSet = false;
106
107 S3ReferenceDataSourceDescription m_s3ReferenceDataSourceDescription;
108 bool m_s3ReferenceDataSourceDescriptionHasBeenSet = false;
109
110 SourceSchema m_referenceSchema;
111 bool m_referenceSchemaHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace KinesisAnalyticsV2
116} // namespace Aws
ReferenceDataSourceDescription & WithReferenceSchema(const SourceSchema &value)
ReferenceDataSourceDescription & WithReferenceSchema(SourceSchema &&value)
ReferenceDataSourceDescription & WithTableName(Aws::String &&value)
void SetS3ReferenceDataSourceDescription(const S3ReferenceDataSourceDescription &value)
ReferenceDataSourceDescription & WithS3ReferenceDataSourceDescription(const S3ReferenceDataSourceDescription &value)
AWS_KINESISANALYTICSV2_API ReferenceDataSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const S3ReferenceDataSourceDescription & GetS3ReferenceDataSourceDescription() const
ReferenceDataSourceDescription & WithTableName(const char *value)
ReferenceDataSourceDescription & WithReferenceId(const Aws::String &value)
AWS_KINESISANALYTICSV2_API ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue)
void SetS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription &&value)
ReferenceDataSourceDescription & WithS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription &&value)
ReferenceDataSourceDescription & WithReferenceId(const char *value)
ReferenceDataSourceDescription & WithReferenceId(Aws::String &&value)
ReferenceDataSourceDescription & WithTableName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue