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>
52 inline void SetClientVpnEndpointId(
const char* value) { m_clientVpnEndpointIdHasBeenSet =
true; m_clientVpnEndpointId.assign(value); }
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
81 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
93 inline void SetAccessAll(
bool value) { m_accessAllHasBeenSet =
true; m_accessAll = value; }
106 inline void SetDestinationCidr(
const char* value) { m_destinationCidrHasBeenSet =
true; m_destinationCidr.assign(value); }
126 bool m_clientVpnEndpointIdHasBeenSet =
false;
129 bool m_descriptionHasBeenSet =
false;
132 bool m_groupIdHasBeenSet =
false;
135 bool m_accessAllHasBeenSet =
false;
138 bool m_destinationCidrHasBeenSet =
false;
141 bool m_statusHasBeenSet =
false;
AuthorizationRule & WithGroupId(Aws::String &&value)
bool ClientVpnEndpointIdHasBeenSet() const
void SetGroupId(const char *value)
const Aws::String & GetDescription() const
AuthorizationRule & WithStatus(ClientVpnAuthorizationRuleStatus &&value)
AuthorizationRule & WithDestinationCidr(Aws::String &&value)
bool GetAccessAll() const
AuthorizationRule & WithClientVpnEndpointId(Aws::String &&value)
bool DestinationCidrHasBeenSet() const
void SetDestinationCidr(Aws::String &&value)
void SetClientVpnEndpointId(Aws::String &&value)
AuthorizationRule & WithClientVpnEndpointId(const char *value)
void SetGroupId(const Aws::String &value)
void SetStatus(ClientVpnAuthorizationRuleStatus &&value)
void SetClientVpnEndpointId(const Aws::String &value)
bool GroupIdHasBeenSet() const
AWS_EC2_API AuthorizationRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API AuthorizationRule()
const Aws::String & GetGroupId() const
void SetDestinationCidr(const Aws::String &value)
AuthorizationRule & WithGroupId(const char *value)
void SetDescription(const Aws::String &value)
void SetAccessAll(bool value)
void SetGroupId(Aws::String &&value)
AuthorizationRule & WithDescription(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetStatus(const ClientVpnAuthorizationRuleStatus &value)
bool StatusHasBeenSet() const
void SetDestinationCidr(const char *value)
bool AccessAllHasBeenSet() const
const Aws::String & GetDestinationCidr() const
AuthorizationRule & WithDestinationCidr(const Aws::String &value)
AuthorizationRule & WithDescription(Aws::String &&value)
AuthorizationRule & WithAccessAll(bool value)
bool DescriptionHasBeenSet() const
AuthorizationRule & WithClientVpnEndpointId(const Aws::String &value)
const ClientVpnAuthorizationRuleStatus & GetStatus() const
AuthorizationRule & WithGroupId(const Aws::String &value)
const Aws::String & GetClientVpnEndpointId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDescription(Aws::String &&value)
void SetClientVpnEndpointId(const char *value)
AuthorizationRule & WithDescription(const Aws::String &value)
AWS_EC2_API AuthorizationRule(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(const char *value)
AuthorizationRule & WithDestinationCidr(const char *value)
AuthorizationRule & WithStatus(const ClientVpnAuthorizationRuleStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream