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>
57 template<
typename SubdirectoryT = Aws::String>
58 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet =
true; m_subdirectory = std::forward<SubdirectoryT>(value); }
59 template<
typename SubdirectoryT = Aws::String>
76 template<
typename S3BucketArnT = Aws::String>
77 void SetS3BucketArn(S3BucketArnT&& value) { m_s3BucketArnHasBeenSet =
true; m_s3BucketArn = std::forward<S3BucketArnT>(value); }
78 template<
typename S3BucketArnT = Aws::String>
102 template<
typename S3ConfigT = S3Config>
103 void SetS3Config(S3ConfigT&& value) { m_s3ConfigHasBeenSet =
true; m_s3Config = std::forward<S3ConfigT>(value); }
104 template<
typename S3ConfigT = S3Config>
117 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
118 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet =
true; m_agentArns = std::forward<AgentArnsT>(value); }
119 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
121 template<
typename AgentArnsT = Aws::String>
133 template<
typename TagsT = Aws::Vector<TagListEntry>>
134 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
135 template<
typename TagsT = Aws::Vector<TagListEntry>>
137 template<
typename TagsT = TagListEntry>
143 bool m_subdirectoryHasBeenSet =
false;
146 bool m_s3BucketArnHasBeenSet =
false;
149 bool m_s3StorageClassHasBeenSet =
false;
152 bool m_s3ConfigHasBeenSet =
false;
155 bool m_agentArnsHasBeenSet =
false;
158 bool m_tagsHasBeenSet =
false;
void SetS3Config(S3ConfigT &&value)
CreateLocationS3Request & WithSubdirectory(SubdirectoryT &&value)
S3StorageClass GetS3StorageClass() const
CreateLocationS3Request & WithS3BucketArn(S3BucketArnT &&value)
void SetTags(TagsT &&value)
CreateLocationS3Request & WithS3StorageClass(S3StorageClass value)
const Aws::String & GetS3BucketArn() const
const Aws::Vector< TagListEntry > & GetTags() const
bool AgentArnsHasBeenSet() const
const Aws::String & GetSubdirectory() const
void SetS3BucketArn(S3BucketArnT &&value)
CreateLocationS3Request & AddTags(TagsT &&value)
void SetAgentArns(AgentArnsT &&value)
bool S3BucketArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetS3StorageClass(S3StorageClass value)
bool S3StorageClassHasBeenSet() const
CreateLocationS3Request & WithS3Config(S3ConfigT &&value)
void SetSubdirectory(SubdirectoryT &&value)
AWS_DATASYNC_API CreateLocationS3Request()=default
bool SubdirectoryHasBeenSet() const
const Aws::Vector< Aws::String > & GetAgentArns() const
bool TagsHasBeenSet() const
CreateLocationS3Request & WithTags(TagsT &&value)
CreateLocationS3Request & AddAgentArns(AgentArnsT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
CreateLocationS3Request & WithAgentArns(AgentArnsT &&value)
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