7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/OnPremConfig.h>
11#include <aws/datasync/model/NfsMountOptions.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/datasync/model/TagListEntry.h>
55 template<
typename SubdirectoryT = Aws::String>
56 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet =
true; m_subdirectory = std::forward<SubdirectoryT>(value); }
57 template<
typename SubdirectoryT = Aws::String>
68 template<
typename ServerHostnameT = Aws::String>
69 void SetServerHostname(ServerHostnameT&& value) { m_serverHostnameHasBeenSet =
true; m_serverHostname = std::forward<ServerHostnameT>(value); }
70 template<
typename ServerHostnameT = Aws::String>
84 template<
typename OnPremConfigT = OnPremConfig>
85 void SetOnPremConfig(OnPremConfigT&& value) { m_onPremConfigHasBeenSet =
true; m_onPremConfig = std::forward<OnPremConfigT>(value); }
86 template<
typename OnPremConfigT = OnPremConfig>
97 template<
typename MountOptionsT = NfsMountOptions>
98 void SetMountOptions(MountOptionsT&& value) { m_mountOptionsHasBeenSet =
true; m_mountOptions = std::forward<MountOptionsT>(value); }
99 template<
typename MountOptionsT = NfsMountOptions>
111 template<
typename TagsT = Aws::Vector<TagListEntry>>
112 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
113 template<
typename TagsT = Aws::Vector<TagListEntry>>
115 template<
typename TagsT = TagListEntry>
121 bool m_subdirectoryHasBeenSet =
false;
124 bool m_serverHostnameHasBeenSet =
false;
127 bool m_onPremConfigHasBeenSet =
false;
130 bool m_mountOptionsHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
bool SubdirectoryHasBeenSet() const
AWS_DATASYNC_API Aws::String SerializePayload() const override
bool OnPremConfigHasBeenSet() const
CreateLocationNfsRequest & WithServerHostname(ServerHostnameT &&value)
const NfsMountOptions & GetMountOptions() const
bool ServerHostnameHasBeenSet() const
const Aws::String & GetSubdirectory() const
void SetOnPremConfig(OnPremConfigT &&value)
const Aws::Vector< TagListEntry > & GetTags() const
CreateLocationNfsRequest & WithSubdirectory(SubdirectoryT &&value)
bool MountOptionsHasBeenSet() const
const OnPremConfig & GetOnPremConfig() const
void SetTags(TagsT &&value)
void SetServerHostname(ServerHostnameT &&value)
CreateLocationNfsRequest & WithTags(TagsT &&value)
CreateLocationNfsRequest & WithOnPremConfig(OnPremConfigT &&value)
AWS_DATASYNC_API CreateLocationNfsRequest()=default
virtual const char * GetServiceRequestName() const override
CreateLocationNfsRequest & AddTags(TagsT &&value)
CreateLocationNfsRequest & WithMountOptions(MountOptionsT &&value)
const Aws::String & GetServerHostname() const
void SetMountOptions(MountOptionsT &&value)
void SetSubdirectory(SubdirectoryT &&value)
bool TagsHasBeenSet() const
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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