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

Contains information about the specified configurable setting for a * directory.

See Also:

AWS API * Reference

*/ class SettingEntry { public: AWS_DIRECTORYSERVICE_API SettingEntry(); AWS_DIRECTORYSERVICE_API SettingEntry(Aws::Utils::Json::JsonView jsonValue); AWS_DIRECTORYSERVICE_API SettingEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type, or category, of a directory setting. Similar settings have the same * type. For example, Protocol, Cipher, or * Certificate-Based Authentication.

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The type, or category, of a directory setting. Similar settings have the same * type. For example, Protocol, Cipher, or * Certificate-Based Authentication.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type, or category, of a directory setting. Similar settings have the same * type. For example, Protocol, Cipher, or * Certificate-Based Authentication.

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type, or category, of a directory setting. Similar settings have the same * type. For example, Protocol, Cipher, or * Certificate-Based Authentication.

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type, or category, of a directory setting. Similar settings have the same * type. For example, Protocol, Cipher, or * Certificate-Based Authentication.

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

The type, or category, of a directory setting. Similar settings have the same * type. For example, Protocol, Cipher, or * Certificate-Based Authentication.

*/ inline SettingEntry& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The type, or category, of a directory setting. Similar settings have the same * type. For example, Protocol, Cipher, or * Certificate-Based Authentication.

*/ inline SettingEntry& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The type, or category, of a directory setting. Similar settings have the same * type. For example, Protocol, Cipher, or * Certificate-Based Authentication.

*/ inline SettingEntry& WithType(const char* value) { SetType(value); return *this;} /** *

The name of the directory setting. For example:

TLS_1_0 *

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the directory setting. For example:

TLS_1_0 *

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the directory setting. For example:

TLS_1_0 *

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the directory setting. For example:

TLS_1_0 *

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the directory setting. For example:

TLS_1_0 *

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the directory setting. For example:

TLS_1_0 *

*/ inline SettingEntry& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the directory setting. For example:

TLS_1_0 *

*/ inline SettingEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the directory setting. For example:

TLS_1_0 *

*/ inline SettingEntry& WithName(const char* value) { SetName(value); return *this;} /** *

The valid range of values for the directory setting. These values depend on * the DataType of your directory.

*/ inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; } /** *

The valid range of values for the directory setting. These values depend on * the DataType of your directory.

*/ inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } /** *

The valid range of values for the directory setting. These values depend on * the DataType of your directory.

*/ inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; } /** *

The valid range of values for the directory setting. These values depend on * the DataType of your directory.

*/ inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); } /** *

The valid range of values for the directory setting. These values depend on * the DataType of your directory.

*/ inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); } /** *

The valid range of values for the directory setting. These values depend on * the DataType of your directory.

*/ inline SettingEntry& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;} /** *

The valid range of values for the directory setting. These values depend on * the DataType of your directory.

*/ inline SettingEntry& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;} /** *

The valid range of values for the directory setting. These values depend on * the DataType of your directory.

*/ inline SettingEntry& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;} /** *

The value of the directory setting that is applied to the directory.

*/ inline const Aws::String& GetAppliedValue() const{ return m_appliedValue; } /** *

The value of the directory setting that is applied to the directory.

*/ inline bool AppliedValueHasBeenSet() const { return m_appliedValueHasBeenSet; } /** *

The value of the directory setting that is applied to the directory.

*/ inline void SetAppliedValue(const Aws::String& value) { m_appliedValueHasBeenSet = true; m_appliedValue = value; } /** *

The value of the directory setting that is applied to the directory.

*/ inline void SetAppliedValue(Aws::String&& value) { m_appliedValueHasBeenSet = true; m_appliedValue = std::move(value); } /** *

The value of the directory setting that is applied to the directory.

*/ inline void SetAppliedValue(const char* value) { m_appliedValueHasBeenSet = true; m_appliedValue.assign(value); } /** *

The value of the directory setting that is applied to the directory.

*/ inline SettingEntry& WithAppliedValue(const Aws::String& value) { SetAppliedValue(value); return *this;} /** *

The value of the directory setting that is applied to the directory.

*/ inline SettingEntry& WithAppliedValue(Aws::String&& value) { SetAppliedValue(std::move(value)); return *this;} /** *

The value of the directory setting that is applied to the directory.

*/ inline SettingEntry& WithAppliedValue(const char* value) { SetAppliedValue(value); return *this;} /** *

The value that was last requested for the directory setting.

*/ inline const Aws::String& GetRequestedValue() const{ return m_requestedValue; } /** *

The value that was last requested for the directory setting.

*/ inline bool RequestedValueHasBeenSet() const { return m_requestedValueHasBeenSet; } /** *

The value that was last requested for the directory setting.

*/ inline void SetRequestedValue(const Aws::String& value) { m_requestedValueHasBeenSet = true; m_requestedValue = value; } /** *

The value that was last requested for the directory setting.

*/ inline void SetRequestedValue(Aws::String&& value) { m_requestedValueHasBeenSet = true; m_requestedValue = std::move(value); } /** *

The value that was last requested for the directory setting.

*/ inline void SetRequestedValue(const char* value) { m_requestedValueHasBeenSet = true; m_requestedValue.assign(value); } /** *

The value that was last requested for the directory setting.

*/ inline SettingEntry& WithRequestedValue(const Aws::String& value) { SetRequestedValue(value); return *this;} /** *

The value that was last requested for the directory setting.

*/ inline SettingEntry& WithRequestedValue(Aws::String&& value) { SetRequestedValue(std::move(value)); return *this;} /** *

The value that was last requested for the directory setting.

*/ inline SettingEntry& WithRequestedValue(const char* value) { SetRequestedValue(value); return *this;} /** *

The overall status of the request to update the directory setting request. If * the directory setting is deployed in more than one region, and the request fails * in any region, the overall status is Failed.

*/ inline const DirectoryConfigurationStatus& GetRequestStatus() const{ return m_requestStatus; } /** *

The overall status of the request to update the directory setting request. If * the directory setting is deployed in more than one region, and the request fails * in any region, the overall status is Failed.

*/ inline bool RequestStatusHasBeenSet() const { return m_requestStatusHasBeenSet; } /** *

The overall status of the request to update the directory setting request. If * the directory setting is deployed in more than one region, and the request fails * in any region, the overall status is Failed.

*/ inline void SetRequestStatus(const DirectoryConfigurationStatus& value) { m_requestStatusHasBeenSet = true; m_requestStatus = value; } /** *

The overall status of the request to update the directory setting request. If * the directory setting is deployed in more than one region, and the request fails * in any region, the overall status is Failed.

*/ inline void SetRequestStatus(DirectoryConfigurationStatus&& value) { m_requestStatusHasBeenSet = true; m_requestStatus = std::move(value); } /** *

The overall status of the request to update the directory setting request. If * the directory setting is deployed in more than one region, and the request fails * in any region, the overall status is Failed.

*/ inline SettingEntry& WithRequestStatus(const DirectoryConfigurationStatus& value) { SetRequestStatus(value); return *this;} /** *

The overall status of the request to update the directory setting request. If * the directory setting is deployed in more than one region, and the request fails * in any region, the overall status is Failed.

*/ inline SettingEntry& WithRequestStatus(DirectoryConfigurationStatus&& value) { SetRequestStatus(std::move(value)); return *this;} /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline const Aws::Map& GetRequestDetailedStatus() const{ return m_requestDetailedStatus; } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline bool RequestDetailedStatusHasBeenSet() const { return m_requestDetailedStatusHasBeenSet; } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline void SetRequestDetailedStatus(const Aws::Map& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus = value; } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline void SetRequestDetailedStatus(Aws::Map&& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus = std::move(value); } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline SettingEntry& WithRequestDetailedStatus(const Aws::Map& value) { SetRequestDetailedStatus(value); return *this;} /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline SettingEntry& WithRequestDetailedStatus(Aws::Map&& value) { SetRequestDetailedStatus(std::move(value)); return *this;} /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline SettingEntry& AddRequestDetailedStatus(const Aws::String& key, const DirectoryConfigurationStatus& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus.emplace(key, value); return *this; } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline SettingEntry& AddRequestDetailedStatus(Aws::String&& key, const DirectoryConfigurationStatus& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus.emplace(std::move(key), value); return *this; } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline SettingEntry& AddRequestDetailedStatus(const Aws::String& key, DirectoryConfigurationStatus&& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus.emplace(key, std::move(value)); return *this; } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline SettingEntry& AddRequestDetailedStatus(Aws::String&& key, DirectoryConfigurationStatus&& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus.emplace(std::move(key), std::move(value)); return *this; } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline SettingEntry& AddRequestDetailedStatus(const char* key, DirectoryConfigurationStatus&& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus.emplace(key, std::move(value)); return *this; } /** *

Details about the status of the request to update the directory setting. If * the directory setting is deployed in more than one region, status is returned * for the request in each region where the setting is deployed.

*/ inline SettingEntry& AddRequestDetailedStatus(const char* key, const DirectoryConfigurationStatus& value) { m_requestDetailedStatusHasBeenSet = true; m_requestDetailedStatus.emplace(key, value); return *this; } /** *

The last status message for the directory status request.

*/ inline const Aws::String& GetRequestStatusMessage() const{ return m_requestStatusMessage; } /** *

The last status message for the directory status request.

*/ inline bool RequestStatusMessageHasBeenSet() const { return m_requestStatusMessageHasBeenSet; } /** *

The last status message for the directory status request.

*/ inline void SetRequestStatusMessage(const Aws::String& value) { m_requestStatusMessageHasBeenSet = true; m_requestStatusMessage = value; } /** *

The last status message for the directory status request.

*/ inline void SetRequestStatusMessage(Aws::String&& value) { m_requestStatusMessageHasBeenSet = true; m_requestStatusMessage = std::move(value); } /** *

The last status message for the directory status request.

*/ inline void SetRequestStatusMessage(const char* value) { m_requestStatusMessageHasBeenSet = true; m_requestStatusMessage.assign(value); } /** *

The last status message for the directory status request.

*/ inline SettingEntry& WithRequestStatusMessage(const Aws::String& value) { SetRequestStatusMessage(value); return *this;} /** *

The last status message for the directory status request.

*/ inline SettingEntry& WithRequestStatusMessage(Aws::String&& value) { SetRequestStatusMessage(std::move(value)); return *this;} /** *

The last status message for the directory status request.

*/ inline SettingEntry& WithRequestStatusMessage(const char* value) { SetRequestStatusMessage(value); return *this;} /** *

The date and time when the directory setting was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

The date and time when the directory setting was last updated.

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

The date and time when the directory setting was last updated.

*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *

The date and time when the directory setting was last updated.

*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *

The date and time when the directory setting was last updated.

*/ inline SettingEntry& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

