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/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>
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>
92 m_resourceTypeHasBeenSet =
true;
93 m_resourceType = value;
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;
157 m_lockStateHasBeenSet =
true;
173 template <
typename LockEndTimeT = Aws::Utils::DateTime>
175 m_lockEndTimeHasBeenSet =
true;
176 m_lockEndTime = std::forward<LockEndTimeT>(value);
178 template <
typename LockEndTimeT = Aws::Utils::DateTime>
190 template <
typename RuleArnT = Aws::String>
192 m_ruleArnHasBeenSet =
true;
193 m_ruleArn = std::forward<RuleArnT>(value);
195 template <
typename RuleArnT = Aws::String>
209 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
211 m_excludeResourceTagsHasBeenSet =
true;
212 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
214 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
219 template <
typename ExcludeResourceTagsT = ResourceTag>
221 m_excludeResourceTagsHasBeenSet =
true;
222 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
230 template <
typename RequestIdT = Aws::String>
232 m_requestIdHasBeenSet =
true;
233 m_requestId = std::forward<RequestIdT>(value);
235 template <
typename RequestIdT = Aws::String>
266 bool m_identifierHasBeenSet =
false;
267 bool m_retentionPeriodHasBeenSet =
false;
268 bool m_descriptionHasBeenSet =
false;
269 bool m_resourceTypeHasBeenSet =
false;
270 bool m_resourceTagsHasBeenSet =
false;
271 bool m_statusHasBeenSet =
false;
272 bool m_lockStateHasBeenSet =
false;
273 bool m_lockEndTimeHasBeenSet =
false;
274 bool m_ruleArnHasBeenSet =
false;
275 bool m_excludeResourceTagsHasBeenSet =
false;
276 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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