AWS SDK for C++

AWS SDK for C++ Version 1.11.851

Loading...
Searching...
No Matches
DBClusterAssociatedRole.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/rds/RDS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace RDS {
20namespace Model {
21
33 public:
34 AWS_RDS_API DBClusterAssociatedRole() = default;
37
38 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
46 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
47 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
48 template <typename RoleArnT = Aws::String>
49 void SetRoleArn(RoleArnT&& value) {
50 m_roleArnHasBeenSet = true;
51 m_roleArn = std::forward<RoleArnT>(value);
52 }
53 template <typename RoleArnT = Aws::String>
55 SetRoleArn(std::forward<RoleArnT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetFeatureName() const { return m_featureName; }
66 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
67 template <typename FeatureNameT = Aws::String>
68 void SetFeatureName(FeatureNameT&& value) {
69 m_featureNameHasBeenSet = true;
70 m_featureName = std::forward<FeatureNameT>(value);
71 }
72 template <typename FeatureNameT = Aws::String>
74 SetFeatureName(std::forward<FeatureNameT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_roleArn;
80
81 Aws::String m_featureName;
82 bool m_roleArnHasBeenSet = false;
83 bool m_featureNameHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace RDS
88} // namespace Aws
DBClusterAssociatedRole & WithFeatureName(FeatureNameT &&value)
AWS_RDS_API DBClusterAssociatedRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API DBClusterAssociatedRole(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterAssociatedRole & WithRoleArn(RoleArnT &&value)
AWS_RDS_API DBClusterAssociatedRole()=default
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream