7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ValidationError.h>
51 template<
typename ErrorsT = Aws::Vector<Val
idationError>>
52 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
53 template<
typename ErrorsT = Aws::Vector<Val
idationError>>
55 template<
typename ErrorsT = Val
idationError>
56 ValidationWarning&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
61 bool m_errorsHasBeenSet =
false;
ValidationWarning & WithErrors(ErrorsT &&value)
AWS_EC2_API ValidationWarning & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ValidationWarning(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ValidationWarning()=default
bool ErrorsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetErrors(ErrorsT &&value)
ValidationWarning & AddErrors(ErrorsT &&value)
const Aws::Vector< ValidationError > & GetErrors() const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream