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>
49 inline void SetLocationArn(
const char* value) { m_locationArnHasBeenSet =
true; m_locationArn.assign(value); }
62 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
89 inline void SetSubdirectory(
const char* value) { m_subdirectoryHasBeenSet =
true; m_subdirectory.assign(value); }
104 inline void SetAccessKey(
const char* value) { m_accessKeyHasBeenSet =
true; m_accessKey.assign(value); }
119 inline void SetSecretKey(
const char* value) { m_secretKeyHasBeenSet =
true; m_secretKey.assign(value); }
171 bool m_locationArnHasBeenSet =
false;
174 bool m_serverPortHasBeenSet =
false;
177 bool m_serverProtocolHasBeenSet =
false;
180 bool m_subdirectoryHasBeenSet =
false;
183 bool m_accessKeyHasBeenSet =
false;
186 bool m_secretKeyHasBeenSet =
false;
189 bool m_agentArnsHasBeenSet =
false;
192 bool m_serverCertificateHasBeenSet =
false;
const ObjectStorageServerProtocol & GetServerProtocol() const
void SetLocationArn(Aws::String &&value)
UpdateLocationObjectStorageRequest & WithServerProtocol(ObjectStorageServerProtocol &&value)
const Aws::String & GetSubdirectory() const
UpdateLocationObjectStorageRequest & WithSecretKey(const Aws::String &value)
void SetAgentArns(Aws::Vector< Aws::String > &&value)
void SetServerCertificate(Aws::Utils::ByteBuffer &&value)
void SetSubdirectory(Aws::String &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateLocationObjectStorageRequest & WithSubdirectory(const char *value)
UpdateLocationObjectStorageRequest & WithSubdirectory(const Aws::String &value)
void SetSecretKey(const char *value)
int GetServerPort() const
const Aws::Utils::ByteBuffer & GetServerCertificate() const
UpdateLocationObjectStorageRequest & WithServerPort(int value)
UpdateLocationObjectStorageRequest & AddAgentArns(const Aws::String &value)
UpdateLocationObjectStorageRequest & WithSecretKey(const char *value)
UpdateLocationObjectStorageRequest & WithAccessKey(const char *value)
UpdateLocationObjectStorageRequest & WithAgentArns(const Aws::Vector< Aws::String > &value)
UpdateLocationObjectStorageRequest & WithSubdirectory(Aws::String &&value)
void SetAccessKey(Aws::String &&value)
UpdateLocationObjectStorageRequest & WithServerProtocol(const ObjectStorageServerProtocol &value)
void SetSubdirectory(const Aws::String &value)
UpdateLocationObjectStorageRequest & WithAccessKey(const Aws::String &value)
bool ServerCertificateHasBeenSet() const
const Aws::String & GetSecretKey() const
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationObjectStorageRequest & AddAgentArns(Aws::String &&value)
const Aws::String & GetLocationArn() const
void SetAgentArns(const Aws::Vector< Aws::String > &value)
void SetServerCertificate(const Aws::Utils::ByteBuffer &value)
bool ServerProtocolHasBeenSet() const
void SetAccessKey(const char *value)
UpdateLocationObjectStorageRequest & WithServerCertificate(const Aws::Utils::ByteBuffer &value)
const Aws::Vector< Aws::String > & GetAgentArns() const
UpdateLocationObjectStorageRequest & WithAccessKey(Aws::String &&value)
void SetLocationArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetServerProtocol(ObjectStorageServerProtocol &&value)
const Aws::String & GetAccessKey() const
bool AccessKeyHasBeenSet() const
UpdateLocationObjectStorageRequest & WithAgentArns(Aws::Vector< Aws::String > &&value)
bool LocationArnHasBeenSet() const
bool SecretKeyHasBeenSet() const
UpdateLocationObjectStorageRequest & WithServerCertificate(Aws::Utils::ByteBuffer &&value)
UpdateLocationObjectStorageRequest & WithLocationArn(Aws::String &&value)
void SetServerProtocol(const ObjectStorageServerProtocol &value)
bool AgentArnsHasBeenSet() const
void SetSubdirectory(const char *value)
void SetAccessKey(const Aws::String &value)
bool SubdirectoryHasBeenSet() const
UpdateLocationObjectStorageRequest & WithSecretKey(Aws::String &&value)
void SetSecretKey(const Aws::String &value)
void SetSecretKey(Aws::String &&value)
AWS_DATASYNC_API UpdateLocationObjectStorageRequest()
void SetServerPort(int value)
UpdateLocationObjectStorageRequest & WithLocationArn(const char *value)
void SetLocationArn(const char *value)
bool ServerPortHasBeenSet() const
UpdateLocationObjectStorageRequest & WithLocationArn(const Aws::String &value)
UpdateLocationObjectStorageRequest & AddAgentArns(const char *value)
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