AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBParameterGroup.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Neptune
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_NEPTUNE_API DBParameterGroup();
37 AWS_NEPTUNE_API DBParameterGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_NEPTUNE_API DBParameterGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
49 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
50 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
51 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
52 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
54 inline DBParameterGroup& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
55 inline DBParameterGroup& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
57
59
63 inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
64 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
65 inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
66 inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
67 inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
69 inline DBParameterGroup& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
70 inline DBParameterGroup& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline DBParameterGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline DBParameterGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline DBParameterGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const Aws::String& GetDBParameterGroupArn() const{ return m_dBParameterGroupArn; }
92 inline bool DBParameterGroupArnHasBeenSet() const { return m_dBParameterGroupArnHasBeenSet; }
93 inline void SetDBParameterGroupArn(const Aws::String& value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn = value; }
94 inline void SetDBParameterGroupArn(Aws::String&& value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn = std::move(value); }
95 inline void SetDBParameterGroupArn(const char* value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn.assign(value); }
96 inline DBParameterGroup& WithDBParameterGroupArn(const Aws::String& value) { SetDBParameterGroupArn(value); return *this;}
97 inline DBParameterGroup& WithDBParameterGroupArn(Aws::String&& value) { SetDBParameterGroupArn(std::move(value)); return *this;}
98 inline DBParameterGroup& WithDBParameterGroupArn(const char* value) { SetDBParameterGroupArn(value); return *this;}
100 private:
101
102 Aws::String m_dBParameterGroupName;
103 bool m_dBParameterGroupNameHasBeenSet = false;
104
105 Aws::String m_dBParameterGroupFamily;
106 bool m_dBParameterGroupFamilyHasBeenSet = false;
107
108 Aws::String m_description;
109 bool m_descriptionHasBeenSet = false;
110
111 Aws::String m_dBParameterGroupArn;
112 bool m_dBParameterGroupArnHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Neptune
117} // 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
const Aws::String & GetDBParameterGroupFamily() const
DBParameterGroup & WithDBParameterGroupArn(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDBParameterGroupFamily(const char *value)
void SetDBParameterGroupArn(Aws::String &&value)
void SetDBParameterGroupName(const Aws::String &value)
DBParameterGroup & WithDescription(const Aws::String &value)
DBParameterGroup & WithDescription(const char *value)
void SetDBParameterGroupName(const char *value)
DBParameterGroup & WithDescription(Aws::String &&value)
DBParameterGroup & WithDBParameterGroupName(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_NEPTUNE_API DBParameterGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
DBParameterGroup & WithDBParameterGroupName(const char *value)
void SetDBParameterGroupFamily(Aws::String &&value)
DBParameterGroup & WithDBParameterGroupFamily(const char *value)
void SetDBParameterGroupArn(const Aws::String &value)
DBParameterGroup & WithDBParameterGroupArn(const Aws::String &value)
const Aws::String & GetDBParameterGroupArn() const
DBParameterGroup & WithDBParameterGroupFamily(const Aws::String &value)
void SetDBParameterGroupName(Aws::String &&value)
DBParameterGroup & WithDBParameterGroupFamily(Aws::String &&value)
DBParameterGroup & WithDBParameterGroupName(Aws::String &&value)
AWS_NEPTUNE_API DBParameterGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBParameterGroupArn(const char *value)
void SetDBParameterGroupFamily(const Aws::String &value)
DBParameterGroup & WithDBParameterGroupArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream