7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fms/FMS_EXPORTS.h>
41 template <
typename IPV4RangeT = Aws::String>
43 m_iPV4RangeHasBeenSet =
true;
44 m_iPV4Range = std::forward<IPV4RangeT>(value);
46 template <
typename IPV4RangeT = Aws::String>
59 template <
typename IPV6RangeT = Aws::String>
61 m_iPV6RangeHasBeenSet =
true;
62 m_iPV6Range = std::forward<IPV6RangeT>(value);
64 template <
typename IPV6RangeT = Aws::String>
77 template <
typename PrefixListIdT = Aws::String>
79 m_prefixListIdHasBeenSet =
true;
80 m_prefixListId = std::forward<PrefixListIdT>(value);
82 template <
typename PrefixListIdT = Aws::String>
96 template <
typename ProtocolT = Aws::String>
98 m_protocolHasBeenSet =
true;
99 m_protocol = std::forward<ProtocolT>(value);
101 template <
typename ProtocolT = Aws::String>
116 m_fromPortHasBeenSet =
true;
133 m_toPortHasBeenSet =
true;
150 long long m_fromPort{0};
152 long long m_toPort{0};
153 bool m_iPV4RangeHasBeenSet =
false;
154 bool m_iPV6RangeHasBeenSet =
false;
155 bool m_prefixListIdHasBeenSet =
false;
156 bool m_protocolHasBeenSet =
false;
157 bool m_fromPortHasBeenSet =
false;
158 bool m_toPortHasBeenSet =
false;
const Aws::String & GetPrefixListId() const
SecurityGroupRuleDescription & WithProtocol(ProtocolT &&value)
bool PrefixListIdHasBeenSet() const
long long GetFromPort() const
SecurityGroupRuleDescription & WithIPV6Range(IPV6RangeT &&value)
SecurityGroupRuleDescription & WithIPV4Range(IPV4RangeT &&value)
AWS_FMS_API SecurityGroupRuleDescription(Aws::Utils::Json::JsonView jsonValue)
SecurityGroupRuleDescription & WithFromPort(long long value)
bool IPV4RangeHasBeenSet() const
AWS_FMS_API SecurityGroupRuleDescription()=default
const Aws::String & GetIPV6Range() const
bool FromPortHasBeenSet() const
void SetToPort(long long value)
bool ProtocolHasBeenSet() const
bool IPV6RangeHasBeenSet() const
SecurityGroupRuleDescription & WithToPort(long long value)
void SetProtocol(ProtocolT &&value)
void SetIPV6Range(IPV6RangeT &&value)
void SetFromPort(long long value)
SecurityGroupRuleDescription & WithPrefixListId(PrefixListIdT &&value)
long long GetToPort() const
AWS_FMS_API SecurityGroupRuleDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIPV4Range() const
void SetPrefixListId(PrefixListIdT &&value)
void SetIPV4Range(IPV4RangeT &&value)
bool ToPortHasBeenSet() const
const Aws::String & GetProtocol() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue