7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
49 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds = std::forward<AccountIdsT>(value); }
50 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
52 template<
typename AccountIdsT = Aws::String>
53 CisTargets&
AddAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
return *
this; }
62 template<
typename TargetResourceTagsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
63 void SetTargetResourceTags(TargetResourceTagsT&& value) { m_targetResourceTagsHasBeenSet =
true; m_targetResourceTags = std::forward<TargetResourceTagsT>(value); }
64 template<
typename TargetResourceTagsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
66 template<
typename TargetResourceTagsKeyT = Aws::String,
typename TargetResourceTagsValueT = Aws::Vector<Aws::String>>
68 m_targetResourceTagsHasBeenSet =
true; m_targetResourceTags.emplace(std::forward<TargetResourceTagsKeyT>(key), std::forward<TargetResourceTagsValueT>(value));
return *
this;
74 bool m_accountIdsHasBeenSet =
false;
77 bool m_targetResourceTagsHasBeenSet =
false;
void SetTargetResourceTags(TargetResourceTagsT &&value)
AWS_INSPECTOR2_API CisTargets()=default
CisTargets & AddAccountIds(AccountIdsT &&value)
CisTargets & AddTargetResourceTags(TargetResourceTagsKeyT &&key, TargetResourceTagsValueT &&value)
AWS_INSPECTOR2_API CisTargets & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAccountIds() const
CisTargets & WithAccountIds(AccountIdsT &&value)
void SetAccountIds(AccountIdsT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetTargetResourceTags() const
bool TargetResourceTagsHasBeenSet() const
CisTargets & WithTargetResourceTags(TargetResourceTagsT &&value)
bool AccountIdsHasBeenSet() const
AWS_INSPECTOR2_API CisTargets(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue