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>
51 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
128 inline void SetDefaultPolicy(
bool value) { m_defaultPolicyHasBeenSet =
true; m_defaultPolicy = value; }
134 bool m_policyIdHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
140 bool m_stateHasBeenSet =
false;
143 bool m_tagsHasBeenSet =
false;
146 bool m_policyTypeHasBeenSet =
false;
148 bool m_defaultPolicy;
149 bool m_defaultPolicyHasBeenSet =
false;
void SetPolicyType(const PolicyTypeValues &value)
LifecyclePolicySummary & AddTags(Aws::String &&key, const char *value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyId(const char *value)
void SetDefaultPolicy(bool value)
void SetDescription(const char *value)
LifecyclePolicySummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetPolicyId() const
bool DefaultPolicyHasBeenSet() const
LifecyclePolicySummary & WithDescription(Aws::String &&value)
LifecyclePolicySummary & WithPolicyType(const PolicyTypeValues &value)
LifecyclePolicySummary & WithState(GettablePolicyStateValues &&value)
AWS_DLM_API LifecyclePolicySummary(Aws::Utils::Json::JsonView jsonValue)
bool GetDefaultPolicy() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDescription(Aws::String &&value)
LifecyclePolicySummary & AddTags(const char *key, Aws::String &&value)
LifecyclePolicySummary & WithPolicyId(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetPolicyId(Aws::String &&value)
AWS_DLM_API LifecyclePolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicySummary & WithState(const GettablePolicyStateValues &value)
bool TagsHasBeenSet() const
LifecyclePolicySummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
LifecyclePolicySummary & WithDefaultPolicy(bool value)
void SetPolicyId(const Aws::String &value)
LifecyclePolicySummary & AddTags(const Aws::String &key, Aws::String &&value)
bool PolicyIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetState(GettablePolicyStateValues &&value)
LifecyclePolicySummary & WithDescription(const Aws::String &value)
LifecyclePolicySummary & WithDescription(const char *value)
LifecyclePolicySummary & WithPolicyId(const char *value)
bool PolicyTypeHasBeenSet() const
LifecyclePolicySummary & AddTags(Aws::String &&key, const Aws::String &value)
AWS_DLM_API LifecyclePolicySummary()
void SetState(const GettablePolicyStateValues &value)
void SetPolicyType(PolicyTypeValues &&value)
const PolicyTypeValues & GetPolicyType() const
bool StateHasBeenSet() const
const Aws::String & GetDescription() const
const GettablePolicyStateValues & GetState() const
LifecyclePolicySummary & AddTags(const char *key, const char *value)
bool DescriptionHasBeenSet() const
LifecyclePolicySummary & AddTags(const Aws::String &key, const Aws::String &value)
LifecyclePolicySummary & WithPolicyType(PolicyTypeValues &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
LifecyclePolicySummary & AddTags(Aws::String &&key, Aws::String &&value)
LifecyclePolicySummary & WithPolicyId(const Aws::String &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