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>
53 inline void SetSourceSnapshotName(
const char* value) { m_sourceSnapshotNameHasBeenSet =
true; m_sourceSnapshotName.assign(value); }
69 inline void SetTargetSnapshotName(
const char* value) { m_targetSnapshotNameHasBeenSet =
true; m_targetSnapshotName.assign(value); }
91 inline void SetTargetBucket(
const char* value) { m_targetBucketHasBeenSet =
true; m_targetBucket.assign(value); }
105 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
128 bool m_sourceSnapshotNameHasBeenSet =
false;
131 bool m_targetSnapshotNameHasBeenSet =
false;
134 bool m_targetBucketHasBeenSet =
false;
137 bool m_kmsKeyIdHasBeenSet =
false;
140 bool m_tagsHasBeenSet =
false;
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetTargetSnapshotName() const
void SetSourceSnapshotName(const Aws::String &value)
bool TargetSnapshotNameHasBeenSet() const
CopySnapshotRequest & WithTargetBucket(Aws::String &&value)
const Aws::String & GetSourceSnapshotName() const
const Aws::String & GetKmsKeyId() const
CopySnapshotRequest & WithKmsKeyId(const char *value)
void SetKmsKeyId(const Aws::String &value)
CopySnapshotRequest & WithTargetBucket(const Aws::String &value)
void SetKmsKeyId(const char *value)
CopySnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CopySnapshotRequest & WithKmsKeyId(Aws::String &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetTargetBucket() const
CopySnapshotRequest & WithKmsKeyId(const Aws::String &value)
AWS_ELASTICACHE_API CopySnapshotRequest()
void SetSourceSnapshotName(const char *value)
virtual const char * GetServiceRequestName() const override
CopySnapshotRequest & WithTargetBucket(const char *value)
void SetKmsKeyId(Aws::String &&value)
CopySnapshotRequest & WithTargetSnapshotName(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
void SetTargetBucket(const char *value)
CopySnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
CopySnapshotRequest & AddTags(const Tag &value)
CopySnapshotRequest & AddTags(Tag &&value)
CopySnapshotRequest & WithSourceSnapshotName(const char *value)
CopySnapshotRequest & WithTargetSnapshotName(Aws::String &&value)
CopySnapshotRequest & WithSourceSnapshotName(Aws::String &&value)
bool TargetBucketHasBeenSet() const
void SetTargetSnapshotName(const char *value)
CopySnapshotRequest & WithSourceSnapshotName(const Aws::String &value)
CopySnapshotRequest & WithTargetSnapshotName(const Aws::String &value)
void SetTargetSnapshotName(Aws::String &&value)
bool KmsKeyIdHasBeenSet() const
void SetTargetBucket(Aws::String &&value)
void SetTargetBucket(const Aws::String &value)
void SetTargetSnapshotName(const Aws::String &value)
bool SourceSnapshotNameHasBeenSet() const
void SetSourceSnapshotName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector