AWS SDK for C++  1.9.159
AWS SDK for C++
OptionGroupMembership.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& GetOptionGroupName() const{ return m_optionGroupName; }
47 
51  inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
52 
56  inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
57 
61  inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
62 
66  inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
67 
71  inline OptionGroupMembership& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
72 
76  inline OptionGroupMembership& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
77 
81  inline OptionGroupMembership& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
82 
83 
91  inline const Aws::String& GetStatus() const{ return m_status; }
92 
100  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 
109  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
110 
118  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
119 
127  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
128 
136  inline OptionGroupMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
137 
145  inline OptionGroupMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
146 
154  inline OptionGroupMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
155 
156  private:
157 
158  Aws::String m_optionGroupName;
159  bool m_optionGroupNameHasBeenSet;
160 
161  Aws::String m_status;
162  bool m_statusHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace RDS
167 } // namespace Aws
Aws::RDS::Model::OptionGroupMembership::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::OptionGroupMembership::WithStatus
OptionGroupMembership & WithStatus(Aws::String &&value)
Definition: OptionGroupMembership.h:145
Aws::RDS::Model::OptionGroupMembership::WithOptionGroupName
OptionGroupMembership & WithOptionGroupName(Aws::String &&value)
Definition: OptionGroupMembership.h:76
Aws::RDS::Model::OptionGroupMembership::SetStatus
void SetStatus(const char *value)
Definition: OptionGroupMembership.h:127
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::OptionGroupMembership::WithOptionGroupName
OptionGroupMembership & WithOptionGroupName(const Aws::String &value)
Definition: OptionGroupMembership.h:71
AWSStreamFwd.h
Aws::RDS::Model::OptionGroupMembership::operator=
OptionGroupMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::OptionGroupMembership::SetStatus
void SetStatus(const Aws::String &value)
Definition: OptionGroupMembership.h:109
Aws::RDS::Model::OptionGroupMembership::WithOptionGroupName
OptionGroupMembership & WithOptionGroupName(const char *value)
Definition: OptionGroupMembership.h:81
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::OptionGroupMembership::SetOptionGroupName
void SetOptionGroupName(Aws::String &&value)
Definition: OptionGroupMembership.h:61
Aws::RDS::Model::OptionGroupMembership::SetStatus
void SetStatus(Aws::String &&value)
Definition: OptionGroupMembership.h:118
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::OptionGroupMembership::OptionGroupMembership
OptionGroupMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::OptionGroupMembership::SetOptionGroupName
void SetOptionGroupName(const Aws::String &value)
Definition: OptionGroupMembership.h:56
AWSString.h
Aws::RDS::Model::OptionGroupMembership::WithStatus
OptionGroupMembership & WithStatus(const char *value)
Definition: OptionGroupMembership.h:154
Aws::RDS::Model::OptionGroupMembership::OptionGroupMembership
OptionGroupMembership()
Aws::RDS::Model::OptionGroupMembership::WithStatus
OptionGroupMembership & WithStatus(const Aws::String &value)
Definition: OptionGroupMembership.h:136
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::OptionGroupMembership::GetStatus
const Aws::String & GetStatus() const
Definition: OptionGroupMembership.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::OptionGroupMembership::GetOptionGroupName
const Aws::String & GetOptionGroupName() const
Definition: OptionGroupMembership.h:46
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::OptionGroupMembership::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::OptionGroupMembership::SetOptionGroupName
void SetOptionGroupName(const char *value)
Definition: OptionGroupMembership.h:66
Aws::RDS::Model::OptionGroupMembership
Definition: OptionGroupMembership.h:33
Aws::RDS::Model::OptionGroupMembership::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: OptionGroupMembership.h:100
Aws::RDS::Model::OptionGroupMembership::OptionGroupNameHasBeenSet
bool OptionGroupNameHasBeenSet() const
Definition: OptionGroupMembership.h:51