The date and time when the directory setting was last updated.

*/ inline SettingEntry& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

The date and time when the request to update a directory setting was last * submitted.

*/ inline const Aws::Utils::DateTime& GetLastRequestedDateTime() const{ return m_lastRequestedDateTime; } /** *

The date and time when the request to update a directory setting was last * submitted.

*/ inline bool LastRequestedDateTimeHasBeenSet() const { return m_lastRequestedDateTimeHasBeenSet; } /** *

The date and time when the request to update a directory setting was last * submitted.

*/ inline void SetLastRequestedDateTime(const Aws::Utils::DateTime& value) { m_lastRequestedDateTimeHasBeenSet = true; m_lastRequestedDateTime = value; } /** *

The date and time when the request to update a directory setting was last * submitted.

*/ inline void SetLastRequestedDateTime(Aws::Utils::DateTime&& value) { m_lastRequestedDateTimeHasBeenSet = true; m_lastRequestedDateTime = std::move(value); } /** *

The date and time when the request to update a directory setting was last * submitted.

*/ inline SettingEntry& WithLastRequestedDateTime(const Aws::Utils::DateTime& value) { SetLastRequestedDateTime(value); return *this;} /** *

The date and time when the request to update a directory setting was last * submitted.

*/ inline SettingEntry& WithLastRequestedDateTime(Aws::Utils::DateTime&& value) { SetLastRequestedDateTime(std::move(value)); return *this;} /** *

The data type of a directory setting. This is used to define the * AllowedValues of a setting. For example a data type can be * Boolean, DurationInSeconds, or Enum.

*/ inline const Aws::String& GetDataType() const{ return m_dataType; } /** *

The data type of a directory setting. This is used to define the * AllowedValues of a setting. For example a data type can be * Boolean, DurationInSeconds, or Enum.

*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *

The data type of a directory setting. This is used to define the * AllowedValues of a setting. For example a data type can be * Boolean, DurationInSeconds, or Enum.

*/ inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *

