AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBClusterRole.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_RDS_API DBClusterRole();
36 AWS_RDS_API DBClusterRole(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_RDS_API DBClusterRole& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
49 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
50 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
51 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
52 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
53 inline DBClusterRole& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
54 inline DBClusterRole& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
55 inline DBClusterRole& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
57
59
70 inline const Aws::String& GetStatus() const{ return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
73 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
74 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
75 inline DBClusterRole& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
76 inline DBClusterRole& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
77 inline DBClusterRole& WithStatus(const char* value) { SetStatus(value); return *this;}
79
81
86 inline const Aws::String& GetFeatureName() const{ return m_featureName; }
87 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
88 inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
89 inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
90 inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
91 inline DBClusterRole& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
92 inline DBClusterRole& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
93 inline DBClusterRole& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
95 private:
96
97 Aws::String m_roleArn;
98 bool m_roleArnHasBeenSet = false;
99
100 Aws::String m_status;
101 bool m_statusHasBeenSet = false;
102
103 Aws::String m_featureName;
104 bool m_featureNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace RDS
109} // namespace Aws
DBClusterRole & WithFeatureName(Aws::String &&value)
DBClusterRole & WithRoleArn(Aws::String &&value)
void SetStatus(const Aws::String &value)
DBClusterRole & WithFeatureName(const Aws::String &value)
DBClusterRole & WithStatus(const Aws::String &value)
DBClusterRole & WithRoleArn(const char *value)
void SetFeatureName(Aws::String &&value)
void SetFeatureName(const Aws::String &value)
void SetRoleArn(const char *value)
void SetRoleArn(Aws::String &&value)
const Aws::String & GetStatus() const
void SetRoleArn(const Aws::String &value)
const Aws::String & GetFeatureName() const
AWS_RDS_API DBClusterRole(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterRole & WithFeatureName(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API DBClusterRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterRole & WithRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
DBClusterRole & WithStatus(Aws::String &&value)
void SetFeatureName(const char *value)
void SetStatus(const char *value)
void SetStatus(Aws::String &&value)
DBClusterRole & WithStatus(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream