7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/RadiusAuthenticationProtocol.h>
21namespace DirectoryService {
44 template <
typename RadiusServersT = Aws::Vector<Aws::String>>
46 m_radiusServersHasBeenSet =
true;
47 m_radiusServers = std::forward<RadiusServersT>(value);
49 template <
typename RadiusServersT = Aws::Vector<Aws::String>>
54 template <
typename RadiusServersT = Aws::String>
56 m_radiusServersHasBeenSet =
true;
57 m_radiusServers.emplace_back(std::forward<RadiusServersT>(value));
69 template <
typename RadiusServersIpv6T = Aws::Vector<Aws::String>>
71 m_radiusServersIpv6HasBeenSet =
true;
72 m_radiusServersIpv6 = std::forward<RadiusServersIpv6T>(value);
74 template <
typename RadiusServersIpv6T = Aws::Vector<Aws::String>>
79 template <
typename RadiusServersIpv6T = Aws::String>
81 m_radiusServersIpv6HasBeenSet =
true;
82 m_radiusServersIpv6.emplace_back(std::forward<RadiusServersIpv6T>(value));
96 m_radiusPortHasBeenSet =
true;
112 m_radiusTimeoutHasBeenSet =
true;
113 m_radiusTimeout = value;
129 m_radiusRetriesHasBeenSet =
true;
130 m_radiusRetries = value;
144 template <
typename SharedSecretT = Aws::String>
146 m_sharedSecretHasBeenSet =
true;
147 m_sharedSecret = std::forward<SharedSecretT>(value);
149 template <
typename SharedSecretT = Aws::String>
163 m_authenticationProtocolHasBeenSet =
true;
164 m_authenticationProtocol = value;
178 template <
typename DisplayLabelT = Aws::String>
180 m_displayLabelHasBeenSet =
true;
181 m_displayLabel = std::forward<DisplayLabelT>(value);
183 template <
typename DisplayLabelT = Aws::String>
197 m_useSameUsernameHasBeenSet =
true;
198 m_useSameUsername = value;
212 int m_radiusTimeout{0};
214 int m_radiusRetries{0};
222 bool m_useSameUsername{
false};
223 bool m_radiusServersHasBeenSet =
false;
224 bool m_radiusServersIpv6HasBeenSet =
false;
225 bool m_radiusPortHasBeenSet =
false;
226 bool m_radiusTimeoutHasBeenSet =
false;
227 bool m_radiusRetriesHasBeenSet =
false;
228 bool m_sharedSecretHasBeenSet =
false;
229 bool m_authenticationProtocolHasBeenSet =
false;
230 bool m_displayLabelHasBeenSet =
false;
231 bool m_useSameUsernameHasBeenSet =
false;
AWS_DIRECTORYSERVICE_API RadiusSettings()=default
RadiusSettings & AddRadiusServers(RadiusServersT &&value)
RadiusSettings & WithRadiusTimeout(int value)
bool UseSameUsernameHasBeenSet() const
void SetRadiusTimeout(int value)
RadiusSettings & WithSharedSecret(SharedSecretT &&value)
RadiusSettings & WithRadiusServers(RadiusServersT &&value)
RadiusSettings & AddRadiusServersIpv6(RadiusServersIpv6T &&value)
AWS_DIRECTORYSERVICE_API RadiusSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRadiusServersIpv6(RadiusServersIpv6T &&value)
const Aws::String & GetSharedSecret() const
void SetRadiusPort(int value)
bool RadiusServersHasBeenSet() const
RadiusSettings & WithDisplayLabel(DisplayLabelT &&value)
bool RadiusTimeoutHasBeenSet() const
const Aws::Vector< Aws::String > & GetRadiusServersIpv6() const
bool AuthenticationProtocolHasBeenSet() const
bool DisplayLabelHasBeenSet() const
bool RadiusPortHasBeenSet() const
void SetRadiusServers(RadiusServersT &&value)
int GetRadiusRetries() const
const Aws::Vector< Aws::String > & GetRadiusServers() const
RadiusSettings & WithRadiusRetries(int value)
int GetRadiusPort() const
RadiusSettings & WithRadiusPort(int value)
bool GetUseSameUsername() const
void SetAuthenticationProtocol(RadiusAuthenticationProtocol value)
void SetRadiusRetries(int value)
bool RadiusRetriesHasBeenSet() const
RadiusSettings & WithRadiusServersIpv6(RadiusServersIpv6T &&value)
void SetSharedSecret(SharedSecretT &&value)
bool SharedSecretHasBeenSet() const
bool RadiusServersIpv6HasBeenSet() const
int GetRadiusTimeout() const
const Aws::String & GetDisplayLabel() const
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RadiusAuthenticationProtocol GetAuthenticationProtocol() const
void SetUseSameUsername(bool value)
RadiusSettings & WithAuthenticationProtocol(RadiusAuthenticationProtocol value)
AWS_DIRECTORYSERVICE_API RadiusSettings(Aws::Utils::Json::JsonView jsonValue)
RadiusSettings & WithUseSameUsername(bool value)
void SetDisplayLabel(DisplayLabelT &&value)
RadiusAuthenticationProtocol
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue