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/rds/RDS_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 RDS
22{
23namespace Model
24{
25
37 {
38 public:
42
43 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
51 inline const Aws::String& GetDBSecurityGroupName() const{ return m_dBSecurityGroupName; }
52 inline bool DBSecurityGroupNameHasBeenSet() const { return m_dBSecurityGroupNameHasBeenSet; }
53 inline void SetDBSecurityGroupName(const Aws::String& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; }
54 inline void SetDBSecurityGroupName(Aws::String&& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = std::move(value); }
55 inline void SetDBSecurityGroupName(const char* value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName.assign(value); }
57 inline DBSecurityGroupMembership& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(std::move(value)); return *this;}
58 inline DBSecurityGroupMembership& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;}
60
62
65 inline const Aws::String& GetStatus() const{ return m_status; }
66 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
67 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
68 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
69 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
70 inline DBSecurityGroupMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
71 inline DBSecurityGroupMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
72 inline DBSecurityGroupMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
74 private:
75
76 Aws::String m_dBSecurityGroupName;
77 bool m_dBSecurityGroupNameHasBeenSet = false;
78
79 Aws::String m_status;
80 bool m_statusHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace RDS
85} // namespace Aws
DBSecurityGroupMembership & WithDBSecurityGroupName(const char *value)
AWS_RDS_API DBSecurityGroupMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBSecurityGroupMembership & WithStatus(const Aws::String &value)
DBSecurityGroupMembership & WithDBSecurityGroupName(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBSecurityGroupMembership & WithDBSecurityGroupName(Aws::String &&value)
DBSecurityGroupMembership & WithStatus(Aws::String &&value)
AWS_RDS_API DBSecurityGroupMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBSecurityGroupName(const Aws::String &value)
DBSecurityGroupMembership & WithStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream