7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dlm/model/GettablePolicyStateValues.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/dlm/model/PolicyTypeValues.h>
49 template<
typename PolicyIdT = Aws::String>
50 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
51 template<
typename PolicyIdT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
83 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
85 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
89 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
117 inline void SetDefaultPolicy(
bool value) { m_defaultPolicyHasBeenSet =
true; m_defaultPolicy = value; }
123 bool m_policyIdHasBeenSet =
false;
126 bool m_descriptionHasBeenSet =
false;
129 bool m_stateHasBeenSet =
false;
132 bool m_tagsHasBeenSet =
false;
135 bool m_policyTypeHasBeenSet =
false;
137 bool m_defaultPolicy{
false};
138 bool m_defaultPolicyHasBeenSet =
false;
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDefaultPolicy(bool value)
const Aws::String & GetPolicyId() const
bool DefaultPolicyHasBeenSet() const
LifecyclePolicySummary & WithPolicyId(PolicyIdT &&value)
AWS_DLM_API LifecyclePolicySummary(Aws::Utils::Json::JsonView jsonValue)
bool GetDefaultPolicy() const
void SetTags(TagsT &&value)
LifecyclePolicySummary & WithState(GettablePolicyStateValues value)
void SetPolicyType(PolicyTypeValues value)
LifecyclePolicySummary & WithPolicyType(PolicyTypeValues value)
AWS_DLM_API LifecyclePolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyTypeValues GetPolicyType() const
void SetState(GettablePolicyStateValues value)
bool TagsHasBeenSet() const
LifecyclePolicySummary & WithDefaultPolicy(bool value)
bool PolicyIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
LifecyclePolicySummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool PolicyTypeHasBeenSet() const
AWS_DLM_API LifecyclePolicySummary()=default
bool StateHasBeenSet() const
const Aws::String & GetDescription() const
LifecyclePolicySummary & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
GettablePolicyStateValues GetState() const
void SetDescription(DescriptionT &&value)
void SetPolicyId(PolicyIdT &&value)
LifecyclePolicySummary & WithTags(TagsT &&value)
GettablePolicyStateValues
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
Aws::Utils::Json::JsonValue JsonValue