7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dlm/model/RetentionIntervalUnitValues.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
56 inline ShareRule&
AddTargetAccounts(
const char* value) { m_targetAccountsHasBeenSet =
true; m_targetAccounts.push_back(value);
return *
this; }
66 inline void SetUnshareInterval(
int value) { m_unshareIntervalHasBeenSet =
true; m_unshareInterval = value; }
84 bool m_targetAccountsHasBeenSet =
false;
86 int m_unshareInterval;
87 bool m_unshareIntervalHasBeenSet =
false;
90 bool m_unshareIntervalUnitHasBeenSet =
false;
const RetentionIntervalUnitValues & GetUnshareIntervalUnit() const
bool TargetAccountsHasBeenSet() const
void SetUnshareInterval(int value)
AWS_DLM_API ShareRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetAccounts(const Aws::Vector< Aws::String > &value)
ShareRule & WithUnshareIntervalUnit(const RetentionIntervalUnitValues &value)
ShareRule & WithUnshareIntervalUnit(RetentionIntervalUnitValues &&value)
ShareRule & WithTargetAccounts(Aws::Vector< Aws::String > &&value)
void SetTargetAccounts(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetTargetAccounts() const
bool UnshareIntervalHasBeenSet() const
void SetUnshareIntervalUnit(RetentionIntervalUnitValues &&value)
ShareRule & WithTargetAccounts(const Aws::Vector< Aws::String > &value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUnshareIntervalUnit(const RetentionIntervalUnitValues &value)
AWS_DLM_API ShareRule(Aws::Utils::Json::JsonView jsonValue)
ShareRule & AddTargetAccounts(const Aws::String &value)
bool UnshareIntervalUnitHasBeenSet() const
int GetUnshareInterval() const
ShareRule & WithUnshareInterval(int value)
ShareRule & AddTargetAccounts(const char *value)
ShareRule & AddTargetAccounts(Aws::String &&value)
RetentionIntervalUnitValues
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue