7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/Schedule.h>
11#include <aws/inspector2/model/CisSecurityLevel.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/inspector2/model/CreateCisTargets.h>
45 template<
typename ScanNameT = Aws::String>
46 void SetScanName(ScanNameT&& value) { m_scanNameHasBeenSet =
true; m_scanName = std::forward<ScanNameT>(value); }
47 template<
typename ScanNameT = Aws::String>
57 template<
typename ScheduleT = Schedule>
58 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
59 template<
typename ScheduleT = Schedule>
80 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
82 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
86 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
96 template<
typename TargetsT = CreateCisTargets>
97 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
98 template<
typename TargetsT = CreateCisTargets>
104 bool m_scanNameHasBeenSet =
false;
107 bool m_scheduleHasBeenSet =
false;
110 bool m_securityLevelHasBeenSet =
false;
113 bool m_tagsHasBeenSet =
false;
115 CreateCisTargets m_targets;
116 bool m_targetsHasBeenSet =
false;
bool TargetsHasBeenSet() const
const Aws::String & GetScanName() const
CreateCisScanConfigurationRequest & WithSecurityLevel(CisSecurityLevel value)
const CreateCisTargets & GetTargets() const
CisSecurityLevel GetSecurityLevel() const
bool ScheduleHasBeenSet() const
void SetTags(TagsT &&value)
AWS_INSPECTOR2_API CreateCisScanConfigurationRequest()=default
CreateCisScanConfigurationRequest & WithTags(TagsT &&value)
bool ScanNameHasBeenSet() const
void SetTargets(TargetsT &&value)
bool TagsHasBeenSet() const
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCisScanConfigurationRequest & WithSchedule(ScheduleT &&value)
const Schedule & GetSchedule() const
CreateCisScanConfigurationRequest & WithTargets(TargetsT &&value)
void SetScanName(ScanNameT &&value)
CreateCisScanConfigurationRequest & WithScanName(ScanNameT &&value)
void SetSchedule(ScheduleT &&value)
CreateCisScanConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool SecurityLevelHasBeenSet() const
void SetSecurityLevel(CisSecurityLevel value)
virtual const char * GetServiceRequestName() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String