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/TagListEntry.h>
54 inline void SetServerHostname(
const char* value) { m_serverHostnameHasBeenSet =
true; m_serverHostname.assign(value); }
67 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
94 inline void SetSubdirectory(
const char* value) { m_subdirectoryHasBeenSet =
true; m_subdirectory.assign(value); }
108 inline void SetBucketName(
const char* value) { m_bucketNameHasBeenSet =
true; m_bucketName.assign(value); }
123 inline void SetAccessKey(
const char* value) { m_accessKeyHasBeenSet =
true; m_accessKey.assign(value); }
138 inline void SetSecretKey(
const char* value) { m_secretKeyHasBeenSet =
true; m_secretKey.assign(value); }
205 bool m_serverHostnameHasBeenSet =
false;
208 bool m_serverPortHasBeenSet =
false;
211 bool m_serverProtocolHasBeenSet =
false;
214 bool m_subdirectoryHasBeenSet =
false;
217 bool m_bucketNameHasBeenSet =
false;
220 bool m_accessKeyHasBeenSet =
false;
223 bool m_secretKeyHasBeenSet =
false;
226 bool m_agentArnsHasBeenSet =
false;
229 bool m_tagsHasBeenSet =
false;
232 bool m_serverCertificateHasBeenSet =
false;
CreateLocationObjectStorageRequest & WithServerCertificate(Aws::Utils::ByteBuffer &&value)
void SetServerHostname(Aws::String &&value)
bool ServerHostnameHasBeenSet() const
bool ServerPortHasBeenSet() const
CreateLocationObjectStorageRequest & AddAgentArns(const char *value)
const ObjectStorageServerProtocol & GetServerProtocol() const
CreateLocationObjectStorageRequest & WithSubdirectory(const Aws::String &value)
CreateLocationObjectStorageRequest & WithAgentArns(Aws::Vector< Aws::String > &&value)
CreateLocationObjectStorageRequest & WithSecretKey(const char *value)
const Aws::String & GetBucketName() const
CreateLocationObjectStorageRequest & WithAccessKey(const Aws::String &value)
const Aws::String & GetServerHostname() const
CreateLocationObjectStorageRequest & WithAgentArns(const Aws::Vector< Aws::String > &value)
CreateLocationObjectStorageRequest & AddTags(TagListEntry &&value)
CreateLocationObjectStorageRequest & WithBucketName(Aws::String &&value)
void SetSubdirectory(Aws::String &&value)
CreateLocationObjectStorageRequest & WithBucketName(const char *value)
CreateLocationObjectStorageRequest & AddAgentArns(Aws::String &&value)
CreateLocationObjectStorageRequest & WithServerHostname(const Aws::String &value)
CreateLocationObjectStorageRequest & WithServerHostname(Aws::String &&value)
CreateLocationObjectStorageRequest & WithTags(const Aws::Vector< TagListEntry > &value)
void SetSecretKey(Aws::String &&value)
CreateLocationObjectStorageRequest & AddTags(const TagListEntry &value)
void SetServerHostname(const Aws::String &value)
bool TagsHasBeenSet() const
const Aws::Utils::ByteBuffer & GetServerCertificate() const
const Aws::Vector< Aws::String > & GetAgentArns() const
void SetSubdirectory(const Aws::String &value)
bool AccessKeyHasBeenSet() const
bool BucketNameHasBeenSet() const
void SetTags(const Aws::Vector< TagListEntry > &value)
void SetAccessKey(const Aws::String &value)
CreateLocationObjectStorageRequest & WithSubdirectory(Aws::String &&value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
const Aws::String & GetSubdirectory() const
CreateLocationObjectStorageRequest & AddAgentArns(const Aws::String &value)
const Aws::Vector< TagListEntry > & GetTags() const
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetBucketName(Aws::String &&value)
const Aws::String & GetSecretKey() const
void SetAccessKey(const char *value)
CreateLocationObjectStorageRequest & WithSubdirectory(const char *value)
CreateLocationObjectStorageRequest & WithSecretKey(const Aws::String &value)
void SetTags(Aws::Vector< TagListEntry > &&value)
void SetServerCertificate(Aws::Utils::ByteBuffer &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
bool SubdirectoryHasBeenSet() const
CreateLocationObjectStorageRequest & WithSecretKey(Aws::String &&value)
void SetSubdirectory(const char *value)
CreateLocationObjectStorageRequest & WithServerHostname(const char *value)
virtual const char * GetServiceRequestName() const override
CreateLocationObjectStorageRequest & WithServerProtocol(ObjectStorageServerProtocol &&value)
AWS_DATASYNC_API CreateLocationObjectStorageRequest()
CreateLocationObjectStorageRequest & WithBucketName(const Aws::String &value)
void SetSecretKey(const char *value)
CreateLocationObjectStorageRequest & WithTags(Aws::Vector< TagListEntry > &&value)
void SetBucketName(const Aws::String &value)
bool AgentArnsHasBeenSet() const
void SetServerProtocol(ObjectStorageServerProtocol &&value)
bool ServerCertificateHasBeenSet() const
CreateLocationObjectStorageRequest & WithAccessKey(Aws::String &&value)
void SetServerProtocol(const ObjectStorageServerProtocol &value)
CreateLocationObjectStorageRequest & WithServerCertificate(const Aws::Utils::ByteBuffer &value)
void SetServerPort(int value)
void SetServerHostname(const char *value)
void SetServerCertificate(const Aws::Utils::ByteBuffer &value)
bool ServerProtocolHasBeenSet() const
void SetBucketName(const char *value)
CreateLocationObjectStorageRequest & WithServerPort(int value)
bool SecretKeyHasBeenSet() const
const Aws::String & GetAccessKey() const
void SetSecretKey(const Aws::String &value)
int GetServerPort() const
CreateLocationObjectStorageRequest & WithServerProtocol(const ObjectStorageServerProtocol &value)
void SetAccessKey(Aws::String &&value)
void SetAgentArns(Aws::Vector< Aws::String > &&value)
CreateLocationObjectStorageRequest & WithAccessKey(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