7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/ReservationAggregates.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostExplorer {
43 template <
typename KeyT = Aws::String>
45 m_keyHasBeenSet =
true;
46 m_key = std::forward<KeyT>(value);
48 template <
typename KeyT = Aws::String>
50 SetKey(std::forward<KeyT>(value));
61 template <
typename ValueT = Aws::String>
63 m_valueHasBeenSet =
true;
64 m_value = std::forward<ValueT>(value);
66 template <
typename ValueT = Aws::String>
68 SetValue(std::forward<ValueT>(value));
79 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
81 m_attributesHasBeenSet =
true;
82 m_attributes = std::forward<AttributesT>(value);
84 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
89 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
91 m_attributesHasBeenSet =
true;
92 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
103 template <
typename UtilizationT = ReservationAggregates>
105 m_utilizationHasBeenSet =
true;
106 m_utilization = std::forward<UtilizationT>(value);
108 template <
typename UtilizationT = ReservationAggregates>
122 bool m_keyHasBeenSet =
false;
123 bool m_valueHasBeenSet =
false;
124 bool m_attributesHasBeenSet =
false;
125 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