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/neptune/Neptune_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 Neptune
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NEPTUNE_API DBClusterRole();
36 AWS_NEPTUNE_API DBClusterRole(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_NEPTUNE_API DBClusterRole& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_NEPTUNE_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
69 inline const Aws::String& GetStatus() const{ return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
72 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
73 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
74 inline DBClusterRole& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
75 inline DBClusterRole& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
76 inline DBClusterRole& WithStatus(const char* value) { SetStatus(value); return *this;}
78
80
85 inline const Aws::String& GetFeatureName() const{ return m_featureName; }
86 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
87 inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
88 inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
89 inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
90 inline DBClusterRole& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
91 inline DBClusterRole& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
92 inline DBClusterRole& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
94 private:
95
96 Aws::String m_roleArn;
97 bool m_roleArnHasBeenSet = false;
98
99 Aws::String m_status;
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_featureName;
103 bool m_featureNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Neptune
108} // namespace Aws
DBClusterRole & WithRoleArn(const char *value)
void SetRoleArn(Aws::String &&value)
void SetFeatureName(const char *value)
void SetStatus(Aws::String &&value)
DBClusterRole & WithStatus(const Aws::String &value)
AWS_NEPTUNE_API DBClusterRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetFeatureName() const
DBClusterRole & WithStatus(const char *value)
DBClusterRole & WithRoleArn(const Aws::String &value)
const Aws::String & GetStatus() const
void SetFeatureName(Aws::String &&value)
DBClusterRole & WithStatus(Aws::String &&value)
void SetStatus(const char *value)
DBClusterRole & WithRoleArn(Aws::String &&value)
void SetFeatureName(const Aws::String &value)
void SetRoleArn(const char *value)
DBClusterRole & WithFeatureName(Aws::String &&value)
AWS_NEPTUNE_API DBClusterRole(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRoleArn() const
DBClusterRole & WithFeatureName(const char *value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRoleArn(const Aws::String &value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterRole & WithFeatureName(const Aws::String &value)
void SetStatus(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