AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ClusterParameterStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace Redshift {
20namespace Model {
21
28 public:
29 AWS_REDSHIFT_API ClusterParameterStatus() = default;
30 AWS_REDSHIFT_API ClusterParameterStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
40 inline const Aws::String& GetParameterName() const { return m_parameterName; }
41 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
42 template <typename ParameterNameT = Aws::String>
43 void SetParameterName(ParameterNameT&& value) {
44 m_parameterNameHasBeenSet = true;
45 m_parameterName = std::forward<ParameterNameT>(value);
46 }
47 template <typename ParameterNameT = Aws::String>
48 ClusterParameterStatus& WithParameterName(ParameterNameT&& value) {
49 SetParameterName(std::forward<ParameterNameT>(value));
50 return *this;
51 }
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) {
76 m_parameterApplyStatusHasBeenSet = true;
77 m_parameterApplyStatus = std::forward<ParameterApplyStatusT>(value);
78 }
79 template <typename ParameterApplyStatusT = Aws::String>
80 ClusterParameterStatus& WithParameterApplyStatus(ParameterApplyStatusT&& value) {
81 SetParameterApplyStatus(std::forward<ParameterApplyStatusT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetParameterApplyErrorDescription() const { return m_parameterApplyErrorDescription; }
92 inline bool ParameterApplyErrorDescriptionHasBeenSet() const { return m_parameterApplyErrorDescriptionHasBeenSet; }
93 template <typename ParameterApplyErrorDescriptionT = Aws::String>
94 void SetParameterApplyErrorDescription(ParameterApplyErrorDescriptionT&& value) {
95 m_parameterApplyErrorDescriptionHasBeenSet = true;
96 m_parameterApplyErrorDescription = std::forward<ParameterApplyErrorDescriptionT>(value);
97 }
98 template <typename ParameterApplyErrorDescriptionT = Aws::String>
99 ClusterParameterStatus& WithParameterApplyErrorDescription(ParameterApplyErrorDescriptionT&& value) {
100 SetParameterApplyErrorDescription(std::forward<ParameterApplyErrorDescriptionT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_parameterName;
106
107 Aws::String m_parameterApplyStatus;
108
109 Aws::String m_parameterApplyErrorDescription;
110 bool m_parameterNameHasBeenSet = false;
111 bool m_parameterApplyStatusHasBeenSet = false;
112 bool m_parameterApplyErrorDescriptionHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace Redshift
117} // 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