7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/model/AggregationOutputItem.h>
48 template<
typename AttributeT = Aws::String>
49 void SetAttribute(AttributeT&& value) { m_attributeHasBeenSet =
true; m_attribute = std::forward<AttributeT>(value); }
50 template<
typename AttributeT = Aws::String>
60 template<
typename DisplayValueT = Aws::String>
61 void SetDisplayValue(DisplayValueT&& value) { m_displayValueHasBeenSet =
true; m_displayValue = std::forward<DisplayValueT>(value); }
62 template<
typename DisplayValueT = Aws::String>
72 template<
typename ItemsT = Aws::Vector<AggregationOutputItem>>
73 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
74 template<
typename ItemsT = Aws::Vector<AggregationOutputItem>>
76 template<
typename ItemsT = AggregationOutputItem>
77 AggregationOutput&
AddItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items.emplace_back(std::forward<ItemsT>(value));
return *
this; }
82 bool m_attributeHasBeenSet =
false;
85 bool m_displayValueHasBeenSet =
false;
88 bool m_itemsHasBeenSet =
false;
const Aws::String & GetAttribute() const
AWS_DATAZONE_API AggregationOutput()=default
AggregationOutput & WithDisplayValue(DisplayValueT &&value)
AggregationOutput & WithAttribute(AttributeT &&value)
bool ItemsHasBeenSet() const
AggregationOutput & WithItems(ItemsT &&value)
bool AttributeHasBeenSet() const
const Aws::Vector< AggregationOutputItem > & GetItems() const
void SetItems(ItemsT &&value)
void SetDisplayValue(DisplayValueT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AggregationOutput & AddItems(ItemsT &&value)
AWS_DATAZONE_API AggregationOutput(Aws::Utils::Json::JsonView jsonValue)
bool DisplayValueHasBeenSet() const
void SetAttribute(AttributeT &&value)
const Aws::String & GetDisplayValue() const
AWS_DATAZONE_API AggregationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue