7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/PolicyTypeValues.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dlm/model/Parameters.h>
11#include <aws/dlm/model/EventSource.h>
12#include <aws/dlm/model/PolicyLanguageValues.h>
13#include <aws/dlm/model/ResourceTypeValues.h>
14#include <aws/dlm/model/Exclusions.h>
15#include <aws/dlm/model/ResourceLocationValues.h>
16#include <aws/dlm/model/Tag.h>
17#include <aws/dlm/model/Schedule.h>
18#include <aws/dlm/model/Action.h>
19#include <aws/dlm/model/CrossRegionCopyTarget.h>
224 inline void SetCreateInterval(
int value) { m_createIntervalHasBeenSet =
true; m_createInterval = value; }
238 inline void SetRetainInterval(
int value) { m_retainIntervalHasBeenSet =
true; m_retainInterval = value; }
250 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
290 inline void SetExtendDeletion(
bool value) { m_extendDeletionHasBeenSet =
true; m_extendDeletion = value; }
311 bool m_policyTypeHasBeenSet =
false;
314 bool m_resourceTypesHasBeenSet =
false;
317 bool m_resourceLocationsHasBeenSet =
false;
320 bool m_targetTagsHasBeenSet =
false;
323 bool m_schedulesHasBeenSet =
false;
326 bool m_parametersHasBeenSet =
false;
329 bool m_eventSourceHasBeenSet =
false;
332 bool m_actionsHasBeenSet =
false;
335 bool m_policyLanguageHasBeenSet =
false;
338 bool m_resourceTypeHasBeenSet =
false;
340 int m_createInterval;
341 bool m_createIntervalHasBeenSet =
false;
343 int m_retainInterval;
344 bool m_retainIntervalHasBeenSet =
false;
347 bool m_copyTagsHasBeenSet =
false;
350 bool m_crossRegionCopyTargetsHasBeenSet =
false;
352 bool m_extendDeletion;
353 bool m_extendDeletionHasBeenSet =
false;
356 bool m_exclusionsHasBeenSet =
false;
const Aws::Vector< ResourceTypeValues > & GetResourceTypes() const
PolicyDetails & WithCrossRegionCopyTargets(Aws::Vector< CrossRegionCopyTarget > &&value)
bool ResourceTypeHasBeenSet() const
const Aws::Vector< Schedule > & GetSchedules() const
PolicyDetails & AddResourceTypes(const ResourceTypeValues &value)
void SetTargetTags(Aws::Vector< Tag > &&value)
bool PolicyLanguageHasBeenSet() const
int GetRetainInterval() const
PolicyDetails & WithParameters(Parameters &&value)
PolicyDetails & AddSchedules(const Schedule &value)
bool PolicyTypeHasBeenSet() const
const Exclusions & GetExclusions() const
void SetSchedules(const Aws::Vector< Schedule > &value)
void SetResourceTypes(const Aws::Vector< ResourceTypeValues > &value)
const EventSource & GetEventSource() const
PolicyDetails & WithTargetTags(const Aws::Vector< Tag > &value)
AWS_DLM_API PolicyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyDetails & AddActions(const Action &value)
AWS_DLM_API PolicyDetails(Aws::Utils::Json::JsonView jsonValue)
void SetEventSource(const EventSource &value)
void SetEventSource(EventSource &&value)
void SetResourceLocations(Aws::Vector< ResourceLocationValues > &&value)
PolicyDetails & WithResourceType(ResourceTypeValues &&value)
PolicyDetails & AddTargetTags(const Tag &value)
PolicyDetails & WithPolicyType(const PolicyTypeValues &value)
PolicyDetails & WithExclusions(Exclusions &&value)
bool EventSourceHasBeenSet() const
void SetExclusions(Exclusions &&value)
void SetResourceType(const ResourceTypeValues &value)
void SetParameters(const Parameters &value)
PolicyDetails & AddCrossRegionCopyTargets(CrossRegionCopyTarget &&value)
const PolicyTypeValues & GetPolicyType() const
PolicyDetails & AddActions(Action &&value)
bool ResourceTypesHasBeenSet() const
void SetResourceType(ResourceTypeValues &&value)
PolicyDetails & WithSchedules(Aws::Vector< Schedule > &&value)
bool GetExtendDeletion() const
const Aws::Vector< CrossRegionCopyTarget > & GetCrossRegionCopyTargets() const
PolicyDetails & WithCopyTags(bool value)
void SetSchedules(Aws::Vector< Schedule > &&value)
bool ExclusionsHasBeenSet() const
void SetExclusions(const Exclusions &value)
PolicyDetails & WithSchedules(const Aws::Vector< Schedule > &value)
void SetActions(Aws::Vector< Action > &&value)
PolicyDetails & WithResourceLocations(const Aws::Vector< ResourceLocationValues > &value)
bool ActionsHasBeenSet() const
PolicyDetails & WithPolicyLanguage(const PolicyLanguageValues &value)
PolicyDetails & WithExclusions(const Exclusions &value)
const PolicyLanguageValues & GetPolicyLanguage() const
PolicyDetails & WithActions(Aws::Vector< Action > &&value)
PolicyDetails & AddResourceLocations(const ResourceLocationValues &value)
void SetResourceTypes(Aws::Vector< ResourceTypeValues > &&value)
PolicyDetails & WithEventSource(EventSource &&value)
const ResourceTypeValues & GetResourceType() const
const Aws::Vector< Tag > & GetTargetTags() const
PolicyDetails & WithActions(const Aws::Vector< Action > &value)
void SetResourceLocations(const Aws::Vector< ResourceLocationValues > &value)
bool ResourceLocationsHasBeenSet() const
PolicyDetails & WithResourceLocations(Aws::Vector< ResourceLocationValues > &&value)
bool CrossRegionCopyTargetsHasBeenSet() const
bool ExtendDeletionHasBeenSet() const
void SetPolicyLanguage(PolicyLanguageValues &&value)
int GetCreateInterval() const
void SetParameters(Parameters &&value)
bool TargetTagsHasBeenSet() const
PolicyDetails & WithPolicyType(PolicyTypeValues &&value)
PolicyDetails & WithResourceTypes(const Aws::Vector< ResourceTypeValues > &value)
void SetCrossRegionCopyTargets(const Aws::Vector< CrossRegionCopyTarget > &value)
void SetTargetTags(const Aws::Vector< Tag > &value)
PolicyDetails & WithRetainInterval(int value)
const Aws::Vector< Action > & GetActions() const
void SetRetainInterval(int value)
const Parameters & GetParameters() const
bool ParametersHasBeenSet() const
void SetCopyTags(bool value)
PolicyDetails & AddTargetTags(Tag &&value)
PolicyDetails & WithCreateInterval(int value)
AWS_DLM_API PolicyDetails()
void SetPolicyLanguage(const PolicyLanguageValues &value)
PolicyDetails & AddResourceLocations(ResourceLocationValues &&value)
bool CopyTagsHasBeenSet() const
PolicyDetails & AddSchedules(Schedule &&value)
PolicyDetails & AddResourceTypes(ResourceTypeValues &&value)
bool RetainIntervalHasBeenSet() const
void SetActions(const Aws::Vector< Action > &value)
PolicyDetails & WithCrossRegionCopyTargets(const Aws::Vector< CrossRegionCopyTarget > &value)
bool SchedulesHasBeenSet() const
PolicyDetails & WithResourceType(const ResourceTypeValues &value)
void SetCreateInterval(int value)
void SetPolicyType(PolicyTypeValues &&value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyType(const PolicyTypeValues &value)
PolicyDetails & WithParameters(const Parameters &value)
PolicyDetails & WithPolicyLanguage(PolicyLanguageValues &&value)
PolicyDetails & WithTargetTags(Aws::Vector< Tag > &&value)
void SetCrossRegionCopyTargets(Aws::Vector< CrossRegionCopyTarget > &&value)
void SetExtendDeletion(bool value)
PolicyDetails & WithResourceTypes(Aws::Vector< ResourceTypeValues > &&value)
bool CreateIntervalHasBeenSet() const
PolicyDetails & WithExtendDeletion(bool value)
const Aws::Vector< ResourceLocationValues > & GetResourceLocations() const
PolicyDetails & WithEventSource(const EventSource &value)
PolicyDetails & AddCrossRegionCopyTargets(const CrossRegionCopyTarget &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue