AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
DatabaseConnectionStringProfile.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace odb {
20namespace Model {
21
29 public:
30 AWS_ODB_API DatabaseConnectionStringProfile() = default;
34
36
39 inline const Aws::String& GetConsumerGroup() const { return m_consumerGroup; }
40 inline bool ConsumerGroupHasBeenSet() const { return m_consumerGroupHasBeenSet; }
41 template <typename ConsumerGroupT = Aws::String>
42 void SetConsumerGroup(ConsumerGroupT&& value) {
43 m_consumerGroupHasBeenSet = true;
44 m_consumerGroup = std::forward<ConsumerGroupT>(value);
45 }
46 template <typename ConsumerGroupT = Aws::String>
48 SetConsumerGroup(std::forward<ConsumerGroupT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
59 template <typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) {
61 m_displayNameHasBeenSet = true;
62 m_displayName = std::forward<DisplayNameT>(value);
63 }
64 template <typename DisplayNameT = Aws::String>
66 SetDisplayName(std::forward<DisplayNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetHostFormat() const { return m_hostFormat; }
76 inline bool HostFormatHasBeenSet() const { return m_hostFormatHasBeenSet; }
77 template <typename HostFormatT = Aws::String>
78 void SetHostFormat(HostFormatT&& value) {
79 m_hostFormatHasBeenSet = true;
80 m_hostFormat = std::forward<HostFormatT>(value);
81 }
82 template <typename HostFormatT = Aws::String>
84 SetHostFormat(std::forward<HostFormatT>(value));
85 return *this;
86 }
88
90
93 inline bool GetIsRegional() const { return m_isRegional; }
94 inline bool IsRegionalHasBeenSet() const { return m_isRegionalHasBeenSet; }
95 inline void SetIsRegional(bool value) {
96 m_isRegionalHasBeenSet = true;
97 m_isRegional = value;
98 }
100 SetIsRegional(value);
101 return *this;
102 }
104
106
109 inline const Aws::String& GetProtocol() const { return m_protocol; }
110 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
111 template <typename ProtocolT = Aws::String>
112 void SetProtocol(ProtocolT&& value) {
113 m_protocolHasBeenSet = true;
114 m_protocol = std::forward<ProtocolT>(value);
115 }
116 template <typename ProtocolT = Aws::String>
118 SetProtocol(std::forward<ProtocolT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetSessionMode() const { return m_sessionMode; }
128 inline bool SessionModeHasBeenSet() const { return m_sessionModeHasBeenSet; }
129 template <typename SessionModeT = Aws::String>
130 void SetSessionMode(SessionModeT&& value) {
131 m_sessionModeHasBeenSet = true;
132 m_sessionMode = std::forward<SessionModeT>(value);
133 }
134 template <typename SessionModeT = Aws::String>
136 SetSessionMode(std::forward<SessionModeT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetSyntaxFormat() const { return m_syntaxFormat; }
146 inline bool SyntaxFormatHasBeenSet() const { return m_syntaxFormatHasBeenSet; }
147 template <typename SyntaxFormatT = Aws::String>
148 void SetSyntaxFormat(SyntaxFormatT&& value) {
149 m_syntaxFormatHasBeenSet = true;
150 m_syntaxFormat = std::forward<SyntaxFormatT>(value);
151 }
152 template <typename SyntaxFormatT = Aws::String>
154 SetSyntaxFormat(std::forward<SyntaxFormatT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::String& GetTlsAuthentication() const { return m_tlsAuthentication; }
164 inline bool TlsAuthenticationHasBeenSet() const { return m_tlsAuthenticationHasBeenSet; }
165 template <typename TlsAuthenticationT = Aws::String>
166 void SetTlsAuthentication(TlsAuthenticationT&& value) {
167 m_tlsAuthenticationHasBeenSet = true;
168 m_tlsAuthentication = std::forward<TlsAuthenticationT>(value);
169 }
170 template <typename TlsAuthenticationT = Aws::String>
172 SetTlsAuthentication(std::forward<TlsAuthenticationT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetValue() const { return m_value; }
182 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
183 template <typename ValueT = Aws::String>
184 void SetValue(ValueT&& value) {
185 m_valueHasBeenSet = true;
186 m_value = std::forward<ValueT>(value);
187 }
188 template <typename ValueT = Aws::String>
190 SetValue(std::forward<ValueT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_consumerGroup;
196
197 Aws::String m_displayName;
198
199 Aws::String m_hostFormat;
200
201 bool m_isRegional{false};
202
203 Aws::String m_protocol;
204
205 Aws::String m_sessionMode;
206
207 Aws::String m_syntaxFormat;
208
209 Aws::String m_tlsAuthentication;
210
211 Aws::String m_value;
212 bool m_consumerGroupHasBeenSet = false;
213 bool m_displayNameHasBeenSet = false;
214 bool m_hostFormatHasBeenSet = false;
215 bool m_isRegionalHasBeenSet = false;
216 bool m_protocolHasBeenSet = false;
217 bool m_sessionModeHasBeenSet = false;
218 bool m_syntaxFormatHasBeenSet = false;
219 bool m_tlsAuthenticationHasBeenSet = false;
220 bool m_valueHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace odb
225} // namespace Aws
AWS_ODB_API DatabaseConnectionStringProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
DatabaseConnectionStringProfile & WithHostFormat(HostFormatT &&value)
DatabaseConnectionStringProfile & WithSessionMode(SessionModeT &&value)
DatabaseConnectionStringProfile & WithConsumerGroup(ConsumerGroupT &&value)
DatabaseConnectionStringProfile & WithSyntaxFormat(SyntaxFormatT &&value)
AWS_ODB_API DatabaseConnectionStringProfile(Aws::Utils::Json::JsonView jsonValue)
DatabaseConnectionStringProfile & WithDisplayName(DisplayNameT &&value)
DatabaseConnectionStringProfile & WithProtocol(ProtocolT &&value)
DatabaseConnectionStringProfile & WithTlsAuthentication(TlsAuthenticationT &&value)
DatabaseConnectionStringProfile & WithValue(ValueT &&value)
DatabaseConnectionStringProfile & WithIsRegional(bool value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue