/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a validation error. Validation errors prevent pipeline activation.
* The set of validation errors that can be returned are defined by AWS Data
* Pipeline.See Also:
AWS
* API Reference
The identifier of the object that contains the validation error.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of the object that contains the validation error.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of the object that contains the validation error.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of the object that contains the validation error.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of the object that contains the validation error.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of the object that contains the validation error.
*/ inline ValidationError& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the object that contains the validation error.
*/ inline ValidationError& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the object that contains the validation error.
*/ inline ValidationError& WithId(const char* value) { SetId(value); return *this;} /** *A description of the validation error.
*/ inline const Aws::VectorA description of the validation error.
*/ inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; } /** *A description of the validation error.
*/ inline void SetErrors(const Aws::VectorA description of the validation error.
*/ inline void SetErrors(Aws::VectorA description of the validation error.
*/ inline ValidationError& WithErrors(const Aws::VectorA description of the validation error.
*/ inline ValidationError& WithErrors(Aws::VectorA description of the validation error.
*/ inline ValidationError& AddErrors(const Aws::String& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; } /** *A description of the validation error.
*/ inline ValidationError& AddErrors(Aws::String&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; } /** *A description of the validation error.
*/ inline ValidationError& AddErrors(const char* value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Vector