7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fms/FMS_EXPORTS.h>
42 template <
typename IpV4C
idrT = Aws::String>
44 m_ipV4CidrHasBeenSet =
true;
45 m_ipV4Cidr = std::forward<IpV4CidrT>(value);
47 template <
typename IpV4C
idrT = Aws::String>
60 template <
typename PrefixListIdT = Aws::String>
62 m_prefixListIdHasBeenSet =
true;
63 m_prefixListId = std::forward<PrefixListIdT>(value);
65 template <
typename PrefixListIdT = Aws::String>
78 template <
typename IpV6C
idrT = Aws::String>
80 m_ipV6CidrHasBeenSet =
true;
81 m_ipV6Cidr = std::forward<IpV6CidrT>(value);
83 template <
typename IpV6C
idrT = Aws::String>
96 template <
typename ContributingSubnetsT = Aws::Vector<Aws::String>>
98 m_contributingSubnetsHasBeenSet =
true;
99 m_contributingSubnets = std::forward<ContributingSubnetsT>(value);
101 template <
typename ContributingSubnetsT = Aws::Vector<Aws::String>>
106 template <
typename ContributingSubnetsT = Aws::String>
108 m_contributingSubnetsHasBeenSet =
true;
109 m_contributingSubnets.emplace_back(std::forward<ContributingSubnetsT>(value));
120 template <
typename AllowedTargetsT = Aws::Vector<Aws::String>>
122 m_allowedTargetsHasBeenSet =
true;
123 m_allowedTargets = std::forward<AllowedTargetsT>(value);
125 template <
typename AllowedTargetsT = Aws::Vector<Aws::String>>
130 template <
typename AllowedTargetsT = Aws::String>
132 m_allowedTargetsHasBeenSet =
true;
133 m_allowedTargets.emplace_back(std::forward<AllowedTargetsT>(value));
144 template <
typename RouteTableIdT = Aws::String>
146 m_routeTableIdHasBeenSet =
true;
147 m_routeTableId = std::forward<RouteTableIdT>(value);
149 template <
typename RouteTableIdT = Aws::String>
167 bool m_ipV4CidrHasBeenSet =
false;
168 bool m_prefixListIdHasBeenSet =
false;
169 bool m_ipV6CidrHasBeenSet =
false;
170 bool m_contributingSubnetsHasBeenSet =
false;
171 bool m_allowedTargetsHasBeenSet =
false;
172 bool m_routeTableIdHasBeenSet =
false;
bool RouteTableIdHasBeenSet() const
void SetAllowedTargets(AllowedTargetsT &&value)
ExpectedRoute & WithRouteTableId(RouteTableIdT &&value)
ExpectedRoute & WithAllowedTargets(AllowedTargetsT &&value)
AWS_FMS_API ExpectedRoute()=default
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool PrefixListIdHasBeenSet() const
bool AllowedTargetsHasBeenSet() const
AWS_FMS_API ExpectedRoute(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIpV6Cidr() const
ExpectedRoute & AddAllowedTargets(AllowedTargetsT &&value)
ExpectedRoute & AddContributingSubnets(ContributingSubnetsT &&value)
AWS_FMS_API ExpectedRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRouteTableId(RouteTableIdT &&value)
void SetContributingSubnets(ContributingSubnetsT &&value)
const Aws::Vector< Aws::String > & GetContributingSubnets() const
ExpectedRoute & WithPrefixListId(PrefixListIdT &&value)
void SetIpV6Cidr(IpV6CidrT &&value)
const Aws::String & GetPrefixListId() const
void SetIpV4Cidr(IpV4CidrT &&value)
bool IpV6CidrHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedTargets() const
bool ContributingSubnetsHasBeenSet() const
ExpectedRoute & WithIpV6Cidr(IpV6CidrT &&value)
const Aws::String & GetIpV4Cidr() const
ExpectedRoute & WithIpV4Cidr(IpV4CidrT &&value)
const Aws::String & GetRouteTableId() const
bool IpV4CidrHasBeenSet() const
void SetPrefixListId(PrefixListIdT &&value)
ExpectedRoute & WithContributingSubnets(ContributingSubnetsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue