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

Contains information about an ingestion.

*/ inline const Ingestion& GetIngestion() const{ return m_ingestion; } /** *

Contains information about an ingestion.

*/ inline void SetIngestion(const Ingestion& value) { m_ingestion = value; } /** *

Contains information about an ingestion.

*/ inline void SetIngestion(Ingestion&& value) { m_ingestion = std::move(value); } /** *

Contains information about an ingestion.

*/ inline CreateIngestionResult& WithIngestion(const Ingestion& value) { SetIngestion(value); return *this;} /** *

Contains information about an ingestion.

*/ inline CreateIngestionResult& WithIngestion(Ingestion&& value) { SetIngestion(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 CreateIngestionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateIngestionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateIngestionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Ingestion m_ingestion; Aws::String m_requestId; }; } // namespace Model } // namespace AppFabric } // namespace Aws