7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup/model/Lifecycle.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/backup/model/CopyAction.h>
13#include <aws/backup/model/IndexAction.h>
53 template<
typename RuleNameT = Aws::String>
54 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
55 template<
typename RuleNameT = Aws::String>
67 template<
typename TargetBackupVaultNameT = Aws::String>
68 void SetTargetBackupVaultName(TargetBackupVaultNameT&& value) { m_targetBackupVaultNameHasBeenSet =
true; m_targetBackupVaultName = std::forward<TargetBackupVaultNameT>(value); }
69 template<
typename TargetBackupVaultNameT = Aws::String>
81 template<
typename ScheduleExpressionT = Aws::String>
82 void SetScheduleExpression(ScheduleExpressionT&& value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression = std::forward<ScheduleExpressionT>(value); }
83 template<
typename ScheduleExpressionT = Aws::String>
103 inline void SetStartWindowMinutes(
long long value) { m_startWindowMinutesHasBeenSet =
true; m_startWindowMinutes = value; }
136 template<
typename LifecycleT = Lifecycle>
137 void SetLifecycle(LifecycleT&& value) { m_lifecycleHasBeenSet =
true; m_lifecycle = std::forward<LifecycleT>(value); }
138 template<
typename LifecycleT = Lifecycle>
148 template<
typename RecoveryPo
intTagsT = Aws::Map<Aws::String, Aws::String>>
149 void SetRecoveryPointTags(RecoveryPointTagsT&& value) { m_recoveryPointTagsHasBeenSet =
true; m_recoveryPointTags = std::forward<RecoveryPointTagsT>(value); }
150 template<
typename RecoveryPo
intTagsT = Aws::Map<Aws::String, Aws::String>>
152 template<
typename RecoveryPo
intTagsKeyT = Aws::String,
typename RecoveryPo
intTagsValueT = Aws::String>
154 m_recoveryPointTagsHasBeenSet =
true; m_recoveryPointTags.emplace(std::forward<RecoveryPointTagsKeyT>(key), std::forward<RecoveryPointTagsValueT>(value));
return *
this;
165 template<
typename CopyActionsT = Aws::Vector<CopyAction>>
166 void SetCopyActions(CopyActionsT&& value) { m_copyActionsHasBeenSet =
true; m_copyActions = std::forward<CopyActionsT>(value); }
167 template<
typename CopyActionsT = Aws::Vector<CopyAction>>
169 template<
typename CopyActionsT = CopyAction>
170 BackupRuleInput&
AddCopyActions(CopyActionsT&& value) { m_copyActionsHasBeenSet =
true; m_copyActions.emplace_back(std::forward<CopyActionsT>(value));
return *
this; }
192 template<
typename ScheduleExpressionTimezoneT = Aws::String>
193 void SetScheduleExpressionTimezone(ScheduleExpressionTimezoneT&& value) { m_scheduleExpressionTimezoneHasBeenSet =
true; m_scheduleExpressionTimezone = std::forward<ScheduleExpressionTimezoneT>(value); }
194 template<
typename ScheduleExpressionTimezoneT = Aws::String>
208 template<
typename IndexActionsT = Aws::Vector<IndexAction>>
209 void SetIndexActions(IndexActionsT&& value) { m_indexActionsHasBeenSet =
true; m_indexActions = std::forward<IndexActionsT>(value); }
210 template<
typename IndexActionsT = Aws::Vector<IndexAction>>
212 template<
typename IndexActionsT = IndexAction>
213 BackupRuleInput&
AddIndexActions(IndexActionsT&& value) { m_indexActionsHasBeenSet =
true; m_indexActions.emplace_back(std::forward<IndexActionsT>(value));
return *
this; }
218 bool m_ruleNameHasBeenSet =
false;
221 bool m_targetBackupVaultNameHasBeenSet =
false;
224 bool m_scheduleExpressionHasBeenSet =
false;
226 long long m_startWindowMinutes{0};
227 bool m_startWindowMinutesHasBeenSet =
false;
229 long long m_completionWindowMinutes{0};
230 bool m_completionWindowMinutesHasBeenSet =
false;
232 Lifecycle m_lifecycle;
233 bool m_lifecycleHasBeenSet =
false;
236 bool m_recoveryPointTagsHasBeenSet =
false;
239 bool m_copyActionsHasBeenSet =
false;
241 bool m_enableContinuousBackup{
false};
242 bool m_enableContinuousBackupHasBeenSet =
false;
245 bool m_scheduleExpressionTimezoneHasBeenSet =
false;
248 bool m_indexActionsHasBeenSet =
false;
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue