AWS SDK for C++  1.9.110
AWS SDK for C++
ClusterParameterStatus.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace Redshift
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  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 
195  inline ClusterParameterStatus& WithParameterApplyStatus(const Aws::String& value) { SetParameterApplyStatus(value); return *this;}
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 
270  inline ClusterParameterStatus& WithParameterApplyErrorDescription(const Aws::String& value) { SetParameterApplyErrorDescription(value); return *this;}
271 
276  inline ClusterParameterStatus& WithParameterApplyErrorDescription(Aws::String&& value) { SetParameterApplyErrorDescription(std::move(value)); return *this;}
277 
282  inline ClusterParameterStatus& WithParameterApplyErrorDescription(const char* value) { SetParameterApplyErrorDescription(value); return *this;}
283 
284  private:
285 
286  Aws::String m_parameterName;
287  bool m_parameterNameHasBeenSet;
288 
289  Aws::String m_parameterApplyStatus;
290  bool m_parameterApplyStatusHasBeenSet;
291 
292  Aws::String m_parameterApplyErrorDescription;
293  bool m_parameterApplyErrorDescriptionHasBeenSet;
294  };
295 
296 } // namespace Model
297 } // namespace Redshift
298 } // namespace Aws
Aws::Redshift::Model::ClusterParameterStatus::SetParameterApplyStatus
void SetParameterApplyStatus(Aws::String &&value)
Definition: ClusterParameterStatus.h:157
Aws::Redshift::Model::ClusterParameterStatus::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::ClusterParameterStatus::operator=
ClusterParameterStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::ClusterParameterStatus::GetParameterName
const Aws::String & GetParameterName() const
Definition: ClusterParameterStatus.h:45
Aws::Redshift::Model::ClusterParameterStatus::WithParameterApplyErrorDescription
ClusterParameterStatus & WithParameterApplyErrorDescription(const Aws::String &value)
Definition: ClusterParameterStatus.h:270
AWSStreamFwd.h
Aws::Redshift::Model::ClusterParameterStatus::WithParameterApplyErrorDescription
ClusterParameterStatus & WithParameterApplyErrorDescription(Aws::String &&value)
Definition: ClusterParameterStatus.h:276
Aws::Redshift::Model::ClusterParameterStatus::WithParameterName
ClusterParameterStatus & WithParameterName(Aws::String &&value)
Definition: ClusterParameterStatus.h:75
Aws::Redshift::Model::ClusterParameterStatus::WithParameterApplyErrorDescription
ClusterParameterStatus & WithParameterApplyErrorDescription(const char *value)
Definition: ClusterParameterStatus.h:282
Aws::Redshift::Model::ClusterParameterStatus::ParameterApplyStatusHasBeenSet
bool ParameterApplyStatusHasBeenSet() const
Definition: ClusterParameterStatus.h:119
Aws::Redshift::Model::ClusterParameterStatus::WithParameterApplyStatus
ClusterParameterStatus & WithParameterApplyStatus(const Aws::String &value)
Definition: ClusterParameterStatus.h:195
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::ClusterParameterStatus::SetParameterApplyStatus
void SetParameterApplyStatus(const Aws::String &value)
Definition: ClusterParameterStatus.h:138
Aws::Redshift::Model::ClusterParameterStatus::SetParameterApplyStatus
void SetParameterApplyStatus(const char *value)
Definition: ClusterParameterStatus.h:176
Aws::Redshift::Model::ClusterParameterStatus::ParameterNameHasBeenSet
bool ParameterNameHasBeenSet() const
Definition: ClusterParameterStatus.h:50
Aws::Redshift::Model::ClusterParameterStatus::ParameterApplyErrorDescriptionHasBeenSet
bool ParameterApplyErrorDescriptionHasBeenSet() const
Definition: ClusterParameterStatus.h:246
Aws::Redshift::Model::ClusterParameterStatus::ClusterParameterStatus
ClusterParameterStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::ClusterParameterStatus
Definition: ClusterParameterStatus.h:32
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ClusterParameterStatus::SetParameterName
void SetParameterName(Aws::String &&value)
Definition: ClusterParameterStatus.h:60
AWSString.h
Aws::Redshift::Model::ClusterParameterStatus::SetParameterApplyErrorDescription
void SetParameterApplyErrorDescription(Aws::String &&value)
Definition: ClusterParameterStatus.h:258
Aws::Redshift::Model::ClusterParameterStatus::WithParameterName
ClusterParameterStatus & WithParameterName(const Aws::String &value)
Definition: ClusterParameterStatus.h:70
Aws::Redshift::Model::ClusterParameterStatus::ClusterParameterStatus
ClusterParameterStatus()
Aws::Redshift::Model::ClusterParameterStatus::SetParameterName
void SetParameterName(const Aws::String &value)
Definition: ClusterParameterStatus.h:55
Aws::Redshift::Model::ClusterParameterStatus::WithParameterApplyStatus
ClusterParameterStatus & WithParameterApplyStatus(const char *value)
Definition: ClusterParameterStatus.h:233
Aws::Redshift::Model::ClusterParameterStatus::GetParameterApplyErrorDescription
const Aws::String & GetParameterApplyErrorDescription() const
Definition: ClusterParameterStatus.h:240
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::ClusterParameterStatus::WithParameterApplyStatus
ClusterParameterStatus & WithParameterApplyStatus(Aws::String &&value)
Definition: ClusterParameterStatus.h:214
Aws::Redshift::Model::ClusterParameterStatus::WithParameterName
ClusterParameterStatus & WithParameterName(const char *value)
Definition: ClusterParameterStatus.h:80
Aws::Redshift::Model::ClusterParameterStatus::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Redshift_EXPORTS.h
Aws::Redshift::Model::ClusterParameterStatus::SetParameterApplyErrorDescription
void SetParameterApplyErrorDescription(const char *value)
Definition: ClusterParameterStatus.h:264
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ClusterParameterStatus::GetParameterApplyStatus
const Aws::String & GetParameterApplyStatus() const
Definition: ClusterParameterStatus.h:100
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::ClusterParameterStatus::SetParameterApplyErrorDescription
void SetParameterApplyErrorDescription(const Aws::String &value)
Definition: ClusterParameterStatus.h:252
Aws::Redshift::Model::ClusterParameterStatus::SetParameterName
void SetParameterName(const char *value)
Definition: ClusterParameterStatus.h:65