7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/LifecyclePolicyStatus.h>
10#include <aws/imagebuilder/model/LifecyclePolicyResourceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
108 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
185 bool m_arnHasBeenSet =
false;
188 bool m_nameHasBeenSet =
false;
191 bool m_descriptionHasBeenSet =
false;
194 bool m_statusHasBeenSet =
false;
197 bool m_executionRoleHasBeenSet =
false;
200 bool m_resourceTypeHasBeenSet =
false;
203 bool m_dateCreatedHasBeenSet =
false;
206 bool m_dateUpdatedHasBeenSet =
false;
209 bool m_dateLastRunHasBeenSet =
false;
212 bool m_tagsHasBeenSet =
false;
LifecyclePolicySummary & AddTags(const char *key, Aws::String &&value)
void SetDateLastRun(Aws::Utils::DateTime &&value)
void SetExecutionRole(const char *value)
void SetName(const char *value)
const Aws::Utils::DateTime & GetDateLastRun() const
void SetDateCreated(const Aws::Utils::DateTime &value)
bool DateUpdatedHasBeenSet() const
LifecyclePolicySummary & WithDateLastRun(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool StatusHasBeenSet() const
void SetDescription(const char *value)
LifecyclePolicySummary & WithDescription(const char *value)
void SetArn(const Aws::String &value)
AWS_IMAGEBUILDER_API LifecyclePolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicySummary & WithArn(Aws::String &&value)
LifecyclePolicySummary & WithDateCreated(const Aws::Utils::DateTime &value)
bool DescriptionHasBeenSet() const
void SetDateLastRun(const Aws::Utils::DateTime &value)
LifecyclePolicySummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetResourceType(const LifecyclePolicyResourceType &value)
bool ArnHasBeenSet() const
void SetName(Aws::String &&value)
LifecyclePolicySummary & WithExecutionRole(const Aws::String &value)
void SetResourceType(LifecyclePolicyResourceType &&value)
const LifecyclePolicyResourceType & GetResourceType() const
void SetArn(const char *value)
const Aws::String & GetExecutionRole() const
AWS_IMAGEBUILDER_API LifecyclePolicySummary()
void SetDescription(const Aws::String &value)
void SetDateCreated(Aws::Utils::DateTime &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
LifecyclePolicySummary & WithDescription(const Aws::String &value)
void SetStatus(const LifecyclePolicyStatus &value)
const Aws::String & GetName() const
bool TagsHasBeenSet() const
LifecyclePolicySummary & WithName(Aws::String &&value)
LifecyclePolicySummary & AddTags(const char *key, const char *value)
LifecyclePolicySummary & WithName(const Aws::String &value)
void SetArn(Aws::String &&value)
bool DateCreatedHasBeenSet() const
LifecyclePolicySummary & AddTags(Aws::String &&key, Aws::String &&value)
LifecyclePolicySummary & WithDateUpdated(const Aws::Utils::DateTime &value)
LifecyclePolicySummary & WithArn(const char *value)
const Aws::Utils::DateTime & GetDateUpdated() const
LifecyclePolicySummary & WithDateCreated(Aws::Utils::DateTime &&value)
bool ResourceTypeHasBeenSet() const
LifecyclePolicySummary & WithStatus(LifecyclePolicyStatus &&value)
void SetExecutionRole(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
LifecyclePolicySummary & WithArn(const Aws::String &value)
LifecyclePolicySummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
LifecyclePolicySummary & WithDescription(Aws::String &&value)
LifecyclePolicySummary & WithResourceType(LifecyclePolicyResourceType &&value)
LifecyclePolicySummary & WithName(const char *value)
bool ExecutionRoleHasBeenSet() const
const Aws::Utils::DateTime & GetDateCreated() const
const LifecyclePolicyStatus & GetStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetExecutionRole(Aws::String &&value)
const Aws::String & GetDescription() const
AWS_IMAGEBUILDER_API LifecyclePolicySummary(Aws::Utils::Json::JsonView jsonValue)
bool DateLastRunHasBeenSet() const
void SetDateUpdated(Aws::Utils::DateTime &&value)
void SetDateUpdated(const Aws::Utils::DateTime &value)
LifecyclePolicySummary & WithDateUpdated(Aws::Utils::DateTime &&value)
LifecyclePolicySummary & WithDateLastRun(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
void SetStatus(LifecyclePolicyStatus &&value)
void SetDescription(Aws::String &&value)
LifecyclePolicySummary & WithResourceType(const LifecyclePolicyResourceType &value)
LifecyclePolicySummary & WithExecutionRole(const char *value)
LifecyclePolicySummary & WithExecutionRole(Aws::String &&value)
LifecyclePolicySummary & AddTags(Aws::String &&key, const Aws::String &value)
LifecyclePolicySummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
LifecyclePolicySummary & AddTags(Aws::String &&key, const char *value)
bool NameHasBeenSet() const
LifecyclePolicySummary & AddTags(const Aws::String &key, const Aws::String &value)
LifecyclePolicySummary & WithStatus(const LifecyclePolicyStatus &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
Aws::Utils::Json::JsonValue JsonValue