7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/ecr/ECR_EXPORTS.h>
9#include <aws/ecr/model/RegistryScanningRule.h>
10#include <aws/ecr/model/ScanType.h>
44 m_scanTypeHasBeenSet =
true;
59 template <
typename RulesT = Aws::Vector<RegistryScanningRule>>
61 m_rulesHasBeenSet =
true;
62 m_rules = std::forward<RulesT>(value);
64 template <
typename RulesT = Aws::Vector<RegistryScanningRule>>
66 SetRules(std::forward<RulesT>(value));
69 template <
typename RulesT = RegistryScanningRule>
71 m_rulesHasBeenSet =
true;
72 m_rules.emplace_back(std::forward<RulesT>(value));
80 bool m_scanTypeHasBeenSet =
false;
81 bool m_rulesHasBeenSet =
false;
AWS_ECR_API RegistryScanningConfiguration()=default
RegistryScanningConfiguration & WithScanType(ScanType value)
const Aws::Vector< RegistryScanningRule > & GetRules() const
bool RulesHasBeenSet() const
bool ScanTypeHasBeenSet() const
AWS_ECR_API RegistryScanningConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetScanType(ScanType value)
AWS_ECR_API RegistryScanningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRules(RulesT &&value)
RegistryScanningConfiguration & WithRules(RulesT &&value)
ScanType GetScanType() const
RegistryScanningConfiguration & AddRules(RulesT &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue