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>
49 template<
typename LocationArnT = Aws::String>
50 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet =
true; m_locationArn = std::forward<LocationArnT>(value); }
51 template<
typename LocationArnT = Aws::String>
62 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
85 template<
typename SubdirectoryT = Aws::String>
86 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet =
true; m_subdirectory = std::forward<SubdirectoryT>(value); }
87 template<
typename SubdirectoryT = Aws::String>
98 template<
typename ServerHostnameT = Aws::String>
99 void SetServerHostname(ServerHostnameT&& value) { m_serverHostnameHasBeenSet =
true; m_serverHostname = std::forward<ServerHostnameT>(value); }
100 template<
typename ServerHostnameT = Aws::String>
111 template<
typename AccessKeyT = Aws::String>
112 void SetAccessKey(AccessKeyT&& value) { m_accessKeyHasBeenSet =
true; m_accessKey = std::forward<AccessKeyT>(value); }
113 template<
typename AccessKeyT = Aws::String>
128 template<
typename SecretKeyT = Aws::String>
129 void SetSecretKey(SecretKeyT&& value) { m_secretKeyHasBeenSet =
true; m_secretKey = std::forward<SecretKeyT>(value); }
130 template<
typename SecretKeyT = Aws::String>
144 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
145 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet =
true; m_agentArns = std::forward<AgentArnsT>(value); }
146 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
148 template<
typename AgentArnsT = Aws::String>
174 template<
typename ServerCertificateT = Aws::Utils::ByteBuffer>
175 void SetServerCertificate(ServerCertificateT&& value) { m_serverCertificateHasBeenSet =
true; m_serverCertificate = std::forward<ServerCertificateT>(value); }
176 template<
typename ServerCertificateT = Aws::Utils::ByteBuffer>
188 template<
typename CmkSecretConfigT = CmkSecretConfig>
189 void SetCmkSecretConfig(CmkSecretConfigT&& value) { m_cmkSecretConfigHasBeenSet =
true; m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value); }
190 template<
typename CmkSecretConfigT = CmkSecretConfig>
202 template<
typename CustomSecretConfigT = CustomSecretConfig>
203 void SetCustomSecretConfig(CustomSecretConfigT&& value) { m_customSecretConfigHasBeenSet =
true; m_customSecretConfig = std::forward<CustomSecretConfigT>(value); }
204 template<
typename CustomSecretConfigT = CustomSecretConfig>
210 bool m_locationArnHasBeenSet =
false;
213 bool m_serverPortHasBeenSet =
false;
216 bool m_serverProtocolHasBeenSet =
false;
219 bool m_subdirectoryHasBeenSet =
false;
222 bool m_serverHostnameHasBeenSet =
false;
225 bool m_accessKeyHasBeenSet =
false;
228 bool m_secretKeyHasBeenSet =
false;
231 bool m_agentArnsHasBeenSet =
false;
234 bool m_serverCertificateHasBeenSet =
false;
236 CmkSecretConfig m_cmkSecretConfig;
237 bool m_cmkSecretConfigHasBeenSet =
false;
239 CustomSecretConfig m_customSecretConfig;
240 bool m_customSecretConfigHasBeenSet =
false;
void SetSecretKey(SecretKeyT &&value)
bool CmkSecretConfigHasBeenSet() const
const Aws::String & GetServerHostname() const
const Aws::String & GetSubdirectory() const
void SetAccessKey(AccessKeyT &&value)
UpdateLocationObjectStorageRequest & WithAccessKey(AccessKeyT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateLocationObjectStorageRequest & AddAgentArns(AgentArnsT &&value)
UpdateLocationObjectStorageRequest & WithSubdirectory(SubdirectoryT &&value)
UpdateLocationObjectStorageRequest & WithServerHostname(ServerHostnameT &&value)
int GetServerPort() const
UpdateLocationObjectStorageRequest & WithLocationArn(LocationArnT &&value)
const Aws::Utils::ByteBuffer & GetServerCertificate() const
UpdateLocationObjectStorageRequest & WithServerPort(int value)
UpdateLocationObjectStorageRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
UpdateLocationObjectStorageRequest & WithCustomSecretConfig(CustomSecretConfigT &&value)
void SetCmkSecretConfig(CmkSecretConfigT &&value)
void SetServerCertificate(ServerCertificateT &&value)
bool ServerHostnameHasBeenSet() const
void SetCustomSecretConfig(CustomSecretConfigT &&value)
void SetSubdirectory(SubdirectoryT &&value)
bool ServerCertificateHasBeenSet() const
const Aws::String & GetSecretKey() const
bool CustomSecretConfigHasBeenSet() const
const CustomSecretConfig & GetCustomSecretConfig() const
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ObjectStorageServerProtocol GetServerProtocol() const
const Aws::String & GetLocationArn() const
void SetServerHostname(ServerHostnameT &&value)
bool ServerProtocolHasBeenSet() const
UpdateLocationObjectStorageRequest & WithServerProtocol(ObjectStorageServerProtocol value)
UpdateLocationObjectStorageRequest & WithAgentArns(AgentArnsT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
UpdateLocationObjectStorageRequest & WithSecretKey(SecretKeyT &&value)
virtual const char * GetServiceRequestName() const override
void SetAgentArns(AgentArnsT &&value)
const Aws::String & GetAccessKey() const
void SetServerProtocol(ObjectStorageServerProtocol value)
bool AccessKeyHasBeenSet() const
bool LocationArnHasBeenSet() const
bool SecretKeyHasBeenSet() const
AWS_DATASYNC_API UpdateLocationObjectStorageRequest()=default
bool AgentArnsHasBeenSet() const
const CmkSecretConfig & GetCmkSecretConfig() const
void SetLocationArn(LocationArnT &&value)
bool SubdirectoryHasBeenSet() const
UpdateLocationObjectStorageRequest & WithServerCertificate(ServerCertificateT &&value)
void SetServerPort(int value)
bool ServerPortHasBeenSet() 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