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>
50 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
51 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
65 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
104 bool m_keyHasBeenSet =
false;
107 bool m_valueHasBeenSet =
false;
110 bool m_attributesHasBeenSet =
false;
113 bool m_utilizationHasBeenSet =
false;
ReservationUtilizationGroup & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetKey(Aws::String &&value)
ReservationUtilizationGroup & AddAttributes(const Aws::String &key, const Aws::String &value)
ReservationUtilizationGroup & AddAttributes(const char *key, const char *value)
ReservationUtilizationGroup & WithKey(Aws::String &&value)
void SetValue(const Aws::String &value)
bool AttributesHasBeenSet() const
ReservationUtilizationGroup & AddAttributes(Aws::String &&key, const char *value)
ReservationUtilizationGroup & WithValue(Aws::String &&value)
ReservationUtilizationGroup & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetValue(const char *value)
bool UtilizationHasBeenSet() const
ReservationUtilizationGroup & AddAttributes(const Aws::String &key, Aws::String &&value)
bool ValueHasBeenSet() const
AWS_COSTEXPLORER_API ReservationUtilizationGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
void SetUtilization(ReservationAggregates &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetKey(const char *value)
ReservationUtilizationGroup & WithUtilization(const ReservationAggregates &value)
ReservationUtilizationGroup & AddAttributes(Aws::String &&key, const Aws::String &value)
ReservationUtilizationGroup & WithUtilization(ReservationAggregates &&value)
const Aws::String & GetKey() const
void SetKey(const Aws::String &value)
ReservationUtilizationGroup & AddAttributes(Aws::String &&key, Aws::String &&value)
ReservationUtilizationGroup & WithKey(const Aws::String &value)
ReservationUtilizationGroup & WithValue(const Aws::String &value)
ReservationUtilizationGroup & AddAttributes(const char *key, Aws::String &&value)
void SetUtilization(const ReservationAggregates &value)
void SetValue(Aws::String &&value)
const ReservationAggregates & GetUtilization() const
bool KeyHasBeenSet() const
ReservationUtilizationGroup & WithValue(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_COSTEXPLORER_API ReservationUtilizationGroup()
AWS_COSTEXPLORER_API ReservationUtilizationGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
ReservationUtilizationGroup & WithKey(const char *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