AWS SDK for C++

AWS SDK for C++ Version 1.11.746

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