7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dlm/model/CreateRule.h>
11#include <aws/dlm/model/RetainRule.h>
12#include <aws/dlm/model/FastRestoreRule.h>
13#include <aws/dlm/model/DeprecateRule.h>
14#include <aws/dlm/model/ArchiveRule.h>
15#include <aws/dlm/model/Tag.h>
16#include <aws/dlm/model/CrossRegionCopyRule.h>
17#include <aws/dlm/model/ShareRule.h>
58 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
71 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
86 inline Schedule&
AddTagsToAdd(
const Tag& value) { m_tagsToAddHasBeenSet =
true; m_tagsToAdd.push_back(value);
return *
this; }
87 inline Schedule&
AddTagsToAdd(
Tag&& value) { m_tagsToAddHasBeenSet =
true; m_tagsToAdd.push_back(std::move(value));
return *
this; }
212 bool m_nameHasBeenSet =
false;
215 bool m_copyTagsHasBeenSet =
false;
218 bool m_tagsToAddHasBeenSet =
false;
221 bool m_variableTagsHasBeenSet =
false;
224 bool m_createRuleHasBeenSet =
false;
227 bool m_retainRuleHasBeenSet =
false;
230 bool m_fastRestoreRuleHasBeenSet =
false;
233 bool m_crossRegionCopyRulesHasBeenSet =
false;
236 bool m_shareRulesHasBeenSet =
false;
239 bool m_deprecateRuleHasBeenSet =
false;
242 bool m_archiveRuleHasBeenSet =
false;
void SetRetainRule(const RetainRule &value)
Schedule & AddCrossRegionCopyRules(CrossRegionCopyRule &&value)
void SetTagsToAdd(const Aws::Vector< Tag > &value)
Schedule & WithName(Aws::String &&value)
void SetArchiveRule(const ArchiveRule &value)
void SetCreateRule(const CreateRule &value)
void SetTagsToAdd(Aws::Vector< Tag > &&value)
bool RetainRuleHasBeenSet() const
Schedule & WithDeprecateRule(const DeprecateRule &value)
const Aws::String & GetName() const
Schedule & WithArchiveRule(const ArchiveRule &value)
const ArchiveRule & GetArchiveRule() const
void SetCrossRegionCopyRules(const Aws::Vector< CrossRegionCopyRule > &value)
Schedule & AddVariableTags(const Tag &value)
void SetFastRestoreRule(FastRestoreRule &&value)
void SetFastRestoreRule(const FastRestoreRule &value)
void SetName(Aws::String &&value)
const CreateRule & GetCreateRule() const
Schedule & AddShareRules(ShareRule &&value)
void SetName(const Aws::String &value)
Schedule & WithCreateRule(CreateRule &&value)
Schedule & AddCrossRegionCopyRules(const CrossRegionCopyRule &value)
const Aws::Vector< Tag > & GetTagsToAdd() const
Schedule & WithCrossRegionCopyRules(Aws::Vector< CrossRegionCopyRule > &&value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
bool FastRestoreRuleHasBeenSet() const
void SetCreateRule(CreateRule &&value)
void SetDeprecateRule(DeprecateRule &&value)
Schedule & WithTagsToAdd(const Aws::Vector< Tag > &value)
void SetShareRules(Aws::Vector< ShareRule > &&value)
void SetVariableTags(Aws::Vector< Tag > &&value)
Schedule & AddTagsToAdd(const Tag &value)
bool NameHasBeenSet() const
Schedule & WithVariableTags(Aws::Vector< Tag > &&value)
Schedule & WithName(const char *value)
void SetArchiveRule(ArchiveRule &&value)
Schedule & WithCrossRegionCopyRules(const Aws::Vector< CrossRegionCopyRule > &value)
Schedule & WithCreateRule(const CreateRule &value)
Schedule & WithDeprecateRule(DeprecateRule &&value)
Schedule & WithRetainRule(RetainRule &&value)
const RetainRule & GetRetainRule() const
bool CreateRuleHasBeenSet() const
AWS_DLM_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
const DeprecateRule & GetDeprecateRule() const
bool ShareRulesHasBeenSet() const
Schedule & WithShareRules(Aws::Vector< ShareRule > &&value)
void SetCrossRegionCopyRules(Aws::Vector< CrossRegionCopyRule > &&value)
Schedule & AddShareRules(const ShareRule &value)
bool ArchiveRuleHasBeenSet() const
Schedule & WithFastRestoreRule(const FastRestoreRule &value)
Schedule & WithName(const Aws::String &value)
void SetCopyTags(bool value)
const Aws::Vector< Tag > & GetVariableTags() const
bool CrossRegionCopyRulesHasBeenSet() const
const Aws::Vector< ShareRule > & GetShareRules() const
void SetShareRules(const Aws::Vector< ShareRule > &value)
const Aws::Vector< CrossRegionCopyRule > & GetCrossRegionCopyRules() const
const FastRestoreRule & GetFastRestoreRule() const
Schedule & WithRetainRule(const RetainRule &value)
Schedule & WithTagsToAdd(Aws::Vector< Tag > &&value)
void SetDeprecateRule(const DeprecateRule &value)
void SetRetainRule(RetainRule &&value)
AWS_DLM_API Schedule(Aws::Utils::Json::JsonView jsonValue)
Schedule & WithFastRestoreRule(FastRestoreRule &&value)
bool VariableTagsHasBeenSet() const
void SetName(const char *value)
Schedule & WithCopyTags(bool value)
Schedule & AddVariableTags(Tag &&value)
Schedule & AddTagsToAdd(Tag &&value)
bool DeprecateRuleHasBeenSet() const
void SetVariableTags(const Aws::Vector< Tag > &value)
bool CopyTagsHasBeenSet() const
bool TagsToAddHasBeenSet() const
Schedule & WithShareRules(const Aws::Vector< ShareRule > &value)
Schedule & WithArchiveRule(ArchiveRule &&value)
Schedule & WithVariableTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue