7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/ScanFrequency.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecr/model/ScanningRepositoryFilter.h>
52 inline void SetRepositoryArn(
const char* value) { m_repositoryArnHasBeenSet =
true; m_repositoryArn.assign(value); }
66 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
78 inline void SetScanOnPush(
bool value) { m_scanOnPushHasBeenSet =
true; m_scanOnPush = value; }
110 bool m_repositoryArnHasBeenSet =
false;
113 bool m_repositoryNameHasBeenSet =
false;
116 bool m_scanOnPushHasBeenSet =
false;
119 bool m_scanFrequencyHasBeenSet =
false;
122 bool m_appliedScanFiltersHasBeenSet =
false;
RepositoryScanningConfiguration & AddAppliedScanFilters(const ScanningRepositoryFilter &value)
RepositoryScanningConfiguration & WithAppliedScanFilters(Aws::Vector< ScanningRepositoryFilter > &&value)
void SetRepositoryArn(const Aws::String &value)
bool ScanFrequencyHasBeenSet() const
const Aws::String & GetRepositoryName() const
void SetRepositoryArn(const char *value)
const Aws::Vector< ScanningRepositoryFilter > & GetAppliedScanFilters() const
void SetRepositoryName(const char *value)
RepositoryScanningConfiguration & WithRepositoryArn(const Aws::String &value)
RepositoryScanningConfiguration & WithRepositoryName(Aws::String &&value)
bool RepositoryArnHasBeenSet() const
void SetRepositoryName(Aws::String &&value)
RepositoryScanningConfiguration & WithAppliedScanFilters(const Aws::Vector< ScanningRepositoryFilter > &value)
void SetAppliedScanFilters(Aws::Vector< ScanningRepositoryFilter > &&value)
void SetRepositoryName(const Aws::String &value)
bool ScanOnPushHasBeenSet() const
bool GetScanOnPush() const
RepositoryScanningConfiguration & WithScanOnPush(bool value)
bool RepositoryNameHasBeenSet() const
void SetScanFrequency(const ScanFrequency &value)
void SetRepositoryArn(Aws::String &&value)
RepositoryScanningConfiguration & WithRepositoryName(const char *value)
RepositoryScanningConfiguration & WithScanFrequency(const ScanFrequency &value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryScanningConfiguration & WithRepositoryArn(const char *value)
AWS_ECR_API RepositoryScanningConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetScanOnPush(bool value)
void SetAppliedScanFilters(const Aws::Vector< ScanningRepositoryFilter > &value)
RepositoryScanningConfiguration & WithRepositoryArn(Aws::String &&value)
const ScanFrequency & GetScanFrequency() const
RepositoryScanningConfiguration & AddAppliedScanFilters(ScanningRepositoryFilter &&value)
RepositoryScanningConfiguration & WithRepositoryName(const Aws::String &value)
void SetScanFrequency(ScanFrequency &&value)
AWS_ECR_API RepositoryScanningConfiguration()
RepositoryScanningConfiguration & WithScanFrequency(ScanFrequency &&value)
bool AppliedScanFiltersHasBeenSet() const
const Aws::String & GetRepositoryArn() const
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