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>
49 template<
typename ValueT = Aws::String>
50 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
51 template<
typename ValueT = Aws::String>
61 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
62 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
63 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
65 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
67 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
73 bool m_valueHasBeenSet =
false;
76 bool m_attributesHasBeenSet =
false;
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool AttributesHasBeenSet() const
DimensionValuesWithAttributes & WithValue(ValueT &&value)
DimensionValuesWithAttributes & WithAttributes(AttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_COSTEXPLORER_API DimensionValuesWithAttributes()=default
const Aws::String & GetValue() const
void SetAttributes(AttributesT &&value)
AWS_COSTEXPLORER_API DimensionValuesWithAttributes(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
AWS_COSTEXPLORER_API DimensionValuesWithAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(ValueT &&value)
DimensionValuesWithAttributes & AddAttributes(AttributesKeyT &&key, AttributesValueT &&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