7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ClientVpnAuthorizationRuleStatus.h>
44 template <
typename ClientVpnEndpo
intIdT = Aws::String>
46 m_clientVpnEndpointIdHasBeenSet =
true;
47 m_clientVpnEndpointId = std::forward<ClientVpnEndpointIdT>(value);
49 template <
typename ClientVpnEndpo
intIdT = Aws::String>
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
81 template <
typename GroupIdT = Aws::String>
83 m_groupIdHasBeenSet =
true;
84 m_groupId = std::forward<GroupIdT>(value);
86 template <
typename GroupIdT = Aws::String>
100 m_accessAllHasBeenSet =
true;
116 template <
typename DestinationC
idrT = Aws::String>
118 m_destinationCidrHasBeenSet =
true;
119 m_destinationCidr = std::forward<DestinationCidrT>(value);
121 template <
typename DestinationC
idrT = Aws::String>
134 template <
typename StatusT = ClientVpnAuthorizationRuleStatus>
136 m_statusHasBeenSet =
true;
137 m_status = std::forward<StatusT>(value);
139 template <
typename StatusT = ClientVpnAuthorizationRuleStatus>
152 bool m_accessAll{
false};
156 ClientVpnAuthorizationRuleStatus m_status;
157 bool m_clientVpnEndpointIdHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
159 bool m_groupIdHasBeenSet =
false;
160 bool m_accessAllHasBeenSet =
false;
161 bool m_destinationCidrHasBeenSet =
false;
162 bool m_statusHasBeenSet =
false;
bool ClientVpnEndpointIdHasBeenSet() const
AuthorizationRule & WithDestinationCidr(DestinationCidrT &&value)
const Aws::String & GetDescription() const
bool GetAccessAll() const
bool DestinationCidrHasBeenSet() const
AuthorizationRule & WithDescription(DescriptionT &&value)
AuthorizationRule & WithClientVpnEndpointId(ClientVpnEndpointIdT &&value)
void SetGroupId(GroupIdT &&value)
bool GroupIdHasBeenSet() const
void SetClientVpnEndpointId(ClientVpnEndpointIdT &&value)
AWS_EC2_API AuthorizationRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetGroupId() const
void SetAccessAll(bool value)
void SetDestinationCidr(DestinationCidrT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool StatusHasBeenSet() const
bool AccessAllHasBeenSet() const
void SetStatus(StatusT &&value)
AWS_EC2_API AuthorizationRule()=default
const Aws::String & GetDestinationCidr() const
AuthorizationRule & WithGroupId(GroupIdT &&value)
AuthorizationRule & WithAccessAll(bool value)
bool DescriptionHasBeenSet() const
AuthorizationRule & WithStatus(StatusT &&value)
const ClientVpnAuthorizationRuleStatus & GetStatus() const
const Aws::String & GetClientVpnEndpointId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDescription(DescriptionT &&value)
AWS_EC2_API AuthorizationRule(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream