/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The specified node type doesn't match the expected node type for a node. You
* can specify the node type as branch, sensor, actuator, or
* attribute.See Also:
AWS
* API Reference
The specified node type isn't valid.
*/ inline const Aws::VectorThe specified node type isn't valid.
*/ inline bool InvalidNodesHasBeenSet() const { return m_invalidNodesHasBeenSet; } /** *The specified node type isn't valid.
*/ inline void SetInvalidNodes(const Aws::VectorThe specified node type isn't valid.
*/ inline void SetInvalidNodes(Aws::VectorThe specified node type isn't valid.
*/ inline InvalidNodeException& WithInvalidNodes(const Aws::VectorThe specified node type isn't valid.
*/ inline InvalidNodeException& WithInvalidNodes(Aws::VectorThe specified node type isn't valid.
*/ inline InvalidNodeException& AddInvalidNodes(const Node& value) { m_invalidNodesHasBeenSet = true; m_invalidNodes.push_back(value); return *this; } /** *The specified node type isn't valid.
*/ inline InvalidNodeException& AddInvalidNodes(Node&& value) { m_invalidNodesHasBeenSet = true; m_invalidNodes.push_back(std::move(value)); return *this; } /** *The reason the node validation failed.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *The reason the node validation failed.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason the node validation failed.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason the node validation failed.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason the node validation failed.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *The reason the node validation failed.
*/ inline InvalidNodeException& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *The reason the node validation failed.
*/ inline InvalidNodeException& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *The reason the node validation failed.
*/ inline InvalidNodeException& WithReason(const char* value) { SetReason(value); return *this;} inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } inline InvalidNodeException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline InvalidNodeException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline InvalidNodeException& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::Vector