7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/docdb-elastic/DocDBElasticRequest.h>
10#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
15namespace DocDBElastic {
40 m_copyTagsHasBeenSet =
true;
71 template <
typename KmsKeyIdT = Aws::String>
73 m_kmsKeyIdHasBeenSet =
true;
74 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
76 template <
typename KmsKeyIdT = Aws::String>
90 template <
typename SnapshotArnT = Aws::String>
92 m_snapshotArnHasBeenSet =
true;
93 m_snapshotArn = std::forward<SnapshotArnT>(value);
95 template <
typename SnapshotArnT = Aws::String>
108 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 m_tagsHasBeenSet =
true;
111 m_tags = std::forward<TagsT>(value);
113 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 SetTags(std::forward<TagsT>(value));
118 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
120 m_tagsHasBeenSet =
true;
121 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
137 template <
typename TargetSnapshotNameT = Aws::String>
139 m_targetSnapshotNameHasBeenSet =
true;
140 m_targetSnapshotName = std::forward<TargetSnapshotNameT>(value);
142 template <
typename TargetSnapshotNameT = Aws::String>
149 bool m_copyTags{
false};
158 bool m_copyTagsHasBeenSet =
false;
159 bool m_kmsKeyIdHasBeenSet =
false;
160 bool m_snapshotArnHasBeenSet =
false;
161 bool m_tagsHasBeenSet =
false;
162 bool m_targetSnapshotNameHasBeenSet =
false;
CopyClusterSnapshotRequest & WithSnapshotArn(SnapshotArnT &&value)
bool KmsKeyIdHasBeenSet() const
CopyClusterSnapshotRequest & WithTags(TagsT &&value)
AWS_DOCDBELASTIC_API CopyClusterSnapshotRequest()=default
CopyClusterSnapshotRequest & WithTargetSnapshotName(TargetSnapshotNameT &&value)
CopyClusterSnapshotRequest & WithCopyTags(bool value)
bool TargetSnapshotNameHasBeenSet() const
bool CopyTagsHasBeenSet() const
CopyClusterSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetSnapshotArn(SnapshotArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override
bool SnapshotArnHasBeenSet() const
void SetTargetSnapshotName(TargetSnapshotNameT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetSnapshotArn() const
void SetTags(TagsT &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetTargetSnapshotName() const
CopyClusterSnapshotRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetCopyTags(bool value)
void SetKmsKeyId(KmsKeyIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String