7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/storagegateway/StorageGatewayRequest.h>
10#include <aws/storagegateway/StorageGateway_EXPORTS.h>
15namespace StorageGateway {
45 template <
typename GatewayARNT = Aws::String>
47 m_gatewayARNHasBeenSet =
true;
48 m_gatewayARN = std::forward<GatewayARNT>(value);
50 template <
typename GatewayARNT = Aws::String>
63 template <
typename DomainNameT = Aws::String>
65 m_domainNameHasBeenSet =
true;
66 m_domainName = std::forward<DomainNameT>(value);
68 template <
typename DomainNameT = Aws::String>
83 template <
typename OrganizationalUnitT = Aws::String>
85 m_organizationalUnitHasBeenSet =
true;
86 m_organizationalUnit = std::forward<OrganizationalUnitT>(value);
88 template <
typename OrganizationalUnitT = Aws::String>
105 template <
typename DomainControllersT = Aws::Vector<Aws::String>>
107 m_domainControllersHasBeenSet =
true;
108 m_domainControllers = std::forward<DomainControllersT>(value);
110 template <
typename DomainControllersT = Aws::Vector<Aws::String>>
115 template <
typename DomainControllersT = Aws::String>
117 m_domainControllersHasBeenSet =
true;
118 m_domainControllers.emplace_back(std::forward<DomainControllersT>(value));
131 m_timeoutInSecondsHasBeenSet =
true;
132 m_timeoutInSeconds = value;
150 template <
typename UserNameT = Aws::String>
152 m_userNameHasBeenSet =
true;
153 m_userName = std::forward<UserNameT>(value);
155 template <
typename UserNameT = Aws::String>
169 template <
typename PasswordT = Aws::String>
171 m_passwordHasBeenSet =
true;
172 m_password = std::forward<PasswordT>(value);
174 template <
typename PasswordT = Aws::String>
189 int m_timeoutInSeconds{0};
194 bool m_gatewayARNHasBeenSet =
false;
195 bool m_domainNameHasBeenSet =
false;
196 bool m_organizationalUnitHasBeenSet =
false;
197 bool m_domainControllersHasBeenSet =
false;
198 bool m_timeoutInSecondsHasBeenSet =
false;
199 bool m_userNameHasBeenSet =
false;
200 bool m_passwordHasBeenSet =
false;
bool OrganizationalUnitHasBeenSet() const
JoinDomainRequest & AddDomainControllers(DomainControllersT &&value)
JoinDomainRequest & WithUserName(UserNameT &&value)
const Aws::String & GetOrganizationalUnit() const
bool TimeoutInSecondsHasBeenSet() const
void SetOrganizationalUnit(OrganizationalUnitT &&value)
void SetUserName(UserNameT &&value)
bool GatewayARNHasBeenSet() const
bool DomainControllersHasBeenSet() const
bool UserNameHasBeenSet() const
void SetDomainName(DomainNameT &&value)
JoinDomainRequest & WithGatewayARN(GatewayARNT &&value)
JoinDomainRequest & WithDomainControllers(DomainControllersT &&value)
virtual const char * GetServiceRequestName() const override
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
JoinDomainRequest & WithPassword(PasswordT &&value)
void SetGatewayARN(GatewayARNT &&value)
bool PasswordHasBeenSet() const
const Aws::String & GetPassword() const
JoinDomainRequest & WithTimeoutInSeconds(int value)
JoinDomainRequest & WithOrganizationalUnit(OrganizationalUnitT &&value)
bool DomainNameHasBeenSet() const
AWS_STORAGEGATEWAY_API JoinDomainRequest()=default
void SetPassword(PasswordT &&value)
void SetDomainControllers(DomainControllersT &&value)
const Aws::String & GetDomainName() const
const Aws::String & GetUserName() const
int GetTimeoutInSeconds() const
const Aws::Vector< Aws::String > & GetDomainControllers() const
JoinDomainRequest & WithDomainName(DomainNameT &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
void SetTimeoutInSeconds(int value)
const Aws::String & GetGatewayARN() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector