7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/awstransfer/model/HomeDirectoryType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/awstransfer/model/PosixProfile.h>
13#include <aws/awstransfer/model/HomeDirectoryMapEntry.h>
53 inline void SetHomeDirectory(
const char* value) { m_homeDirectoryHasBeenSet =
true; m_homeDirectory.assign(value); }
136 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
166 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
181 inline void SetServerId(
const char* value) { m_serverIdHasBeenSet =
true; m_serverId.assign(value); }
205 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
213 bool m_homeDirectoryHasBeenSet =
false;
216 bool m_homeDirectoryTypeHasBeenSet =
false;
219 bool m_homeDirectoryMappingsHasBeenSet =
false;
222 bool m_policyHasBeenSet =
false;
225 bool m_posixProfileHasBeenSet =
false;
228 bool m_roleHasBeenSet =
false;
231 bool m_serverIdHasBeenSet =
false;
234 bool m_externalIdHasBeenSet =
false;
CreateAccessRequest & WithExternalId(Aws::String &&value)
const Aws::String & GetExternalId() const
CreateAccessRequest & WithHomeDirectory(const char *value)
const PosixProfile & GetPosixProfile() const
CreateAccessRequest & AddHomeDirectoryMappings(HomeDirectoryMapEntry &&value)
void SetExternalId(Aws::String &&value)
void SetHomeDirectoryMappings(const Aws::Vector< HomeDirectoryMapEntry > &value)
void SetServerId(Aws::String &&value)
void SetHomeDirectoryMappings(Aws::Vector< HomeDirectoryMapEntry > &&value)
const Aws::String & GetHomeDirectory() const
bool HomeDirectoryTypeHasBeenSet() const
void SetRole(const Aws::String &value)
CreateAccessRequest & WithHomeDirectoryType(const HomeDirectoryType &value)
CreateAccessRequest & WithHomeDirectory(Aws::String &&value)
CreateAccessRequest & WithPosixProfile(const PosixProfile &value)
bool HomeDirectoryMappingsHasBeenSet() const
CreateAccessRequest & WithHomeDirectoryType(HomeDirectoryType &&value)
CreateAccessRequest & WithServerId(const char *value)
CreateAccessRequest & WithServerId(const Aws::String &value)
CreateAccessRequest & WithExternalId(const Aws::String &value)
bool HomeDirectoryHasBeenSet() const
void SetPolicy(const Aws::String &value)
void SetHomeDirectory(const Aws::String &value)
void SetServerId(const char *value)
const Aws::String & GetRole() const
void SetHomeDirectory(const char *value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
CreateAccessRequest & WithRole(Aws::String &&value)
void SetHomeDirectoryType(const HomeDirectoryType &value)
void SetExternalId(const char *value)
void SetRole(const char *value)
void SetRole(Aws::String &&value)
const Aws::String & GetPolicy() const
void SetPosixProfile(const PosixProfile &value)
bool ExternalIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPosixProfile(PosixProfile &&value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool PosixProfileHasBeenSet() const
void SetHomeDirectoryType(HomeDirectoryType &&value)
const Aws::String & GetServerId() const
CreateAccessRequest & WithRole(const Aws::String &value)
void SetExternalId(const Aws::String &value)
CreateAccessRequest & AddHomeDirectoryMappings(const HomeDirectoryMapEntry &value)
bool RoleHasBeenSet() const
CreateAccessRequest & WithPolicy(Aws::String &&value)
CreateAccessRequest & WithHomeDirectory(const Aws::String &value)
CreateAccessRequest & WithPosixProfile(PosixProfile &&value)
CreateAccessRequest & WithRole(const char *value)
CreateAccessRequest & WithExternalId(const char *value)
void SetPolicy(const char *value)
bool ServerIdHasBeenSet() const
const HomeDirectoryType & GetHomeDirectoryType() const
CreateAccessRequest & WithServerId(Aws::String &&value)
const Aws::Vector< HomeDirectoryMapEntry > & GetHomeDirectoryMappings() const
AWS_TRANSFER_API CreateAccessRequest()
CreateAccessRequest & WithPolicy(const Aws::String &value)
CreateAccessRequest & WithHomeDirectoryMappings(const Aws::Vector< HomeDirectoryMapEntry > &value)
void SetPolicy(Aws::String &&value)
CreateAccessRequest & WithHomeDirectoryMappings(Aws::Vector< HomeDirectoryMapEntry > &&value)
bool PolicyHasBeenSet() const
void SetServerId(const Aws::String &value)
void SetHomeDirectory(Aws::String &&value)
CreateAccessRequest & WithPolicy(const char *value)
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