7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rbin/RecycleBin_EXPORTS.h>
10#include <aws/rbin/model/LockConfiguration.h>
11#include <aws/rbin/model/LockState.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/RuleStatus.h>
16#include <aws/rbin/model/Tag.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename IdentifierT = Aws::String>
44 m_identifierHasBeenSet =
true;
45 m_identifier = std::forward<IdentifierT>(value);
47 template <
typename IdentifierT = Aws::String>
57 template <
typename RetentionPeriodT = RetentionPeriod>
59 m_retentionPeriodHasBeenSet =
true;
60 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
62 template <
typename RetentionPeriodT = RetentionPeriod>
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
91 template <
typename TagsT = Aws::Vector<Tag>>
93 m_tagsHasBeenSet =
true;
94 m_tags = std::forward<TagsT>(value);
96 template <
typename TagsT = Aws::Vector<Tag>>
98 SetTags(std::forward<TagsT>(value));
101 template <
typename TagsT = Tag>
103 m_tagsHasBeenSet =
true;
104 m_tags.emplace_back(std::forward<TagsT>(value));
115 m_resourceTypeHasBeenSet =
true;
116 m_resourceType = value;
130 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
132 m_resourceTagsHasBeenSet =
true;
133 m_resourceTags = std::forward<ResourceTagsT>(value);
135 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
140 template <
typename ResourceTagsT = ResourceTag>
142 m_resourceTagsHasBeenSet =
true;
143 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
155 m_statusHasBeenSet =
true;
169 template <
typename LockConfigurationT = LockConfiguration>
171 m_lockConfigurationHasBeenSet =
true;
172 m_lockConfiguration = std::forward<LockConfigurationT>(value);
174 template <
typename LockConfigurationT = LockConfiguration>
197 m_lockStateHasBeenSet =
true;
211 template <
typename RuleArnT = Aws::String>
213 m_ruleArnHasBeenSet =
true;
214 m_ruleArn = std::forward<RuleArnT>(value);
216 template <
typename RuleArnT = Aws::String>
230 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
232 m_excludeResourceTagsHasBeenSet =
true;
233 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
235 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
240 template <
typename ExcludeResourceTagsT = ResourceTag>
242 m_excludeResourceTagsHasBeenSet =
true;
243 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
251 template <
typename RequestIdT = Aws::String>
253 m_requestIdHasBeenSet =
true;
254 m_requestId = std::forward<RequestIdT>(value);
256 template <
typename RequestIdT = Aws::String>
277 LockConfiguration m_lockConfiguration;
286 bool m_identifierHasBeenSet =
false;
287 bool m_retentionPeriodHasBeenSet =
false;
288 bool m_descriptionHasBeenSet =
false;
289 bool m_tagsHasBeenSet =
false;
290 bool m_resourceTypeHasBeenSet =
false;
291 bool m_resourceTagsHasBeenSet =
false;
292 bool m_statusHasBeenSet =
false;
293 bool m_lockConfigurationHasBeenSet =
false;
294 bool m_lockStateHasBeenSet =
false;
295 bool m_ruleArnHasBeenSet =
false;
296 bool m_excludeResourceTagsHasBeenSet =
false;
297 bool m_requestIdHasBeenSet =
false;
CreateRuleResult & WithRuleArn(RuleArnT &&value)
CreateRuleResult & AddExcludeResourceTags(ExcludeResourceTagsT &&value)
const Aws::String & GetRequestId() const
void SetExcludeResourceTags(ExcludeResourceTagsT &&value)
CreateRuleResult & WithTags(TagsT &&value)
void SetRetentionPeriod(RetentionPeriodT &&value)
const LockConfiguration & GetLockConfiguration() const
const Aws::Vector< Tag > & GetTags() const
void SetStatus(RuleStatus value)
const Aws::String & GetRuleArn() const
LockState GetLockState() const
AWS_RECYCLEBIN_API CreateRuleResult()=default
CreateRuleResult & WithRetentionPeriod(RetentionPeriodT &&value)
const Aws::String & GetIdentifier() const
const Aws::String & GetDescription() const
AWS_RECYCLEBIN_API CreateRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRuleResult & WithIdentifier(IdentifierT &&value)
CreateRuleResult & WithStatus(RuleStatus value)
void SetIdentifier(IdentifierT &&value)
CreateRuleResult & AddResourceTags(ResourceTagsT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
void SetLockConfiguration(LockConfigurationT &&value)
void SetDescription(DescriptionT &&value)
CreateRuleResult & WithLockState(LockState value)
CreateRuleResult & WithLockConfiguration(LockConfigurationT &&value)
AWS_RECYCLEBIN_API CreateRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(TagsT &&value)
void SetResourceTags(ResourceTagsT &&value)
ResourceType GetResourceType() const
CreateRuleResult & WithResourceTags(ResourceTagsT &&value)
CreateRuleResult & WithDescription(DescriptionT &&value)
void SetLockState(LockState value)
const Aws::Vector< ResourceTag > & GetExcludeResourceTags() const
CreateRuleResult & WithRequestId(RequestIdT &&value)
const RetentionPeriod & GetRetentionPeriod() const
CreateRuleResult & AddTags(TagsT &&value)
void SetRuleArn(RuleArnT &&value)
CreateRuleResult & WithExcludeResourceTags(ExcludeResourceTagsT &&value)
RuleStatus GetStatus() const
CreateRuleResult & WithResourceType(ResourceType value)
void SetRequestId(RequestIdT &&value)
void SetResourceType(ResourceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue