/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a schema extension.See Also:
AWS
* API Reference
The identifier of the directory to which the schema extension is applied.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The identifier of the directory to which the schema extension is applied.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The identifier of the directory to which the schema extension is applied.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The identifier of the directory to which the schema extension is applied.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The identifier of the directory to which the schema extension is applied.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The identifier of the directory to which the schema extension is applied.
*/ inline SchemaExtensionInfo& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The identifier of the directory to which the schema extension is applied.
*/ inline SchemaExtensionInfo& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The identifier of the directory to which the schema extension is applied.
*/ inline SchemaExtensionInfo& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *The identifier of the schema extension.
*/ inline const Aws::String& GetSchemaExtensionId() const{ return m_schemaExtensionId; } /** *The identifier of the schema extension.
*/ inline bool SchemaExtensionIdHasBeenSet() const { return m_schemaExtensionIdHasBeenSet; } /** *The identifier of the schema extension.
*/ inline void SetSchemaExtensionId(const Aws::String& value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId = value; } /** *The identifier of the schema extension.
*/ inline void SetSchemaExtensionId(Aws::String&& value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId = std::move(value); } /** *The identifier of the schema extension.
*/ inline void SetSchemaExtensionId(const char* value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId.assign(value); } /** *The identifier of the schema extension.
*/ inline SchemaExtensionInfo& WithSchemaExtensionId(const Aws::String& value) { SetSchemaExtensionId(value); return *this;} /** *The identifier of the schema extension.
*/ inline SchemaExtensionInfo& WithSchemaExtensionId(Aws::String&& value) { SetSchemaExtensionId(std::move(value)); return *this;} /** *The identifier of the schema extension.
*/ inline SchemaExtensionInfo& WithSchemaExtensionId(const char* value) { SetSchemaExtensionId(value); return *this;} /** *A description of the schema extension.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the schema extension.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the schema extension.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the schema extension.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the schema extension.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the schema extension.
*/ inline SchemaExtensionInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the schema extension.
*/ inline SchemaExtensionInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the schema extension.
*/ inline SchemaExtensionInfo& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The current status of the schema extension.
*/ inline const SchemaExtensionStatus& GetSchemaExtensionStatus() const{ return m_schemaExtensionStatus; } /** *The current status of the schema extension.
*/ inline bool SchemaExtensionStatusHasBeenSet() const { return m_schemaExtensionStatusHasBeenSet; } /** *The current status of the schema extension.
*/ inline void SetSchemaExtensionStatus(const SchemaExtensionStatus& value) { m_schemaExtensionStatusHasBeenSet = true; m_schemaExtensionStatus = value; } /** *The current status of the schema extension.
*/ inline void SetSchemaExtensionStatus(SchemaExtensionStatus&& value) { m_schemaExtensionStatusHasBeenSet = true; m_schemaExtensionStatus = std::move(value); } /** *The current status of the schema extension.
*/ inline SchemaExtensionInfo& WithSchemaExtensionStatus(const SchemaExtensionStatus& value) { SetSchemaExtensionStatus(value); return *this;} /** *The current status of the schema extension.
*/ inline SchemaExtensionInfo& WithSchemaExtensionStatus(SchemaExtensionStatus&& value) { SetSchemaExtensionStatus(std::move(value)); return *this;} /** *The reason for the SchemaExtensionStatus.
The reason for the SchemaExtensionStatus.
The reason for the SchemaExtensionStatus.
The reason for the SchemaExtensionStatus.
The reason for the SchemaExtensionStatus.
The reason for the SchemaExtensionStatus.
The reason for the SchemaExtensionStatus.
The reason for the SchemaExtensionStatus.
The date and time that the schema extension started being applied to the * directory.
*/ inline const Aws::Utils::DateTime& GetStartDateTime() const{ return m_startDateTime; } /** *The date and time that the schema extension started being applied to the * directory.
*/ inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; } /** *The date and time that the schema extension started being applied to the * directory.
*/ inline void SetStartDateTime(const Aws::Utils::DateTime& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; } /** *The date and time that the schema extension started being applied to the * directory.
*/ inline void SetStartDateTime(Aws::Utils::DateTime&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); } /** *The date and time that the schema extension started being applied to the * directory.
*/ inline SchemaExtensionInfo& WithStartDateTime(const Aws::Utils::DateTime& value) { SetStartDateTime(value); return *this;} /** *The date and time that the schema extension started being applied to the * directory.
*/ inline SchemaExtensionInfo& WithStartDateTime(Aws::Utils::DateTime&& value) { SetStartDateTime(std::move(value)); return *this;} /** *The date and time that the schema extension was completed.
*/ inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; } /** *The date and time that the schema extension was completed.
*/ inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; } /** *The date and time that the schema extension was completed.
*/ inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; } /** *The date and time that the schema extension was completed.
*/ inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); } /** *The date and time that the schema extension was completed.
*/ inline SchemaExtensionInfo& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;} /** *The date and time that the schema extension was completed.
*/ inline SchemaExtensionInfo& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet; Aws::String m_schemaExtensionId; bool m_schemaExtensionIdHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; SchemaExtensionStatus m_schemaExtensionStatus; bool m_schemaExtensionStatusHasBeenSet; Aws::String m_schemaExtensionStatusReason; bool m_schemaExtensionStatusReasonHasBeenSet; Aws::Utils::DateTime m_startDateTime; bool m_startDateTimeHasBeenSet; Aws::Utils::DateTime m_endDateTime; bool m_endDateTimeHasBeenSet; }; } // namespace Model } // namespace DirectoryService } // namespace Aws