7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rbin/RecycleBin_EXPORTS.h>
12#include <aws/rbin/model/LockConfiguration.h>
13#include <aws/rbin/model/LockState.h>
14#include <aws/rbin/model/ResourceTag.h>
15#include <aws/rbin/model/ResourceType.h>
16#include <aws/rbin/model/RetentionPeriod.h>
17#include <aws/rbin/model/RuleStatus.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
43 template <
typename IdentifierT = Aws::String>
45 m_identifierHasBeenSet =
true;
46 m_identifier = std::forward<IdentifierT>(value);
48 template <
typename IdentifierT = Aws::String>
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
78 m_resourceTypeHasBeenSet =
true;
79 m_resourceType = value;
90 template <
typename RetentionPeriodT = RetentionPeriod>
92 m_retentionPeriodHasBeenSet =
true;
93 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
95 template <
typename RetentionPeriodT = RetentionPeriod>
108 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
110 m_resourceTagsHasBeenSet =
true;
111 m_resourceTags = std::forward<ResourceTagsT>(value);
113 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
118 template <
typename ResourceTagsT = ResourceTag>
120 m_resourceTagsHasBeenSet =
true;
121 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
133 m_statusHasBeenSet =
true;
147 template <
typename LockConfigurationT = LockConfiguration>
149 m_lockConfigurationHasBeenSet =
true;
150 m_lockConfiguration = std::forward<LockConfigurationT>(value);
152 template <
typename LockConfigurationT = LockConfiguration>
175 m_lockStateHasBeenSet =
true;
191 template <
typename LockEndTimeT = Aws::Utils::DateTime>
193 m_lockEndTimeHasBeenSet =
true;
194 m_lockEndTime = std::forward<LockEndTimeT>(value);
196 template <
typename LockEndTimeT = Aws::Utils::DateTime>
208 template <
typename RuleArnT = Aws::String>
210 m_ruleArnHasBeenSet =
true;
211 m_ruleArn = std::forward<RuleArnT>(value);
213 template <
typename RuleArnT = Aws::String>
227 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
229 m_excludeResourceTagsHasBeenSet =
true;
230 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
232 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
237 template <
typename ExcludeResourceTagsT = ResourceTag>
239 m_excludeResourceTagsHasBeenSet =
true;
240 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
248 template <
typename RequestIdT = Aws::String>
250 m_requestIdHasBeenSet =
true;
251 m_requestId = std::forward<RequestIdT>(value);
253 template <
typename RequestIdT = Aws::String>
268 RetentionPeriod m_retentionPeriod;
274 LockConfiguration m_lockConfiguration;
286 bool m_identifierHasBeenSet =
false;
287 bool m_descriptionHasBeenSet =
false;
288 bool m_resourceTypeHasBeenSet =
false;
289 bool m_retentionPeriodHasBeenSet =
false;
290 bool m_resourceTagsHasBeenSet =
false;
291 bool m_statusHasBeenSet =
false;
292 bool m_lockConfigurationHasBeenSet =
false;
293 bool m_lockStateHasBeenSet =
false;
294 bool m_lockEndTimeHasBeenSet =
false;
295 bool m_ruleArnHasBeenSet =
false;
296 bool m_excludeResourceTagsHasBeenSet =
false;
297 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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