7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15namespace StorageGateway
51 inline void SetGatewayARN(
const char* value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN.assign(value); }
65 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
81 inline void SetOrganizationalUnit(
const char* value) { m_organizationalUnitHasBeenSet =
true; m_organizationalUnit.assign(value); }
111 inline void SetTimeoutInSeconds(
int value) { m_timeoutInSecondsHasBeenSet =
true; m_timeoutInSeconds = value; }
127 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
142 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
150 bool m_gatewayARNHasBeenSet =
false;
153 bool m_domainNameHasBeenSet =
false;
156 bool m_organizationalUnitHasBeenSet =
false;
159 bool m_domainControllersHasBeenSet =
false;
161 int m_timeoutInSeconds;
162 bool m_timeoutInSecondsHasBeenSet =
false;
165 bool m_userNameHasBeenSet =
false;
168 bool m_passwordHasBeenSet =
false;
AWS_STORAGEGATEWAY_API JoinDomainRequest()
bool OrganizationalUnitHasBeenSet() const
JoinDomainRequest & WithGatewayARN(const Aws::String &value)
void SetUserName(const char *value)
void SetUserName(Aws::String &&value)
JoinDomainRequest & WithOrganizationalUnit(const Aws::String &value)
void SetGatewayARN(const char *value)
void SetPassword(const Aws::String &value)
const Aws::String & GetOrganizationalUnit() const
bool TimeoutInSecondsHasBeenSet() const
JoinDomainRequest & WithUserName(const Aws::String &value)
void SetGatewayARN(const Aws::String &value)
JoinDomainRequest & WithGatewayARN(Aws::String &&value)
JoinDomainRequest & WithOrganizationalUnit(Aws::String &&value)
void SetDomainName(const char *value)
void SetGatewayARN(Aws::String &&value)
void SetPassword(Aws::String &&value)
bool GatewayARNHasBeenSet() const
bool DomainControllersHasBeenSet() const
bool UserNameHasBeenSet() const
void SetOrganizationalUnit(Aws::String &&value)
JoinDomainRequest & WithDomainControllers(const Aws::Vector< Aws::String > &value)
JoinDomainRequest & WithDomainName(Aws::String &&value)
JoinDomainRequest & WithUserName(const char *value)
JoinDomainRequest & AddDomainControllers(const Aws::String &value)
void SetOrganizationalUnit(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
JoinDomainRequest & WithDomainName(const Aws::String &value)
void SetUserName(const Aws::String &value)
JoinDomainRequest & AddDomainControllers(Aws::String &&value)
bool PasswordHasBeenSet() const
const Aws::String & GetPassword() const
JoinDomainRequest & WithTimeoutInSeconds(int value)
JoinDomainRequest & WithPassword(Aws::String &&value)
bool DomainNameHasBeenSet() const
void SetDomainControllers(Aws::Vector< Aws::String > &&value)
void SetDomainName(Aws::String &&value)
JoinDomainRequest & AddDomainControllers(const char *value)
void SetDomainName(const Aws::String &value)
JoinDomainRequest & WithPassword(const char *value)
void SetDomainControllers(const Aws::Vector< Aws::String > &value)
JoinDomainRequest & WithGatewayARN(const char *value)
JoinDomainRequest & WithDomainName(const char *value)
JoinDomainRequest & WithPassword(const Aws::String &value)
JoinDomainRequest & WithUserName(Aws::String &&value)
JoinDomainRequest & WithOrganizationalUnit(const char *value)
const Aws::String & GetDomainName() const
const Aws::String & GetUserName() const
int GetTimeoutInSeconds() const
JoinDomainRequest & WithDomainControllers(Aws::Vector< Aws::String > &&value)
void SetOrganizationalUnit(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDomainControllers() const
void SetPassword(const char *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