7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/wickr/Wickr_EXPORTS.h>
9#include <aws/wickr/model/ErrorDetail.h>
44 template <
typename ReasonsT = Aws::Vector<ErrorDetail>>
46 m_reasonsHasBeenSet =
true;
47 m_reasons = std::forward<ReasonsT>(value);
49 template <
typename ReasonsT = Aws::Vector<ErrorDetail>>
54 template <
typename ReasonsT = ErrorDetail>
56 m_reasonsHasBeenSet =
true;
57 m_reasons.emplace_back(std::forward<ReasonsT>(value));
63 bool m_reasonsHasBeenSet =
false;
AWS_WICKR_API ValidationError(Aws::Utils::Json::JsonView jsonValue)
ValidationError & WithReasons(ReasonsT &&value)
AWS_WICKR_API ValidationError()=default
bool ReasonsHasBeenSet() const
ValidationError & AddReasons(ReasonsT &&value)
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ErrorDetail > & GetReasons() const
AWS_WICKR_API ValidationError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReasons(ReasonsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue