AWS SDK for C++

AWS SDK for C++ Version 1.11.683

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