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/S3StorageClass.h>
11#include <aws/datasync/model/S3Config.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/datasync/model/TagListEntry.h>
59 inline void SetSubdirectory(
const char* value) { m_subdirectoryHasBeenSet =
true; m_subdirectory.assign(value); }
80 inline void SetS3BucketArn(
const char* value) { m_s3BucketArnHasBeenSet =
true; m_s3BucketArn.assign(value); }
150 bool m_subdirectoryHasBeenSet =
false;
153 bool m_s3BucketArnHasBeenSet =
false;
156 bool m_s3StorageClassHasBeenSet =
false;
159 bool m_s3ConfigHasBeenSet =
false;
162 bool m_agentArnsHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
CreateLocationS3Request & WithS3BucketArn(Aws::String &&value)
void SetTags(const Aws::Vector< TagListEntry > &value)
const Aws::String & GetS3BucketArn() const
void SetS3StorageClass(const S3StorageClass &value)
void SetSubdirectory(Aws::String &&value)
CreateLocationS3Request & WithS3Config(const S3Config &value)
CreateLocationS3Request & WithAgentArns(const Aws::Vector< Aws::String > &value)
void SetTags(Aws::Vector< TagListEntry > &&value)
const Aws::Vector< TagListEntry > & GetTags() const
bool AgentArnsHasBeenSet() const
AWS_DATASYNC_API CreateLocationS3Request()
CreateLocationS3Request & WithSubdirectory(const Aws::String &value)
const Aws::String & GetSubdirectory() const
void SetS3StorageClass(S3StorageClass &&value)
CreateLocationS3Request & AddAgentArns(const char *value)
CreateLocationS3Request & WithS3BucketArn(const Aws::String &value)
void SetS3BucketArn(const Aws::String &value)
bool S3BucketArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLocationS3Request & WithTags(const Aws::Vector< TagListEntry > &value)
CreateLocationS3Request & AddAgentArns(Aws::String &&value)
void SetS3BucketArn(Aws::String &&value)
bool S3StorageClassHasBeenSet() const
void SetS3Config(S3Config &&value)
const S3StorageClass & GetS3StorageClass() const
CreateLocationS3Request & WithSubdirectory(const char *value)
CreateLocationS3Request & WithTags(Aws::Vector< TagListEntry > &&value)
void SetSubdirectory(const Aws::String &value)
void SetAgentArns(Aws::Vector< Aws::String > &&value)
CreateLocationS3Request & AddTags(const TagListEntry &value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
bool SubdirectoryHasBeenSet() const
CreateLocationS3Request & WithSubdirectory(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
CreateLocationS3Request & WithAgentArns(Aws::Vector< Aws::String > &&value)
void SetS3BucketArn(const char *value)
bool TagsHasBeenSet() const
CreateLocationS3Request & WithS3StorageClass(S3StorageClass &&value)
CreateLocationS3Request & WithS3BucketArn(const char *value)
CreateLocationS3Request & WithS3StorageClass(const S3StorageClass &value)
void SetS3Config(const S3Config &value)
void SetSubdirectory(const char *value)
CreateLocationS3Request & AddAgentArns(const Aws::String &value)
CreateLocationS3Request & AddTags(TagListEntry &&value)
CreateLocationS3Request & WithS3Config(S3Config &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
bool S3ConfigHasBeenSet() const
const S3Config & GetS3Config() 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