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

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

*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *

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

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

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

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

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

*/ inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); } /** *

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

*/ inline UpdateSchemaResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *

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

*/ inline UpdateSchemaResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *

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

*/ inline UpdateSchemaResult& WithSchemaArn(const char* value) { SetSchemaArn(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 UpdateSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_schemaArn; Aws::String m_requestId; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws