AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DBClusterParameterGroup.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/rds/RDS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace RDS {
20namespace Model {
21
31 public:
32 AWS_RDS_API DBClusterParameterGroup() = default;
35
36 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
43 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
44 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
45 template <typename DBClusterParameterGroupNameT = Aws::String>
46 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
47 m_dBClusterParameterGroupNameHasBeenSet = true;
48 m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value);
49 }
50 template <typename DBClusterParameterGroupNameT = Aws::String>
51 DBClusterParameterGroup& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
52 SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetDBParameterGroupFamily() const { return m_dBParameterGroupFamily; }
63 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
64 template <typename DBParameterGroupFamilyT = Aws::String>
65 void SetDBParameterGroupFamily(DBParameterGroupFamilyT&& value) {
66 m_dBParameterGroupFamilyHasBeenSet = true;
67 m_dBParameterGroupFamily = std::forward<DBParameterGroupFamilyT>(value);
68 }
69 template <typename DBParameterGroupFamilyT = Aws::String>
70 DBClusterParameterGroup& WithDBParameterGroupFamily(DBParameterGroupFamilyT&& value) {
71 SetDBParameterGroupFamily(std::forward<DBParameterGroupFamilyT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetDBClusterParameterGroupArn() const { return m_dBClusterParameterGroupArn; }
100 inline bool DBClusterParameterGroupArnHasBeenSet() const { return m_dBClusterParameterGroupArnHasBeenSet; }
101 template <typename DBClusterParameterGroupArnT = Aws::String>
102 void SetDBClusterParameterGroupArn(DBClusterParameterGroupArnT&& value) {
103 m_dBClusterParameterGroupArnHasBeenSet = true;
104 m_dBClusterParameterGroupArn = std::forward<DBClusterParameterGroupArnT>(value);
105 }
106 template <typename DBClusterParameterGroupArnT = Aws::String>
107 DBClusterParameterGroup& WithDBClusterParameterGroupArn(DBClusterParameterGroupArnT&& value) {
108 SetDBClusterParameterGroupArn(std::forward<DBClusterParameterGroupArnT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_dBClusterParameterGroupName;
114
115 Aws::String m_dBParameterGroupFamily;
116
117 Aws::String m_description;
118
119 Aws::String m_dBClusterParameterGroupArn;
120 bool m_dBClusterParameterGroupNameHasBeenSet = false;
121 bool m_dBParameterGroupFamilyHasBeenSet = false;
122 bool m_descriptionHasBeenSet = false;
123 bool m_dBClusterParameterGroupArnHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace RDS
128} // namespace Aws
AWS_RDS_API DBClusterParameterGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
DBClusterParameterGroup & WithDBParameterGroupFamily(DBParameterGroupFamilyT &&value)
const Aws::String & GetDBParameterGroupFamily() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDBClusterParameterGroupArn(DBClusterParameterGroupArnT &&value)
const Aws::String & GetDBClusterParameterGroupName() const
AWS_RDS_API DBClusterParameterGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDBClusterParameterGroupArn() const
DBClusterParameterGroup & WithDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
DBClusterParameterGroup & WithDBClusterParameterGroupArn(DBClusterParameterGroupArnT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterParameterGroup & WithDescription(DescriptionT &&value)
AWS_RDS_API DBClusterParameterGroup()=default
void SetDBParameterGroupFamily(DBParameterGroupFamilyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream