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

The name of the retrieved schema.

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

The name of the retrieved schema.

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

The name of the retrieved schema.

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

The name of the retrieved schema.

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

The name of the retrieved schema.

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

The name of the retrieved schema.

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

The name of the retrieved schema.

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

The JSON representation of the schema document.

*/ inline const Aws::String& GetDocument() const{ return m_document; } /** *

The JSON representation of the schema document.

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

The JSON representation of the schema document.

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

The JSON representation of the schema document.

*/ inline void SetDocument(const char* value) { m_document.assign(value); } /** *

The JSON representation of the schema document.

*/ inline GetSchemaAsJsonResult& WithDocument(const Aws::String& value) { SetDocument(value); return *this;} /** *

The JSON representation of the schema document.

*/ inline GetSchemaAsJsonResult& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;} /** *

The JSON representation of the schema document.

*/ inline GetSchemaAsJsonResult& WithDocument(const char* value) { SetDocument(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 GetSchemaAsJsonResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSchemaAsJsonResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSchemaAsJsonResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_document; Aws::String m_requestId; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws