/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Analysis error.See Also:
AWS
* API Reference
The type of the analysis error.
*/ inline const AnalysisErrorType& GetType() const{ return m_type; } /** *The type of the analysis error.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the analysis error.
*/ inline void SetType(const AnalysisErrorType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the analysis error.
*/ inline void SetType(AnalysisErrorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the analysis error.
*/ inline AnalysisError& WithType(const AnalysisErrorType& value) { SetType(value); return *this;} /** *The type of the analysis error.
*/ inline AnalysisError& WithType(AnalysisErrorType&& value) { SetType(std::move(value)); return *this;} /** *The message associated with the analysis error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The message associated with the analysis error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The message associated with the analysis error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The message associated with the analysis error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The message associated with the analysis error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The message associated with the analysis error.
*/ inline AnalysisError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The message associated with the analysis error.
*/ inline AnalysisError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The message associated with the analysis error.
*/ inline AnalysisError& WithMessage(const char* value) { SetMessage(value); return *this;} /** *Lists the violated entities that caused the analysis error
*/ inline const Aws::VectorLists the violated entities that caused the analysis error
*/ inline bool ViolatedEntitiesHasBeenSet() const { return m_violatedEntitiesHasBeenSet; } /** *Lists the violated entities that caused the analysis error
*/ inline void SetViolatedEntities(const Aws::VectorLists the violated entities that caused the analysis error
*/ inline void SetViolatedEntities(Aws::VectorLists the violated entities that caused the analysis error
*/ inline AnalysisError& WithViolatedEntities(const Aws::VectorLists the violated entities that caused the analysis error
*/ inline AnalysisError& WithViolatedEntities(Aws::VectorLists the violated entities that caused the analysis error
*/ inline AnalysisError& AddViolatedEntities(const Entity& value) { m_violatedEntitiesHasBeenSet = true; m_violatedEntities.push_back(value); return *this; } /** *Lists the violated entities that caused the analysis error
*/ inline AnalysisError& AddViolatedEntities(Entity&& value) { m_violatedEntitiesHasBeenSet = true; m_violatedEntities.push_back(std::move(value)); return *this; } private: AnalysisErrorType m_type; bool m_typeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Vector