7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/ecr/ECR_EXPORTS.h>
9#include <aws/ecr/model/ReplicationRule.h>
42 template <
typename RulesT = Aws::Vector<ReplicationRule>>
44 m_rulesHasBeenSet =
true;
45 m_rules = std::forward<RulesT>(value);
47 template <
typename RulesT = Aws::Vector<ReplicationRule>>
49 SetRules(std::forward<RulesT>(value));
52 template <
typename RulesT = ReplicationRule>
54 m_rulesHasBeenSet =
true;
55 m_rules.emplace_back(std::forward<RulesT>(value));
61 bool m_rulesHasBeenSet =
false;
AWS_ECR_API ReplicationConfiguration()=default
ReplicationConfiguration & WithRules(RulesT &&value)
const Aws::Vector< ReplicationRule > & GetRules() const
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
bool RulesHasBeenSet() const
ReplicationConfiguration & AddRules(RulesT &&value)
void SetRules(RulesT &&value)
AWS_ECR_API ReplicationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API ReplicationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue