AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationTableConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Firehose
23{
24namespace Model
25{
26
35 {
36 public:
40 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetDestinationTableName() const{ return m_destinationTableName; }
49 inline bool DestinationTableNameHasBeenSet() const { return m_destinationTableNameHasBeenSet; }
50 inline void SetDestinationTableName(const Aws::String& value) { m_destinationTableNameHasBeenSet = true; m_destinationTableName = value; }
51 inline void SetDestinationTableName(Aws::String&& value) { m_destinationTableNameHasBeenSet = true; m_destinationTableName = std::move(value); }
52 inline void SetDestinationTableName(const char* value) { m_destinationTableNameHasBeenSet = true; m_destinationTableName.assign(value); }
55 inline DestinationTableConfiguration& WithDestinationTableName(const char* value) { SetDestinationTableName(value); return *this;}
57
59
63 inline const Aws::String& GetDestinationDatabaseName() const{ return m_destinationDatabaseName; }
64 inline bool DestinationDatabaseNameHasBeenSet() const { return m_destinationDatabaseNameHasBeenSet; }
65 inline void SetDestinationDatabaseName(const Aws::String& value) { m_destinationDatabaseNameHasBeenSet = true; m_destinationDatabaseName = value; }
66 inline void SetDestinationDatabaseName(Aws::String&& value) { m_destinationDatabaseNameHasBeenSet = true; m_destinationDatabaseName = std::move(value); }
67 inline void SetDestinationDatabaseName(const char* value) { m_destinationDatabaseNameHasBeenSet = true; m_destinationDatabaseName.assign(value); }
72
74
79 inline const Aws::Vector<Aws::String>& GetUniqueKeys() const{ return m_uniqueKeys; }
80 inline bool UniqueKeysHasBeenSet() const { return m_uniqueKeysHasBeenSet; }
81 inline void SetUniqueKeys(const Aws::Vector<Aws::String>& value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys = value; }
82 inline void SetUniqueKeys(Aws::Vector<Aws::String>&& value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys = std::move(value); }
84 inline DestinationTableConfiguration& WithUniqueKeys(Aws::Vector<Aws::String>&& value) { SetUniqueKeys(std::move(value)); return *this;}
85 inline DestinationTableConfiguration& AddUniqueKeys(const Aws::String& value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys.push_back(value); return *this; }
86 inline DestinationTableConfiguration& AddUniqueKeys(Aws::String&& value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys.push_back(std::move(value)); return *this; }
87 inline DestinationTableConfiguration& AddUniqueKeys(const char* value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys.push_back(value); return *this; }
89
91
97 inline const Aws::String& GetS3ErrorOutputPrefix() const{ return m_s3ErrorOutputPrefix; }
98 inline bool S3ErrorOutputPrefixHasBeenSet() const { return m_s3ErrorOutputPrefixHasBeenSet; }
99 inline void SetS3ErrorOutputPrefix(const Aws::String& value) { m_s3ErrorOutputPrefixHasBeenSet = true; m_s3ErrorOutputPrefix = value; }
100 inline void SetS3ErrorOutputPrefix(Aws::String&& value) { m_s3ErrorOutputPrefixHasBeenSet = true; m_s3ErrorOutputPrefix = std::move(value); }
101 inline void SetS3ErrorOutputPrefix(const char* value) { m_s3ErrorOutputPrefixHasBeenSet = true; m_s3ErrorOutputPrefix.assign(value); }
104 inline DestinationTableConfiguration& WithS3ErrorOutputPrefix(const char* value) { SetS3ErrorOutputPrefix(value); return *this;}
106 private:
107
108 Aws::String m_destinationTableName;
109 bool m_destinationTableNameHasBeenSet = false;
110
111 Aws::String m_destinationDatabaseName;
112 bool m_destinationDatabaseNameHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_uniqueKeys;
115 bool m_uniqueKeysHasBeenSet = false;
116
117 Aws::String m_s3ErrorOutputPrefix;
118 bool m_s3ErrorOutputPrefixHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Firehose
123} // namespace Aws
DestinationTableConfiguration & AddUniqueKeys(Aws::String &&value)
const Aws::Vector< Aws::String > & GetUniqueKeys() const
AWS_FIREHOSE_API DestinationTableConfiguration(Aws::Utils::Json::JsonView jsonValue)
DestinationTableConfiguration & WithS3ErrorOutputPrefix(const char *value)
AWS_FIREHOSE_API DestinationTableConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationTableConfiguration & WithUniqueKeys(const Aws::Vector< Aws::String > &value)
DestinationTableConfiguration & WithDestinationTableName(const char *value)
DestinationTableConfiguration & AddUniqueKeys(const Aws::String &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationTableConfiguration & WithUniqueKeys(Aws::Vector< Aws::String > &&value)
DestinationTableConfiguration & WithDestinationTableName(const Aws::String &value)
DestinationTableConfiguration & AddUniqueKeys(const char *value)
void SetUniqueKeys(const Aws::Vector< Aws::String > &value)
DestinationTableConfiguration & WithDestinationDatabaseName(const Aws::String &value)
DestinationTableConfiguration & WithS3ErrorOutputPrefix(const Aws::String &value)
DestinationTableConfiguration & WithDestinationDatabaseName(Aws::String &&value)
DestinationTableConfiguration & WithS3ErrorOutputPrefix(Aws::String &&value)
DestinationTableConfiguration & WithDestinationTableName(Aws::String &&value)
DestinationTableConfiguration & WithDestinationDatabaseName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue