AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ClusterParameterStatus.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Redshift
22{
23namespace Model
24{
25
32 {
33 public:
37
38 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
45 inline const Aws::String& GetParameterName() const{ return m_parameterName; }
46
50 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
51
55 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
56
60 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
61
65 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
66
70 inline ClusterParameterStatus& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
71
75 inline ClusterParameterStatus& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
76
80 inline ClusterParameterStatus& WithParameterName(const char* value) { SetParameterName(value); return *this;}
81
82
100 inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; }
101
119 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
120
138 inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
139
157 inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::move(value); }
158
176 inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); }
177
196
214 inline ClusterParameterStatus& WithParameterApplyStatus(Aws::String&& value) { SetParameterApplyStatus(std::move(value)); return *this;}
215
233 inline ClusterParameterStatus& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;}
234
235
240 inline const Aws::String& GetParameterApplyErrorDescription() const{ return m_parameterApplyErrorDescription; }
241
246 inline bool ParameterApplyErrorDescriptionHasBeenSet() const { return m_parameterApplyErrorDescriptionHasBeenSet; }
247
252 inline void SetParameterApplyErrorDescription(const Aws::String& value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription = value; }
253
258 inline void SetParameterApplyErrorDescription(Aws::String&& value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription = std::move(value); }
259
264 inline void SetParameterApplyErrorDescription(const char* value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription.assign(value); }
265
271
277
283
284 private:
285
286 Aws::String m_parameterName;
287 bool m_parameterNameHasBeenSet = false;
288
289 Aws::String m_parameterApplyStatus;
290 bool m_parameterApplyStatusHasBeenSet = false;
291
292 Aws::String m_parameterApplyErrorDescription;
293 bool m_parameterApplyErrorDescriptionHasBeenSet = false;
294 };
295
296} // namespace Model
297} // namespace Redshift
298} // namespace Aws
#define AWS_REDSHIFT_API
ClusterParameterStatus & WithParameterApplyErrorDescription(Aws::String &&value)
void SetParameterApplyErrorDescription(const Aws::String &value)
ClusterParameterStatus & WithParameterName(const char *value)
ClusterParameterStatus & WithParameterApplyStatus(Aws::String &&value)
const Aws::String & GetParameterApplyErrorDescription() const
AWS_REDSHIFT_API ClusterParameterStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClusterParameterStatus & WithParameterApplyErrorDescription(const char *value)
ClusterParameterStatus & WithParameterName(Aws::String &&value)
AWS_REDSHIFT_API ClusterParameterStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterParameterStatus & WithParameterName(const Aws::String &value)
void SetParameterApplyStatus(const Aws::String &value)
ClusterParameterStatus & WithParameterApplyErrorDescription(const Aws::String &value)
ClusterParameterStatus & WithParameterApplyStatus(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClusterParameterStatus & WithParameterApplyStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream