AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RedshiftPropertiesPatch.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/RedshiftCredentials.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/RedshiftLineageSyncConfigurationInput.h>
11#include <aws/datazone/model/RedshiftStorageProperties.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API RedshiftPropertiesPatch() = default;
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const RedshiftCredentials& GetCredentials() const { return m_credentials; }
48 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
49 template<typename CredentialsT = RedshiftCredentials>
50 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet = true; m_credentials = std::forward<CredentialsT>(value); }
51 template<typename CredentialsT = RedshiftCredentials>
52 RedshiftPropertiesPatch& WithCredentials(CredentialsT&& value) { SetCredentials(std::forward<CredentialsT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 template<typename DatabaseNameT = Aws::String>
62 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
63 template<typename DatabaseNameT = Aws::String>
64 RedshiftPropertiesPatch& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetHost() const { return m_host; }
72 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
73 template<typename HostT = Aws::String>
74 void SetHost(HostT&& value) { m_hostHasBeenSet = true; m_host = std::forward<HostT>(value); }
75 template<typename HostT = Aws::String>
76 RedshiftPropertiesPatch& WithHost(HostT&& value) { SetHost(std::forward<HostT>(value)); return *this;}
78
80
83 inline const RedshiftLineageSyncConfigurationInput& GetLineageSync() const { return m_lineageSync; }
84 inline bool LineageSyncHasBeenSet() const { return m_lineageSyncHasBeenSet; }
85 template<typename LineageSyncT = RedshiftLineageSyncConfigurationInput>
86 void SetLineageSync(LineageSyncT&& value) { m_lineageSyncHasBeenSet = true; m_lineageSync = std::forward<LineageSyncT>(value); }
87 template<typename LineageSyncT = RedshiftLineageSyncConfigurationInput>
88 RedshiftPropertiesPatch& WithLineageSync(LineageSyncT&& value) { SetLineageSync(std::forward<LineageSyncT>(value)); return *this;}
90
92
95 inline int GetPort() const { return m_port; }
96 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
97 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
98 inline RedshiftPropertiesPatch& WithPort(int value) { SetPort(value); return *this;}
100
102
105 inline const RedshiftStorageProperties& GetStorage() const { return m_storage; }
106 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
107 template<typename StorageT = RedshiftStorageProperties>
108 void SetStorage(StorageT&& value) { m_storageHasBeenSet = true; m_storage = std::forward<StorageT>(value); }
109 template<typename StorageT = RedshiftStorageProperties>
110 RedshiftPropertiesPatch& WithStorage(StorageT&& value) { SetStorage(std::forward<StorageT>(value)); return *this;}
112 private:
113
114 RedshiftCredentials m_credentials;
115 bool m_credentialsHasBeenSet = false;
116
117 Aws::String m_databaseName;
118 bool m_databaseNameHasBeenSet = false;
119
120 Aws::String m_host;
121 bool m_hostHasBeenSet = false;
122
124 bool m_lineageSyncHasBeenSet = false;
125
126 int m_port{0};
127 bool m_portHasBeenSet = false;
128
129 RedshiftStorageProperties m_storage;
130 bool m_storageHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace DataZone
135} // namespace Aws
AWS_DATAZONE_API RedshiftPropertiesPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
const RedshiftStorageProperties & GetStorage() const
RedshiftPropertiesPatch & WithStorage(StorageT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftPropertiesPatch & WithPort(int value)
RedshiftPropertiesPatch & WithCredentials(CredentialsT &&value)
RedshiftPropertiesPatch & WithLineageSync(LineageSyncT &&value)
const RedshiftCredentials & GetCredentials() const
RedshiftPropertiesPatch & WithHost(HostT &&value)
const RedshiftLineageSyncConfigurationInput & GetLineageSync() const
RedshiftPropertiesPatch & WithDatabaseName(DatabaseNameT &&value)
AWS_DATAZONE_API RedshiftPropertiesPatch(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API RedshiftPropertiesPatch()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue