AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
50 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
51 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
52 inline DomainMembership& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
53 inline DomainMembership& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
54 inline DomainMembership& WithDomain(const char* value) { SetDomain(value); return *this;}
56
58
62 inline const Aws::String& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
67 inline DomainMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
68 inline DomainMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
69 inline DomainMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
71
73
76 inline const Aws::String& GetFQDN() const{ return m_fQDN; }
77 inline bool FQDNHasBeenSet() const { return m_fQDNHasBeenSet; }
78 inline void SetFQDN(const Aws::String& value) { m_fQDNHasBeenSet = true; m_fQDN = value; }
79 inline void SetFQDN(Aws::String&& value) { m_fQDNHasBeenSet = true; m_fQDN = std::move(value); }
80 inline void SetFQDN(const char* value) { m_fQDNHasBeenSet = true; m_fQDN.assign(value); }
81 inline DomainMembership& WithFQDN(const Aws::String& value) { SetFQDN(value); return *this;}
82 inline DomainMembership& WithFQDN(Aws::String&& value) { SetFQDN(std::move(value)); return *this;}
83 inline DomainMembership& WithFQDN(const char* value) { SetFQDN(value); return *this;}
85
87
91 inline const Aws::String& GetIAMRoleName() const{ return m_iAMRoleName; }
92 inline bool IAMRoleNameHasBeenSet() const { return m_iAMRoleNameHasBeenSet; }
93 inline void SetIAMRoleName(const Aws::String& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = value; }
94 inline void SetIAMRoleName(Aws::String&& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = std::move(value); }
95 inline void SetIAMRoleName(const char* value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName.assign(value); }
96 inline DomainMembership& WithIAMRoleName(const Aws::String& value) { SetIAMRoleName(value); return *this;}
97 inline DomainMembership& WithIAMRoleName(Aws::String&& value) { SetIAMRoleName(std::move(value)); return *this;}
98 inline DomainMembership& WithIAMRoleName(const char* value) { SetIAMRoleName(value); return *this;}
100 private:
101
102 Aws::String m_domain;
103 bool m_domainHasBeenSet = false;
104
105 Aws::String m_status;
106 bool m_statusHasBeenSet = false;
107
108 Aws::String m_fQDN;
109 bool m_fQDNHasBeenSet = false;
110
111 Aws::String m_iAMRoleName;
112 bool m_iAMRoleNameHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Neptune
117} // namespace Aws
void SetStatus(Aws::String &&value)
const Aws::String & GetDomain() const
void SetIAMRoleName(Aws::String &&value)
DomainMembership & WithIAMRoleName(const char *value)
DomainMembership & WithIAMRoleName(const Aws::String &value)
DomainMembership & WithDomain(const Aws::String &value)
AWS_NEPTUNE_API DomainMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStatus() const
void SetDomain(Aws::String &&value)
void SetStatus(const Aws::String &value)
DomainMembership & WithStatus(const Aws::String &value)
DomainMembership & WithFQDN(const Aws::String &value)
DomainMembership & WithFQDN(const char *value)
DomainMembership & WithStatus(Aws::String &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetIAMRoleName(const Aws::String &value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DomainMembership & WithIAMRoleName(Aws::String &&value)
void SetFQDN(const Aws::String &value)
DomainMembership & WithDomain(const char *value)
void SetDomain(const Aws::String &value)
DomainMembership & WithDomain(Aws::String &&value)
AWS_NEPTUNE_API DomainMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DomainMembership & WithStatus(const char *value)
DomainMembership & WithFQDN(Aws::String &&value)
const Aws::String & GetIAMRoleName() const
const Aws::String & GetFQDN() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream