7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rbin/RecycleBin_EXPORTS.h>
11#include <aws/rbin/model/LockConfiguration.h>
12#include <aws/rbin/model/LockState.h>
13#include <aws/rbin/model/ResourceTag.h>
14#include <aws/rbin/model/ResourceType.h>
15#include <aws/rbin/model/RetentionPeriod.h>
16#include <aws/rbin/model/RuleStatus.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>
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 m_resourceTypeHasBeenSet =
true;
78 m_resourceType = value;
89 template <
typename RetentionPeriodT = RetentionPeriod>
91 m_retentionPeriodHasBeenSet =
true;
92 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
94 template <
typename RetentionPeriodT = RetentionPeriod>
107 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
109 m_resourceTagsHasBeenSet =
true;
110 m_resourceTags = std::forward<ResourceTagsT>(value);
112 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
117 template <
typename ResourceTagsT = ResourceTag>
119 m_resourceTagsHasBeenSet =
true;
120 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
132 m_statusHasBeenSet =
true;
146 template <
typename LockConfigurationT = LockConfiguration>
148 m_lockConfigurationHasBeenSet =
true;
149 m_lockConfiguration = std::forward<LockConfigurationT>(value);
151 template <
typename LockConfigurationT = LockConfiguration>
174 m_lockStateHasBeenSet =
true;
190 template <
typename LockEndTimeT = Aws::Utils::DateTime>
192 m_lockEndTimeHasBeenSet =
true;
193 m_lockEndTime = std::forward<LockEndTimeT>(value);
195 template <
typename LockEndTimeT = Aws::Utils::DateTime>
207 template <
typename RuleArnT = Aws::String>
209 m_ruleArnHasBeenSet =
true;
210 m_ruleArn = std::forward<RuleArnT>(value);
212 template <
typename RuleArnT = Aws::String>
226 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
228 m_excludeResourceTagsHasBeenSet =
true;
229 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
231 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
236 template <
typename ExcludeResourceTagsT = ResourceTag>
238 m_excludeResourceTagsHasBeenSet =
true;
239 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
247 template <
typename RequestIdT = Aws::String>
249 m_requestIdHasBeenSet =
true;
250 m_requestId = std::forward<RequestIdT>(value);
252 template <
typename RequestIdT = Aws::String>
265 RetentionPeriod m_retentionPeriod;
271 LockConfiguration m_lockConfiguration;
282 bool m_identifierHasBeenSet =
false;
283 bool m_descriptionHasBeenSet =
false;
284 bool m_resourceTypeHasBeenSet =
false;
285 bool m_retentionPeriodHasBeenSet =
false;
286 bool m_resourceTagsHasBeenSet =
false;
287 bool m_statusHasBeenSet =
false;
288 bool m_lockConfigurationHasBeenSet =
false;
289 bool m_lockStateHasBeenSet =
false;
290 bool m_lockEndTimeHasBeenSet =
false;
291 bool m_ruleArnHasBeenSet =
false;
292 bool m_excludeResourceTagsHasBeenSet =
false;
293 bool m_requestIdHasBeenSet =
false;
const LockConfiguration & GetLockConfiguration() const
UnlockRuleResult & AddResourceTags(ResourceTagsT &&value)
void SetLockConfiguration(LockConfigurationT &&value)
void SetLockState(LockState value)
const RetentionPeriod & GetRetentionPeriod() const
const Aws::Vector< ResourceTag > & GetExcludeResourceTags() const
const Aws::String & GetDescription() const
UnlockRuleResult & WithRetentionPeriod(RetentionPeriodT &&value)
ResourceType GetResourceType() const
const Aws::String & GetRuleArn() const
LockState GetLockState() const
UnlockRuleResult & WithResourceTags(ResourceTagsT &&value)
UnlockRuleResult & WithExcludeResourceTags(ExcludeResourceTagsT &&value)
UnlockRuleResult & WithLockState(LockState value)
const Aws::String & GetIdentifier() const
UnlockRuleResult & WithLockEndTime(LockEndTimeT &&value)
AWS_RECYCLEBIN_API UnlockRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRetentionPeriod(RetentionPeriodT &&value)
void SetResourceTags(ResourceTagsT &&value)
void SetStatus(RuleStatus value)
AWS_RECYCLEBIN_API UnlockRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExcludeResourceTags(ExcludeResourceTagsT &&value)
UnlockRuleResult & WithRequestId(RequestIdT &&value)
UnlockRuleResult & WithStatus(RuleStatus value)
RuleStatus GetStatus() const
void SetRuleArn(RuleArnT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
UnlockRuleResult & WithLockConfiguration(LockConfigurationT &&value)
UnlockRuleResult & AddExcludeResourceTags(ExcludeResourceTagsT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
UnlockRuleResult & WithRuleArn(RuleArnT &&value)
UnlockRuleResult & WithDescription(DescriptionT &&value)
void SetResourceType(ResourceType value)
void SetDescription(DescriptionT &&value)
AWS_RECYCLEBIN_API UnlockRuleResult()=default
void SetLockEndTime(LockEndTimeT &&value)
UnlockRuleResult & WithResourceType(ResourceType value)
const Aws::Utils::DateTime & GetLockEndTime() const
void SetIdentifier(IdentifierT &&value)
UnlockRuleResult & WithIdentifier(IdentifierT &&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