/** * 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 IoTAnalytics { namespace Model { class DescribeDatastoreResult { public: AWS_IOTANALYTICS_API DescribeDatastoreResult(); AWS_IOTANALYTICS_API DescribeDatastoreResult(const Aws::AmazonWebServiceResult& result); AWS_IOTANALYTICS_API DescribeDatastoreResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the data store.

*/ inline const Datastore& GetDatastore() const{ return m_datastore; } /** *

Information about the data store.

*/ inline void SetDatastore(const Datastore& value) { m_datastore = value; } /** *

Information about the data store.

*/ inline void SetDatastore(Datastore&& value) { m_datastore = std::move(value); } /** *

Information about the data store.

*/ inline DescribeDatastoreResult& WithDatastore(const Datastore& value) { SetDatastore(value); return *this;} /** *

Information about the data store.

*/ inline DescribeDatastoreResult& WithDatastore(Datastore&& value) { SetDatastore(std::move(value)); return *this;} /** *

Additional statistical information about the data store. Included if the * includeStatistics parameter is set to true in the * request.

*/ inline const DatastoreStatistics& GetStatistics() const{ return m_statistics; } /** *

Additional statistical information about the data store. Included if the * includeStatistics parameter is set to true in the * request.

*/ inline void SetStatistics(const DatastoreStatistics& value) { m_statistics = value; } /** *

Additional statistical information about the data store. Included if the * includeStatistics parameter is set to true in the * request.

*/ inline void SetStatistics(DatastoreStatistics&& value) { m_statistics = std::move(value); } /** *

Additional statistical information about the data store. Included if the * includeStatistics parameter is set to true in the * request.

*/ inline DescribeDatastoreResult& WithStatistics(const DatastoreStatistics& value) { SetStatistics(value); return *this;} /** *

Additional statistical information about the data store. Included if the * includeStatistics parameter is set to true in the * request.

*/ inline DescribeDatastoreResult& WithStatistics(DatastoreStatistics&& value) { SetStatistics(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 DescribeDatastoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDatastoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDatastoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Datastore m_datastore; DatastoreStatistics m_statistics; Aws::String m_requestId; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws