AWS SDK for C++  1.9.15
AWS SDK for C++
VpcSecurityGroupMembership.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 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetVpcSecurityGroupId() const{ return m_vpcSecurityGroupId; }
47 
51  inline bool VpcSecurityGroupIdHasBeenSet() const { return m_vpcSecurityGroupIdHasBeenSet; }
52 
56  inline void SetVpcSecurityGroupId(const Aws::String& value) { m_vpcSecurityGroupIdHasBeenSet = true; m_vpcSecurityGroupId = value; }
57 
61  inline void SetVpcSecurityGroupId(Aws::String&& value) { m_vpcSecurityGroupIdHasBeenSet = true; m_vpcSecurityGroupId = std::move(value); }
62 
66  inline void SetVpcSecurityGroupId(const char* value) { m_vpcSecurityGroupIdHasBeenSet = true; m_vpcSecurityGroupId.assign(value); }
67 
71  inline VpcSecurityGroupMembership& WithVpcSecurityGroupId(const Aws::String& value) { SetVpcSecurityGroupId(value); return *this;}
72 
76  inline VpcSecurityGroupMembership& WithVpcSecurityGroupId(Aws::String&& value) { SetVpcSecurityGroupId(std::move(value)); return *this;}
77 
81  inline VpcSecurityGroupMembership& WithVpcSecurityGroupId(const char* value) { SetVpcSecurityGroupId(value); return *this;}
82 
83 
87  inline const Aws::String& GetStatus() const{ return m_status; }
88 
92  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 
97  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
98 
102  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 
107  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
108 
112  inline VpcSecurityGroupMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
113 
117  inline VpcSecurityGroupMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
118 
122  inline VpcSecurityGroupMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
123 
124  private:
125 
126  Aws::String m_vpcSecurityGroupId;
127  bool m_vpcSecurityGroupIdHasBeenSet;
128 
129  Aws::String m_status;
130  bool m_statusHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace RDS
135 } // namespace Aws
Aws::RDS::Model::VpcSecurityGroupMembership::VpcSecurityGroupMembership
VpcSecurityGroupMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::VpcSecurityGroupMembership::WithVpcSecurityGroupId
VpcSecurityGroupMembership & WithVpcSecurityGroupId(const Aws::String &value)
Definition: VpcSecurityGroupMembership.h:71
Aws::RDS::Model::VpcSecurityGroupMembership::WithVpcSecurityGroupId
VpcSecurityGroupMembership & WithVpcSecurityGroupId(const char *value)
Definition: VpcSecurityGroupMembership.h:81
Aws::RDS::Model::VpcSecurityGroupMembership::VpcSecurityGroupMembership
VpcSecurityGroupMembership()
Aws::RDS::Model::VpcSecurityGroupMembership::SetVpcSecurityGroupId
void SetVpcSecurityGroupId(const char *value)
Definition: VpcSecurityGroupMembership.h:66
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::VpcSecurityGroupMembership::SetVpcSecurityGroupId
void SetVpcSecurityGroupId(Aws::String &&value)
Definition: VpcSecurityGroupMembership.h:61
Aws::RDS::Model::VpcSecurityGroupMembership::WithStatus
VpcSecurityGroupMembership & WithStatus(const char *value)
Definition: VpcSecurityGroupMembership.h:122
Aws::RDS::Model::VpcSecurityGroupMembership::WithStatus
VpcSecurityGroupMembership & WithStatus(Aws::String &&value)
Definition: VpcSecurityGroupMembership.h:117
AWSStreamFwd.h
Aws::RDS::Model::VpcSecurityGroupMembership::VpcSecurityGroupIdHasBeenSet
bool VpcSecurityGroupIdHasBeenSet() const
Definition: VpcSecurityGroupMembership.h:51
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::VpcSecurityGroupMembership::GetVpcSecurityGroupId
const Aws::String & GetVpcSecurityGroupId() const
Definition: VpcSecurityGroupMembership.h:46
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::VpcSecurityGroupMembership::SetVpcSecurityGroupId
void SetVpcSecurityGroupId(const Aws::String &value)
Definition: VpcSecurityGroupMembership.h:56
Aws::RDS::Model::VpcSecurityGroupMembership::WithStatus
VpcSecurityGroupMembership & WithStatus(const Aws::String &value)
Definition: VpcSecurityGroupMembership.h:112
Aws::RDS::Model::VpcSecurityGroupMembership
Definition: VpcSecurityGroupMembership.h:33
AWSString.h
Aws::RDS::Model::VpcSecurityGroupMembership::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: VpcSecurityGroupMembership.h:92
Aws::RDS::Model::VpcSecurityGroupMembership::operator=
VpcSecurityGroupMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::VpcSecurityGroupMembership::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::VpcSecurityGroupMembership::SetStatus
void SetStatus(const char *value)
Definition: VpcSecurityGroupMembership.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::VpcSecurityGroupMembership::SetStatus
void SetStatus(const Aws::String &value)
Definition: VpcSecurityGroupMembership.h:97
index
int index
Definition: cJSON.h:171
Aws::RDS::Model::VpcSecurityGroupMembership::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::VpcSecurityGroupMembership::WithVpcSecurityGroupId
VpcSecurityGroupMembership & WithVpcSecurityGroupId(Aws::String &&value)
Definition: VpcSecurityGroupMembership.h:76
Aws::RDS::Model::VpcSecurityGroupMembership::SetStatus
void SetStatus(Aws::String &&value)
Definition: VpcSecurityGroupMembership.h:102
Aws::RDS::Model::VpcSecurityGroupMembership::GetStatus
const Aws::String & GetStatus() const
Definition: VpcSecurityGroupMembership.h:87