7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ds/model/RadiusAuthenticationProtocol.h>
23namespace DirectoryService
51 template<
typename RadiusServersT = Aws::Vector<Aws::String>>
52 void SetRadiusServers(RadiusServersT&& value) { m_radiusServersHasBeenSet =
true; m_radiusServers = std::forward<RadiusServersT>(value); }
53 template<
typename RadiusServersT = Aws::Vector<Aws::String>>
55 template<
typename RadiusServersT = Aws::String>
56 RadiusSettings&
AddRadiusServers(RadiusServersT&& value) { m_radiusServersHasBeenSet =
true; m_radiusServers.emplace_back(std::forward<RadiusServersT>(value));
return *
this; }
67 inline void SetRadiusPort(
int value) { m_radiusPortHasBeenSet =
true; m_radiusPort = value; }
77 inline void SetRadiusTimeout(
int value) { m_radiusTimeoutHasBeenSet =
true; m_radiusTimeout = value; }
88 inline void SetRadiusRetries(
int value) { m_radiusRetriesHasBeenSet =
true; m_radiusRetries = value; }
98 template<
typename SharedSecretT = Aws::String>
99 void SetSharedSecret(SharedSecretT&& value) { m_sharedSecretHasBeenSet =
true; m_sharedSecret = std::forward<SharedSecretT>(value); }
100 template<
typename SharedSecretT = Aws::String>
120 template<
typename DisplayLabelT = Aws::String>
121 void SetDisplayLabel(DisplayLabelT&& value) { m_displayLabelHasBeenSet =
true; m_displayLabel = std::forward<DisplayLabelT>(value); }
122 template<
typename DisplayLabelT = Aws::String>
132 inline void SetUseSameUsername(
bool value) { m_useSameUsernameHasBeenSet =
true; m_useSameUsername = value; }
138 bool m_radiusServersHasBeenSet =
false;
141 bool m_radiusPortHasBeenSet =
false;
143 int m_radiusTimeout{0};
144 bool m_radiusTimeoutHasBeenSet =
false;
146 int m_radiusRetries{0};
147 bool m_radiusRetriesHasBeenSet =
false;
150 bool m_sharedSecretHasBeenSet =
false;
153 bool m_authenticationProtocolHasBeenSet =
false;
156 bool m_displayLabelHasBeenSet =
false;
158 bool m_useSameUsername{
false};
159 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)
AWS_DIRECTORYSERVICE_API RadiusSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSharedSecret() const
void SetRadiusPort(int value)
bool RadiusServersHasBeenSet() const
RadiusSettings & WithDisplayLabel(DisplayLabelT &&value)
bool RadiusTimeoutHasBeenSet() 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
void SetSharedSecret(SharedSecretT &&value)
bool SharedSecretHasBeenSet() 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