7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dlm/model/CrossRegionCopyRetainRule.h>
10#include <aws/dlm/model/CrossRegionCopyDeprecateRule.h>
59 inline void SetTargetRegion(
const char* value) { m_targetRegionHasBeenSet =
true; m_targetRegion.assign(value); }
76 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
91 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
105 inline void SetCmkArn(
const char* value) { m_cmkArnHasBeenSet =
true; m_cmkArn.assign(value); }
118 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
150 bool m_targetRegionHasBeenSet =
false;
153 bool m_targetHasBeenSet =
false;
156 bool m_encryptedHasBeenSet =
false;
159 bool m_cmkArnHasBeenSet =
false;
162 bool m_copyTagsHasBeenSet =
false;
165 bool m_retainRuleHasBeenSet =
false;
168 bool m_deprecateRuleHasBeenSet =
false;
void SetCmkArn(const Aws::String &value)
void SetTargetRegion(const Aws::String &value)
CrossRegionCopyRule & WithEncrypted(bool value)
void SetTargetRegion(Aws::String &&value)
CrossRegionCopyRule & WithCopyTags(bool value)
CrossRegionCopyRule & WithCmkArn(const Aws::String &value)
bool TargetHasBeenSet() const
void SetTarget(Aws::String &&value)
CrossRegionCopyRule & WithTargetRegion(const char *value)
CrossRegionCopyRule & WithDeprecateRule(const CrossRegionCopyDeprecateRule &value)
CrossRegionCopyRule & WithCmkArn(Aws::String &&value)
bool CopyTagsHasBeenSet() const
void SetTarget(const Aws::String &value)
AWS_DLM_API CrossRegionCopyRule(Aws::Utils::Json::JsonView jsonValue)
const CrossRegionCopyDeprecateRule & GetDeprecateRule() const
void SetTarget(const char *value)
CrossRegionCopyRule & WithTargetRegion(const Aws::String &value)
void SetCmkArn(Aws::String &&value)
CrossRegionCopyRule & WithTarget(const Aws::String &value)
CrossRegionCopyRule & WithRetainRule(CrossRegionCopyRetainRule &&value)
void SetDeprecateRule(CrossRegionCopyDeprecateRule &&value)
void SetCmkArn(const char *value)
const CrossRegionCopyRetainRule & GetRetainRule() const
CrossRegionCopyRule & WithTarget(const char *value)
void SetRetainRule(const CrossRegionCopyRetainRule &value)
bool EncryptedHasBeenSet() const
void SetEncrypted(bool value)
bool TargetRegionHasBeenSet() const
void SetDeprecateRule(const CrossRegionCopyDeprecateRule &value)
bool RetainRuleHasBeenSet() const
const Aws::String & GetTargetRegion() const
CrossRegionCopyRule & WithTarget(Aws::String &&value)
bool DeprecateRuleHasBeenSet() const
bool GetEncrypted() const
const Aws::String & GetTarget() const
void SetCopyTags(bool value)
CrossRegionCopyRule & WithRetainRule(const CrossRegionCopyRetainRule &value)
AWS_DLM_API CrossRegionCopyRule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CmkArnHasBeenSet() const
CrossRegionCopyRule & WithDeprecateRule(CrossRegionCopyDeprecateRule &&value)
const Aws::String & GetCmkArn() const
CrossRegionCopyRule & WithCmkArn(const char *value)
void SetRetainRule(CrossRegionCopyRetainRule &&value)
AWS_DLM_API CrossRegionCopyRule()
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
CrossRegionCopyRule & WithTargetRegion(Aws::String &&value)
void SetTargetRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue