AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterParameterGroupStatus.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/ClusterParameterStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace Redshift
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_REDSHIFT_API ClusterParameterGroupStatus();
37 AWS_REDSHIFT_API ClusterParameterGroupStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
49 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
50 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
51 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
52 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
54 inline ClusterParameterGroupStatus& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
55 inline ClusterParameterGroupStatus& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
57
59
62 inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; }
63 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
64 inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
65 inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::move(value); }
66 inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); }
69 inline ClusterParameterGroupStatus& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;}
71
73
80 inline const Aws::Vector<ClusterParameterStatus>& GetClusterParameterStatusList() const{ return m_clusterParameterStatusList; }
81 inline bool ClusterParameterStatusListHasBeenSet() const { return m_clusterParameterStatusListHasBeenSet; }
82 inline void SetClusterParameterStatusList(const Aws::Vector<ClusterParameterStatus>& value) { m_clusterParameterStatusListHasBeenSet = true; m_clusterParameterStatusList = value; }
83 inline void SetClusterParameterStatusList(Aws::Vector<ClusterParameterStatus>&& value) { m_clusterParameterStatusListHasBeenSet = true; m_clusterParameterStatusList = std::move(value); }
86 inline ClusterParameterGroupStatus& AddClusterParameterStatusList(const ClusterParameterStatus& value) { m_clusterParameterStatusListHasBeenSet = true; m_clusterParameterStatusList.push_back(value); return *this; }
87 inline ClusterParameterGroupStatus& AddClusterParameterStatusList(ClusterParameterStatus&& value) { m_clusterParameterStatusListHasBeenSet = true; m_clusterParameterStatusList.push_back(std::move(value)); return *this; }
89 private:
90
91 Aws::String m_parameterGroupName;
92 bool m_parameterGroupNameHasBeenSet = false;
93
94 Aws::String m_parameterApplyStatus;
95 bool m_parameterApplyStatusHasBeenSet = false;
96
97 Aws::Vector<ClusterParameterStatus> m_clusterParameterStatusList;
98 bool m_clusterParameterStatusListHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Redshift
103} // namespace Aws
ClusterParameterGroupStatus & WithParameterGroupName(const char *value)
void SetClusterParameterStatusList(const Aws::Vector< ClusterParameterStatus > &value)
ClusterParameterGroupStatus & WithParameterGroupName(const Aws::String &value)
ClusterParameterGroupStatus & AddClusterParameterStatusList(ClusterParameterStatus &&value)
ClusterParameterGroupStatus & WithParameterApplyStatus(const Aws::String &value)
ClusterParameterGroupStatus & WithParameterGroupName(Aws::String &&value)
AWS_REDSHIFT_API ClusterParameterGroupStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClusterParameterGroupStatus & WithClusterParameterStatusList(const Aws::Vector< ClusterParameterStatus > &value)
void SetClusterParameterStatusList(Aws::Vector< ClusterParameterStatus > &&value)
ClusterParameterGroupStatus & WithParameterApplyStatus(Aws::String &&value)
ClusterParameterGroupStatus & WithParameterApplyStatus(const char *value)
ClusterParameterGroupStatus & AddClusterParameterStatusList(const ClusterParameterStatus &value)
AWS_REDSHIFT_API ClusterParameterGroupStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterParameterGroupStatus & WithClusterParameterStatusList(Aws::Vector< ClusterParameterStatus > &&value)
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