7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dlm/model/EncryptionConfiguration.h>
10#include <aws/dlm/model/CrossRegionCopyRetainRule.h>
52 template<
typename TargetT = Aws::String>
53 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
54 template<
typename TargetT = Aws::String>
64 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
65 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
66 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
74 template<
typename RetainRuleT = CrossRegionCopyRetainRule>
75 void SetRetainRule(RetainRuleT&& value) { m_retainRuleHasBeenSet =
true; m_retainRule = std::forward<RetainRuleT>(value); }
76 template<
typename RetainRuleT = CrossRegionCopyRetainRule>
82 bool m_targetHasBeenSet =
false;
85 bool m_encryptionConfigurationHasBeenSet =
false;
88 bool m_retainRuleHasBeenSet =
false;
AWS_DLM_API CrossRegionCopyAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API CrossRegionCopyAction(Aws::Utils::Json::JsonView jsonValue)
CrossRegionCopyAction & WithRetainRule(RetainRuleT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_DLM_API CrossRegionCopyAction()=default
void SetRetainRule(RetainRuleT &&value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTarget() const
void SetTarget(TargetT &&value)
bool EncryptionConfigurationHasBeenSet() const
const CrossRegionCopyRetainRule & GetRetainRule() const
bool RetainRuleHasBeenSet() const
CrossRegionCopyAction & WithTarget(TargetT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
CrossRegionCopyAction & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
bool TargetHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue