7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ecr/model/LifecyclePolicyRuleAction.h>
66 inline void SetImageDigest(
const char* value) { m_imageDigestHasBeenSet =
true; m_imageDigest.assign(value); }
109 bool m_imageTagsHasBeenSet =
false;
112 bool m_imageDigestHasBeenSet =
false;
115 bool m_imagePushedAtHasBeenSet =
false;
118 bool m_actionHasBeenSet =
false;
120 int m_appliedRulePriority;
121 bool m_appliedRulePriorityHasBeenSet =
false;
const Aws::Utils::DateTime & GetImagePushedAt() const
void SetImageTags(Aws::Vector< Aws::String > &&value)
void SetImagePushedAt(Aws::Utils::DateTime &&value)
const LifecyclePolicyRuleAction & GetAction() const
LifecyclePolicyPreviewResult & WithImageDigest(Aws::String &&value)
bool AppliedRulePriorityHasBeenSet() const
AWS_ECR_API LifecyclePolicyPreviewResult()
LifecyclePolicyPreviewResult & WithAction(LifecyclePolicyRuleAction &&value)
bool ImageTagsHasBeenSet() const
AWS_ECR_API LifecyclePolicyPreviewResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImageTags(const Aws::Vector< Aws::String > &value)
void SetAction(const LifecyclePolicyRuleAction &value)
void SetImageDigest(const char *value)
LifecyclePolicyPreviewResult & WithImageTags(Aws::Vector< Aws::String > &&value)
void SetImageDigest(const Aws::String &value)
void SetAppliedRulePriority(int value)
const Aws::Vector< Aws::String > & GetImageTags() const
void SetImagePushedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetImageDigest() const
bool ImagePushedAtHasBeenSet() const
LifecyclePolicyPreviewResult & WithImagePushedAt(Aws::Utils::DateTime &&value)
void SetImageDigest(Aws::String &&value)
LifecyclePolicyPreviewResult & WithAppliedRulePriority(int value)
void SetAction(LifecyclePolicyRuleAction &&value)
bool ImageDigestHasBeenSet() const
LifecyclePolicyPreviewResult & WithImageTags(const Aws::Vector< Aws::String > &value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
int GetAppliedRulePriority() const
LifecyclePolicyPreviewResult & WithImageDigest(const Aws::String &value)
AWS_ECR_API LifecyclePolicyPreviewResult(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicyPreviewResult & AddImageTags(Aws::String &&value)
LifecyclePolicyPreviewResult & WithImageDigest(const char *value)
LifecyclePolicyPreviewResult & AddImageTags(const char *value)
LifecyclePolicyPreviewResult & WithAction(const LifecyclePolicyRuleAction &value)
LifecyclePolicyPreviewResult & WithImagePushedAt(const Aws::Utils::DateTime &value)
bool ActionHasBeenSet() const
LifecyclePolicyPreviewResult & AddImageTags(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue