7#include <aws/core/http/HttpResponse.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/LockConfiguration.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>
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 m_resourceTypeHasBeenSet =
true;
78 m_resourceType = value;
89 template <
typename RetentionPeriodT = RetentionPeriod>
91 m_retentionPeriodHasBeenSet =
true;
92 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
94 template <
typename RetentionPeriodT = RetentionPeriod>
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;
146 template <
typename LockConfigurationT = LockConfiguration>
148 m_lockConfigurationHasBeenSet =
true;
149 m_lockConfiguration = std::forward<LockConfigurationT>(value);
151 template <
typename LockConfigurationT = LockConfiguration>
174 m_lockStateHasBeenSet =
true;
188 template <
typename RuleArnT = Aws::String>
190 m_ruleArnHasBeenSet =
true;
191 m_ruleArn = std::forward<RuleArnT>(value);
193 template <
typename RuleArnT = Aws::String>
207 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
209 m_excludeResourceTagsHasBeenSet =
true;
210 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
212 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
217 template <
typename ExcludeResourceTagsT = ResourceTag>
219 m_excludeResourceTagsHasBeenSet =
true;
220 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
228 template <
typename RequestIdT = Aws::String>
230 m_requestIdHasBeenSet =
true;
231 m_requestId = std::forward<RequestIdT>(value);
233 template <
typename RequestIdT = Aws::String>
248 RetentionPeriod m_retentionPeriod;
254 LockConfiguration m_lockConfiguration;
264 bool m_identifierHasBeenSet =
false;
265 bool m_descriptionHasBeenSet =
false;
266 bool m_resourceTypeHasBeenSet =
false;
267 bool m_retentionPeriodHasBeenSet =
false;
268 bool m_resourceTagsHasBeenSet =
false;
269 bool m_statusHasBeenSet =
false;
270 bool m_lockConfigurationHasBeenSet =
false;
271 bool m_lockStateHasBeenSet =
false;
272 bool m_ruleArnHasBeenSet =
false;
273 bool m_excludeResourceTagsHasBeenSet =
false;
274 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< ResourceTag > & GetResourceTags() const
void SetExcludeResourceTags(ExcludeResourceTagsT &&value)
LockRuleResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const LockConfiguration & GetLockConfiguration() const
LockRuleResult & WithRuleArn(RuleArnT &&value)
AWS_RECYCLEBIN_API LockRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
LockRuleResult & WithResourceTags(ResourceTagsT &&value)
const Aws::Vector< ResourceTag > & GetExcludeResourceTags() const
LockRuleResult & WithLockConfiguration(LockConfigurationT &&value)
void SetDescription(DescriptionT &&value)
LockRuleResult & WithDescription(DescriptionT &&value)
void SetRetentionPeriod(RetentionPeriodT &&value)
void SetResourceTags(ResourceTagsT &&value)
LockRuleResult & AddResourceTags(ResourceTagsT &&value)
LockState GetLockState() const
LockRuleResult & WithLockState(LockState value)
AWS_RECYCLEBIN_API LockRuleResult()=default
LockRuleResult & WithRetentionPeriod(RetentionPeriodT &&value)
RuleStatus GetStatus() const
ResourceType GetResourceType() const
void SetIdentifier(IdentifierT &&value)
void SetLockState(LockState value)
LockRuleResult & WithIdentifier(IdentifierT &&value)
const RetentionPeriod & GetRetentionPeriod() const
void SetStatus(RuleStatus value)
LockRuleResult & WithExcludeResourceTags(ExcludeResourceTagsT &&value)
AWS_RECYCLEBIN_API LockRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LockRuleResult & WithStatus(RuleStatus value)
LockRuleResult & AddExcludeResourceTags(ExcludeResourceTagsT &&value)
void SetResourceType(ResourceType value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRuleArn() const
const Aws::String & GetIdentifier() const
void SetRuleArn(RuleArnT &&value)
const Aws::String & GetDescription() const
void SetLockConfiguration(LockConfigurationT &&value)
LockRuleResult & WithResourceType(ResourceType 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