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>
49 inline void SetLifecyclePolicyArn(
const char* value) { m_lifecyclePolicyArnHasBeenSet =
true; m_lifecyclePolicyArn.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
90 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
145 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
153 bool m_lifecyclePolicyArnHasBeenSet =
false;
156 bool m_descriptionHasBeenSet =
false;
159 bool m_statusHasBeenSet =
false;
162 bool m_executionRoleHasBeenSet =
false;
165 bool m_resourceTypeHasBeenSet =
false;
168 bool m_policyDetailsHasBeenSet =
false;
171 bool m_resourceSelectionHasBeenSet =
false;
174 bool m_clientTokenHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetDescription(Aws::String &&value)
bool ExecutionRoleHasBeenSet() const
AWS_IMAGEBUILDER_API UpdateLifecyclePolicyRequest()
bool ClientTokenHasBeenSet() const
const Aws::String & GetExecutionRole() const
UpdateLifecyclePolicyRequest & WithClientToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetResourceSelection(const LifecyclePolicyResourceSelection &value)
bool StatusHasBeenSet() const
UpdateLifecyclePolicyRequest & WithExecutionRole(const Aws::String &value)
UpdateLifecyclePolicyRequest & WithExecutionRole(const char *value)
UpdateLifecyclePolicyRequest & WithResourceType(LifecyclePolicyResourceType &&value)
void SetExecutionRole(Aws::String &&value)
UpdateLifecyclePolicyRequest & WithPolicyDetails(Aws::Vector< LifecyclePolicyDetail > &&value)
void SetResourceType(LifecyclePolicyResourceType &&value)
void SetLifecyclePolicyArn(Aws::String &&value)
bool PolicyDetailsHasBeenSet() const
UpdateLifecyclePolicyRequest & WithLifecyclePolicyArn(Aws::String &&value)
void SetLifecyclePolicyArn(const Aws::String &value)
const LifecyclePolicyResourceType & GetResourceType() const
bool ResourceTypeHasBeenSet() const
UpdateLifecyclePolicyRequest & WithClientToken(const char *value)
bool ResourceSelectionHasBeenSet() const
const LifecyclePolicyResourceSelection & GetResourceSelection() const
UpdateLifecyclePolicyRequest & WithPolicyDetails(const Aws::Vector< LifecyclePolicyDetail > &value)
const Aws::String & GetLifecyclePolicyArn() const
UpdateLifecyclePolicyRequest & WithResourceSelection(LifecyclePolicyResourceSelection &&value)
void SetExecutionRole(const char *value)
UpdateLifecyclePolicyRequest & WithExecutionRole(Aws::String &&value)
UpdateLifecyclePolicyRequest & WithStatus(LifecyclePolicyStatus &&value)
void SetStatus(LifecyclePolicyStatus &&value)
const Aws::String & GetDescription() const
UpdateLifecyclePolicyRequest & WithClientToken(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetPolicyDetails(Aws::Vector< LifecyclePolicyDetail > &&value)
UpdateLifecyclePolicyRequest & WithDescription(const char *value)
void SetResourceSelection(LifecyclePolicyResourceSelection &&value)
void SetDescription(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< LifecyclePolicyDetail > & GetPolicyDetails() const
const Aws::String & GetClientToken() const
UpdateLifecyclePolicyRequest & WithResourceType(const LifecyclePolicyResourceType &value)
UpdateLifecyclePolicyRequest & AddPolicyDetails(const LifecyclePolicyDetail &value)
UpdateLifecyclePolicyRequest & WithLifecyclePolicyArn(const Aws::String &value)
void SetResourceType(const LifecyclePolicyResourceType &value)
void SetStatus(const LifecyclePolicyStatus &value)
UpdateLifecyclePolicyRequest & WithLifecyclePolicyArn(const char *value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
const LifecyclePolicyStatus & GetStatus() const
UpdateLifecyclePolicyRequest & WithResourceSelection(const LifecyclePolicyResourceSelection &value)
bool LifecyclePolicyArnHasBeenSet() const
void SetExecutionRole(const Aws::String &value)
void SetPolicyDetails(const Aws::Vector< LifecyclePolicyDetail > &value)
void SetClientToken(const Aws::String &value)
void SetLifecyclePolicyArn(const char *value)
UpdateLifecyclePolicyRequest & WithStatus(const LifecyclePolicyStatus &value)
UpdateLifecyclePolicyRequest & WithDescription(Aws::String &&value)
void SetClientToken(const char *value)
UpdateLifecyclePolicyRequest & AddPolicyDetails(LifecyclePolicyDetail &&value)
UpdateLifecyclePolicyRequest & WithDescription(const Aws::String &value)
LifecyclePolicyResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector