7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/LifecyclePolicyStatus.h>
11#include <aws/imagebuilder/model/LifecyclePolicyResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/imagebuilder/model/LifecyclePolicyResourceSelection.h>
14#include <aws/imagebuilder/model/LifecyclePolicyDetail.h>
16#include <aws/core/utils/UUID.h>
47 template<
typename LifecyclePolicyArnT = Aws::String>
48 void SetLifecyclePolicyArn(LifecyclePolicyArnT&& value) { m_lifecyclePolicyArnHasBeenSet =
true; m_lifecyclePolicyArn = std::forward<LifecyclePolicyArnT>(value); }
49 template<
typename LifecyclePolicyArnT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
82 template<
typename ExecutionRoleT = Aws::String>
83 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
84 template<
typename ExecutionRoleT = Aws::String>
104 template<
typename PolicyDetailsT = Aws::Vector<LifecyclePolicyDetail>>
105 void SetPolicyDetails(PolicyDetailsT&& value) { m_policyDetailsHasBeenSet =
true; m_policyDetails = std::forward<PolicyDetailsT>(value); }
106 template<
typename PolicyDetailsT = Aws::Vector<LifecyclePolicyDetail>>
108 template<
typename PolicyDetailsT = LifecyclePolicyDetail>
118 template<
typename ResourceSelectionT = LifecyclePolicyResourceSelection>
119 void SetResourceSelection(ResourceSelectionT&& value) { m_resourceSelectionHasBeenSet =
true; m_resourceSelection = std::forward<ResourceSelectionT>(value); }
120 template<
typename ResourceSelectionT = LifecyclePolicyResourceSelection>
133 template<
typename ClientTokenT = Aws::String>
134 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
135 template<
typename ClientTokenT = Aws::String>
141 bool m_lifecyclePolicyArnHasBeenSet =
false;
144 bool m_descriptionHasBeenSet =
false;
147 bool m_statusHasBeenSet =
false;
150 bool m_executionRoleHasBeenSet =
false;
153 bool m_resourceTypeHasBeenSet =
false;
156 bool m_policyDetailsHasBeenSet =
false;
158 LifecyclePolicyResourceSelection m_resourceSelection;
159 bool m_resourceSelectionHasBeenSet =
false;
162 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
UpdateLifecyclePolicyRequest & WithStatus(LifecyclePolicyStatus value)
bool DescriptionHasBeenSet() const
bool ExecutionRoleHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetExecutionRole() const
UpdateLifecyclePolicyRequest & WithLifecyclePolicyArn(LifecyclePolicyArnT &&value)
UpdateLifecyclePolicyRequest & AddPolicyDetails(PolicyDetailsT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
bool StatusHasBeenSet() const
UpdateLifecyclePolicyRequest & WithResourceType(LifecyclePolicyResourceType value)
void SetDescription(DescriptionT &&value)
bool PolicyDetailsHasBeenSet() const
UpdateLifecyclePolicyRequest & WithPolicyDetails(PolicyDetailsT &&value)
AWS_IMAGEBUILDER_API UpdateLifecyclePolicyRequest()=default
bool ResourceTypeHasBeenSet() const
bool ResourceSelectionHasBeenSet() const
UpdateLifecyclePolicyRequest & WithDescription(DescriptionT &&value)
const LifecyclePolicyResourceSelection & GetResourceSelection() const
void SetStatus(LifecyclePolicyStatus value)
const Aws::String & GetLifecyclePolicyArn() const
void SetResourceType(LifecyclePolicyResourceType value)
void SetResourceSelection(ResourceSelectionT &&value)
UpdateLifecyclePolicyRequest & WithExecutionRole(ExecutionRoleT &&value)
void SetLifecyclePolicyArn(LifecyclePolicyArnT &&value)
void SetPolicyDetails(PolicyDetailsT &&value)
const Aws::String & GetDescription() const
UpdateLifecyclePolicyRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< LifecyclePolicyDetail > & GetPolicyDetails() const
const Aws::String & GetClientToken() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
UpdateLifecyclePolicyRequest & WithResourceSelection(ResourceSelectionT &&value)
bool LifecyclePolicyArnHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
LifecyclePolicyStatus GetStatus() const
LifecyclePolicyResourceType GetResourceType() const
LifecyclePolicyResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector