AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetClusterCredentialsResult.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Redshift
26{
27namespace Model
28{
36 {
37 public:
41
42
52 inline const Aws::String& GetDbUser() const{ return m_dbUser; }
53
63 inline void SetDbUser(const Aws::String& value) { m_dbUser = value; }
64
74 inline void SetDbUser(Aws::String&& value) { m_dbUser = std::move(value); }
75
85 inline void SetDbUser(const char* value) { m_dbUser.assign(value); }
86
96 inline GetClusterCredentialsResult& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;}
97
107 inline GetClusterCredentialsResult& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;}
108
118 inline GetClusterCredentialsResult& WithDbUser(const char* value) { SetDbUser(value); return *this;}
119
120
125 inline const Aws::String& GetDbPassword() const{ return m_dbPassword; }
126
131 inline void SetDbPassword(const Aws::String& value) { m_dbPassword = value; }
132
137 inline void SetDbPassword(Aws::String&& value) { m_dbPassword = std::move(value); }
138
143 inline void SetDbPassword(const char* value) { m_dbPassword.assign(value); }
144
149 inline GetClusterCredentialsResult& WithDbPassword(const Aws::String& value) { SetDbPassword(value); return *this;}
150
155 inline GetClusterCredentialsResult& WithDbPassword(Aws::String&& value) { SetDbPassword(std::move(value)); return *this;}
156
161 inline GetClusterCredentialsResult& WithDbPassword(const char* value) { SetDbPassword(value); return *this;}
162
163
167 inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; }
168
172 inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expiration = value; }
173
177 inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expiration = std::move(value); }
178
183
187 inline GetClusterCredentialsResult& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;}
188
189
190
191 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
192
193
194 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
195
196
197 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
198
199
201
202
204
205 private:
206
207 Aws::String m_dbUser;
208
209 Aws::String m_dbPassword;
210
211 Aws::Utils::DateTime m_expiration;
212
213 ResponseMetadata m_responseMetadata;
214 };
215
216} // namespace Model
217} // namespace Redshift
218} // namespace Aws
#define AWS_REDSHIFT_API
GetClusterCredentialsResult & WithDbPassword(const char *value)
AWS_REDSHIFT_API GetClusterCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API GetClusterCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetClusterCredentialsResult & WithResponseMetadata(const ResponseMetadata &value)
GetClusterCredentialsResult & WithDbUser(const Aws::String &value)
GetClusterCredentialsResult & WithDbUser(Aws::String &&value)
GetClusterCredentialsResult & WithDbPassword(Aws::String &&value)
GetClusterCredentialsResult & WithResponseMetadata(ResponseMetadata &&value)
void SetExpiration(const Aws::Utils::DateTime &value)
GetClusterCredentialsResult & WithExpiration(Aws::Utils::DateTime &&value)
GetClusterCredentialsResult & WithDbUser(const char *value)
GetClusterCredentialsResult & WithDbPassword(const Aws::String &value)
GetClusterCredentialsResult & WithExpiration(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String