7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/ecr/ECRRequest.h>
9#include <aws/ecr/model/ScanType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecr/model/RegistryScanningRule.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "PutRegistryScanningConfiguration"; }
54 inline void SetScanType(
ScanType&& value) { m_scanTypeHasBeenSet =
true; m_scanType = std::move(value); }
77 bool m_scanTypeHasBeenSet =
false;
80 bool m_rulesHasBeenSet =
false;
void SetRules(const Aws::Vector< RegistryScanningRule > &value)
AWS_ECR_API PutRegistryScanningConfigurationRequest()
PutRegistryScanningConfigurationRequest & WithScanType(const ScanType &value)
PutRegistryScanningConfigurationRequest & WithRules(const Aws::Vector< RegistryScanningRule > &value)
void SetRules(Aws::Vector< RegistryScanningRule > &&value)
void SetScanType(ScanType &&value)
PutRegistryScanningConfigurationRequest & WithScanType(ScanType &&value)
const ScanType & GetScanType() const
const Aws::Vector< RegistryScanningRule > & GetRules() const
bool ScanTypeHasBeenSet() const
bool RulesHasBeenSet() const
PutRegistryScanningConfigurationRequest & WithRules(Aws::Vector< RegistryScanningRule > &&value)
void SetScanType(const ScanType &value)
PutRegistryScanningConfigurationRequest & AddRules(RegistryScanningRule &&value)
PutRegistryScanningConfigurationRequest & AddRules(const RegistryScanningRule &value)
virtual const char * GetServiceRequestName() const override
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ECR_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector