7#include <aws/rbin/RecycleBin_EXPORTS.h>
8#include <aws/rbin/RecycleBinRequest.h>
9#include <aws/rbin/model/RetentionPeriod.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rbin/model/ResourceType.h>
13#include <aws/rbin/model/LockConfiguration.h>
14#include <aws/rbin/model/Tag.h>
15#include <aws/rbin/model/ResourceTag.h>
62 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
135 bool m_retentionPeriodHasBeenSet =
false;
138 bool m_descriptionHasBeenSet =
false;
141 bool m_tagsHasBeenSet =
false;
144 bool m_resourceTypeHasBeenSet =
false;
147 bool m_resourceTagsHasBeenSet =
false;
150 bool m_lockConfigurationHasBeenSet =
false;
CreateRuleRequest & WithDescription(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
CreateRuleRequest & WithDescription(const char *value)
CreateRuleRequest & WithRetentionPeriod(RetentionPeriod &&value)
CreateRuleRequest & WithResourceType(ResourceType &&value)
CreateRuleRequest & AddTags(const Tag &value)
CreateRuleRequest & WithResourceType(const ResourceType &value)
CreateRuleRequest & WithResourceTags(const Aws::Vector< ResourceTag > &value)
CreateRuleRequest & WithLockConfiguration(const LockConfiguration &value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
void SetRetentionPeriod(RetentionPeriod &&value)
void SetResourceType(ResourceType &&value)
void SetResourceTags(const Aws::Vector< ResourceTag > &value)
bool LockConfigurationHasBeenSet() const
bool ResourceTagsHasBeenSet() const
void SetResourceTags(Aws::Vector< ResourceTag > &&value)
CreateRuleRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_RECYCLEBIN_API CreateRuleRequest()
CreateRuleRequest & WithDescription(Aws::String &&value)
void SetResourceType(const ResourceType &value)
void SetRetentionPeriod(const RetentionPeriod &value)
const RetentionPeriod & GetRetentionPeriod() const
void SetLockConfiguration(const LockConfiguration &value)
AWS_RECYCLEBIN_API Aws::String SerializePayload() const override
CreateRuleRequest & AddResourceTags(const ResourceTag &value)
CreateRuleRequest & WithLockConfiguration(LockConfiguration &&value)
CreateRuleRequest & WithResourceTags(Aws::Vector< ResourceTag > &&value)
CreateRuleRequest & AddResourceTags(ResourceTag &&value)
bool ResourceTypeHasBeenSet() const
void SetDescription(Aws::String &&value)
CreateRuleRequest & AddTags(Tag &&value)
void SetLockConfiguration(LockConfiguration &&value)
bool DescriptionHasBeenSet() const
CreateRuleRequest & WithRetentionPeriod(const RetentionPeriod &value)
void SetDescription(const char *value)
const ResourceType & GetResourceType() const
void SetTags(Aws::Vector< Tag > &&value)
bool RetentionPeriodHasBeenSet() const
CreateRuleRequest & WithTags(const Aws::Vector< Tag > &value)
virtual const char * GetServiceRequestName() const override
const LockConfiguration & GetLockConfiguration() const
bool TagsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector