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/core/utils/memory/stl/AWSMap.h>
15#include <aws/imagebuilder/model/LifecyclePolicyDetail.h>
17#include <aws/core/utils/UUID.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
64 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
91 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
166 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
174 bool m_nameHasBeenSet =
false;
177 bool m_descriptionHasBeenSet =
false;
180 bool m_statusHasBeenSet =
false;
183 bool m_executionRoleHasBeenSet =
false;
186 bool m_resourceTypeHasBeenSet =
false;
189 bool m_policyDetailsHasBeenSet =
false;
192 bool m_resourceSelectionHasBeenSet =
false;
195 bool m_tagsHasBeenSet =
false;
198 bool m_clientTokenHasBeenSet =
false;
CreateLifecyclePolicyRequest & WithResourceType(const LifecyclePolicyResourceType &value)
CreateLifecyclePolicyRequest & WithResourceSelection(LifecyclePolicyResourceSelection &&value)
CreateLifecyclePolicyRequest & WithStatus(const LifecyclePolicyStatus &value)
void SetName(const Aws::String &value)
void SetStatus(const LifecyclePolicyStatus &value)
CreateLifecyclePolicyRequest & WithDescription(Aws::String &&value)
void SetName(const char *value)
void SetDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLifecyclePolicyRequest & WithExecutionRole(const char *value)
CreateLifecyclePolicyRequest & WithExecutionRole(const Aws::String &value)
CreateLifecyclePolicyRequest & WithResourceType(LifecyclePolicyResourceType &&value)
void SetClientToken(const Aws::String &value)
void SetResourceType(LifecyclePolicyResourceType &&value)
const Aws::String & GetClientToken() const
CreateLifecyclePolicyRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateLifecyclePolicyRequest & WithPolicyDetails(Aws::Vector< LifecyclePolicyDetail > &&value)
const Aws::String & GetExecutionRole() const
virtual const char * GetServiceRequestName() const override
AWS_IMAGEBUILDER_API CreateLifecyclePolicyRequest()
void SetExecutionRole(const Aws::String &value)
CreateLifecyclePolicyRequest & AddPolicyDetails(LifecyclePolicyDetail &&value)
void SetResourceSelection(LifecyclePolicyResourceSelection &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLifecyclePolicyRequest & WithName(Aws::String &&value)
CreateLifecyclePolicyRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
const LifecyclePolicyResourceSelection & GetResourceSelection() const
bool ClientTokenHasBeenSet() const
CreateLifecyclePolicyRequest & WithDescription(const Aws::String &value)
const LifecyclePolicyStatus & GetStatus() const
CreateLifecyclePolicyRequest & WithClientToken(const Aws::String &value)
CreateLifecyclePolicyRequest & WithStatus(LifecyclePolicyStatus &&value)
void SetClientToken(const char *value)
bool ExecutionRoleHasBeenSet() const
CreateLifecyclePolicyRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetPolicyDetails(Aws::Vector< LifecyclePolicyDetail > &&value)
bool TagsHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool StatusHasBeenSet() const
CreateLifecyclePolicyRequest & WithClientToken(Aws::String &&value)
bool DescriptionHasBeenSet() const
CreateLifecyclePolicyRequest & AddTags(const Aws::String &key, Aws::String &&value)
const LifecyclePolicyResourceType & GetResourceType() const
CreateLifecyclePolicyRequest & WithClientToken(const char *value)
CreateLifecyclePolicyRequest & WithName(const char *value)
CreateLifecyclePolicyRequest & AddTags(const char *key, Aws::String &&value)
void SetStatus(LifecyclePolicyStatus &&value)
void SetResourceType(const LifecyclePolicyResourceType &value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
const Aws::Vector< LifecyclePolicyDetail > & GetPolicyDetails() const
bool ResourceSelectionHasBeenSet() const
CreateLifecyclePolicyRequest & WithDescription(const char *value)
void SetExecutionRole(const char *value)
const Aws::String & GetName() const
CreateLifecyclePolicyRequest & AddPolicyDetails(const LifecyclePolicyDetail &value)
CreateLifecyclePolicyRequest & AddTags(const char *key, const char *value)
void SetDescription(const char *value)
bool PolicyDetailsHasBeenSet() const
void SetResourceSelection(const LifecyclePolicyResourceSelection &value)
bool ResourceTypeHasBeenSet() const
CreateLifecyclePolicyRequest & WithPolicyDetails(const Aws::Vector< LifecyclePolicyDetail > &value)
CreateLifecyclePolicyRequest & WithExecutionRole(Aws::String &&value)
void SetClientToken(Aws::String &&value)
bool NameHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetExecutionRole(Aws::String &&value)
void SetName(Aws::String &&value)
CreateLifecyclePolicyRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLifecyclePolicyRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateLifecyclePolicyRequest & AddTags(Aws::String &&key, const char *value)
CreateLifecyclePolicyRequest & WithName(const Aws::String &value)
CreateLifecyclePolicyRequest & WithResourceSelection(const LifecyclePolicyResourceSelection &value)
void SetPolicyDetails(const Aws::Vector< LifecyclePolicyDetail > &value)
LifecyclePolicyResourceType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector