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/AWSVector.h>
13#include <aws/dlm/model/Exclusions.h>
14#include <aws/dlm/model/CrossRegionCopyTarget.h>
48 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
63 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
89 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
115 inline void SetCreateInterval(
int value) { m_createIntervalHasBeenSet =
true; m_createInterval = value; }
128 inline void SetRetainInterval(
int value) { m_retainIntervalHasBeenSet =
true; m_retainInterval = value; }
139 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
162 inline void SetExtendDeletion(
bool value) { m_extendDeletionHasBeenSet =
true; m_extendDeletion = value; }
199 bool m_policyIdHasBeenSet =
false;
202 bool m_executionRoleArnHasBeenSet =
false;
205 bool m_stateHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
211 bool m_policyDetailsHasBeenSet =
false;
213 int m_createInterval;
214 bool m_createIntervalHasBeenSet =
false;
216 int m_retainInterval;
217 bool m_retainIntervalHasBeenSet =
false;
220 bool m_copyTagsHasBeenSet =
false;
222 bool m_extendDeletion;
223 bool m_extendDeletionHasBeenSet =
false;
226 bool m_crossRegionCopyTargetsHasBeenSet =
false;
229 bool m_exclusionsHasBeenSet =
false;
UpdateLifecyclePolicyRequest & WithRetainInterval(int value)
UpdateLifecyclePolicyRequest & AddCrossRegionCopyTargets(CrossRegionCopyTarget &&value)
bool CrossRegionCopyTargetsHasBeenSet() const
void SetPolicyId(const char *value)
UpdateLifecyclePolicyRequest & WithState(const SettablePolicyStateValues &value)
const Aws::Vector< CrossRegionCopyTarget > & GetCrossRegionCopyTargets() const
int GetRetainInterval() const
bool StateHasBeenSet() const
const Aws::String & GetDescription() const
UpdateLifecyclePolicyRequest & WithPolicyDetails(const PolicyDetails &value)
int GetCreateInterval() const
UpdateLifecyclePolicyRequest & WithExclusions(const Exclusions &value)
void SetPolicyId(const Aws::String &value)
bool PolicyDetailsHasBeenSet() const
UpdateLifecyclePolicyRequest & WithDescription(const Aws::String &value)
const PolicyDetails & GetPolicyDetails() const
void SetPolicyDetails(PolicyDetails &&value)
void SetExecutionRoleArn(const Aws::String &value)
UpdateLifecyclePolicyRequest & WithCopyTags(bool value)
UpdateLifecyclePolicyRequest & WithCrossRegionCopyTargets(Aws::Vector< CrossRegionCopyTarget > &&value)
void SetState(SettablePolicyStateValues &&value)
bool ExtendDeletionHasBeenSet() const
UpdateLifecyclePolicyRequest & WithPolicyId(const char *value)
UpdateLifecyclePolicyRequest & WithState(SettablePolicyStateValues &&value)
UpdateLifecyclePolicyRequest & WithDescription(Aws::String &&value)
bool RetainIntervalHasBeenSet() const
bool DescriptionHasBeenSet() const
bool CopyTagsHasBeenSet() const
UpdateLifecyclePolicyRequest & WithExtendDeletion(bool value)
void SetPolicyDetails(const PolicyDetails &value)
const Exclusions & GetExclusions() const
AWS_DLM_API UpdateLifecyclePolicyRequest()
const Aws::String & GetPolicyId() const
void SetDescription(const Aws::String &value)
bool GetExtendDeletion() const
UpdateLifecyclePolicyRequest & WithCreateInterval(int value)
void SetCrossRegionCopyTargets(const Aws::Vector< CrossRegionCopyTarget > &value)
UpdateLifecyclePolicyRequest & WithPolicyId(const Aws::String &value)
bool ExclusionsHasBeenSet() const
void SetExecutionRoleArn(const char *value)
UpdateLifecyclePolicyRequest & WithPolicyId(Aws::String &&value)
bool CreateIntervalHasBeenSet() const
void SetExtendDeletion(bool value)
UpdateLifecyclePolicyRequest & WithPolicyDetails(PolicyDetails &&value)
void SetCreateInterval(int value)
UpdateLifecyclePolicyRequest & WithExecutionRoleArn(const Aws::String &value)
void SetExclusions(const Exclusions &value)
UpdateLifecyclePolicyRequest & AddCrossRegionCopyTargets(const CrossRegionCopyTarget &value)
const Aws::String & GetExecutionRoleArn() const
UpdateLifecyclePolicyRequest & WithExclusions(Exclusions &&value)
void SetPolicyId(Aws::String &&value)
void SetDescription(const char *value)
void SetExclusions(Exclusions &&value)
virtual const char * GetServiceRequestName() const override
bool ExecutionRoleArnHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetState(const SettablePolicyStateValues &value)
UpdateLifecyclePolicyRequest & WithExecutionRoleArn(const char *value)
AWS_DLM_API Aws::String SerializePayload() const override
UpdateLifecyclePolicyRequest & WithDescription(const char *value)
const SettablePolicyStateValues & GetState() const
void SetCrossRegionCopyTargets(Aws::Vector< CrossRegionCopyTarget > &&value)
void SetRetainInterval(int value)
bool PolicyIdHasBeenSet() const
UpdateLifecyclePolicyRequest & WithExecutionRoleArn(Aws::String &&value)
void SetCopyTags(bool value)
UpdateLifecyclePolicyRequest & WithCrossRegionCopyTargets(const Aws::Vector< CrossRegionCopyTarget > &value)
void SetExecutionRoleArn(Aws::String &&value)
SettablePolicyStateValues
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector