AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DomainMembership.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 DomainMembership() = default;
36 AWS_NEPTUNE_API DomainMembership(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_NEPTUNE_API DomainMembership& 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
47 inline const Aws::String& GetDomain() const { return m_domain; }
48 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
49 template<typename DomainT = Aws::String>
50 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
51 template<typename DomainT = Aws::String>
52 DomainMembership& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
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) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
64 template<typename StatusT = Aws::String>
65 DomainMembership& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
67
69
72 inline const Aws::String& GetFQDN() const { return m_fQDN; }
73 inline bool FQDNHasBeenSet() const { return m_fQDNHasBeenSet; }
74 template<typename FQDNT = Aws::String>
75 void SetFQDN(FQDNT&& value) { m_fQDNHasBeenSet = true; m_fQDN = std::forward<FQDNT>(value); }
76 template<typename FQDNT = Aws::String>
77 DomainMembership& WithFQDN(FQDNT&& value) { SetFQDN(std::forward<FQDNT>(value)); return *this;}
79
81
85 inline const Aws::String& GetIAMRoleName() const { return m_iAMRoleName; }
86 inline bool IAMRoleNameHasBeenSet() const { return m_iAMRoleNameHasBeenSet; }
87 template<typename IAMRoleNameT = Aws::String>
88 void SetIAMRoleName(IAMRoleNameT&& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = std::forward<IAMRoleNameT>(value); }
89 template<typename IAMRoleNameT = Aws::String>
90 DomainMembership& WithIAMRoleName(IAMRoleNameT&& value) { SetIAMRoleName(std::forward<IAMRoleNameT>(value)); return *this;}
92 private:
93
94 Aws::String m_domain;
95 bool m_domainHasBeenSet = false;
96
97 Aws::String m_status;
98 bool m_statusHasBeenSet = false;
99
100 Aws::String m_fQDN;
101 bool m_fQDNHasBeenSet = false;
102
103 Aws::String m_iAMRoleName;
104 bool m_iAMRoleNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Neptune
109} // 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