7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ValidationError.h>
45 template <
typename ErrorsT = Aws::Vector<Val
idationError>>
47 m_errorsHasBeenSet =
true;
48 m_errors = std::forward<ErrorsT>(value);
50 template <
typename ErrorsT = Aws::Vector<Val
idationError>>
55 template <
typename ErrorsT = Val
idationError>
57 m_errorsHasBeenSet =
true;
58 m_errors.emplace_back(std::forward<ErrorsT>(value));
64 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