AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
DomainMembership.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 DomainMembership() = default;
31 AWS_NEPTUNE_API DomainMembership(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_NEPTUNE_API DomainMembership& 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
41 inline const Aws::String& GetDomain() const { return m_domain; }
42 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
43 template <typename DomainT = Aws::String>
44 void SetDomain(DomainT&& value) {
45 m_domainHasBeenSet = true;
46 m_domain = std::forward<DomainT>(value);
47 }
48 template <typename DomainT = Aws::String>
49 DomainMembership& WithDomain(DomainT&& value) {
50 SetDomain(std::forward<DomainT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 template <typename StatusT = Aws::String>
63 void SetStatus(StatusT&& value) {
64 m_statusHasBeenSet = true;
65 m_status = std::forward<StatusT>(value);
66 }
67 template <typename StatusT = Aws::String>
68 DomainMembership& WithStatus(StatusT&& value) {
69 SetStatus(std::forward<StatusT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetFQDN() const { return m_fQDN; }
79 inline bool FQDNHasBeenSet() const { return m_fQDNHasBeenSet; }
80 template <typename FQDNT = Aws::String>
81 void SetFQDN(FQDNT&& value) {
82 m_fQDNHasBeenSet = true;
83 m_fQDN = std::forward<FQDNT>(value);
84 }
85 template <typename FQDNT = Aws::String>
86 DomainMembership& WithFQDN(FQDNT&& value) {
87 SetFQDN(std::forward<FQDNT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetIAMRoleName() const { return m_iAMRoleName; }
98 inline bool IAMRoleNameHasBeenSet() const { return m_iAMRoleNameHasBeenSet; }
99 template <typename IAMRoleNameT = Aws::String>
100 void SetIAMRoleName(IAMRoleNameT&& value) {
101 m_iAMRoleNameHasBeenSet = true;
102 m_iAMRoleName = std::forward<IAMRoleNameT>(value);
103 }
104 template <typename IAMRoleNameT = Aws::String>
105 DomainMembership& WithIAMRoleName(IAMRoleNameT&& value) {
106 SetIAMRoleName(std::forward<IAMRoleNameT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_domain;
112 bool m_domainHasBeenSet = false;
113
114 Aws::String m_status;
115 bool m_statusHasBeenSet = false;
116
117 Aws::String m_fQDN;
118 bool m_fQDNHasBeenSet = false;
119
120 Aws::String m_iAMRoleName;
121 bool m_iAMRoleNameHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Neptune
126} // namespace Aws
const Aws::String & GetDomain() const
DomainMembership & WithIAMRoleName(IAMRoleNameT &&value)
AWS_NEPTUNE_API DomainMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStatus() const
void SetIAMRoleName(IAMRoleNameT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DomainMembership & WithDomain(DomainT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_NEPTUNE_API DomainMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DomainMembership & WithStatus(StatusT &&value)
AWS_NEPTUNE_API DomainMembership()=default
const Aws::String & GetIAMRoleName() const
const Aws::String & GetFQDN() const
DomainMembership & WithFQDN(FQDNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream