7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/DLMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dlm/model/SettablePolicyStateValues.h>
11#include <aws/dlm/model/PolicyDetails.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/dlm/model/DefaultPolicyTypeValues.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/dlm/model/Exclusions.h>
16#include <aws/dlm/model/CrossRegionCopyTarget.h>
51 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
143 inline void SetCreateInterval(
int value) { m_createIntervalHasBeenSet =
true; m_createInterval = value; }
157 inline void SetRetainInterval(
int value) { m_retainIntervalHasBeenSet =
true; m_retainInterval = value; }
169 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
193 inline void SetExtendDeletion(
bool value) { m_extendDeletionHasBeenSet =
true; m_extendDeletion = value; }
230 bool m_executionRoleArnHasBeenSet =
false;
233 bool m_descriptionHasBeenSet =
false;
236 bool m_stateHasBeenSet =
false;
239 bool m_policyDetailsHasBeenSet =
false;
242 bool m_tagsHasBeenSet =
false;
245 bool m_defaultPolicyHasBeenSet =
false;
247 int m_createInterval;
248 bool m_createIntervalHasBeenSet =
false;
250 int m_retainInterval;
251 bool m_retainIntervalHasBeenSet =
false;
254 bool m_copyTagsHasBeenSet =
false;
256 bool m_extendDeletion;
257 bool m_extendDeletionHasBeenSet =
false;
260 bool m_crossRegionCopyTargetsHasBeenSet =
false;
263 bool m_exclusionsHasBeenSet =
false;
bool PolicyDetailsHasBeenSet() const
const DefaultPolicyTypeValues & GetDefaultPolicy() const
void SetExclusions(const Exclusions &value)
const SettablePolicyStateValues & GetState() const
const Aws::String & GetExecutionRoleArn() const
CreateLifecyclePolicyRequest & WithDescription(const Aws::String &value)
void SetDefaultPolicy(const DefaultPolicyTypeValues &value)
void SetCrossRegionCopyTargets(Aws::Vector< CrossRegionCopyTarget > &&value)
CreateLifecyclePolicyRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateLifecyclePolicyRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateLifecyclePolicyRequest & WithCrossRegionCopyTargets(const Aws::Vector< CrossRegionCopyTarget > &value)
void SetState(SettablePolicyStateValues &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLifecyclePolicyRequest & WithState(SettablePolicyStateValues &&value)
virtual const char * GetServiceRequestName() const override
CreateLifecyclePolicyRequest & WithDescription(const char *value)
CreateLifecyclePolicyRequest & WithCopyTags(bool value)
void SetCreateInterval(int value)
CreateLifecyclePolicyRequest & WithState(const SettablePolicyStateValues &value)
CreateLifecyclePolicyRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLifecyclePolicyRequest & AddCrossRegionCopyTargets(CrossRegionCopyTarget &&value)
CreateLifecyclePolicyRequest & WithDescription(Aws::String &&value)
bool CrossRegionCopyTargetsHasBeenSet() const
bool StateHasBeenSet() const
int GetRetainInterval() const
CreateLifecyclePolicyRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetDescription() const
const Aws::Vector< CrossRegionCopyTarget > & GetCrossRegionCopyTargets() const
CreateLifecyclePolicyRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLifecyclePolicyRequest & WithExtendDeletion(bool value)
CreateLifecyclePolicyRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool CopyTagsHasBeenSet() const
CreateLifecyclePolicyRequest & WithDefaultPolicy(const DefaultPolicyTypeValues &value)
CreateLifecyclePolicyRequest & WithExecutionRoleArn(const Aws::String &value)
CreateLifecyclePolicyRequest & WithExclusions(Exclusions &&value)
void SetDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateLifecyclePolicyRequest & WithRetainInterval(int value)
CreateLifecyclePolicyRequest & WithDefaultPolicy(DefaultPolicyTypeValues &&value)
CreateLifecyclePolicyRequest & WithCreateInterval(int value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLifecyclePolicyRequest & AddTags(Aws::String &&key, const char *value)
void SetCopyTags(bool value)
bool GetExtendDeletion() const
void SetExecutionRoleArn(const Aws::String &value)
bool DescriptionHasBeenSet() const
bool RetainIntervalHasBeenSet() const
CreateLifecyclePolicyRequest & AddTags(const char *key, Aws::String &&value)
void SetPolicyDetails(PolicyDetails &&value)
bool ExecutionRoleArnHasBeenSet() const
void SetDefaultPolicy(DefaultPolicyTypeValues &&value)
CreateLifecyclePolicyRequest & WithExecutionRoleArn(Aws::String &&value)
bool TagsHasBeenSet() const
void SetCrossRegionCopyTargets(const Aws::Vector< CrossRegionCopyTarget > &value)
bool ExclusionsHasBeenSet() const
void SetExecutionRoleArn(const char *value)
bool ExtendDeletionHasBeenSet() const
const PolicyDetails & GetPolicyDetails() const
CreateLifecyclePolicyRequest & WithExecutionRoleArn(const char *value)
void SetExclusions(Exclusions &&value)
void SetDescription(const char *value)
void SetState(const SettablePolicyStateValues &value)
AWS_DLM_API CreateLifecyclePolicyRequest()
CreateLifecyclePolicyRequest & WithPolicyDetails(const PolicyDetails &value)
CreateLifecyclePolicyRequest & WithCrossRegionCopyTargets(Aws::Vector< CrossRegionCopyTarget > &&value)
AWS_DLM_API Aws::String SerializePayload() const override
bool CreateIntervalHasBeenSet() const
const Exclusions & GetExclusions() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
int GetCreateInterval() const
void SetExecutionRoleArn(Aws::String &&value)
void SetRetainInterval(int value)
CreateLifecyclePolicyRequest & WithPolicyDetails(PolicyDetails &&value)
CreateLifecyclePolicyRequest & WithExclusions(const Exclusions &value)
CreateLifecyclePolicyRequest & AddCrossRegionCopyTargets(const CrossRegionCopyTarget &value)
void SetExtendDeletion(bool value)
CreateLifecyclePolicyRequest & AddTags(const char *key, const char *value)
bool DefaultPolicyHasBeenSet() const
void SetPolicyDetails(const PolicyDetails &value)
SettablePolicyStateValues
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