AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
DBClusterRole.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace Neptune {
20namespace Model {
21
29 public:
30 AWS_NEPTUNE_API DBClusterRole() = default;
31 AWS_NEPTUNE_API DBClusterRole(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_NEPTUNE_API DBClusterRole& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
42 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
43 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
44 template <typename RoleArnT = Aws::String>
45 void SetRoleArn(RoleArnT&& value) {
46 m_roleArnHasBeenSet = true;
47 m_roleArn = std::forward<RoleArnT>(value);
48 }
49 template <typename RoleArnT = Aws::String>
50 DBClusterRole& WithRoleArn(RoleArnT&& value) {
51 SetRoleArn(std::forward<RoleArnT>(value));
52 return *this;
53 }
55
57
67 inline const Aws::String& GetStatus() const { return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
69 template <typename StatusT = Aws::String>
70 void SetStatus(StatusT&& value) {
71 m_statusHasBeenSet = true;
72 m_status = std::forward<StatusT>(value);
73 }
74 template <typename StatusT = Aws::String>
75 DBClusterRole& WithStatus(StatusT&& value) {
76 SetStatus(std::forward<StatusT>(value));
77 return *this;
78 }
80
82
87 inline const Aws::String& GetFeatureName() const { return m_featureName; }
88 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
89 template <typename FeatureNameT = Aws::String>
90 void SetFeatureName(FeatureNameT&& value) {
91 m_featureNameHasBeenSet = true;
92 m_featureName = std::forward<FeatureNameT>(value);
93 }
94 template <typename FeatureNameT = Aws::String>
95 DBClusterRole& WithFeatureName(FeatureNameT&& value) {
96 SetFeatureName(std::forward<FeatureNameT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_roleArn;
102 bool m_roleArnHasBeenSet = false;
103
104 Aws::String m_status;
105 bool m_statusHasBeenSet = false;
106
107 Aws::String m_featureName;
108 bool m_featureNameHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Neptune
113} // namespace Aws
void SetStatus(StatusT &&value)
AWS_NEPTUNE_API DBClusterRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetFeatureName() const
const Aws::String & GetStatus() const
AWS_NEPTUNE_API DBClusterRole()=default
DBClusterRole & WithFeatureName(FeatureNameT &&value)
AWS_NEPTUNE_API DBClusterRole(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterRole & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
void SetRoleArn(RoleArnT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetFeatureName(FeatureNameT &&value)
DBClusterRole & WithStatus(StatusT &&value)
AWS_NEPTUNE_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