AWS SDK for C++  1.9.108
AWS SDK for C++
DBClusterRole.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 
47  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
48 
53  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
54 
59  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
60 
65  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
66 
71  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
72 
77  inline DBClusterRole& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
78 
83  inline DBClusterRole& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
84 
89  inline DBClusterRole& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
90 
91 
103  inline const Aws::String& GetStatus() const{ return m_status; }
104 
116  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 
129  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
130 
142  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
143 
155  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
156 
168  inline DBClusterRole& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
169 
181  inline DBClusterRole& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
182 
194  inline DBClusterRole& WithStatus(const char* value) { SetStatus(value); return *this;}
195 
196 
202  inline const Aws::String& GetFeatureName() const{ return m_featureName; }
203 
209  inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
210 
216  inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
217 
223  inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
224 
230  inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
231 
237  inline DBClusterRole& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
238 
244  inline DBClusterRole& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
245 
251  inline DBClusterRole& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
252 
253  private:
254 
255  Aws::String m_roleArn;
256  bool m_roleArnHasBeenSet;
257 
258  Aws::String m_status;
259  bool m_statusHasBeenSet;
260 
261  Aws::String m_featureName;
262  bool m_featureNameHasBeenSet;
263  };
264 
265 } // namespace Model
266 } // namespace RDS
267 } // namespace Aws
Aws::RDS::Model::DBClusterRole::WithFeatureName
DBClusterRole & WithFeatureName(Aws::String &&value)
Definition: DBClusterRole.h:244
Aws::RDS::Model::DBClusterRole::SetStatus
void SetStatus(const char *value)
Definition: DBClusterRole.h:155
Aws::RDS::Model::DBClusterRole::WithRoleArn
DBClusterRole & WithRoleArn(Aws::String &&value)
Definition: DBClusterRole.h:83
Aws::RDS::Model::DBClusterRole::SetRoleArn
void SetRoleArn(const char *value)
Definition: DBClusterRole.h:71
Aws::RDS::Model::DBClusterRole::WithFeatureName
DBClusterRole & WithFeatureName(const Aws::String &value)
Definition: DBClusterRole.h:237
Aws::RDS::Model::DBClusterRole::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DBClusterRole
Definition: DBClusterRole.h:33
AWSStreamFwd.h
Aws::RDS::Model::DBClusterRole::WithRoleArn
DBClusterRole & WithRoleArn(const char *value)
Definition: DBClusterRole.h:89
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::DBClusterRole::SetFeatureName
void SetFeatureName(const char *value)
Definition: DBClusterRole.h:230
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DBClusterRole::WithStatus
DBClusterRole & WithStatus(const char *value)
Definition: DBClusterRole.h:194
Aws::RDS::Model::DBClusterRole::SetStatus
void SetStatus(Aws::String &&value)
Definition: DBClusterRole.h:142
Aws::RDS::Model::DBClusterRole::WithStatus
DBClusterRole & WithStatus(Aws::String &&value)
Definition: DBClusterRole.h:181
Aws::RDS::Model::DBClusterRole::SetStatus
void SetStatus(const Aws::String &value)
Definition: DBClusterRole.h:129
Aws::RDS::Model::DBClusterRole::GetFeatureName
const Aws::String & GetFeatureName() const
Definition: DBClusterRole.h:202
Aws::RDS::Model::DBClusterRole::WithFeatureName
DBClusterRole & WithFeatureName(const char *value)
Definition: DBClusterRole.h:251
AWSString.h
Aws::RDS::Model::DBClusterRole::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DBClusterRole.h:59
Aws::RDS::Model::DBClusterRole::SetFeatureName
void SetFeatureName(Aws::String &&value)
Definition: DBClusterRole.h:223
Aws::RDS::Model::DBClusterRole::FeatureNameHasBeenSet
bool FeatureNameHasBeenSet() const
Definition: DBClusterRole.h:209
Aws::RDS::Model::DBClusterRole::operator=
DBClusterRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DBClusterRole::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DBClusterRole.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DBClusterRole::DBClusterRole
DBClusterRole()
Aws::RDS::Model::DBClusterRole::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DBClusterRole::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DBClusterRole.h:116
Aws::RDS::Model::DBClusterRole::SetFeatureName
void SetFeatureName(const Aws::String &value)
Definition: DBClusterRole.h:216
Aws::RDS::Model::DBClusterRole::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: DBClusterRole.h:53
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DBClusterRole::DBClusterRole
DBClusterRole(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBClusterRole::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DBClusterRole.h:65
Aws::RDS::Model::DBClusterRole::WithRoleArn
DBClusterRole & WithRoleArn(const Aws::String &value)
Definition: DBClusterRole.h:77
Aws::RDS::Model::DBClusterRole::GetStatus
const Aws::String & GetStatus() const
Definition: DBClusterRole.h:103
Aws::RDS::Model::DBClusterRole::WithStatus
DBClusterRole & WithStatus(const Aws::String &value)
Definition: DBClusterRole.h:168