7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecr/ECR_EXPORTS.h>
10#include <aws/ecr/model/ScanFrequency.h>
11#include <aws/ecr/model/ScanningRepositoryFilter.h>
44 template <
typename RepositoryArnT = Aws::String>
46 m_repositoryArnHasBeenSet =
true;
47 m_repositoryArn = std::forward<RepositoryArnT>(value);
49 template <
typename RepositoryArnT = Aws::String>
62 template <
typename RepositoryNameT = Aws::String>
64 m_repositoryNameHasBeenSet =
true;
65 m_repositoryName = std::forward<RepositoryNameT>(value);
67 template <
typename RepositoryNameT = Aws::String>
81 m_scanOnPushHasBeenSet =
true;
97 m_scanFrequencyHasBeenSet =
true;
98 m_scanFrequency = value;
112 template <
typename AppliedScanFiltersT = Aws::Vector<ScanningRepositoryFilter>>
114 m_appliedScanFiltersHasBeenSet =
true;
115 m_appliedScanFilters = std::forward<AppliedScanFiltersT>(value);
117 template <
typename AppliedScanFiltersT = Aws::Vector<ScanningRepositoryFilter>>
122 template <
typename AppliedScanFiltersT = ScanningRepositoryFilter>
124 m_appliedScanFiltersHasBeenSet =
true;
125 m_appliedScanFilters.emplace_back(std::forward<AppliedScanFiltersT>(value));
134 bool m_scanOnPush{
false};
139 bool m_repositoryArnHasBeenSet =
false;
140 bool m_repositoryNameHasBeenSet =
false;
141 bool m_scanOnPushHasBeenSet =
false;
142 bool m_scanFrequencyHasBeenSet =
false;
143 bool m_appliedScanFiltersHasBeenSet =
false;
RepositoryScanningConfiguration & AddAppliedScanFilters(AppliedScanFiltersT &&value)
RepositoryScanningConfiguration & WithScanFrequency(ScanFrequency value)
bool ScanFrequencyHasBeenSet() const
const Aws::String & GetRepositoryName() const
void SetScanFrequency(ScanFrequency value)
void SetRepositoryName(RepositoryNameT &&value)
const Aws::Vector< ScanningRepositoryFilter > & GetAppliedScanFilters() const
bool RepositoryArnHasBeenSet() const
bool ScanOnPushHasBeenSet() const
bool GetScanOnPush() const
RepositoryScanningConfiguration & WithScanOnPush(bool value)
bool RepositoryNameHasBeenSet() const
void SetAppliedScanFilters(AppliedScanFiltersT &&value)
ScanFrequency GetScanFrequency() const
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECR_API RepositoryScanningConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetScanOnPush(bool value)
RepositoryScanningConfiguration & WithRepositoryName(RepositoryNameT &&value)
AWS_ECR_API RepositoryScanningConfiguration()=default
RepositoryScanningConfiguration & WithAppliedScanFilters(AppliedScanFiltersT &&value)
RepositoryScanningConfiguration & WithRepositoryArn(RepositoryArnT &&value)
bool AppliedScanFiltersHasBeenSet() const
const Aws::String & GetRepositoryArn() const
void SetRepositoryArn(RepositoryArnT &&value)
AWS_ECR_API RepositoryScanningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue