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/ObjectStorageServerProtocol.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/Array.h>
13#include <aws/datasync/model/CmkSecretConfig.h>
14#include <aws/datasync/model/CustomSecretConfig.h>
15#include <aws/datasync/model/TagListEntry.h>
53 template<
typename ServerHostnameT = Aws::String>
54 void SetServerHostname(ServerHostnameT&& value) { m_serverHostnameHasBeenSet =
true; m_serverHostname = std::forward<ServerHostnameT>(value); }
55 template<
typename ServerHostnameT = Aws::String>
66 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
89 template<
typename SubdirectoryT = Aws::String>
90 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet =
true; m_subdirectory = std::forward<SubdirectoryT>(value); }
91 template<
typename SubdirectoryT = Aws::String>
101 template<
typename BucketNameT = Aws::String>
102 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet =
true; m_bucketName = std::forward<BucketNameT>(value); }
103 template<
typename BucketNameT = Aws::String>
114 template<
typename AccessKeyT = Aws::String>
115 void SetAccessKey(AccessKeyT&& value) { m_accessKeyHasBeenSet =
true; m_accessKey = std::forward<AccessKeyT>(value); }
116 template<
typename AccessKeyT = Aws::String>
131 template<
typename SecretKeyT = Aws::String>
132 void SetSecretKey(SecretKeyT&& value) { m_secretKeyHasBeenSet =
true; m_secretKey = std::forward<SecretKeyT>(value); }
133 template<
typename SecretKeyT = Aws::String>
148 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
149 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet =
true; m_agentArns = std::forward<AgentArnsT>(value); }
150 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
152 template<
typename AgentArnsT = Aws::String>
164 template<
typename TagsT = Aws::Vector<TagListEntry>>
165 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
166 template<
typename TagsT = Aws::Vector<TagListEntry>>
168 template<
typename TagsT = TagListEntry>
193 template<
typename ServerCertificateT = Aws::Utils::ByteBuffer>
194 void SetServerCertificate(ServerCertificateT&& value) { m_serverCertificateHasBeenSet =
true; m_serverCertificate = std::forward<ServerCertificateT>(value); }
195 template<
typename ServerCertificateT = Aws::Utils::ByteBuffer>
217 template<
typename CmkSecretConfigT = CmkSecretConfig>
218 void SetCmkSecretConfig(CmkSecretConfigT&& value) { m_cmkSecretConfigHasBeenSet =
true; m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value); }
219 template<
typename CmkSecretConfigT = CmkSecretConfig>
236 template<
typename CustomSecretConfigT = CustomSecretConfig>
237 void SetCustomSecretConfig(CustomSecretConfigT&& value) { m_customSecretConfigHasBeenSet =
true; m_customSecretConfig = std::forward<CustomSecretConfigT>(value); }
238 template<
typename CustomSecretConfigT = CustomSecretConfig>
244 bool m_serverHostnameHasBeenSet =
false;
247 bool m_serverPortHasBeenSet =
false;
250 bool m_serverProtocolHasBeenSet =
false;
253 bool m_subdirectoryHasBeenSet =
false;
256 bool m_bucketNameHasBeenSet =
false;
259 bool m_accessKeyHasBeenSet =
false;
262 bool m_secretKeyHasBeenSet =
false;
265 bool m_agentArnsHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
271 bool m_serverCertificateHasBeenSet =
false;
273 CmkSecretConfig m_cmkSecretConfig;
274 bool m_cmkSecretConfigHasBeenSet =
false;
276 CustomSecretConfig m_customSecretConfig;
277 bool m_customSecretConfigHasBeenSet =
false;
CreateLocationObjectStorageRequest & WithCustomSecretConfig(CustomSecretConfigT &&value)
CreateLocationObjectStorageRequest & WithAgentArns(AgentArnsT &&value)
bool ServerHostnameHasBeenSet() const
bool ServerPortHasBeenSet() const
void SetCustomSecretConfig(CustomSecretConfigT &&value)
void SetBucketName(BucketNameT &&value)
const Aws::String & GetBucketName() const
const Aws::String & GetServerHostname() const
void SetTags(TagsT &&value)
void SetSecretKey(SecretKeyT &&value)
void SetServerProtocol(ObjectStorageServerProtocol value)
CreateLocationObjectStorageRequest & WithServerCertificate(ServerCertificateT &&value)
const CmkSecretConfig & GetCmkSecretConfig() const
CreateLocationObjectStorageRequest & WithBucketName(BucketNameT &&value)
bool TagsHasBeenSet() const
const Aws::Utils::ByteBuffer & GetServerCertificate() const
const Aws::Vector< Aws::String > & GetAgentArns() const
bool AccessKeyHasBeenSet() const
CreateLocationObjectStorageRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
bool BucketNameHasBeenSet() const
void SetCmkSecretConfig(CmkSecretConfigT &&value)
CreateLocationObjectStorageRequest & WithTags(TagsT &&value)
void SetSubdirectory(SubdirectoryT &&value)
const Aws::String & GetSubdirectory() const
const Aws::Vector< TagListEntry > & GetTags() const
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CustomSecretConfigHasBeenSet() const
void SetServerCertificate(ServerCertificateT &&value)
const Aws::String & GetSecretKey() const
CreateLocationObjectStorageRequest & AddAgentArns(AgentArnsT &&value)
void SetAgentArns(AgentArnsT &&value)
AWS_DATASYNC_API CreateLocationObjectStorageRequest()=default
AWS_DATASYNC_API Aws::String SerializePayload() const override
bool SubdirectoryHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLocationObjectStorageRequest & AddTags(TagsT &&value)
CreateLocationObjectStorageRequest & WithServerProtocol(ObjectStorageServerProtocol value)
const CustomSecretConfig & GetCustomSecretConfig() const
CreateLocationObjectStorageRequest & WithSecretKey(SecretKeyT &&value)
CreateLocationObjectStorageRequest & WithServerHostname(ServerHostnameT &&value)
bool AgentArnsHasBeenSet() const
bool ServerCertificateHasBeenSet() const
ObjectStorageServerProtocol GetServerProtocol() const
void SetServerPort(int value)
bool CmkSecretConfigHasBeenSet() const
CreateLocationObjectStorageRequest & WithSubdirectory(SubdirectoryT &&value)
bool ServerProtocolHasBeenSet() const
CreateLocationObjectStorageRequest & WithAccessKey(AccessKeyT &&value)
void SetServerHostname(ServerHostnameT &&value)
CreateLocationObjectStorageRequest & WithServerPort(int value)
bool SecretKeyHasBeenSet() const
const Aws::String & GetAccessKey() const
void SetAccessKey(AccessKeyT &&value)
int GetServerPort() const
ObjectStorageServerProtocol
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