7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/LifecyclePolicyResourceType.h>
12#include <aws/imagebuilder/model/LifecyclePolicyStatus.h>
23namespace imagebuilder {
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
100 m_statusHasBeenSet =
true;
116 template <
typename ExecutionRoleT = Aws::String>
118 m_executionRoleHasBeenSet =
true;
119 m_executionRole = std::forward<ExecutionRoleT>(value);
121 template <
typename ExecutionRoleT = Aws::String>
135 m_resourceTypeHasBeenSet =
true;
136 m_resourceType = value;
150 template <
typename DateCreatedT = Aws::Utils::DateTime>
152 m_dateCreatedHasBeenSet =
true;
153 m_dateCreated = std::forward<DateCreatedT>(value);
155 template <
typename DateCreatedT = Aws::Utils::DateTime>
168 template <
typename DateUpdatedT = Aws::Utils::DateTime>
170 m_dateUpdatedHasBeenSet =
true;
171 m_dateUpdated = std::forward<DateUpdatedT>(value);
173 template <
typename DateUpdatedT = Aws::Utils::DateTime>
186 template <
typename DateLastRunT = Aws::Utils::DateTime>
188 m_dateLastRunHasBeenSet =
true;
189 m_dateLastRun = std::forward<DateLastRunT>(value);
191 template <
typename DateLastRunT = Aws::Utils::DateTime>
206 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 m_tagsHasBeenSet =
true;
209 m_tags = std::forward<TagsT>(value);
211 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 SetTags(std::forward<TagsT>(value));
216 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
218 m_tagsHasBeenSet =
true;
219 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
243 bool m_arnHasBeenSet =
false;
244 bool m_nameHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
246 bool m_statusHasBeenSet =
false;
247 bool m_executionRoleHasBeenSet =
false;
248 bool m_resourceTypeHasBeenSet =
false;
249 bool m_dateCreatedHasBeenSet =
false;
250 bool m_dateUpdatedHasBeenSet =
false;
251 bool m_dateLastRunHasBeenSet =
false;
252 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