7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dlm/DLM_EXPORTS.h>
10#include <aws/dlm/model/GettablePolicyStateValues.h>
11#include <aws/dlm/model/PolicyTypeValues.h>
43 template <
typename PolicyIdT = Aws::String>
45 m_policyIdHasBeenSet =
true;
46 m_policyId = std::forward<PolicyIdT>(value);
48 template <
typename PolicyIdT = Aws::String>
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
80 m_stateHasBeenSet =
true;
95 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 m_tagsHasBeenSet =
true;
98 m_tags = std::forward<TagsT>(value);
100 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 SetTags(std::forward<TagsT>(value));
105 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
107 m_tagsHasBeenSet =
true;
108 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
125 m_policyTypeHasBeenSet =
true;
126 m_policyType = value;
144 m_defaultPolicyHasBeenSet =
true;
145 m_defaultPolicy = value;
163 bool m_defaultPolicy{
false};
164 bool m_policyIdHasBeenSet =
false;
165 bool m_descriptionHasBeenSet =
false;
166 bool m_stateHasBeenSet =
false;
167 bool m_tagsHasBeenSet =
false;
168 bool m_policyTypeHasBeenSet =
false;
169 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