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/ResourceTag.h>
12#include <aws/rbin/model/ResourceType.h>
13#include <aws/rbin/model/RetentionPeriod.h>
41 template <
typename IdentifierT = Aws::String>
43 m_identifierHasBeenSet =
true;
44 m_identifier = std::forward<IdentifierT>(value);
46 template <
typename IdentifierT = Aws::String>
60 template <
typename RetentionPeriodT = RetentionPeriod>
62 m_retentionPeriodHasBeenSet =
true;
63 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
65 template <
typename RetentionPeriodT = RetentionPeriod>
78 template <
typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
98 m_resourceTypeHasBeenSet =
true;
99 m_resourceType = value;
124 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
126 m_resourceTagsHasBeenSet =
true;
127 m_resourceTags = std::forward<ResourceTagsT>(value);
129 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
134 template <
typename ResourceTagsT = ResourceTag>
136 m_resourceTagsHasBeenSet =
true;
137 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
152 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
154 m_excludeResourceTagsHasBeenSet =
true;
155 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
157 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
162 template <
typename ExcludeResourceTagsT = ResourceTag>
164 m_excludeResourceTagsHasBeenSet =
true;
165 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
181 bool m_identifierHasBeenSet =
false;
182 bool m_retentionPeriodHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
184 bool m_resourceTypeHasBeenSet =
false;
185 bool m_resourceTagsHasBeenSet =
false;
186 bool m_excludeResourceTagsHasBeenSet =
false;
UpdateRuleRequest & WithRetentionPeriod(RetentionPeriodT &&value)
AWS_RECYCLEBIN_API UpdateRuleRequest()=default
const Aws::Vector< ResourceTag > & GetExcludeResourceTags() const
UpdateRuleRequest & WithResourceType(ResourceType value)
void SetDescription(DescriptionT &&value)
bool ResourceTagsHasBeenSet() const
ResourceType GetResourceType() const
const RetentionPeriod & GetRetentionPeriod() const
void SetRetentionPeriod(RetentionPeriodT &&value)
const Aws::String & GetIdentifier() const
UpdateRuleRequest & WithExcludeResourceTags(ExcludeResourceTagsT &&value)
UpdateRuleRequest & WithIdentifier(IdentifierT &&value)
void SetResourceType(ResourceType value)
AWS_RECYCLEBIN_API Aws::String SerializePayload() const override
bool ExcludeResourceTagsHasBeenSet() const
UpdateRuleRequest & WithDescription(DescriptionT &&value)
bool RetentionPeriodHasBeenSet() const
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
void SetExcludeResourceTags(ExcludeResourceTagsT &&value)
bool DescriptionHasBeenSet() const
UpdateRuleRequest & AddExcludeResourceTags(ExcludeResourceTagsT &&value)
void SetResourceTags(ResourceTagsT &&value)
UpdateRuleRequest & AddResourceTags(ResourceTagsT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
bool IdentifierHasBeenSet() const
void SetIdentifier(IdentifierT &&value)
bool ResourceTypeHasBeenSet() const
UpdateRuleRequest & WithResourceTags(ResourceTagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector