7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rbin/RecycleBinRequest.h>
10#include <aws/rbin/RecycleBin_EXPORTS.h>
11#include <aws/rbin/model/LockConfiguration.h>
12#include <aws/rbin/model/ResourceTag.h>
13#include <aws/rbin/model/ResourceType.h>
14#include <aws/rbin/model/RetentionPeriod.h>
15#include <aws/rbin/model/Tag.h>
44 template <
typename RetentionPeriodT = RetentionPeriod>
46 m_retentionPeriodHasBeenSet =
true;
47 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
49 template <
typename RetentionPeriodT = RetentionPeriod>
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
80 template <
typename TagsT = Aws::Vector<Tag>>
82 m_tagsHasBeenSet =
true;
83 m_tags = std::forward<TagsT>(value);
85 template <
typename TagsT = Aws::Vector<Tag>>
87 SetTags(std::forward<TagsT>(value));
90 template <
typename TagsT = Tag>
92 m_tagsHasBeenSet =
true;
93 m_tags.emplace_back(std::forward<TagsT>(value));
109 m_resourceTypeHasBeenSet =
true;
110 m_resourceType = value;
135 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
137 m_resourceTagsHasBeenSet =
true;
138 m_resourceTags = std::forward<ResourceTagsT>(value);
140 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
145 template <
typename ResourceTagsT = ResourceTag>
147 m_resourceTagsHasBeenSet =
true;
148 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
159 template <
typename LockConfigurationT = LockConfiguration>
161 m_lockConfigurationHasBeenSet =
true;
162 m_lockConfiguration = std::forward<LockConfigurationT>(value);
164 template <
typename LockConfigurationT = LockConfiguration>
181 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
183 m_excludeResourceTagsHasBeenSet =
true;
184 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
186 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
191 template <
typename ExcludeResourceTagsT = ResourceTag>
193 m_excludeResourceTagsHasBeenSet =
true;
194 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
209 LockConfiguration m_lockConfiguration;
212 bool m_retentionPeriodHasBeenSet =
false;
213 bool m_descriptionHasBeenSet =
false;
214 bool m_tagsHasBeenSet =
false;
215 bool m_resourceTypeHasBeenSet =
false;
216 bool m_resourceTagsHasBeenSet =
false;
217 bool m_lockConfigurationHasBeenSet =
false;
218 bool m_excludeResourceTagsHasBeenSet =
false;
CreateRuleRequest & WithResourceTags(ResourceTagsT &&value)
CreateRuleRequest & AddResourceTags(ResourceTagsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
CreateRuleRequest & AddExcludeResourceTags(ExcludeResourceTagsT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateRuleRequest & WithTags(TagsT &&value)
void SetLockConfiguration(LockConfigurationT &&value)
CreateRuleRequest & WithResourceType(ResourceType value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
CreateRuleRequest & WithExcludeResourceTags(ExcludeResourceTagsT &&value)
CreateRuleRequest & WithLockConfiguration(LockConfigurationT &&value)
bool LockConfigurationHasBeenSet() const
bool ResourceTagsHasBeenSet() const
void SetResourceTags(ResourceTagsT &&value)
void SetRetentionPeriod(RetentionPeriodT &&value)
void SetDescription(DescriptionT &&value)
const RetentionPeriod & GetRetentionPeriod() const
CreateRuleRequest & WithDescription(DescriptionT &&value)
AWS_RECYCLEBIN_API Aws::String SerializePayload() const override
void SetExcludeResourceTags(ExcludeResourceTagsT &&value)
CreateRuleRequest & AddTags(TagsT &&value)
CreateRuleRequest & WithRetentionPeriod(RetentionPeriodT &&value)
const Aws::Vector< ResourceTag > & GetExcludeResourceTags() const
bool ExcludeResourceTagsHasBeenSet() const
bool ResourceTypeHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetResourceType(ResourceType value)
bool RetentionPeriodHasBeenSet() const
ResourceType GetResourceType() const
virtual const char * GetServiceRequestName() const override
const LockConfiguration & GetLockConfiguration() const
bool TagsHasBeenSet() const
AWS_RECYCLEBIN_API CreateRuleRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector