/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A reason that a signal decoder isn't valid.See Also:
AWS
* API Reference
The name of a signal decoder that isn't valid.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of a signal decoder that isn't valid.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of a signal decoder that isn't valid.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of a signal decoder that isn't valid.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of a signal decoder that isn't valid.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of a signal decoder that isn't valid.
*/ inline InvalidSignalDecoder& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of a signal decoder that isn't valid.
*/ inline InvalidSignalDecoder& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of a signal decoder that isn't valid.
*/ inline InvalidSignalDecoder& WithName(const char* value) { SetName(value); return *this;} /** *A message about why the signal decoder isn't valid.
*/ inline const SignalDecoderFailureReason& GetReason() const{ return m_reason; } /** *A message about why the signal decoder isn't valid.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *A message about why the signal decoder isn't valid.
*/ inline void SetReason(const SignalDecoderFailureReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *A message about why the signal decoder isn't valid.
*/ inline void SetReason(SignalDecoderFailureReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *A message about why the signal decoder isn't valid.
*/ inline InvalidSignalDecoder& WithReason(const SignalDecoderFailureReason& value) { SetReason(value); return *this;} /** *A message about why the signal decoder isn't valid.
*/ inline InvalidSignalDecoder& WithReason(SignalDecoderFailureReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; SignalDecoderFailureReason m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws