AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpsertRedshiftTargetOptions.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetTableLocation() const{ return m_tableLocation; }
47 inline bool TableLocationHasBeenSet() const { return m_tableLocationHasBeenSet; }
48 inline void SetTableLocation(const Aws::String& value) { m_tableLocationHasBeenSet = true; m_tableLocation = value; }
49 inline void SetTableLocation(Aws::String&& value) { m_tableLocationHasBeenSet = true; m_tableLocation = std::move(value); }
50 inline void SetTableLocation(const char* value) { m_tableLocationHasBeenSet = true; m_tableLocation.assign(value); }
51 inline UpsertRedshiftTargetOptions& WithTableLocation(const Aws::String& value) { SetTableLocation(value); return *this;}
52 inline UpsertRedshiftTargetOptions& WithTableLocation(Aws::String&& value) { SetTableLocation(std::move(value)); return *this;}
53 inline UpsertRedshiftTargetOptions& WithTableLocation(const char* value) { SetTableLocation(value); return *this;}
55
57
60 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
61 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
62 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
63 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
64 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
65 inline UpsertRedshiftTargetOptions& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
66 inline UpsertRedshiftTargetOptions& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
67 inline UpsertRedshiftTargetOptions& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
69
71
74 inline const Aws::Vector<Aws::String>& GetUpsertKeys() const{ return m_upsertKeys; }
75 inline bool UpsertKeysHasBeenSet() const { return m_upsertKeysHasBeenSet; }
76 inline void SetUpsertKeys(const Aws::Vector<Aws::String>& value) { m_upsertKeysHasBeenSet = true; m_upsertKeys = value; }
77 inline void SetUpsertKeys(Aws::Vector<Aws::String>&& value) { m_upsertKeysHasBeenSet = true; m_upsertKeys = std::move(value); }
79 inline UpsertRedshiftTargetOptions& WithUpsertKeys(Aws::Vector<Aws::String>&& value) { SetUpsertKeys(std::move(value)); return *this;}
80 inline UpsertRedshiftTargetOptions& AddUpsertKeys(const Aws::String& value) { m_upsertKeysHasBeenSet = true; m_upsertKeys.push_back(value); return *this; }
81 inline UpsertRedshiftTargetOptions& AddUpsertKeys(Aws::String&& value) { m_upsertKeysHasBeenSet = true; m_upsertKeys.push_back(std::move(value)); return *this; }
82 inline UpsertRedshiftTargetOptions& AddUpsertKeys(const char* value) { m_upsertKeysHasBeenSet = true; m_upsertKeys.push_back(value); return *this; }
84 private:
85
86 Aws::String m_tableLocation;
87 bool m_tableLocationHasBeenSet = false;
88
89 Aws::String m_connectionName;
90 bool m_connectionNameHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_upsertKeys;
93 bool m_upsertKeysHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Glue
98} // namespace Aws
UpsertRedshiftTargetOptions & WithConnectionName(Aws::String &&value)
UpsertRedshiftTargetOptions & WithTableLocation(const Aws::String &value)
void SetUpsertKeys(const Aws::Vector< Aws::String > &value)
UpsertRedshiftTargetOptions & AddUpsertKeys(const char *value)
AWS_GLUE_API UpsertRedshiftTargetOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
UpsertRedshiftTargetOptions & WithTableLocation(const char *value)
UpsertRedshiftTargetOptions & WithConnectionName(const Aws::String &value)
UpsertRedshiftTargetOptions & WithUpsertKeys(Aws::Vector< Aws::String > &&value)
UpsertRedshiftTargetOptions & WithTableLocation(Aws::String &&value)
const Aws::Vector< Aws::String > & GetUpsertKeys() const
UpsertRedshiftTargetOptions & WithConnectionName(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
UpsertRedshiftTargetOptions & WithUpsertKeys(const Aws::Vector< Aws::String > &value)
UpsertRedshiftTargetOptions & AddUpsertKeys(Aws::String &&value)
AWS_GLUE_API UpsertRedshiftTargetOptions(Aws::Utils::Json::JsonView jsonValue)
void SetUpsertKeys(Aws::Vector< Aws::String > &&value)
UpsertRedshiftTargetOptions & AddUpsertKeys(const Aws::String &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