7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datapipeline/DataPipeline_EXPORTS.h>
20namespace DataPipeline {
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename ErrorsT = Aws::Vector<Aws::String>>
63 m_errorsHasBeenSet =
true;
64 m_errors = std::forward<ErrorsT>(value);
66 template <
typename ErrorsT = Aws::Vector<Aws::String>>
71 template <
typename ErrorsT = Aws::String>
73 m_errorsHasBeenSet =
true;
74 m_errors.emplace_back(std::forward<ErrorsT>(value));
82 bool m_idHasBeenSet =
false;
83 bool m_errorsHasBeenSet =
false;
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAPIPELINE_API ValidationError()=default
AWS_DATAPIPELINE_API ValidationError(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
ValidationError & AddErrors(ErrorsT &&value)
const Aws::String & GetId() const
ValidationError & WithErrors(ErrorsT &&value)
AWS_DATAPIPELINE_API ValidationError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrors(ErrorsT &&value)
bool ErrorsHasBeenSet() const
const Aws::Vector< Aws::String > & GetErrors() const
ValidationError & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue