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

Stringified JSON of the datastore model.

*/ inline const Aws::String& GetModels() const{ return m_models; } /** *

Stringified JSON of the datastore model.

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

Stringified JSON of the datastore model.

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

Stringified JSON of the datastore model.

*/ inline void SetModels(const char* value) { m_models.assign(value); } /** *

Stringified JSON of the datastore model.

*/ inline GetBackendAPIModelsResult& WithModels(const Aws::String& value) { SetModels(value); return *this;} /** *

Stringified JSON of the datastore model.

*/ inline GetBackendAPIModelsResult& WithModels(Aws::String&& value) { SetModels(std::move(value)); return *this;} /** *

Stringified JSON of the datastore model.

*/ inline GetBackendAPIModelsResult& WithModels(const char* value) { SetModels(value); return *this;} /** *

The current status of the request.

*/ inline const Status& GetStatus() const{ return m_status; } /** *

The current status of the request.

*/ inline void SetStatus(const Status& value) { m_status = value; } /** *

The current status of the request.

*/ inline void SetStatus(Status&& value) { m_status = std::move(value); } /** *

The current status of the request.

*/ inline GetBackendAPIModelsResult& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *

The current status of the request.

*/ inline GetBackendAPIModelsResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** *

Stringified JSON of the model introspection schema for an existing backend * API resource.

*/ inline const Aws::String& GetModelIntrospectionSchema() const{ return m_modelIntrospectionSchema; } /** *

Stringified JSON of the model introspection schema for an existing backend * API resource.

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

Stringified JSON of the model introspection schema for an existing backend * API resource.

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

Stringified JSON of the model introspection schema for an existing backend * API resource.

*/ inline void SetModelIntrospectionSchema(const char* value) { m_modelIntrospectionSchema.assign(value); } /** *

Stringified JSON of the model introspection schema for an existing backend * API resource.

*/ inline GetBackendAPIModelsResult& WithModelIntrospectionSchema(const Aws::String& value) { SetModelIntrospectionSchema(value); return *this;} /** *

Stringified JSON of the model introspection schema for an existing backend * API resource.

*/ inline GetBackendAPIModelsResult& WithModelIntrospectionSchema(Aws::String&& value) { SetModelIntrospectionSchema(std::move(value)); return *this;} /** *

Stringified JSON of the model introspection schema for an existing backend * API resource.

*/ inline GetBackendAPIModelsResult& WithModelIntrospectionSchema(const char* value) { SetModelIntrospectionSchema(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 GetBackendAPIModelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBackendAPIModelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBackendAPIModelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_models; Status m_status; Aws::String m_modelIntrospectionSchema; Aws::String m_requestId; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws