AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferenceDataSourceUpdate.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/S3ReferenceDataSourceUpdate.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
38 {
39 public:
40 AWS_KINESISANALYTICS_API ReferenceDataSourceUpdate();
41 AWS_KINESISANALYTICS_API ReferenceDataSourceUpdate(Aws::Utils::Json::JsonView jsonValue);
43 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
53 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
54 inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
55 inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
56 inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
57 inline ReferenceDataSourceUpdate& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
58 inline ReferenceDataSourceUpdate& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
59 inline ReferenceDataSourceUpdate& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
61
63
66 inline const Aws::String& GetTableNameUpdate() const{ return m_tableNameUpdate; }
67 inline bool TableNameUpdateHasBeenSet() const { return m_tableNameUpdateHasBeenSet; }
68 inline void SetTableNameUpdate(const Aws::String& value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate = value; }
69 inline void SetTableNameUpdate(Aws::String&& value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate = std::move(value); }
70 inline void SetTableNameUpdate(const char* value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate.assign(value); }
71 inline ReferenceDataSourceUpdate& WithTableNameUpdate(const Aws::String& value) { SetTableNameUpdate(value); return *this;}
72 inline ReferenceDataSourceUpdate& WithTableNameUpdate(Aws::String&& value) { SetTableNameUpdate(std::move(value)); return *this;}
73 inline ReferenceDataSourceUpdate& WithTableNameUpdate(const char* value) { SetTableNameUpdate(value); return *this;}
75
77
82 inline const S3ReferenceDataSourceUpdate& GetS3ReferenceDataSourceUpdate() const{ return m_s3ReferenceDataSourceUpdate; }
83 inline bool S3ReferenceDataSourceUpdateHasBeenSet() const { return m_s3ReferenceDataSourceUpdateHasBeenSet; }
84 inline void SetS3ReferenceDataSourceUpdate(const S3ReferenceDataSourceUpdate& value) { m_s3ReferenceDataSourceUpdateHasBeenSet = true; m_s3ReferenceDataSourceUpdate = value; }
85 inline void SetS3ReferenceDataSourceUpdate(S3ReferenceDataSourceUpdate&& value) { m_s3ReferenceDataSourceUpdateHasBeenSet = true; m_s3ReferenceDataSourceUpdate = std::move(value); }
89
91
95 inline const SourceSchema& GetReferenceSchemaUpdate() const{ return m_referenceSchemaUpdate; }
96 inline bool ReferenceSchemaUpdateHasBeenSet() const { return m_referenceSchemaUpdateHasBeenSet; }
97 inline void SetReferenceSchemaUpdate(const SourceSchema& value) { m_referenceSchemaUpdateHasBeenSet = true; m_referenceSchemaUpdate = value; }
98 inline void SetReferenceSchemaUpdate(SourceSchema&& value) { m_referenceSchemaUpdateHasBeenSet = true; m_referenceSchemaUpdate = std::move(value); }
102 private:
103
104 Aws::String m_referenceId;
105 bool m_referenceIdHasBeenSet = false;
106
107 Aws::String m_tableNameUpdate;
108 bool m_tableNameUpdateHasBeenSet = false;
109
110 S3ReferenceDataSourceUpdate m_s3ReferenceDataSourceUpdate;
111 bool m_s3ReferenceDataSourceUpdateHasBeenSet = false;
112
113 SourceSchema m_referenceSchemaUpdate;
114 bool m_referenceSchemaUpdateHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace KinesisAnalytics
119} // namespace Aws
ReferenceDataSourceUpdate & WithReferenceId(const char *value)
void SetS3ReferenceDataSourceUpdate(S3ReferenceDataSourceUpdate &&value)
ReferenceDataSourceUpdate & WithReferenceId(const Aws::String &value)
ReferenceDataSourceUpdate & WithTableNameUpdate(Aws::String &&value)
AWS_KINESISANALYTICS_API ReferenceDataSourceUpdate(Aws::Utils::Json::JsonView jsonValue)
ReferenceDataSourceUpdate & WithTableNameUpdate(const Aws::String &value)
AWS_KINESISANALYTICS_API ReferenceDataSourceUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
ReferenceDataSourceUpdate & WithReferenceSchemaUpdate(SourceSchema &&value)
ReferenceDataSourceUpdate & WithReferenceSchemaUpdate(const SourceSchema &value)
void SetS3ReferenceDataSourceUpdate(const S3ReferenceDataSourceUpdate &value)
ReferenceDataSourceUpdate & WithS3ReferenceDataSourceUpdate(S3ReferenceDataSourceUpdate &&value)
ReferenceDataSourceUpdate & WithReferenceId(Aws::String &&value)
ReferenceDataSourceUpdate & WithTableNameUpdate(const char *value)
const S3ReferenceDataSourceUpdate & GetS3ReferenceDataSourceUpdate() const
ReferenceDataSourceUpdate & WithS3ReferenceDataSourceUpdate(const S3ReferenceDataSourceUpdate &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue