7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSyncRequest.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/NfsMountOptions.h>
12#include <aws/datasync/model/OnPremConfig.h>
13#include <aws/datasync/model/TagListEntry.h>
51 template <
typename SubdirectoryT = Aws::String>
53 m_subdirectoryHasBeenSet =
true;
54 m_subdirectory = std::forward<SubdirectoryT>(value);
56 template <
typename SubdirectoryT = Aws::String>
70 template <
typename ServerHostnameT = Aws::String>
72 m_serverHostnameHasBeenSet =
true;
73 m_serverHostname = std::forward<ServerHostnameT>(value);
75 template <
typename ServerHostnameT = Aws::String>
92 template <
typename OnPremConfigT = OnPremConfig>
94 m_onPremConfigHasBeenSet =
true;
95 m_onPremConfig = std::forward<OnPremConfigT>(value);
97 template <
typename OnPremConfigT = OnPremConfig>
111 template <
typename MountOptionsT = NfsMountOptions>
113 m_mountOptionsHasBeenSet =
true;
114 m_mountOptions = std::forward<MountOptionsT>(value);
116 template <
typename MountOptionsT = NfsMountOptions>
131 template <
typename TagsT = Aws::Vector<TagListEntry>>
133 m_tagsHasBeenSet =
true;
134 m_tags = std::forward<TagsT>(value);
136 template <
typename TagsT = Aws::Vector<TagListEntry>>
138 SetTags(std::forward<TagsT>(value));
141 template <
typename TagsT = TagListEntry>
143 m_tagsHasBeenSet =
true;
144 m_tags.emplace_back(std::forward<TagsT>(value));
158 bool m_subdirectoryHasBeenSet =
false;
159 bool m_serverHostnameHasBeenSet =
false;
160 bool m_onPremConfigHasBeenSet =
false;
161 bool m_mountOptionsHasBeenSet =
false;
162 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