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

Contains information about an ingestion destination.

*/ inline const IngestionDestination& GetIngestionDestination() const{ return m_ingestionDestination; } /** *

Contains information about an ingestion destination.

*/ inline void SetIngestionDestination(const IngestionDestination& value) { m_ingestionDestination = value; } /** *

Contains information about an ingestion destination.

*/ inline void SetIngestionDestination(IngestionDestination&& value) { m_ingestionDestination = std::move(value); } /** *

Contains information about an ingestion destination.

*/ inline GetIngestionDestinationResult& WithIngestionDestination(const IngestionDestination& value) { SetIngestionDestination(value); return *this;} /** *

Contains information about an ingestion destination.

*/ inline GetIngestionDestinationResult& WithIngestionDestination(IngestionDestination&& value) { SetIngestionDestination(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 GetIngestionDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetIngestionDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetIngestionDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: IngestionDestination m_ingestionDestination; Aws::String m_requestId; }; } // namespace Model } // namespace AppFabric } // namespace Aws