/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace DirectoryService { namespace Model { /** *

Contains the inputs for the EnableRadius operation.

See * Also:

AWS * API Reference

*/ class EnableRadiusRequest : public DirectoryServiceRequest { public: AWS_DIRECTORYSERVICE_API EnableRadiusRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "EnableRadius"; } AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override; AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifier of the directory for which to enable MFA.

*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *

The identifier of the directory for which to enable MFA.

*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *

The identifier of the directory for which to enable MFA.

*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *

The identifier of the directory for which to enable MFA.

*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *

The identifier of the directory for which to enable MFA.

*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *

The identifier of the directory for which to enable MFA.

*/ inline EnableRadiusRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *

The identifier of the directory for which to enable MFA.

*/ inline EnableRadiusRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *

The identifier of the directory for which to enable MFA.

*/ inline EnableRadiusRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline const RadiusSettings& GetRadiusSettings() const{ return m_radiusSettings; } /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline bool RadiusSettingsHasBeenSet() const { return m_radiusSettingsHasBeenSet; } /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline void SetRadiusSettings(const RadiusSettings& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = value; } /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline void SetRadiusSettings(RadiusSettings&& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = std::move(value); } /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline EnableRadiusRequest& WithRadiusSettings(const RadiusSettings& value) { SetRadiusSettings(value); return *this;} /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline EnableRadiusRequest& WithRadiusSettings(RadiusSettings&& value) { SetRadiusSettings(std::move(value)); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; RadiusSettings m_radiusSettings; bool m_radiusSettingsHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws