7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dlm/DLMRequest.h>
10#include <aws/dlm/DLM_EXPORTS.h>
11#include <aws/dlm/model/DefaultPoliciesTypeValues.h>
12#include <aws/dlm/model/GettablePolicyStateValues.h>
13#include <aws/dlm/model/ResourceTypeValues.h>
46 template <
typename PolicyIdsT = Aws::Vector<Aws::String>>
48 m_policyIdsHasBeenSet =
true;
49 m_policyIds = std::forward<PolicyIdsT>(value);
51 template <
typename PolicyIdsT = Aws::Vector<Aws::String>>
56 template <
typename PolicyIdsT = Aws::String>
58 m_policyIdsHasBeenSet =
true;
59 m_policyIds.emplace_back(std::forward<PolicyIdsT>(value));
71 m_stateHasBeenSet =
true;
86 template <
typename ResourceTypesT = Aws::Vector<ResourceTypeValues>>
88 m_resourceTypesHasBeenSet =
true;
89 m_resourceTypes = std::forward<ResourceTypesT>(value);
91 template <
typename ResourceTypesT = Aws::Vector<ResourceTypeValues>>
97 m_resourceTypesHasBeenSet =
true;
98 m_resourceTypes.push_back(value);
110 template <
typename TargetTagsT = Aws::Vector<Aws::String>>
112 m_targetTagsHasBeenSet =
true;
113 m_targetTags = std::forward<TargetTagsT>(value);
115 template <
typename TargetTagsT = Aws::Vector<Aws::String>>
120 template <
typename TargetTagsT = Aws::String>
122 m_targetTagsHasBeenSet =
true;
123 m_targetTags.emplace_back(std::forward<TargetTagsT>(value));
136 template <
typename TagsToAddT = Aws::Vector<Aws::String>>
138 m_tagsToAddHasBeenSet =
true;
139 m_tagsToAdd = std::forward<TagsToAddT>(value);
141 template <
typename TagsToAddT = Aws::Vector<Aws::String>>
146 template <
typename TagsToAddT = Aws::String>
148 m_tagsToAddHasBeenSet =
true;
149 m_tagsToAdd.emplace_back(std::forward<TagsToAddT>(value));
165 m_defaultPolicyTypeHasBeenSet =
true;
166 m_defaultPolicyType = value;
185 bool m_policyIdsHasBeenSet =
false;
186 bool m_stateHasBeenSet =
false;
187 bool m_resourceTypesHasBeenSet =
false;
188 bool m_targetTagsHasBeenSet =
false;
189 bool m_tagsToAddHasBeenSet =
false;
190 bool m_defaultPolicyTypeHasBeenSet =
false;
GetLifecyclePoliciesRequest & WithTargetTags(TargetTagsT &&value)
GetLifecyclePoliciesRequest & WithResourceTypes(ResourceTypesT &&value)
AWS_DLM_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetTargetTags() const
bool PolicyIdsHasBeenSet() const
GetLifecyclePoliciesRequest & WithDefaultPolicyType(DefaultPoliciesTypeValues value)
bool ResourceTypesHasBeenSet() const
bool DefaultPolicyTypeHasBeenSet() const
DefaultPoliciesTypeValues GetDefaultPolicyType() const
void SetDefaultPolicyType(DefaultPoliciesTypeValues value)
GetLifecyclePoliciesRequest & AddResourceTypes(ResourceTypeValues value)
bool TagsToAddHasBeenSet() const
AWS_DLM_API Aws::String SerializePayload() const override
void SetTagsToAdd(TagsToAddT &&value)
void SetState(GettablePolicyStateValues value)
GetLifecyclePoliciesRequest & WithTagsToAdd(TagsToAddT &&value)
GetLifecyclePoliciesRequest & AddTargetTags(TargetTagsT &&value)
GetLifecyclePoliciesRequest & WithPolicyIds(PolicyIdsT &&value)
void SetTargetTags(TargetTagsT &&value)
GetLifecyclePoliciesRequest & WithState(GettablePolicyStateValues value)
bool StateHasBeenSet() const
void SetResourceTypes(ResourceTypesT &&value)
GetLifecyclePoliciesRequest & AddPolicyIds(PolicyIdsT &&value)
virtual const char * GetServiceRequestName() const override
GetLifecyclePoliciesRequest & AddTagsToAdd(TagsToAddT &&value)
AWS_DLM_API GetLifecyclePoliciesRequest()=default
void SetPolicyIds(PolicyIdsT &&value)
const Aws::Vector< Aws::String > & GetPolicyIds() const
bool TargetTagsHasBeenSet() const
const Aws::Vector< Aws::String > & GetTagsToAdd() const
const Aws::Vector< ResourceTypeValues > & GetResourceTypes() const
GettablePolicyStateValues GetState() const
DefaultPoliciesTypeValues
GettablePolicyStateValues
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector