/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DirectoryService { namespace Model { class StartSchemaExtensionResult { public: AWS_DIRECTORYSERVICE_API StartSchemaExtensionResult(); AWS_DIRECTORYSERVICE_API StartSchemaExtensionResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTORYSERVICE_API StartSchemaExtensionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the schema extension that will be applied.

*/ inline const Aws::String& GetSchemaExtensionId() const{ return m_schemaExtensionId; } /** *

The identifier of the schema extension that will be applied.

*/ inline void SetSchemaExtensionId(const Aws::String& value) { m_schemaExtensionId = value; } /** *

The identifier of the schema extension that will be applied.

*/ inline void SetSchemaExtensionId(Aws::String&& value) { m_schemaExtensionId = std::move(value); } /** *

The identifier of the schema extension that will be applied.

*/ inline void SetSchemaExtensionId(const char* value) { m_schemaExtensionId.assign(value); } /** *

The identifier of the schema extension that will be applied.

*/ inline StartSchemaExtensionResult& WithSchemaExtensionId(const Aws::String& value) { SetSchemaExtensionId(value); return *this;} /** *

The identifier of the schema extension that will be applied.

*/ inline StartSchemaExtensionResult& WithSchemaExtensionId(Aws::String&& value) { SetSchemaExtensionId(std::move(value)); return *this;} /** *

The identifier of the schema extension that will be applied.

*/ inline StartSchemaExtensionResult& WithSchemaExtensionId(const char* value) { SetSchemaExtensionId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartSchemaExtensionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartSchemaExtensionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartSchemaExtensionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_schemaExtensionId; Aws::String m_requestId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws