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

The source of the schema definition.

*/ inline const Aws::String& GetContent() const{ return m_content; } /** *

The source of the schema definition.

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

The source of the schema definition.

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

The source of the schema definition.

*/ inline void SetContent(const char* value) { m_content.assign(value); } /** *

The source of the schema definition.

*/ inline DescribeSchemaResult& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *

The source of the schema definition.

*/ inline DescribeSchemaResult& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *

The source of the schema definition.

*/ inline DescribeSchemaResult& WithContent(const char* value) { SetContent(value); return *this;} /** *

The description of the schema.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the schema.

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

The description of the schema.

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

The description of the schema.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the schema.

*/ inline DescribeSchemaResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the schema.

*/ inline DescribeSchemaResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the schema.

*/ inline DescribeSchemaResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The date and time that schema was modified.

*/ inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } /** *

The date and time that schema was modified.

*/ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; } /** *

The date and time that schema was modified.

*/ inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); } /** *

The date and time that schema was modified.

*/ inline DescribeSchemaResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} /** *

The date and time that schema was modified.

*/ inline DescribeSchemaResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} /** *

The ARN of the schema.

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

The ARN of the schema.

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

The ARN of the schema.

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

The ARN of the schema.

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

The ARN of the schema.

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

The ARN of the schema.

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

The ARN of the schema.

*/ inline DescribeSchemaResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *

The name of the schema.

*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *

The name of the schema.

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

The name of the schema.

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

The name of the schema.

*/ inline void SetSchemaName(const char* value) { m_schemaName.assign(value); } /** *

The name of the schema.

*/ inline DescribeSchemaResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The name of the schema.

*/ inline DescribeSchemaResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *

The name of the schema.

*/ inline DescribeSchemaResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *

The version number of the schema

*/ inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } /** *

The version number of the schema

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

The version number of the schema

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

The version number of the schema

*/ inline void SetSchemaVersion(const char* value) { m_schemaVersion.assign(value); } /** *

The version number of the schema

*/ inline DescribeSchemaResult& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} /** *

The version number of the schema

*/ inline DescribeSchemaResult& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} /** *

The version number of the schema

*/ inline DescribeSchemaResult& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} /** *

Tags associated with the resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags associated with the resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Tags associated with the resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeSchemaResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The type of the schema.

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The type of the schema.

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

The type of the schema.

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

The type of the schema.

*/ inline void SetType(const char* value) { m_type.assign(value); } /** *

The type of the schema.

*/ inline DescribeSchemaResult& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The type of the schema.

*/ inline DescribeSchemaResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The type of the schema.

*/ inline DescribeSchemaResult& WithType(const char* value) { SetType(value); return *this;} /** *

The date the schema version was created.

*/ inline const Aws::Utils::DateTime& GetVersionCreatedDate() const{ return m_versionCreatedDate; } /** *

The date the schema version was created.

*/ inline void SetVersionCreatedDate(const Aws::Utils::DateTime& value) { m_versionCreatedDate = value; } /** *

The date the schema version was created.

*/ inline void SetVersionCreatedDate(Aws::Utils::DateTime&& value) { m_versionCreatedDate = std::move(value); } /** *

The date the schema version was created.

*/ inline DescribeSchemaResult& WithVersionCreatedDate(const Aws::Utils::DateTime& value) { SetVersionCreatedDate(value); return *this;} /** *

The date the schema version was created.

*/ inline DescribeSchemaResult& WithVersionCreatedDate(Aws::Utils::DateTime&& value) { SetVersionCreatedDate(std::move(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 DescribeSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_content; Aws::String m_description; Aws::Utils::DateTime m_lastModified; Aws::String m_schemaArn; Aws::String m_schemaName; Aws::String m_schemaVersion; Aws::Map m_tags; Aws::String m_type; Aws::Utils::DateTime m_versionCreatedDate; Aws::String m_requestId; }; } // namespace Model } // namespace Schemas } // namespace Aws