7#include <aws/rbin/RecycleBin_EXPORTS.h>
8#include <aws/rbin/RecycleBinRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rbin/model/RetentionPeriod.h>
11#include <aws/rbin/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/rbin/model/ResourceTag.h>
45 template<
typename IdentifierT = Aws::String>
46 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
47 template<
typename IdentifierT = Aws::String>
58 template<
typename RetentionPeriodT = RetentionPeriod>
59 void SetRetentionPeriod(RetentionPeriodT&& value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = std::forward<RetentionPeriodT>(value); }
60 template<
typename RetentionPeriodT = RetentionPeriod>
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
104 template<
typename ResourceTagsT = Aws::Vector<ResourceTag>>
105 void SetResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags = std::forward<ResourceTagsT>(value); }
106 template<
typename ResourceTagsT = Aws::Vector<ResourceTag>>
108 template<
typename ResourceTagsT = ResourceTag>
109 UpdateRuleRequest&
AddResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
return *
this; }
122 template<
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
123 void SetExcludeResourceTags(ExcludeResourceTagsT&& value) { m_excludeResourceTagsHasBeenSet =
true; m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value); }
124 template<
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
126 template<
typename ExcludeResourceTagsT = ResourceTag>
127 UpdateRuleRequest&
AddExcludeResourceTags(ExcludeResourceTagsT&& value) { m_excludeResourceTagsHasBeenSet =
true; m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
return *
this; }
132 bool m_identifierHasBeenSet =
false;
135 bool m_retentionPeriodHasBeenSet =
false;
138 bool m_descriptionHasBeenSet =
false;
141 bool m_resourceTypeHasBeenSet =
false;
144 bool m_resourceTagsHasBeenSet =
false;
147 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