7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/forecast/model/SchemaAttribute.h>
22namespace ForecastService
35 AWS_FORECASTSERVICE_API
Schema() =
default;
48 template<
typename AttributesT = Aws::Vector<SchemaAttribute>>
49 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
50 template<
typename AttributesT = Aws::Vector<SchemaAttribute>>
52 template<
typename AttributesT = SchemaAttribute>
53 Schema&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
58 bool m_attributesHasBeenSet =
false;
Schema & AddAttributes(AttributesT &&value)
void SetAttributes(AttributesT &&value)
Schema & WithAttributes(AttributesT &&value)
AWS_FORECASTSERVICE_API Schema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API Schema()=default
const Aws::Vector< SchemaAttribute > & GetAttributes() const
bool AttributesHasBeenSet() const
AWS_FORECASTSERVICE_API Schema(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue