AWS SDK for C++  1.9.104
AWS SDK for C++
ClusterSecurityGroupMembership.h
Go to the documentation of this file.
1 
6 #pragma once
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 Redshift
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
45  inline const Aws::String& GetClusterSecurityGroupName() const{ return m_clusterSecurityGroupName; }
46 
50  inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; }
51 
55  inline void SetClusterSecurityGroupName(const Aws::String& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = value; }
56 
60  inline void SetClusterSecurityGroupName(Aws::String&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::move(value); }
61 
65  inline void SetClusterSecurityGroupName(const char* value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName.assign(value); }
66 
70  inline ClusterSecurityGroupMembership& WithClusterSecurityGroupName(const Aws::String& value) { SetClusterSecurityGroupName(value); return *this;}
71 
75  inline ClusterSecurityGroupMembership& WithClusterSecurityGroupName(Aws::String&& value) { SetClusterSecurityGroupName(std::move(value)); return *this;}
76 
80  inline ClusterSecurityGroupMembership& WithClusterSecurityGroupName(const char* value) { SetClusterSecurityGroupName(value); return *this;}
81 
82 
86  inline const Aws::String& GetStatus() const{ return m_status; }
87 
91  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 
96  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
97 
101  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
102 
106  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
107 
111  inline ClusterSecurityGroupMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
112 
116  inline ClusterSecurityGroupMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
117 
121  inline ClusterSecurityGroupMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
122 
123  private:
124 
125  Aws::String m_clusterSecurityGroupName;
126  bool m_clusterSecurityGroupNameHasBeenSet;
127 
128  Aws::String m_status;
129  bool m_statusHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace Redshift
134 } // namespace Aws
Aws::Redshift::Model::ClusterSecurityGroupMembership::WithClusterSecurityGroupName
ClusterSecurityGroupMembership & WithClusterSecurityGroupName(const Aws::String &value)
Definition: ClusterSecurityGroupMembership.h:70
Aws::Redshift::Model::ClusterSecurityGroupMembership::ClusterSecurityGroupNameHasBeenSet
bool ClusterSecurityGroupNameHasBeenSet() const
Definition: ClusterSecurityGroupMembership.h:50
Aws::Redshift::Model::ClusterSecurityGroupMembership::WithStatus
ClusterSecurityGroupMembership & WithStatus(const char *value)
Definition: ClusterSecurityGroupMembership.h:121
Aws::Redshift::Model::ClusterSecurityGroupMembership::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(Aws::String &&value)
Definition: ClusterSecurityGroupMembership.h:60
Aws::Redshift::Model::ClusterSecurityGroupMembership::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::ClusterSecurityGroupMembership::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(const char *value)
Definition: ClusterSecurityGroupMembership.h:65
Aws::Redshift::Model::ClusterSecurityGroupMembership::SetStatus
void SetStatus(const char *value)
Definition: ClusterSecurityGroupMembership.h:106
AWSStreamFwd.h
Aws::Redshift::Model::ClusterSecurityGroupMembership::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(const Aws::String &value)
Definition: ClusterSecurityGroupMembership.h:55
Aws::Redshift::Model::ClusterSecurityGroupMembership::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ClusterSecurityGroupMembership.h:91
Aws::Redshift::Model::ClusterSecurityGroupMembership::ClusterSecurityGroupMembership
ClusterSecurityGroupMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::ClusterSecurityGroupMembership::SetStatus
void SetStatus(Aws::String &&value)
Definition: ClusterSecurityGroupMembership.h:101
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ClusterSecurityGroupMembership::operator=
ClusterSecurityGroupMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::ClusterSecurityGroupMembership::WithStatus
ClusterSecurityGroupMembership & WithStatus(const Aws::String &value)
Definition: ClusterSecurityGroupMembership.h:111
AWSString.h
Aws::Redshift::Model::ClusterSecurityGroupMembership::GetStatus
const Aws::String & GetStatus() const
Definition: ClusterSecurityGroupMembership.h:86
Aws::Redshift::Model::ClusterSecurityGroupMembership::WithClusterSecurityGroupName
ClusterSecurityGroupMembership & WithClusterSecurityGroupName(Aws::String &&value)
Definition: ClusterSecurityGroupMembership.h:75
Aws::Redshift::Model::ClusterSecurityGroupMembership::SetStatus
void SetStatus(const Aws::String &value)
Definition: ClusterSecurityGroupMembership.h:96
Aws::Redshift::Model::ClusterSecurityGroupMembership
Definition: ClusterSecurityGroupMembership.h:32
Aws::Redshift::Model::ClusterSecurityGroupMembership::ClusterSecurityGroupMembership
ClusterSecurityGroupMembership()
Aws::Redshift::Model::ClusterSecurityGroupMembership::GetClusterSecurityGroupName
const Aws::String & GetClusterSecurityGroupName() const
Definition: ClusterSecurityGroupMembership.h:45
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ClusterSecurityGroupMembership::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::ClusterSecurityGroupMembership::WithClusterSecurityGroupName
ClusterSecurityGroupMembership & WithClusterSecurityGroupName(const char *value)
Definition: ClusterSecurityGroupMembership.h:80
Aws::Redshift::Model::ClusterSecurityGroupMembership::WithStatus
ClusterSecurityGroupMembership & WithStatus(Aws::String &&value)
Definition: ClusterSecurityGroupMembership.h:116