AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RoleArnT = Aws::String>
51 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
52 template<typename RoleArnT = Aws::String>
53 DBClusterRole& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
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) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
71 template<typename StatusT = Aws::String>
72 DBClusterRole& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
74
76
81 inline const Aws::String& GetFeatureName() const { return m_featureName; }
82 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
83 template<typename FeatureNameT = Aws::String>
84 void SetFeatureName(FeatureNameT&& value) { m_featureNameHasBeenSet = true; m_featureName = std::forward<FeatureNameT>(value); }
85 template<typename FeatureNameT = Aws::String>
86 DBClusterRole& WithFeatureName(FeatureNameT&& value) { SetFeatureName(std::forward<FeatureNameT>(value)); return *this;}
88 private:
89
90 Aws::String m_roleArn;
91 bool m_roleArnHasBeenSet = false;
92
93 Aws::String m_status;
94 bool m_statusHasBeenSet = false;
95
96 Aws::String m_featureName;
97 bool m_featureNameHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Neptune
102} // 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