/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the output of ValidatePipelineDefinition.See Also:
* AWS
* API Reference
Any validation errors that were found.
*/ inline const Aws::VectorAny validation errors that were found.
*/ inline void SetValidationErrors(const Aws::VectorAny validation errors that were found.
*/ inline void SetValidationErrors(Aws::VectorAny validation errors that were found.
*/ inline ValidatePipelineDefinitionResult& WithValidationErrors(const Aws::VectorAny validation errors that were found.
*/ inline ValidatePipelineDefinitionResult& WithValidationErrors(Aws::VectorAny validation errors that were found.
*/ inline ValidatePipelineDefinitionResult& AddValidationErrors(const ValidationError& value) { m_validationErrors.push_back(value); return *this; } /** *Any validation errors that were found.
*/ inline ValidatePipelineDefinitionResult& AddValidationErrors(ValidationError&& value) { m_validationErrors.push_back(std::move(value)); return *this; } /** *Any validation warnings that were found.
*/ inline const Aws::VectorAny validation warnings that were found.
*/ inline void SetValidationWarnings(const Aws::VectorAny validation warnings that were found.
*/ inline void SetValidationWarnings(Aws::VectorAny validation warnings that were found.
*/ inline ValidatePipelineDefinitionResult& WithValidationWarnings(const Aws::VectorAny validation warnings that were found.
*/ inline ValidatePipelineDefinitionResult& WithValidationWarnings(Aws::VectorAny validation warnings that were found.
*/ inline ValidatePipelineDefinitionResult& AddValidationWarnings(const ValidationWarning& value) { m_validationWarnings.push_back(value); return *this; } /** *Any validation warnings that were found.
*/ inline ValidatePipelineDefinitionResult& AddValidationWarnings(ValidationWarning&& value) { m_validationWarnings.push_back(std::move(value)); return *this; } /** *Indicates whether there were validation errors.
*/ inline bool GetErrored() const{ return m_errored; } /** *Indicates whether there were validation errors.
*/ inline void SetErrored(bool value) { m_errored = value; } /** *Indicates whether there were validation errors.
*/ inline ValidatePipelineDefinitionResult& WithErrored(bool value) { SetErrored(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ValidatePipelineDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ValidatePipelineDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ValidatePipelineDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector