7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename ErrorsT = Aws::Vector<Aws::String>>
62 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
63 template<
typename ErrorsT = Aws::Vector<Aws::String>>
65 template<
typename ErrorsT = Aws::String>
66 ValidationError&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
71 bool m_idHasBeenSet =
false;
74 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