/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a dataflow edge used in a contact.See Also:
* AWS
* API Reference
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