AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DBParameterGroup.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 DBParameterGroup() = default;
32 AWS_NEPTUNE_API DBParameterGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_NEPTUNE_API DBParameterGroup& operator=(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& GetDBParameterGroupName() const { return m_dBParameterGroupName; }
43 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
44 template <typename DBParameterGroupNameT = Aws::String>
45 void SetDBParameterGroupName(DBParameterGroupNameT&& value) {
46 m_dBParameterGroupNameHasBeenSet = true;
47 m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value);
48 }
49 template <typename DBParameterGroupNameT = Aws::String>
50 DBParameterGroup& WithDBParameterGroupName(DBParameterGroupNameT&& value) {
51 SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(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 DBParameterGroup& WithDBParameterGroupFamily(DBParameterGroupFamilyT&& value) {
70 SetDBParameterGroupFamily(std::forward<DBParameterGroupFamilyT>(value));
71 return *this;
72 }
74
76
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>
87 DBParameterGroup& WithDescription(DescriptionT&& value) {
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetDBParameterGroupArn() const { return m_dBParameterGroupArn; }
98 inline bool DBParameterGroupArnHasBeenSet() const { return m_dBParameterGroupArnHasBeenSet; }
99 template <typename DBParameterGroupArnT = Aws::String>
100 void SetDBParameterGroupArn(DBParameterGroupArnT&& value) {
101 m_dBParameterGroupArnHasBeenSet = true;
102 m_dBParameterGroupArn = std::forward<DBParameterGroupArnT>(value);
103 }
104 template <typename DBParameterGroupArnT = Aws::String>
105 DBParameterGroup& WithDBParameterGroupArn(DBParameterGroupArnT&& value) {
106 SetDBParameterGroupArn(std::forward<DBParameterGroupArnT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_dBParameterGroupName;
112 bool m_dBParameterGroupNameHasBeenSet = false;
113
114 Aws::String m_dBParameterGroupFamily;
115 bool m_dBParameterGroupFamilyHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 Aws::String m_dBParameterGroupArn;
121 bool m_dBParameterGroupArnHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Neptune
126} // namespace Aws
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetDBParameterGroupName() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_NEPTUNE_API DBParameterGroup()=default
const Aws::String & GetDBParameterGroupFamily() const
DBParameterGroup & WithDBParameterGroupFamily(DBParameterGroupFamilyT &&value)
const Aws::String & GetDescription() const
void SetDBParameterGroupFamily(DBParameterGroupFamilyT &&value)
DBParameterGroup & WithDBParameterGroupArn(DBParameterGroupArnT &&value)
void SetDescription(DescriptionT &&value)
void SetDBParameterGroupArn(DBParameterGroupArnT &&value)
DBParameterGroup & WithDescription(DescriptionT &&value)
AWS_NEPTUNE_API DBParameterGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBParameterGroupName(DBParameterGroupNameT &&value)
const Aws::String & GetDBParameterGroupArn() const
DBParameterGroup & WithDBParameterGroupName(DBParameterGroupNameT &&value)
AWS_NEPTUNE_API DBParameterGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream