7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ClientVpnAuthorizationRuleStatus.h>
50 template<
typename ClientVpnEndpo
intIdT = Aws::String>
51 void SetClientVpnEndpointId(ClientVpnEndpointIdT&& value) { m_clientVpnEndpointIdHasBeenSet =
true; m_clientVpnEndpointId = std::forward<ClientVpnEndpointIdT>(value); }
52 template<
typename ClientVpnEndpo
intIdT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
75 template<
typename GroupIdT = Aws::String>
76 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
77 template<
typename GroupIdT = Aws::String>
87 inline void SetAccessAll(
bool value) { m_accessAllHasBeenSet =
true; m_accessAll = value; }
98 template<
typename DestinationC
idrT = Aws::String>
99 void SetDestinationCidr(DestinationCidrT&& value) { m_destinationCidrHasBeenSet =
true; m_destinationCidr = std::forward<DestinationCidrT>(value); }
100 template<
typename DestinationC
idrT = Aws::String>
110 template<
typename StatusT = ClientVpnAuthorizationRuleStatus>
111 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
112 template<
typename StatusT = ClientVpnAuthorizationRuleStatus>
118 bool m_clientVpnEndpointIdHasBeenSet =
false;
121 bool m_descriptionHasBeenSet =
false;
124 bool m_groupIdHasBeenSet =
false;
126 bool m_accessAll{
false};
127 bool m_accessAllHasBeenSet =
false;
130 bool m_destinationCidrHasBeenSet =
false;
132 ClientVpnAuthorizationRuleStatus m_status;
133 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