The data type of a directory setting. This is used to define the * AllowedValues of a setting. For example a data type can be * Boolean, DurationInSeconds, or Enum.

*/ inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *

The data type of a directory setting. This is used to define the * AllowedValues of a setting. For example a data type can be * Boolean, DurationInSeconds, or Enum.

*/ inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); } /** *

The data type of a directory setting. This is used to define the * AllowedValues of a setting. For example a data type can be * Boolean, DurationInSeconds, or Enum.

*/ inline SettingEntry& WithDataType(const Aws::String& value) { SetDataType(value); return *this;} /** *

The data type of a directory setting. This is used to define the * AllowedValues of a setting. For example a data type can be * Boolean, DurationInSeconds, or Enum.

*/ inline SettingEntry& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;} /** *

The data type of a directory setting. This is used to define the * AllowedValues of a setting. For example a data type can be * Boolean, DurationInSeconds, or Enum.

*/ inline SettingEntry& WithDataType(const char* value) { SetDataType(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_allowedValues; bool m_allowedValuesHasBeenSet = false; Aws::String m_appliedValue; bool m_appliedValueHasBeenSet = false; Aws::String m_requestedValue; bool m_requestedValueHasBeenSet = false; DirectoryConfigurationStatus m_requestStatus; bool m_requestStatusHasBeenSet = false; Aws::Map m_requestDetailedStatus; bool m_requestDetailedStatusHasBeenSet = false; Aws::String m_requestStatusMessage; bool m_requestStatusMessageHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastRequestedDateTime; bool m_lastRequestedDateTimeHasBeenSet = false; Aws::String m_dataType; bool m_dataTypeHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws