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/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>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename IdentifierT = Aws::String>
43 m_identifierHasBeenSet =
true;
44 m_identifier = std::forward<IdentifierT>(value);
46 template <
typename IdentifierT = Aws::String>
56 template <
typename RetentionPeriodT = RetentionPeriod>
58 m_retentionPeriodHasBeenSet =
true;
59 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
61 template <
typename RetentionPeriodT = RetentionPeriod>
73 template <
typename DescriptionT = Aws::String>
75 m_descriptionHasBeenSet =
true;
76 m_description = std::forward<DescriptionT>(value);
78 template <
typename DescriptionT = Aws::String>
91 m_resourceTypeHasBeenSet =
true;
92 m_resourceType = value;
106 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
108 m_resourceTagsHasBeenSet =
true;
109 m_resourceTags = std::forward<ResourceTagsT>(value);
111 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
116 template <
typename ResourceTagsT = ResourceTag>
118 m_resourceTagsHasBeenSet =
true;
119 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
131 m_statusHasBeenSet =
true;
156 m_lockStateHasBeenSet =
true;
172 template <
typename LockEndTimeT = Aws::Utils::DateTime>
174 m_lockEndTimeHasBeenSet =
true;
175 m_lockEndTime = std::forward<LockEndTimeT>(value);
177 template <
typename LockEndTimeT = Aws::Utils::DateTime>
189 template <
typename RuleArnT = Aws::String>
191 m_ruleArnHasBeenSet =
true;
192 m_ruleArn = std::forward<RuleArnT>(value);
194 template <
typename RuleArnT = Aws::String>
208 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
210 m_excludeResourceTagsHasBeenSet =
true;
211 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
213 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
218 template <
typename ExcludeResourceTagsT = ResourceTag>
220 m_excludeResourceTagsHasBeenSet =
true;
221 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
229 template <
typename RequestIdT = Aws::String>
231 m_requestIdHasBeenSet =
true;
232 m_requestId = std::forward<RequestIdT>(value);
234 template <
typename RequestIdT = Aws::String>
262 bool m_identifierHasBeenSet =
false;
263 bool m_retentionPeriodHasBeenSet =
false;
264 bool m_descriptionHasBeenSet =
false;
265 bool m_resourceTypeHasBeenSet =
false;
266 bool m_resourceTagsHasBeenSet =
false;
267 bool m_statusHasBeenSet =
false;
268 bool m_lockStateHasBeenSet =
false;
269 bool m_lockEndTimeHasBeenSet =
false;
270 bool m_ruleArnHasBeenSet =
false;
271 bool m_excludeResourceTagsHasBeenSet =
false;
272 bool m_requestIdHasBeenSet =
false;
void SetRetentionPeriod(RetentionPeriodT &&value)
const RetentionPeriod & GetRetentionPeriod() const
void SetIdentifier(IdentifierT &&value)
const Aws::String & GetDescription() const
void SetRuleArn(RuleArnT &&value)
AWS_RECYCLEBIN_API UpdateRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResourceType GetResourceType() const
UpdateRuleResult & WithLockState(LockState value)
UpdateRuleResult & WithDescription(DescriptionT &&value)
AWS_RECYCLEBIN_API UpdateRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRuleArn() const
const Aws::String & GetIdentifier() const
LockState GetLockState() const
AWS_RECYCLEBIN_API UpdateRuleResult()=default
void SetResourceTags(ResourceTagsT &&value)
UpdateRuleResult & WithRuleArn(RuleArnT &&value)
void SetStatus(RuleStatus value)
UpdateRuleResult & WithStatus(RuleStatus value)
UpdateRuleResult & WithExcludeResourceTags(ExcludeResourceTagsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< ResourceTag > & GetExcludeResourceTags() const
UpdateRuleResult & WithResourceType(ResourceType value)
void SetResourceType(ResourceType value)
RuleStatus GetStatus() const
UpdateRuleResult & WithIdentifier(IdentifierT &&value)
UpdateRuleResult & WithRequestId(RequestIdT &&value)
void SetLockEndTime(LockEndTimeT &&value)
UpdateRuleResult & WithLockEndTime(LockEndTimeT &&value)
void SetExcludeResourceTags(ExcludeResourceTagsT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
UpdateRuleResult & WithResourceTags(ResourceTagsT &&value)
UpdateRuleResult & AddResourceTags(ResourceTagsT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
const Aws::Utils::DateTime & GetLockEndTime() const
UpdateRuleResult & AddExcludeResourceTags(ExcludeResourceTagsT &&value)
UpdateRuleResult & WithRetentionPeriod(RetentionPeriodT &&value)
void SetLockState(LockState 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