AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelfManagedActiveDirectoryAttributes.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FSx
23{
24namespace Model
25{
26
35 {
36 public:
41
42
44
47 inline const Aws::String& GetDomainName() const{ return m_domainName; }
48 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
50 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
51 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
53 inline SelfManagedActiveDirectoryAttributes& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
54 inline SelfManagedActiveDirectoryAttributes& WithDomainName(const char* value) { SetDomainName(value); return *this;}
56
58
63 inline const Aws::String& GetOrganizationalUnitDistinguishedName() const{ return m_organizationalUnitDistinguishedName; }
64 inline bool OrganizationalUnitDistinguishedNameHasBeenSet() const { return m_organizationalUnitDistinguishedNameHasBeenSet; }
65 inline void SetOrganizationalUnitDistinguishedName(const Aws::String& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = value; }
66 inline void SetOrganizationalUnitDistinguishedName(Aws::String&& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = std::move(value); }
67 inline void SetOrganizationalUnitDistinguishedName(const char* value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName.assign(value); }
72
74
78 inline const Aws::String& GetFileSystemAdministratorsGroup() const{ return m_fileSystemAdministratorsGroup; }
79 inline bool FileSystemAdministratorsGroupHasBeenSet() const { return m_fileSystemAdministratorsGroupHasBeenSet; }
80 inline void SetFileSystemAdministratorsGroup(const Aws::String& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = value; }
81 inline void SetFileSystemAdministratorsGroup(Aws::String&& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = std::move(value); }
82 inline void SetFileSystemAdministratorsGroup(const char* value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup.assign(value); }
87
89
93 inline const Aws::String& GetUserName() const{ return m_userName; }
94 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
95 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
96 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
97 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
98 inline SelfManagedActiveDirectoryAttributes& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
99 inline SelfManagedActiveDirectoryAttributes& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
100 inline SelfManagedActiveDirectoryAttributes& WithUserName(const char* value) { SetUserName(value); return *this;}
102
104
108 inline const Aws::Vector<Aws::String>& GetDnsIps() const{ return m_dnsIps; }
109 inline bool DnsIpsHasBeenSet() const { return m_dnsIpsHasBeenSet; }
110 inline void SetDnsIps(const Aws::Vector<Aws::String>& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = value; }
111 inline void SetDnsIps(Aws::Vector<Aws::String>&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = std::move(value); }
113 inline SelfManagedActiveDirectoryAttributes& WithDnsIps(Aws::Vector<Aws::String>&& value) { SetDnsIps(std::move(value)); return *this;}
114 inline SelfManagedActiveDirectoryAttributes& AddDnsIps(const Aws::String& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; }
115 inline SelfManagedActiveDirectoryAttributes& AddDnsIps(Aws::String&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(std::move(value)); return *this; }
116 inline SelfManagedActiveDirectoryAttributes& AddDnsIps(const char* value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; }
118 private:
119
120 Aws::String m_domainName;
121 bool m_domainNameHasBeenSet = false;
122
123 Aws::String m_organizationalUnitDistinguishedName;
124 bool m_organizationalUnitDistinguishedNameHasBeenSet = false;
125
126 Aws::String m_fileSystemAdministratorsGroup;
127 bool m_fileSystemAdministratorsGroupHasBeenSet = false;
128
129 Aws::String m_userName;
130 bool m_userNameHasBeenSet = false;
131
133 bool m_dnsIpsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace FSx
138} // namespace Aws
SelfManagedActiveDirectoryAttributes & AddDnsIps(Aws::String &&value)
SelfManagedActiveDirectoryAttributes & AddDnsIps(const Aws::String &value)
SelfManagedActiveDirectoryAttributes & WithFileSystemAdministratorsGroup(Aws::String &&value)
SelfManagedActiveDirectoryAttributes & WithDnsIps(const Aws::Vector< Aws::String > &value)
SelfManagedActiveDirectoryAttributes & WithUserName(const Aws::String &value)
SelfManagedActiveDirectoryAttributes & WithOrganizationalUnitDistinguishedName(Aws::String &&value)
SelfManagedActiveDirectoryAttributes & WithFileSystemAdministratorsGroup(const Aws::String &value)
SelfManagedActiveDirectoryAttributes & WithDomainName(const Aws::String &value)
AWS_FSX_API SelfManagedActiveDirectoryAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API SelfManagedActiveDirectoryAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfManagedActiveDirectoryAttributes & AddDnsIps(const char *value)
SelfManagedActiveDirectoryAttributes & WithFileSystemAdministratorsGroup(const char *value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
SelfManagedActiveDirectoryAttributes & WithOrganizationalUnitDistinguishedName(const Aws::String &value)
SelfManagedActiveDirectoryAttributes & WithOrganizationalUnitDistinguishedName(const char *value)
SelfManagedActiveDirectoryAttributes & WithDnsIps(Aws::Vector< Aws::String > &&value)
SelfManagedActiveDirectoryAttributes & WithUserName(Aws::String &&value)
SelfManagedActiveDirectoryAttributes & WithUserName(const char *value)
SelfManagedActiveDirectoryAttributes & WithDomainName(const char *value)
SelfManagedActiveDirectoryAttributes & WithDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue