/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A reason a vehicle network interface isn't valid.See Also:
* AWS
* API Reference
The ID of the interface that isn't valid.
*/ inline const Aws::String& GetInterfaceId() const{ return m_interfaceId; } /** *The ID of the interface that isn't valid.
*/ inline bool InterfaceIdHasBeenSet() const { return m_interfaceIdHasBeenSet; } /** *The ID of the interface that isn't valid.
*/ inline void SetInterfaceId(const Aws::String& value) { m_interfaceIdHasBeenSet = true; m_interfaceId = value; } /** *The ID of the interface that isn't valid.
*/ inline void SetInterfaceId(Aws::String&& value) { m_interfaceIdHasBeenSet = true; m_interfaceId = std::move(value); } /** *The ID of the interface that isn't valid.
*/ inline void SetInterfaceId(const char* value) { m_interfaceIdHasBeenSet = true; m_interfaceId.assign(value); } /** *The ID of the interface that isn't valid.
*/ inline InvalidNetworkInterface& WithInterfaceId(const Aws::String& value) { SetInterfaceId(value); return *this;} /** *The ID of the interface that isn't valid.
*/ inline InvalidNetworkInterface& WithInterfaceId(Aws::String&& value) { SetInterfaceId(std::move(value)); return *this;} /** *The ID of the interface that isn't valid.
*/ inline InvalidNetworkInterface& WithInterfaceId(const char* value) { SetInterfaceId(value); return *this;} /** *A message about why the interface isn't valid.
*/ inline const NetworkInterfaceFailureReason& GetReason() const{ return m_reason; } /** *A message about why the interface isn't valid.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *A message about why the interface isn't valid.
*/ inline void SetReason(const NetworkInterfaceFailureReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *A message about why the interface isn't valid.
*/ inline void SetReason(NetworkInterfaceFailureReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *A message about why the interface isn't valid.
*/ inline InvalidNetworkInterface& WithReason(const NetworkInterfaceFailureReason& value) { SetReason(value); return *this;} /** *A message about why the interface isn't valid.
*/ inline InvalidNetworkInterface& WithReason(NetworkInterfaceFailureReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::String m_interfaceId; bool m_interfaceIdHasBeenSet = false; NetworkInterfaceFailureReason m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws