7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/Tag.h>
48 template<
typename SourceServerlessCacheSnapshotNameT = Aws::String>
49 void SetSourceServerlessCacheSnapshotName(SourceServerlessCacheSnapshotNameT&& value) { m_sourceServerlessCacheSnapshotNameHasBeenSet =
true; m_sourceServerlessCacheSnapshotName = std::forward<SourceServerlessCacheSnapshotNameT>(value); }
50 template<
typename SourceServerlessCacheSnapshotNameT = Aws::String>
61 template<
typename TargetServerlessCacheSnapshotNameT = Aws::String>
62 void SetTargetServerlessCacheSnapshotName(TargetServerlessCacheSnapshotNameT&& value) { m_targetServerlessCacheSnapshotNameHasBeenSet =
true; m_targetServerlessCacheSnapshotName = std::forward<TargetServerlessCacheSnapshotNameT>(value); }
63 template<
typename TargetServerlessCacheSnapshotNameT = Aws::String>
74 template<
typename KmsKeyIdT = Aws::String>
75 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
76 template<
typename KmsKeyIdT = Aws::String>
88 template<
typename TagsT = Aws::Vector<Tag>>
89 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
90 template<
typename TagsT = Aws::Vector<Tag>>
92 template<
typename TagsT = Tag>
98 bool m_sourceServerlessCacheSnapshotNameHasBeenSet =
false;
101 bool m_targetServerlessCacheSnapshotNameHasBeenSet =
false;
104 bool m_kmsKeyIdHasBeenSet =
false;
107 bool m_tagsHasBeenSet =
false;
AWS_ELASTICACHE_API CopyServerlessCacheSnapshotRequest()=default
bool SourceServerlessCacheSnapshotNameHasBeenSet() const
bool TargetServerlessCacheSnapshotNameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool KmsKeyIdHasBeenSet() const
void SetSourceServerlessCacheSnapshotName(SourceServerlessCacheSnapshotNameT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKmsKeyId() const
CopyServerlessCacheSnapshotRequest & WithTargetServerlessCacheSnapshotName(TargetServerlessCacheSnapshotNameT &&value)
const Aws::String & GetSourceServerlessCacheSnapshotName() const
void SetTargetServerlessCacheSnapshotName(TargetServerlessCacheSnapshotNameT &&value)
CopyServerlessCacheSnapshotRequest & WithSourceServerlessCacheSnapshotName(SourceServerlessCacheSnapshotNameT &&value)
CopyServerlessCacheSnapshotRequest & WithTags(TagsT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool TagsHasBeenSet() const
CopyServerlessCacheSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetTargetServerlessCacheSnapshotName() const
void SetTags(TagsT &&value)
CopyServerlessCacheSnapshotRequest & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector