7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf-regional/model/IPSetDescriptor.h>
53 AWS_WAFREGIONAL_API
IPSet() =
default;
71 template<
typename IPSetIdT = Aws::String>
72 void SetIPSetId(IPSetIdT&& value) { m_iPSetIdHasBeenSet =
true; m_iPSetId = std::forward<IPSetIdT>(value); }
73 template<
typename IPSetIdT = Aws::String>
84 template<
typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
86 template<
typename NameT = Aws::String>
100 template<
typename IPSetDescriptorsT = Aws::Vector<IPSetDescriptor>>
101 void SetIPSetDescriptors(IPSetDescriptorsT&& value) { m_iPSetDescriptorsHasBeenSet =
true; m_iPSetDescriptors = std::forward<IPSetDescriptorsT>(value); }
102 template<
typename IPSetDescriptorsT = Aws::Vector<IPSetDescriptor>>
104 template<
typename IPSetDescriptorsT = IPSetDescriptor>
105 IPSet&
AddIPSetDescriptors(IPSetDescriptorsT&& value) { m_iPSetDescriptorsHasBeenSet =
true; m_iPSetDescriptors.emplace_back(std::forward<IPSetDescriptorsT>(value));
return *
this; }
110 bool m_iPSetIdHasBeenSet =
false;
113 bool m_nameHasBeenSet =
false;
116 bool m_iPSetDescriptorsHasBeenSet =
false;
const Aws::String & GetName() const
AWS_WAFREGIONAL_API IPSet(Aws::Utils::Json::JsonView jsonValue)
IPSet & AddIPSetDescriptors(IPSetDescriptorsT &&value)
AWS_WAFREGIONAL_API IPSet()=default
IPSet & WithIPSetId(IPSetIdT &&value)
bool IPSetIdHasBeenSet() const
void SetIPSetId(IPSetIdT &&value)
bool NameHasBeenSet() const
IPSet & WithName(NameT &&value)
AWS_WAFREGIONAL_API IPSet & operator=(Aws::Utils::Json::JsonView jsonValue)
IPSet & WithIPSetDescriptors(IPSetDescriptorsT &&value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< IPSetDescriptor > & GetIPSetDescriptors() const
void SetIPSetDescriptors(IPSetDescriptorsT &&value)
void SetName(NameT &&value)
bool IPSetDescriptorsHasBeenSet() const
const Aws::String & GetIPSetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue