7#include <aws/rbin/RecycleBin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rbin/model/ResourceType.h>
10#include <aws/rbin/model/RetentionPeriod.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rbin/model/RuleStatus.h>
13#include <aws/rbin/model/LockConfiguration.h>
14#include <aws/rbin/model/LockState.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/rbin/model/ResourceTag.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
48 template<
typename IdentifierT = Aws::String>
49 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
50 template<
typename IdentifierT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
77 template<
typename RetentionPeriodT = RetentionPeriod>
78 void SetRetentionPeriod(RetentionPeriodT&& value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = std::forward<RetentionPeriodT>(value); }
79 template<
typename RetentionPeriodT = RetentionPeriod>
89 template<
typename ResourceTagsT = Aws::Vector<ResourceTag>>
90 void SetResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags = std::forward<ResourceTagsT>(value); }
91 template<
typename ResourceTagsT = Aws::Vector<ResourceTag>>
93 template<
typename ResourceTagsT = ResourceTag>
94 UnlockRuleResult&
AddResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
return *
this; }
112 template<
typename LockConfigurationT = LockConfiguration>
113 void SetLockConfiguration(LockConfigurationT&& value) { m_lockConfigurationHasBeenSet =
true; m_lockConfiguration = std::forward<LockConfigurationT>(value); }
114 template<
typename LockConfigurationT = LockConfiguration>
144 template<
typename LockEndTimeT = Aws::Utils::DateTime>
145 void SetLockEndTime(LockEndTimeT&& value) { m_lockEndTimeHasBeenSet =
true; m_lockEndTime = std::forward<LockEndTimeT>(value); }
146 template<
typename LockEndTimeT = Aws::Utils::DateTime>
155 template<
typename RuleArnT = Aws::String>
156 void SetRuleArn(RuleArnT&& value) { m_ruleArnHasBeenSet =
true; m_ruleArn = std::forward<RuleArnT>(value); }
157 template<
typename RuleArnT = Aws::String>
168 template<
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
169 void SetExcludeResourceTags(ExcludeResourceTagsT&& value) { m_excludeResourceTagsHasBeenSet =
true; m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value); }
170 template<
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
172 template<
typename ExcludeResourceTagsT = ResourceTag>
173 UnlockRuleResult&
AddExcludeResourceTags(ExcludeResourceTagsT&& value) { m_excludeResourceTagsHasBeenSet =
true; m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
return *
this; }
179 template<
typename RequestIdT = Aws::String>
180 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
181 template<
typename RequestIdT = Aws::String>
187 bool m_identifierHasBeenSet =
false;
190 bool m_descriptionHasBeenSet =
false;
193 bool m_resourceTypeHasBeenSet =
false;
195 RetentionPeriod m_retentionPeriod;
196 bool m_retentionPeriodHasBeenSet =
false;
199 bool m_resourceTagsHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
204 LockConfiguration m_lockConfiguration;
205 bool m_lockConfigurationHasBeenSet =
false;
208 bool m_lockStateHasBeenSet =
false;
211 bool m_lockEndTimeHasBeenSet =
false;
214 bool m_ruleArnHasBeenSet =
false;
217 bool m_excludeResourceTagsHasBeenSet =
false;
220 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