7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSyncRequest.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/S3Config.h>
12#include <aws/datasync/model/S3StorageClass.h>
13#include <aws/datasync/model/TagListEntry.h>
53 template <
typename SubdirectoryT = Aws::String>
55 m_subdirectoryHasBeenSet =
true;
56 m_subdirectory = std::forward<SubdirectoryT>(value);
58 template <
typename SubdirectoryT = Aws::String>
78 template <
typename S3BucketArnT = Aws::String>
80 m_s3BucketArnHasBeenSet =
true;
81 m_s3BucketArn = std::forward<S3BucketArnT>(value);
83 template <
typename S3BucketArnT = Aws::String>
103 m_s3StorageClassHasBeenSet =
true;
104 m_s3StorageClass = value;
116 template <
typename S3ConfigT = S3Config>
118 m_s3ConfigHasBeenSet =
true;
119 m_s3Config = std::forward<S3ConfigT>(value);
121 template <
typename S3ConfigT = S3Config>
137 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
139 m_agentArnsHasBeenSet =
true;
140 m_agentArns = std::forward<AgentArnsT>(value);
142 template <
typename AgentArnsT = Aws::Vector<Aws::String>>
147 template <
typename AgentArnsT = Aws::String>
149 m_agentArnsHasBeenSet =
true;
150 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
163 template <
typename TagsT = Aws::Vector<TagListEntry>>
165 m_tagsHasBeenSet =
true;
166 m_tags = std::forward<TagsT>(value);
168 template <
typename TagsT = Aws::Vector<TagListEntry>>
170 SetTags(std::forward<TagsT>(value));
173 template <
typename TagsT = TagListEntry>
175 m_tagsHasBeenSet =
true;
176 m_tags.emplace_back(std::forward<TagsT>(value));
192 bool m_subdirectoryHasBeenSet =
false;
193 bool m_s3BucketArnHasBeenSet =
false;
194 bool m_s3StorageClassHasBeenSet =
false;
195 bool m_s3ConfigHasBeenSet =
false;
196 bool m_agentArnsHasBeenSet =
false;
197 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