/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GroundStation { namespace Model { /** *

Information about a dataflow edge used in a contact.

See Also:

* AWS * API Reference

*/ class DataflowDetail { public: AWS_GROUNDSTATION_API DataflowDetail(); AWS_GROUNDSTATION_API DataflowDetail(Aws::Utils::Json::JsonView jsonValue); AWS_GROUNDSTATION_API DataflowDetail& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const; inline const Destination& GetDestination() const{ return m_destination; } inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; } inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } inline DataflowDetail& WithDestination(const Destination& value) { SetDestination(value); return *this;} inline DataflowDetail& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;} /** *

Error message for a dataflow.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *

Error message for a dataflow.

*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *

Error message for a dataflow.

*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *

Error message for a dataflow.

*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *

Error message for a dataflow.

*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *

Error message for a dataflow.

*/ inline DataflowDetail& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *

Error message for a dataflow.

*/ inline DataflowDetail& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *

Error message for a dataflow.

*/ inline DataflowDetail& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} inline const Source& GetSource() const{ return m_source; } inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; } inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } inline DataflowDetail& WithSource(const Source& value) { SetSource(value); return *this;} inline DataflowDetail& WithSource(Source&& value) { SetSource(std::move(value)); return *this;} private: Destination m_destination; bool m_destinationHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; Source m_source; bool m_sourceHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws