7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
48 template<
typename IpV4C
idrT = Aws::String>
49 void SetIpV4Cidr(IpV4CidrT&& value) { m_ipV4CidrHasBeenSet =
true; m_ipV4Cidr = std::forward<IpV4CidrT>(value); }
50 template<
typename IpV4C
idrT = Aws::String>
60 template<
typename PrefixListIdT = Aws::String>
61 void SetPrefixListId(PrefixListIdT&& value) { m_prefixListIdHasBeenSet =
true; m_prefixListId = std::forward<PrefixListIdT>(value); }
62 template<
typename PrefixListIdT = Aws::String>
72 template<
typename IpV6C
idrT = Aws::String>
73 void SetIpV6Cidr(IpV6CidrT&& value) { m_ipV6CidrHasBeenSet =
true; m_ipV6Cidr = std::forward<IpV6CidrT>(value); }
74 template<
typename IpV6C
idrT = Aws::String>
84 template<
typename ContributingSubnetsT = Aws::Vector<Aws::String>>
85 void SetContributingSubnets(ContributingSubnetsT&& value) { m_contributingSubnetsHasBeenSet =
true; m_contributingSubnets = std::forward<ContributingSubnetsT>(value); }
86 template<
typename ContributingSubnetsT = Aws::Vector<Aws::String>>
88 template<
typename ContributingSubnetsT = Aws::String>
89 ExpectedRoute&
AddContributingSubnets(ContributingSubnetsT&& value) { m_contributingSubnetsHasBeenSet =
true; m_contributingSubnets.emplace_back(std::forward<ContributingSubnetsT>(value));
return *
this; }
98 template<
typename AllowedTargetsT = Aws::Vector<Aws::String>>
99 void SetAllowedTargets(AllowedTargetsT&& value) { m_allowedTargetsHasBeenSet =
true; m_allowedTargets = std::forward<AllowedTargetsT>(value); }
100 template<
typename AllowedTargetsT = Aws::Vector<Aws::String>>
102 template<
typename AllowedTargetsT = Aws::String>
103 ExpectedRoute&
AddAllowedTargets(AllowedTargetsT&& value) { m_allowedTargetsHasBeenSet =
true; m_allowedTargets.emplace_back(std::forward<AllowedTargetsT>(value));
return *
this; }
112 template<
typename RouteTableIdT = Aws::String>
113 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet =
true; m_routeTableId = std::forward<RouteTableIdT>(value); }
114 template<
typename RouteTableIdT = Aws::String>
120 bool m_ipV4CidrHasBeenSet =
false;
123 bool m_prefixListIdHasBeenSet =
false;
126 bool m_ipV6CidrHasBeenSet =
false;
129 bool m_contributingSubnetsHasBeenSet =
false;
132 bool m_allowedTargetsHasBeenSet =
false;
135 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