AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBInstanceRole.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 DBInstanceRole();
36 AWS_RDS_API DBInstanceRole(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 DBInstanceRole& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
54 inline DBInstanceRole& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
55 inline DBInstanceRole& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
57
59
64 inline const Aws::String& GetFeatureName() const{ return m_featureName; }
65 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
66 inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
67 inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
68 inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
69 inline DBInstanceRole& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
70 inline DBInstanceRole& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
71 inline DBInstanceRole& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
73
75
86 inline const Aws::String& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
91 inline DBInstanceRole& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
92 inline DBInstanceRole& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
93 inline DBInstanceRole& WithStatus(const char* value) { SetStatus(value); return *this;}
95 private:
96
97 Aws::String m_roleArn;
98 bool m_roleArnHasBeenSet = false;
99
100 Aws::String m_featureName;
101 bool m_featureNameHasBeenSet = false;
102
103 Aws::String m_status;
104 bool m_statusHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace RDS
109} // namespace Aws
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBInstanceRole & WithStatus(const char *value)
const Aws::String & GetFeatureName() const
DBInstanceRole & WithFeatureName(Aws::String &&value)
void SetStatus(Aws::String &&value)
void SetFeatureName(const char *value)
AWS_RDS_API DBInstanceRole(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(const Aws::String &value)
DBInstanceRole & WithFeatureName(const Aws::String &value)
DBInstanceRole & WithRoleArn(Aws::String &&value)
DBInstanceRole & WithFeatureName(const char *value)
const Aws::String & GetStatus() const
DBInstanceRole & WithRoleArn(const char *value)
void SetRoleArn(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBInstanceRole & WithStatus(Aws::String &&value)
void SetFeatureName(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
DBInstanceRole & WithRoleArn(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
void SetStatus(const char *value)
DBInstanceRole & WithStatus(const Aws::String &value)
AWS_RDS_API DBInstanceRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFeatureName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream