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/FsxProtocol.h>
12#include <aws/datasync/model/TagListEntry.h>
40 template <
typename ProtocolT = FsxProtocol>
42 m_protocolHasBeenSet =
true;
43 m_protocol = std::forward<ProtocolT>(value);
45 template <
typename ProtocolT = FsxProtocol>
64 template <
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
66 m_securityGroupArnsHasBeenSet =
true;
67 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
69 template <
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
74 template <
typename SecurityGroupArnsT = Aws::String>
76 m_securityGroupArnsHasBeenSet =
true;
77 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
89 template <
typename StorageVirtualMachineArnT = Aws::String>
91 m_storageVirtualMachineArnHasBeenSet =
true;
92 m_storageVirtualMachineArn = std::forward<StorageVirtualMachineArnT>(value);
94 template <
typename StorageVirtualMachineArnT = Aws::String>
115 template <
typename SubdirectoryT = Aws::String>
117 m_subdirectoryHasBeenSet =
true;
118 m_subdirectory = std::forward<SubdirectoryT>(value);
120 template <
typename SubdirectoryT = Aws::String>
135 template <
typename TagsT = Aws::Vector<TagListEntry>>
137 m_tagsHasBeenSet =
true;
138 m_tags = std::forward<TagsT>(value);
140 template <
typename TagsT = Aws::Vector<TagListEntry>>
142 SetTags(std::forward<TagsT>(value));
145 template <
typename TagsT = TagListEntry>
147 m_tagsHasBeenSet =
true;
148 m_tags.emplace_back(std::forward<TagsT>(value));
162 bool m_protocolHasBeenSet =
false;
163 bool m_securityGroupArnsHasBeenSet =
false;
164 bool m_storageVirtualMachineArnHasBeenSet =
false;
165 bool m_subdirectoryHasBeenSet =
false;
166 bool m_tagsHasBeenSet =
false;
void SetProtocol(ProtocolT &&value)
bool TagsHasBeenSet() const
bool StorageVirtualMachineArnHasBeenSet() const
bool SubdirectoryHasBeenSet() const
void SetSubdirectory(SubdirectoryT &&value)
bool ProtocolHasBeenSet() const
CreateLocationFsxOntapRequest & WithProtocol(ProtocolT &&value)
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateLocationFsxOntapRequest & WithTags(TagsT &&value)
void SetSecurityGroupArns(SecurityGroupArnsT &&value)
CreateLocationFsxOntapRequest & AddSecurityGroupArns(SecurityGroupArnsT &&value)
const Aws::String & GetSubdirectory() const
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
const Aws::String & GetStorageVirtualMachineArn() const
CreateLocationFsxOntapRequest & WithSecurityGroupArns(SecurityGroupArnsT &&value)
CreateLocationFsxOntapRequest & WithStorageVirtualMachineArn(StorageVirtualMachineArnT &&value)
CreateLocationFsxOntapRequest & AddTags(TagsT &&value)
AWS_DATASYNC_API CreateLocationFsxOntapRequest()=default
CreateLocationFsxOntapRequest & WithSubdirectory(SubdirectoryT &&value)
const Aws::Vector< TagListEntry > & GetTags() const
AWS_DATASYNC_API Aws::String SerializePayload() const override
void SetStorageVirtualMachineArn(StorageVirtualMachineArnT &&value)
bool SecurityGroupArnsHasBeenSet() const
const FsxProtocol & GetProtocol() 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