AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ClusterParameterGroupStatus.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/ClusterParameterStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Redshift {
22namespace Model {
23
30 public:
31 AWS_REDSHIFT_API ClusterParameterGroupStatus() = default;
32 AWS_REDSHIFT_API ClusterParameterGroupStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
36 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
42 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
43 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
44 template <typename ParameterGroupNameT = Aws::String>
45 void SetParameterGroupName(ParameterGroupNameT&& value) {
46 m_parameterGroupNameHasBeenSet = true;
47 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
48 }
49 template <typename ParameterGroupNameT = Aws::String>
51 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetParameterApplyStatus() const { return m_parameterApplyStatus; }
61 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
62 template <typename ParameterApplyStatusT = Aws::String>
63 void SetParameterApplyStatus(ParameterApplyStatusT&& value) {
64 m_parameterApplyStatusHasBeenSet = true;
65 m_parameterApplyStatus = std::forward<ParameterApplyStatusT>(value);
66 }
67 template <typename ParameterApplyStatusT = Aws::String>
68 ClusterParameterGroupStatus& WithParameterApplyStatus(ParameterApplyStatusT&& value) {
69 SetParameterApplyStatus(std::forward<ParameterApplyStatusT>(value));
70 return *this;
71 }
73
75
82 inline const Aws::Vector<ClusterParameterStatus>& GetClusterParameterStatusList() const { return m_clusterParameterStatusList; }
83 inline bool ClusterParameterStatusListHasBeenSet() const { return m_clusterParameterStatusListHasBeenSet; }
84 template <typename ClusterParameterStatusListT = Aws::Vector<ClusterParameterStatus>>
85 void SetClusterParameterStatusList(ClusterParameterStatusListT&& value) {
86 m_clusterParameterStatusListHasBeenSet = true;
87 m_clusterParameterStatusList = std::forward<ClusterParameterStatusListT>(value);
88 }
89 template <typename ClusterParameterStatusListT = Aws::Vector<ClusterParameterStatus>>
90 ClusterParameterGroupStatus& WithClusterParameterStatusList(ClusterParameterStatusListT&& value) {
91 SetClusterParameterStatusList(std::forward<ClusterParameterStatusListT>(value));
92 return *this;
93 }
94 template <typename ClusterParameterStatusListT = ClusterParameterStatus>
95 ClusterParameterGroupStatus& AddClusterParameterStatusList(ClusterParameterStatusListT&& value) {
96 m_clusterParameterStatusListHasBeenSet = true;
97 m_clusterParameterStatusList.emplace_back(std::forward<ClusterParameterStatusListT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_parameterGroupName;
103
104 Aws::String m_parameterApplyStatus;
105
106 Aws::Vector<ClusterParameterStatus> m_clusterParameterStatusList;
107 bool m_parameterGroupNameHasBeenSet = false;
108 bool m_parameterApplyStatusHasBeenSet = false;
109 bool m_clusterParameterStatusListHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Redshift
114} // namespace Aws
void SetClusterParameterStatusList(ClusterParameterStatusListT &&value)
ClusterParameterGroupStatus & WithParameterApplyStatus(ParameterApplyStatusT &&value)
AWS_REDSHIFT_API ClusterParameterGroupStatus()=default
ClusterParameterGroupStatus & AddClusterParameterStatusList(ClusterParameterStatusListT &&value)
AWS_REDSHIFT_API ClusterParameterGroupStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClusterParameterGroupStatus & WithParameterGroupName(ParameterGroupNameT &&value)
ClusterParameterGroupStatus & WithClusterParameterStatusList(ClusterParameterStatusListT &&value)
AWS_REDSHIFT_API ClusterParameterGroupStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< ClusterParameterStatus > & GetClusterParameterStatusList() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream