AWS SDK for C++  1.9.104
AWS SDK for C++
DBSecurityGroupMembership.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
37  {
38  public:
42 
43  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44  void OutputToStream(Aws::OStream& oStream, const char* location) const;
45 
46 
50  inline const Aws::String& GetDBSecurityGroupName() const{ return m_dBSecurityGroupName; }
51 
55  inline bool DBSecurityGroupNameHasBeenSet() const { return m_dBSecurityGroupNameHasBeenSet; }
56 
60  inline void SetDBSecurityGroupName(const Aws::String& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; }
61 
65  inline void SetDBSecurityGroupName(Aws::String&& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = std::move(value); }
66 
70  inline void SetDBSecurityGroupName(const char* value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName.assign(value); }
71 
75  inline DBSecurityGroupMembership& WithDBSecurityGroupName(const Aws::String& value) { SetDBSecurityGroupName(value); return *this;}
76 
80  inline DBSecurityGroupMembership& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(std::move(value)); return *this;}
81 
85  inline DBSecurityGroupMembership& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;}
86 
87 
91  inline const Aws::String& GetStatus() const{ return m_status; }
92 
96  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 
101  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
102 
106  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 
111  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
112 
116  inline DBSecurityGroupMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
117 
121  inline DBSecurityGroupMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
122 
126  inline DBSecurityGroupMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
127 
128  private:
129 
130  Aws::String m_dBSecurityGroupName;
131  bool m_dBSecurityGroupNameHasBeenSet;
132 
133  Aws::String m_status;
134  bool m_statusHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace RDS
139 } // namespace Aws
Aws::RDS::Model::DBSecurityGroupMembership::SetDBSecurityGroupName
void SetDBSecurityGroupName(Aws::String &&value)
Definition: DBSecurityGroupMembership.h:65
Aws::RDS::Model::DBSecurityGroupMembership::SetDBSecurityGroupName
void SetDBSecurityGroupName(const char *value)
Definition: DBSecurityGroupMembership.h:70
Aws::RDS::Model::DBSecurityGroupMembership::DBSecurityGroupMembership
DBSecurityGroupMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBSecurityGroupMembership::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DBSecurityGroupMembership::WithDBSecurityGroupName
DBSecurityGroupMembership & WithDBSecurityGroupName(const char *value)
Definition: DBSecurityGroupMembership.h:85
Aws::RDS::Model::DBSecurityGroupMembership::WithDBSecurityGroupName
DBSecurityGroupMembership & WithDBSecurityGroupName(Aws::String &&value)
Definition: DBSecurityGroupMembership.h:80
Aws::RDS::Model::DBSecurityGroupMembership::SetDBSecurityGroupName
void SetDBSecurityGroupName(const Aws::String &value)
Definition: DBSecurityGroupMembership.h:60
AWSStreamFwd.h
Aws::RDS::Model::DBSecurityGroupMembership::WithStatus
DBSecurityGroupMembership & WithStatus(Aws::String &&value)
Definition: DBSecurityGroupMembership.h:121
Aws::RDS::Model::DBSecurityGroupMembership::SetStatus
void SetStatus(const Aws::String &value)
Definition: DBSecurityGroupMembership.h:101
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DBSecurityGroupMembership::SetStatus
void SetStatus(Aws::String &&value)
Definition: DBSecurityGroupMembership.h:106
Aws::RDS::Model::DBSecurityGroupMembership::WithStatus
DBSecurityGroupMembership & WithStatus(const Aws::String &value)
Definition: DBSecurityGroupMembership.h:116
Aws::RDS::Model::DBSecurityGroupMembership::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DBSecurityGroupMembership.h:96
AWSString.h
Aws::RDS::Model::DBSecurityGroupMembership
Definition: DBSecurityGroupMembership.h:37
Aws::RDS::Model::DBSecurityGroupMembership::DBSecurityGroupMembership
DBSecurityGroupMembership()
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DBSecurityGroupMembership::WithStatus
DBSecurityGroupMembership & WithStatus(const char *value)
Definition: DBSecurityGroupMembership.h:126
Aws::RDS::Model::DBSecurityGroupMembership::GetDBSecurityGroupName
const Aws::String & GetDBSecurityGroupName() const
Definition: DBSecurityGroupMembership.h:50
Aws::RDS::Model::DBSecurityGroupMembership::WithDBSecurityGroupName
DBSecurityGroupMembership & WithDBSecurityGroupName(const Aws::String &value)
Definition: DBSecurityGroupMembership.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DBSecurityGroupMembership::GetStatus
const Aws::String & GetStatus() const
Definition: DBSecurityGroupMembership.h:91
Aws::RDS::Model::DBSecurityGroupMembership::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::DBSecurityGroupMembership::DBSecurityGroupNameHasBeenSet
bool DBSecurityGroupNameHasBeenSet() const
Definition: DBSecurityGroupMembership.h:55
Aws::RDS::Model::DBSecurityGroupMembership::operator=
DBSecurityGroupMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBSecurityGroupMembership::SetStatus
void SetStatus(const char *value)
Definition: DBSecurityGroupMembership.h:111