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/docdb/DocDB_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 DocDB
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DOCDB_API DBClusterRole();
36 AWS_DOCDB_API DBClusterRole(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_DOCDB_API DBClusterRole& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_DOCDB_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 private:
79
80 Aws::String m_roleArn;
81 bool m_roleArnHasBeenSet = false;
82
83 Aws::String m_status;
84 bool m_statusHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DocDB
89} // namespace Aws
DBClusterRole & WithStatus(const Aws::String &value)
DBClusterRole & WithRoleArn(const char *value)
DBClusterRole & WithStatus(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRoleArn(const Aws::String &value)
AWS_DOCDB_API DBClusterRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterRole & WithRoleArn(Aws::String &&value)
void SetRoleArn(const char *value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_DOCDB_API DBClusterRole(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterRole & WithRoleArn(const Aws::String &value)
void SetStatus(const Aws::String &value)
const Aws::String & GetStatus() const
void SetRoleArn(Aws::String &&value)
DBClusterRole & WithStatus(const char *value)
const Aws::String & GetRoleArn() const
void SetStatus(Aws::String &&value)
void SetStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream