7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/ce/model/ReservationAggregates.h>
49 template<
typename KeyT = Aws::String>
50 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
51 template<
typename KeyT = Aws::String>
61 template<
typename ValueT = Aws::String>
62 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
63 template<
typename ValueT = Aws::String>
73 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
74 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
75 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
77 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
79 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
89 template<
typename UtilizationT = ReservationAggregates>
90 void SetUtilization(UtilizationT&& value) { m_utilizationHasBeenSet =
true; m_utilization = std::forward<UtilizationT>(value); }
91 template<
typename UtilizationT = ReservationAggregates>
97 bool m_keyHasBeenSet =
false;
100 bool m_valueHasBeenSet =
false;
103 bool m_attributesHasBeenSet =
false;
106 bool m_utilizationHasBeenSet =
false;
ReservationUtilizationGroup & WithValue(ValueT &&value)
bool AttributesHasBeenSet() const
void SetUtilization(UtilizationT &&value)
bool UtilizationHasBeenSet() const
bool ValueHasBeenSet() const
AWS_COSTEXPLORER_API ReservationUtilizationGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
ReservationUtilizationGroup & WithAttributes(AttributesT &&value)
ReservationUtilizationGroup & WithUtilization(UtilizationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetValue(ValueT &&value)
ReservationUtilizationGroup & WithKey(KeyT &&value)
void SetAttributes(AttributesT &&value)
const Aws::String & GetKey() const
ReservationUtilizationGroup & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const ReservationAggregates & GetUtilization() const
bool KeyHasBeenSet() const
AWS_COSTEXPLORER_API ReservationUtilizationGroup()=default
AWS_COSTEXPLORER_API ReservationUtilizationGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKey(KeyT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue