/** * 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 CloudDirectory { namespace Model { class ApplySchemaResult { public: AWS_CLOUDDIRECTORY_API ApplySchemaResult(); AWS_CLOUDDIRECTORY_API ApplySchemaResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDDIRECTORY_API ApplySchemaResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The applied schema ARN that is associated with the copied schema in the * Directory. You can use this ARN to describe the schema information * applied on this directory. For more information, see arns.

*/ inline const Aws::String& GetAppliedSchemaArn() const{ return m_appliedSchemaArn; } /** *

The applied schema ARN that is associated with the copied schema in the * Directory. You can use this ARN to describe the schema information * applied on this directory. For more information, see arns.

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

The applied schema ARN that is associated with the copied schema in the * Directory. You can use this ARN to describe the schema information * applied on this directory. For more information, see arns.

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

The applied schema ARN that is associated with the copied schema in the * Directory. You can use this ARN to describe the schema information * applied on this directory. For more information, see arns.

*/ inline void SetAppliedSchemaArn(const char* value) { m_appliedSchemaArn.assign(value); } /** *

The applied schema ARN that is associated with the copied schema in the * Directory. You can use this ARN to describe the schema information * applied on this directory. For more information, see arns.

*/ inline ApplySchemaResult& WithAppliedSchemaArn(const Aws::String& value) { SetAppliedSchemaArn(value); return *this;} /** *

The applied schema ARN that is associated with the copied schema in the * Directory. You can use this ARN to describe the schema information * applied on this directory. For more information, see arns.

*/ inline ApplySchemaResult& WithAppliedSchemaArn(Aws::String&& value) { SetAppliedSchemaArn(std::move(value)); return *this;} /** *

The applied schema ARN that is associated with the copied schema in the * Directory. You can use this ARN to describe the schema information * applied on this directory. For more information, see arns.

*/ inline ApplySchemaResult& WithAppliedSchemaArn(const char* value) { SetAppliedSchemaArn(value); return *this;} /** *

The ARN that is associated with the Directory. For more information, * see arns.

*/ inline const Aws::String& GetDirectoryArn() const{ return m_directoryArn; } /** *

The ARN that is associated with the Directory. For more information, * see arns.

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

The ARN that is associated with the Directory. For more information, * see arns.

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

The ARN that is associated with the Directory. For more information, * see arns.

*/ inline void SetDirectoryArn(const char* value) { m_directoryArn.assign(value); } /** *

The ARN that is associated with the Directory. For more information, * see arns.

*/ inline ApplySchemaResult& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;} /** *

The ARN that is associated with the Directory. For more information, * see arns.

*/ inline ApplySchemaResult& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;} /** *

The ARN that is associated with the Directory. For more information, * see arns.

*/ inline ApplySchemaResult& WithDirectoryArn(const char* value) { SetDirectoryArn(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 ApplySchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ApplySchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ApplySchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appliedSchemaArn; Aws::String m_directoryArn; Aws::String m_requestId; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws