AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBSecurityGroupMembership.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
33 {
34 public:
35 AWS_NEPTUNE_API DBSecurityGroupMembership();
36 AWS_NEPTUNE_API DBSecurityGroupMembership(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetDBSecurityGroupName() const{ return m_dBSecurityGroupName; }
48 inline bool DBSecurityGroupNameHasBeenSet() const { return m_dBSecurityGroupNameHasBeenSet; }
49 inline void SetDBSecurityGroupName(const Aws::String& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; }
50 inline void SetDBSecurityGroupName(Aws::String&& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = std::move(value); }
51 inline void SetDBSecurityGroupName(const char* value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName.assign(value); }
53 inline DBSecurityGroupMembership& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(std::move(value)); return *this;}
54 inline DBSecurityGroupMembership& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;}
56
58
61 inline const Aws::String& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
66 inline DBSecurityGroupMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
67 inline DBSecurityGroupMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
68 inline DBSecurityGroupMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
70 private:
71
72 Aws::String m_dBSecurityGroupName;
73 bool m_dBSecurityGroupNameHasBeenSet = false;
74
75 Aws::String m_status;
76 bool m_statusHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Neptune
81} // namespace Aws
DBSecurityGroupMembership & WithStatus(const char *value)
AWS_NEPTUNE_API DBSecurityGroupMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API DBSecurityGroupMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
DBSecurityGroupMembership & WithStatus(const Aws::String &value)
DBSecurityGroupMembership & WithDBSecurityGroupName(Aws::String &&value)
DBSecurityGroupMembership & WithDBSecurityGroupName(const Aws::String &value)
DBSecurityGroupMembership & WithStatus(Aws::String &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBSecurityGroupMembership & WithDBSecurityGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream