AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ClusterParameterStatus.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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:
34 AWS_REDSHIFT_API ClusterParameterStatus() = default;
35 AWS_REDSHIFT_API ClusterParameterStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
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
43
46 inline const Aws::String& GetParameterName() const { return m_parameterName; }
47 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
48 template<typename ParameterNameT = Aws::String>
49 void SetParameterName(ParameterNameT&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::forward<ParameterNameT>(value); }
50 template<typename ParameterNameT = Aws::String>
51 ClusterParameterStatus& WithParameterName(ParameterNameT&& value) { SetParameterName(std::forward<ParameterNameT>(value)); return *this;}
53
55
72 inline const Aws::String& GetParameterApplyStatus() const { return m_parameterApplyStatus; }
73 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
74 template<typename ParameterApplyStatusT = Aws::String>
75 void SetParameterApplyStatus(ParameterApplyStatusT&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::forward<ParameterApplyStatusT>(value); }
76 template<typename ParameterApplyStatusT = Aws::String>
77 ClusterParameterStatus& WithParameterApplyStatus(ParameterApplyStatusT&& value) { SetParameterApplyStatus(std::forward<ParameterApplyStatusT>(value)); return *this;}
79
81
85 inline const Aws::String& GetParameterApplyErrorDescription() const { return m_parameterApplyErrorDescription; }
86 inline bool ParameterApplyErrorDescriptionHasBeenSet() const { return m_parameterApplyErrorDescriptionHasBeenSet; }
87 template<typename ParameterApplyErrorDescriptionT = Aws::String>
88 void SetParameterApplyErrorDescription(ParameterApplyErrorDescriptionT&& value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription = std::forward<ParameterApplyErrorDescriptionT>(value); }
89 template<typename ParameterApplyErrorDescriptionT = Aws::String>
90 ClusterParameterStatus& WithParameterApplyErrorDescription(ParameterApplyErrorDescriptionT&& value) { SetParameterApplyErrorDescription(std::forward<ParameterApplyErrorDescriptionT>(value)); return *this;}
92 private:
93
94 Aws::String m_parameterName;
95 bool m_parameterNameHasBeenSet = false;
96
97 Aws::String m_parameterApplyStatus;
98 bool m_parameterApplyStatusHasBeenSet = false;
99
100 Aws::String m_parameterApplyErrorDescription;
101 bool m_parameterApplyErrorDescriptionHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Redshift
106} // namespace Aws
ClusterParameterStatus & WithParameterApplyErrorDescription(ParameterApplyErrorDescriptionT &&value)
ClusterParameterStatus & WithParameterApplyStatus(ParameterApplyStatusT &&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
void SetParameterApplyErrorDescription(ParameterApplyErrorDescriptionT &&value)
void SetParameterApplyStatus(ParameterApplyStatusT &&value)
ClusterParameterStatus & WithParameterName(ParameterNameT &&value)
AWS_REDSHIFT_API ClusterParameterStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API ClusterParameterStatus()=default
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream