/** * 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 DatabaseMigrationService { namespace Model { /** *

See Also:

AWS * API Reference

*/ class RefreshSchemasResult { public: AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasResult(); AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasResult(const Aws::AmazonWebServiceResult& result); AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The status of the refreshed schema.

*/ inline const RefreshSchemasStatus& GetRefreshSchemasStatus() const{ return m_refreshSchemasStatus; } /** *

The status of the refreshed schema.

*/ inline void SetRefreshSchemasStatus(const RefreshSchemasStatus& value) { m_refreshSchemasStatus = value; } /** *

The status of the refreshed schema.

*/ inline void SetRefreshSchemasStatus(RefreshSchemasStatus&& value) { m_refreshSchemasStatus = std::move(value); } /** *

The status of the refreshed schema.

*/ inline RefreshSchemasResult& WithRefreshSchemasStatus(const RefreshSchemasStatus& value) { SetRefreshSchemasStatus(value); return *this;} /** *

The status of the refreshed schema.

*/ inline RefreshSchemasResult& WithRefreshSchemasStatus(RefreshSchemasStatus&& value) { SetRefreshSchemasStatus(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 RefreshSchemasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RefreshSchemasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RefreshSchemasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RefreshSchemasStatus m_refreshSchemasStatus; Aws::String m_requestId; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws