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