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>
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
98 template<
typename ExecutionRoleT = Aws::String>
99 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
100 template<
typename ExecutionRoleT = Aws::String>
120 template<
typename DateCreatedT = Aws::Utils::DateTime>
121 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet =
true; m_dateCreated = std::forward<DateCreatedT>(value); }
122 template<
typename DateCreatedT = Aws::Utils::DateTime>
132 template<
typename DateUpdatedT = Aws::Utils::DateTime>
133 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet =
true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
134 template<
typename DateUpdatedT = Aws::Utils::DateTime>
144 template<
typename DateLastRunT = Aws::Utils::DateTime>
145 void SetDateLastRun(DateLastRunT&& value) { m_dateLastRunHasBeenSet =
true; m_dateLastRun = std::forward<DateLastRunT>(value); }
146 template<
typename DateLastRunT = Aws::Utils::DateTime>
158 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
160 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
164 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
170 bool m_arnHasBeenSet =
false;
173 bool m_nameHasBeenSet =
false;
176 bool m_descriptionHasBeenSet =
false;
179 bool m_statusHasBeenSet =
false;
182 bool m_executionRoleHasBeenSet =
false;
185 bool m_resourceTypeHasBeenSet =
false;
188 bool m_dateCreatedHasBeenSet =
false;
191 bool m_dateUpdatedHasBeenSet =
false;
194 bool m_dateLastRunHasBeenSet =
false;
197 bool m_tagsHasBeenSet =
false;
const Aws::Utils::DateTime & GetDateLastRun() const
bool DateUpdatedHasBeenSet() const
bool StatusHasBeenSet() const
AWS_IMAGEBUILDER_API LifecyclePolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool ArnHasBeenSet() const
void SetDateCreated(DateCreatedT &&value)
void SetDateUpdated(DateUpdatedT &&value)
const Aws::String & GetExecutionRole() const
LifecyclePolicySummary & WithArn(ArnT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
LifecyclePolicySummary & WithDateCreated(DateCreatedT &&value)
const Aws::String & GetName() const
LifecyclePolicySummary & WithExecutionRole(ExecutionRoleT &&value)
bool TagsHasBeenSet() const
LifecyclePolicySummary & WithStatus(LifecyclePolicyStatus value)
LifecyclePolicySummary & WithTags(TagsT &&value)
LifecyclePolicySummary & WithResourceType(LifecyclePolicyResourceType value)
bool DateCreatedHasBeenSet() const
const Aws::Utils::DateTime & GetDateUpdated() const
bool ResourceTypeHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
LifecyclePolicySummary & WithDateLastRun(DateLastRunT &&value)
bool ExecutionRoleHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetDateCreated() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDescription() const
void SetDateLastRun(DateLastRunT &&value)
LifecyclePolicySummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
LifecyclePolicySummary & WithDateUpdated(DateUpdatedT &&value)
AWS_IMAGEBUILDER_API LifecyclePolicySummary(Aws::Utils::Json::JsonView jsonValue)
bool DateLastRunHasBeenSet() const
void SetName(NameT &&value)
void SetResourceType(LifecyclePolicyResourceType value)
const Aws::String & GetArn() const
LifecyclePolicySummary & WithName(NameT &&value)
LifecyclePolicySummary & WithDescription(DescriptionT &&value)
LifecyclePolicyStatus GetStatus() const
bool NameHasBeenSet() const
LifecyclePolicyResourceType GetResourceType() const
void SetStatus(LifecyclePolicyStatus value)
void SetArn(ArnT &&value)
AWS_IMAGEBUILDER_API LifecyclePolicySummary()=default
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