7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rbin/RecycleBin_EXPORTS.h>
10#include <aws/rbin/model/LockConfiguration.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>
58 template <
typename DescriptionT = Aws::String>
60 m_descriptionHasBeenSet =
true;
61 m_description = std::forward<DescriptionT>(value);
63 template <
typename DescriptionT = Aws::String>
76 m_resourceTypeHasBeenSet =
true;
77 m_resourceType = value;
88 template <
typename RetentionPeriodT = RetentionPeriod>
90 m_retentionPeriodHasBeenSet =
true;
91 m_retentionPeriod = std::forward<RetentionPeriodT>(value);
93 template <
typename RetentionPeriodT = RetentionPeriod>
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;
145 template <
typename LockConfigurationT = LockConfiguration>
147 m_lockConfigurationHasBeenSet =
true;
148 m_lockConfiguration = std::forward<LockConfigurationT>(value);
150 template <
typename LockConfigurationT = LockConfiguration>
173 m_lockStateHasBeenSet =
true;
187 template <
typename RuleArnT = Aws::String>
189 m_ruleArnHasBeenSet =
true;
190 m_ruleArn = std::forward<RuleArnT>(value);
192 template <
typename RuleArnT = Aws::String>
206 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
208 m_excludeResourceTagsHasBeenSet =
true;
209 m_excludeResourceTags = std::forward<ExcludeResourceTagsT>(value);
211 template <
typename ExcludeResourceTagsT = Aws::Vector<ResourceTag>>
216 template <
typename ExcludeResourceTagsT = ResourceTag>
218 m_excludeResourceTagsHasBeenSet =
true;
219 m_excludeResourceTags.emplace_back(std::forward<ExcludeResourceTagsT>(value));
227 template <
typename RequestIdT = Aws::String>
229 m_requestIdHasBeenSet =
true;
230 m_requestId = std::forward<RequestIdT>(value);
232 template <
typename RequestIdT = Aws::String>
245 RetentionPeriod m_retentionPeriod;
251 LockConfiguration m_lockConfiguration;
260 bool m_identifierHasBeenSet =
false;
261 bool m_descriptionHasBeenSet =
false;
262 bool m_resourceTypeHasBeenSet =
false;
263 bool m_retentionPeriodHasBeenSet =
false;
264 bool m_resourceTagsHasBeenSet =
false;
265 bool m_statusHasBeenSet =
false;
266 bool m_lockConfigurationHasBeenSet =
false;
267 bool m_lockStateHasBeenSet =
false;
268 bool m_ruleArnHasBeenSet =
false;
269 bool m_excludeResourceTagsHasBeenSet =
false;
270 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)
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