7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/network-firewall/model/GeneratedRulesType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/network-firewall/model/TargetType.h>
24namespace NetworkFirewall
66 template<
typename TargetsT = Aws::Vector<Aws::String>>
67 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
68 template<
typename TargetsT = Aws::Vector<Aws::String>>
70 template<
typename TargetsT = Aws::String>
71 RulesSourceList&
AddTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets.emplace_back(std::forward<TargetsT>(value));
return *
this; }
82 template<
typename TargetTypesT = Aws::Vector<TargetType>>
83 void SetTargetTypes(TargetTypesT&& value) { m_targetTypesHasBeenSet =
true; m_targetTypes = std::forward<TargetTypesT>(value); }
84 template<
typename TargetTypesT = Aws::Vector<TargetType>>
102 bool m_targetsHasBeenSet =
false;
105 bool m_targetTypesHasBeenSet =
false;
108 bool m_generatedRulesTypeHasBeenSet =
false;
RulesSourceList & AddTargetTypes(TargetType value)
AWS_NETWORKFIREWALL_API RulesSourceList & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GeneratedRulesTypeHasBeenSet() const
RulesSourceList & AddTargets(TargetsT &&value)
const Aws::Vector< Aws::String > & GetTargets() const
RulesSourceList & WithTargets(TargetsT &&value)
void SetTargets(TargetsT &&value)
AWS_NETWORKFIREWALL_API RulesSourceList()=default
RulesSourceList & WithTargetTypes(TargetTypesT &&value)
void SetGeneratedRulesType(GeneratedRulesType value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
RulesSourceList & WithGeneratedRulesType(GeneratedRulesType value)
AWS_NETWORKFIREWALL_API RulesSourceList(Aws::Utils::Json::JsonView jsonValue)
bool TargetsHasBeenSet() const
GeneratedRulesType GetGeneratedRulesType() const
void SetTargetTypes(TargetTypesT &&value)
const Aws::Vector< TargetType > & GetTargetTypes() const
bool TargetTypesHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue