7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace NetworkFirewall
54 inline PortSet&
AddDefinition(
const char* value) { m_definitionHasBeenSet =
true; m_definition.push_back(value);
return *
this; }
59 bool m_definitionHasBeenSet =
false;
PortSet & WithDefinition(Aws::Vector< Aws::String > &&value)
void SetDefinition(Aws::Vector< Aws::String > &&value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
PortSet & AddDefinition(const Aws::String &value)
PortSet & AddDefinition(Aws::String &&value)
AWS_NETWORKFIREWALL_API PortSet()
bool DefinitionHasBeenSet() const
PortSet & AddDefinition(const char *value)
AWS_NETWORKFIREWALL_API PortSet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefinition(const Aws::Vector< Aws::String > &value)
PortSet & WithDefinition(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetDefinition() const
AWS_NETWORKFIREWALL_API PortSet(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue