7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/Inspector2_EXPORTS.h>
10#include <aws/inspector2/model/CisSecurityLevel.h>
11#include <aws/inspector2/model/CisTargets.h>
12#include <aws/inspector2/model/Schedule.h>
44 template <
typename ScanConfigurationArnT = Aws::String>
46 m_scanConfigurationArnHasBeenSet =
true;
47 m_scanConfigurationArn = std::forward<ScanConfigurationArnT>(value);
49 template <
typename ScanConfigurationArnT = Aws::String>
62 template <
typename OwnerIdT = Aws::String>
64 m_ownerIdHasBeenSet =
true;
65 m_ownerId = std::forward<OwnerIdT>(value);
67 template <
typename OwnerIdT = Aws::String>
80 template <
typename ScanNameT = Aws::String>
82 m_scanNameHasBeenSet =
true;
83 m_scanName = std::forward<ScanNameT>(value);
85 template <
typename ScanNameT = Aws::String>
99 m_securityLevelHasBeenSet =
true;
100 m_securityLevel = value;
114 template <
typename ScheduleT = Schedule>
116 m_scheduleHasBeenSet =
true;
117 m_schedule = std::forward<ScheduleT>(value);
119 template <
typename ScheduleT = Schedule>
132 template <
typename TargetsT = CisTargets>
134 m_targetsHasBeenSet =
true;
135 m_targets = std::forward<TargetsT>(value);
137 template <
typename TargetsT = CisTargets>
150 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 m_tagsHasBeenSet =
true;
153 m_tags = std::forward<TagsT>(value);
155 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 SetTags(std::forward<TagsT>(value));
160 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
162 m_tagsHasBeenSet =
true;
163 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
178 CisTargets m_targets;
181 bool m_scanConfigurationArnHasBeenSet =
false;
182 bool m_ownerIdHasBeenSet =
false;
183 bool m_scanNameHasBeenSet =
false;
184 bool m_securityLevelHasBeenSet =
false;
185 bool m_scheduleHasBeenSet =
false;
186 bool m_targetsHasBeenSet =
false;
187 bool m_tagsHasBeenSet =
false;
bool ScanNameHasBeenSet() const
CisScanConfiguration & WithTargets(TargetsT &&value)
void SetSecurityLevel(CisSecurityLevel value)
void SetScanConfigurationArn(ScanConfigurationArnT &&value)
void SetSchedule(ScheduleT &&value)
CisScanConfiguration & WithTags(TagsT &&value)
void SetTargets(TargetsT &&value)
const CisTargets & GetTargets() const
AWS_INSPECTOR2_API CisScanConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool SecurityLevelHasBeenSet() const
const Aws::String & GetScanConfigurationArn() const
bool TagsHasBeenSet() const
CisScanConfiguration & AddTags(TagsKeyT &&key, TagsValueT &&value)
CisSecurityLevel GetSecurityLevel() const
bool TargetsHasBeenSet() const
CisScanConfiguration & WithSchedule(ScheduleT &&value)
CisScanConfiguration & WithOwnerId(OwnerIdT &&value)
void SetTags(TagsT &&value)
CisScanConfiguration & WithSecurityLevel(CisSecurityLevel value)
void SetScanName(ScanNameT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ScheduleHasBeenSet() const
const Aws::String & GetScanName() const
CisScanConfiguration & WithScanName(ScanNameT &&value)
CisScanConfiguration & WithScanConfigurationArn(ScanConfigurationArnT &&value)
AWS_INSPECTOR2_API CisScanConfiguration()=default
bool OwnerIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetOwnerId() const
bool ScanConfigurationArnHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
const Schedule & GetSchedule() const
AWS_INSPECTOR2_API CisScanConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue