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;
93 template <
typename RetentionPeriodT = RetentionPeriod>
95 m_retentionPeriodHasBeenSet =
true;
96 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
98 template <
typename RetentionPeriodT = RetentionPeriod>
111 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
113 m_resourceTagsHasBeenSet =
true;
114 m_resourceTags = std::forward<ResourceTagsT>(value);
116 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
121 template <
typename ResourceTagsT = ResourceTag>
123 m_resourceTagsHasBeenSet =
true;
124 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
136 m_statusHasBeenSet =
true;
150 template <
typename LockConfigurationT = LockConfiguration>
152 m_lockConfigurationHasBeenSet =
true;
153 m_lockConfiguration = std::forward<LockConfigurationT>(value);
155 template <
typename LockConfigurationT = LockConfiguration>
178 m_lockStateHasBeenSet =
true;
194 template <
typename LockEndTimeT = Aws::Utils::DateTime>
196 m_lockEndTimeHasBeenSet =
true;
197 m_lockEndTime = std::forward<LockEndTimeT>(value);
199 template <
typename LockEndTimeT = Aws::Utils::DateTime>
211 template <
typename RuleArnT = Aws::String>
213 m_ruleArnHasBeenSet =
true;
214 m_ruleArn = std::forward<RuleArnT>(value);
216 template <
typename RuleArnT = Aws::String>
230 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
232 m_excludeResourceTagsHasBeenSet =
true;
233 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
235 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
240 template <
typename ExcludeResourceTagsT = ResourceTag>
242 m_excludeResourceTagsHasBeenSet =
true;
243 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
251 template <
typename RequestIdT = Aws::String>
253 m_requestIdHasBeenSet =
true;
254 m_requestId = std::forward<RequestIdT>(value);
256 template <
typename RequestIdT = Aws::String>
271 RetentionPeriod m_retentionPeriod;
277 LockConfiguration m_lockConfiguration;
289 bool m_identifierHasBeenSet =
false;
290 bool m_descriptionHasBeenSet =
false;
291 bool m_resourceTypeHasBeenSet =
false;
292 bool m_retentionPeriodHasBeenSet =
false;
293 bool m_resourceTagsHasBeenSet =
false;
294 bool m_statusHasBeenSet =
false;
295 bool m_lockConfigurationHasBeenSet =
false;
296 bool m_lockStateHasBeenSet =
false;
297 bool m_lockEndTimeHasBeenSet =
false;
298 bool m_ruleArnHasBeenSet =
false;
299 bool m_excludeResourceTagsHasBeenSet =
false;
300 bool m_requestIdHasBeenSet =
false;
RuleStatus GetStatus() const
GetRuleResult & WithStatus(RuleStatus value)
const Aws::String & GetRequestId() const
void SetLockState(LockState value)
GetRuleResult & WithRetentionPeriod(RetentionPeriodT &&value)
LockState GetLockState() const
GetRuleResult & WithIdentifier(IdentifierT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetRuleResult & WithResourceType(ResourceType value)
const Aws::String & GetDescription() const
GetRuleResult & WithResourceTags(ResourceTagsT &&value)
AWS_RECYCLEBIN_API GetRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResourceType(ResourceType value)
GetRuleResult & WithLockEndTime(LockEndTimeT &&value)
const Aws::String & GetRuleArn() const
const Aws::Vector< ResourceTag > & GetExcludeResourceTags() const
AWS_RECYCLEBIN_API GetRuleResult()=default
GetRuleResult & WithLockConfiguration(LockConfigurationT &&value)
void SetLockEndTime(LockEndTimeT &&value)
void SetResourceTags(ResourceTagsT &&value)
GetRuleResult & WithRuleArn(RuleArnT &&value)
void SetLockConfiguration(LockConfigurationT &&value)
AWS_RECYCLEBIN_API GetRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetIdentifier() const
GetRuleResult & AddResourceTags(ResourceTagsT &&value)
GetRuleResult & AddExcludeResourceTags(ExcludeResourceTagsT &&value)
void SetDescription(DescriptionT &&value)
const LockConfiguration & GetLockConfiguration() const
const Aws::Utils::DateTime & GetLockEndTime() const
ResourceType GetResourceType() const
GetRuleResult & WithRequestId(RequestIdT &&value)
void SetIdentifier(IdentifierT &&value)
GetRuleResult & WithDescription(DescriptionT &&value)
void SetExcludeResourceTags(ExcludeResourceTagsT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
GetRuleResult & WithExcludeResourceTags(ExcludeResourceTagsT &&value)
void SetRequestId(RequestIdT &&value)
const RetentionPeriod & GetRetentionPeriod() const
void SetRuleArn(RuleArnT &&value)
void SetStatus(RuleStatus value)
void SetRetentionPeriod(RetentionPeriodT &&value)
GetRuleResult & WithLockState(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